18#if !defined(__CINT__) && !defined(__CLING__)
43 ~
TCSM() override = default;
47 static TVector3
GetPosition(
int detector,
char pos,
int horizontalstrip,
int verticalstrip,
double X = 0.00,
48 double Y = 0.00,
double Z = 0.00);
56 std::map<int16_t, std::vector<std::vector<std::vector<std::pair<TFragment, TGRSIMnemonic>>>>>
fFragments;
61 void BuildVH(std::vector<std::vector<std::pair<TFragment, TGRSIMnemonic>>>&, std::vector<TDetectorHit*>&);
62 void BuilddEE(std::vector<std::vector<TDetectorHit*>>&, std::vector<TDetectorHit*>&);
63 void OldBuilddEE(std::vector<TDetectorHit*>&, std::vector<TDetectorHit*>&, std::vector<TDetectorHit*>&);
64 void MakedEE(std::vector<TDetectorHit*>& DHitVec, std::vector<TDetectorHit*>& EHitVec, std::vector<TDetectorHit*>& BuiltHits);
65 TCSMHit*
MakeHit(std::pair<TFragment, TGRSIMnemonic>&, std::pair<TFragment, TGRSIMnemonic>&);
66 TCSMHit*
MakeHit(std::vector<std::pair<TFragment, TGRSIMnemonic>>&, std::vector<std::pair<TFragment, TGRSIMnemonic>>&);
68 void RecoverHit(
char, std::pair<TFragment, TGRSIMnemonic>&, std::vector<TDetectorHit*>&);
73 ClassDefOverride(
TCSM, 5)
bool AlmostEqual(int, int) const
void BuilddEE(std::vector< std::vector< TDetectorHit * > > &, std::vector< TDetectorHit * > &)
void OldBuilddEE(std::vector< TDetectorHit * > &, std::vector< TDetectorHit * > &, std::vector< TDetectorHit * > &)
void BuildVH(std::vector< std::vector< std::pair< TFragment, TGRSIMnemonic > > > &, std::vector< TDetectorHit * > &)
static TVector3 GetPosition(int detector, char pos, int horizontalstrip, int verticalstrip, double X=0.00, double Y=0.00, double Z=0.00)
TCSMHit * GetCSMHit(const int &i) const
std::map< int16_t, std::vector< std::vector< std::vector< std::pair< TFragment, TGRSIMnemonic > > > > > fFragments
!
TCSM(const TCSM &)=default
double fAlmostEqualWindow
void MakedEE(std::vector< TDetectorHit * > &DHitVec, std::vector< TDetectorHit * > &EHitVec, std::vector< TDetectorHit * > &BuiltHits)
TCSMHit * MakeHit(std::pair< TFragment, TGRSIMnemonic > &, std::pair< TFragment, TGRSIMnemonic > &)
TCSMHit * CombineHits(TDetectorHit *, TDetectorHit *)
void BuildHits() override
!
void RecoverHit(char, std::pair< TFragment, TGRSIMnemonic > &, std::vector< TDetectorHit * > &)
static int fCfdBuildDiff
! largest acceptable time difference between events (clock ticks) (50 ns)
void AddFragment(const std::shared_ptr< const TFragment > &, TChannel *) override
!
TCSM(TCSM &&) noexcept=default
virtual TDetectorHit * GetHit(const int &index) const