19 TVector3(TMath::Sin(TMath::DegToRad() * (0.0)) * TMath::Cos(TMath::DegToRad() * (0.0)),
20 TMath::Sin(TMath::DegToRad() * (0.0)) * TMath::Sin(TMath::DegToRad() * (0.0)),
21 TMath::Cos(TMath::DegToRad() * (0.0))),
23 TVector3(TMath::Sin(TMath::DegToRad() * (54.73561)) * TMath::Cos(TMath::DegToRad() * (22.5)),
24 TMath::Sin(TMath::DegToRad() * (54.73561)) * TMath::Sin(TMath::DegToRad() * (22.5)),
25 TMath::Cos(TMath::DegToRad() * (54.73561))),
26 TVector3(TMath::Sin(TMath::DegToRad() * (54.73561)) * TMath::Cos(TMath::DegToRad() * (112.5)),
27 TMath::Sin(TMath::DegToRad() * (54.73561)) * TMath::Sin(TMath::DegToRad() * (112.5)),
28 TMath::Cos(TMath::DegToRad() * (54.73561))),
29 TVector3(TMath::Sin(TMath::DegToRad() * (54.73561)) * TMath::Cos(TMath::DegToRad() * (202.5)),
30 TMath::Sin(TMath::DegToRad() * (54.73561)) * TMath::Sin(TMath::DegToRad() * (202.5)),
31 TMath::Cos(TMath::DegToRad() * (54.73561))),
32 TVector3(TMath::Sin(TMath::DegToRad() * (54.73561)) * TMath::Cos(TMath::DegToRad() * (292.5)),
33 TMath::Sin(TMath::DegToRad() * (54.73561)) * TMath::Sin(TMath::DegToRad() * (292.5)),
34 TMath::Cos(TMath::DegToRad() * (54.73561))),
37 TVector3(TMath::Sin(TMath::DegToRad() * (125.2644)) * TMath::Cos(TMath::DegToRad() * (22.5)),
38 TMath::Sin(TMath::DegToRad() * (125.2644)) * TMath::Sin(TMath::DegToRad() * (22.5)),
39 TMath::Cos(TMath::DegToRad() * (125.2644))),
40 TVector3(TMath::Sin(TMath::DegToRad() * (125.2644)) * TMath::Cos(TMath::DegToRad() * (112.5)),
41 TMath::Sin(TMath::DegToRad() * (125.2644)) * TMath::Sin(TMath::DegToRad() * (112.5)),
42 TMath::Cos(TMath::DegToRad() * (125.2644))),
43 TVector3(TMath::Sin(TMath::DegToRad() * (125.2644)) * TMath::Cos(TMath::DegToRad() * (202.5)),
44 TMath::Sin(TMath::DegToRad() * (125.2644)) * TMath::Sin(TMath::DegToRad() * (202.5)),
45 TMath::Cos(TMath::DegToRad() * (125.2644))),
46 TVector3(TMath::Sin(TMath::DegToRad() * (125.2644)) * TMath::Cos(TMath::DegToRad() * (292.5)),
47 TMath::Sin(TMath::DegToRad() * (125.2644)) * TMath::Sin(TMath::DegToRad() * (292.5)),
48 TMath::Cos(TMath::DegToRad() * (125.2644)))};
107 std::ostringstream str;
156 }
catch(
const std::out_of_range& oor) {
157 std::cerr << ClassName() <<
" is out of range: " << oor.what() << std::endl;
bool DefaultLaBrSuppression(const TDetectorHit *hit, const TDetectorHit *bgoHit)
double SuppressionWindow() const
double SuppressionEnergy() const
virtual double GetEnergy(Option_t *opt="") const
virtual Int_t GetDetector() const
!
virtual Double_t GetTime(const ETimeFlag &correct_flag=ETimeFlag::kAll, Option_t *opt="") const
Returns a time value to the nearest nanosecond!
virtual bool NoHits() const
virtual Short_t GetMultiplicity() const
std::vector< TDetectorHit * > & Hits()
virtual void AddHit(TDetectorHit *hit)
static TAnalysisOptions * AnalysisOptions()
void Print(Option_t *opt="") const override
!
TLaBr & operator=(const TLaBr &)
!
TTransientBits< UChar_t > fLaBrBits
void SetBitNumber(const ELaBrBits bit, const bool set) const
Short_t GetSuppressedMultiplicity(const TBgo *fBgo)
Bool_t TestBitNumber(const ELaBrBits bit) const
static std::array< TVector3, 9 > fPosition
! Position of each detectir
void Copy(TObject &rhs) const override
bool IsSuppressed() const
void SetSuppressed(bool flag)
void Clear(Option_t *opt="") override
!
TLaBrHit * GetSuppressedHit(const int &i)
!
std::vector< TDetectorHit * > fSuppressedHits
void AddFragment(const std::shared_ptr< const TFragment > &, TChannel *) override
!
static std::function< bool(const TDetectorHit *, const TDetectorHit *)> fSuppressionCriterion
void Clear(Option_t *opt="all") override
!
void Copy(TObject &) const override
!
void CreateSuppressed(const TBgo *bgo, const std::vector< T * > &hits, std::vector< T * > &suppressedHits)