Go to the documentation of this file.
8 #ifndef CBMMATCHRECOTOMC_H_
9 #define CBMMATCHRECOTOMC_H_
12 #include <RtypesCore.h>
41 virtual InitStatus
Init();
46 virtual void Exec(Option_t* opt);
71 const TClonesArray* clusters,
72 TClonesArray* clusterMatches);
83 const TClonesArray* clusters,
84 TClonesArray* clusterMatches);
87 void MatchHits(
const TClonesArray* matches,
88 const TClonesArray*
hits,
89 TClonesArray* hitMatches);
103 const TClonesArray*
hits,
104 TClonesArray* hitMatches);
109 const TClonesArray*
hits,
110 TClonesArray* hitMatches);
113 const TClonesArray*
hits,
114 TClonesArray* hitMatches);
118 const TClonesArray*
tracks,
119 TClonesArray* trackMatches);
123 const TClonesArray* stsHitMatches,
126 const TClonesArray*
tracks,
127 TClonesArray* trackMatches);
130 const TClonesArray* richHits,
133 TClonesArray* ringMatches);
140 static std::vector<std::pair<Int_t, Int_t>>
147 static std::vector<Int_t>
150 const TClonesArray* richPoints,
void SetIncludeMvdHitsInStsTrack(Bool_t includeMvdHitsInStsTrack)
void ReadAndCreateDataBranches()
Read and create data branches.
CbmMatchRecoToMC()
Constructor.
TClonesArray * fMvdClusterMatches
Hits [in].
TClonesArray * fMvdHits
Clusters [in].
TClonesArray * fMvdCluster
MC points [in].
TClonesArray * fTrdClusterMatches
Tracks [in].
virtual void Finish()
Derived from FairTask.
virtual ~CbmMatchRecoToMC()
Destructor.
CbmMatchRecoToMC(const CbmMatchRecoToMC &)
Match Hit -> MC point [out].
TClonesArray * fTrdHits
Clusters [in].
TClonesArray * fStsHits
Clusters [in].
CbmMCDataArray * fRichMcPoints
Track matches [out].
CbmMCDataArray * fMuchPoints
[out]
virtual void Exec(Option_t *opt)
Derived from FairTask.
TClonesArray * fStsTrackMatches
Hit matches [out].
TClonesArray * fRichHits
MC points [in].
Access to a MC data branch for time-based analysis.
TClonesArray * fMuchClusterMatches
Tracks [in].
TClonesArray * fStsTracks
Hits [in].
CbmMCDataArray * fStsPoints
Hit matches [out].
void MatchHits(const TClonesArray *matches, const TClonesArray *hits, TClonesArray *hitMatches)
ClassDef(CbmMatchRecoToMC, 1)
CbmMCDataArray * fMvdPoints
Interface to digi branches.
TClonesArray * fTrdTracks
Hits [in].
TClonesArray * fMuchPixelHitMatches
Cluster matches [out].
virtual InitStatus Init()
Derived from FairTask.
CbmMCDataArray * fTofPoints
Track matches [out].
TClonesArray * fMvdHitMatches
Cluster matches [out].
TClonesArray * fMuchTrackMatches
Hit matches [out].
CbmMCDataArray * fMCTracks
CbmDigiManager * fDigiManager
Monte-Carlo tracks.
static vector< vector< QAMCTrack > > mcTracks
TClonesArray * fTofHits
CbmTofPoint array.
TClonesArray * fTrdHitMatches
Cluster matches [out].
TClonesArray * fTrdTrackMatches
Hit matches [out].
TClonesArray * fRichTrackMatches
Rings [in].
static std::vector< std::pair< Int_t, Int_t > > GetMcTrackMotherIdsForRichHit(CbmDigiManager *digiMan, const CbmRichHit *hit, CbmMCDataArray *richPoints, CbmMCDataArray *mcTracks, Int_t eventNumber)
Return McTrack Ids for RICH hit C++11 efficient way to return vector.
TClonesArray * fStsHitMatches
Cluster matches [out].
TClonesArray * fMuchClusters
MC points [in].
void MatchHitsSts(const TClonesArray *clusterMmatches, const TClonesArray *hits, TClonesArray *hitMatches)
Match STS hits, using cluster match objects.
TClonesArray * fRichRings
Hits [in].
TClonesArray * fTofHitDigiMatches
CbmTofHit array.
static Int_t fEventNumber
TClonesArray * fTrdClusters
MC points [in].
void MatchHitsTof(const TClonesArray *HitDigiMatches, const TClonesArray *hits, TClonesArray *hitMatches)
void MatchRichRings(const TClonesArray *richRings, const TClonesArray *richHits, CbmMCDataArray *richMcPoints, CbmMCDataArray *mcTracks, TClonesArray *ringMatches)
TClonesArray * fStsClusterMatches
Tracks [in].
TClonesArray * fMuchPixelHits
Clusters [in].
void MatchTracks(const TClonesArray *hitMatches, CbmMCDataArray *points, const TClonesArray *tracks, TClonesArray *trackMatches)
TClonesArray * fStsClusters
MC points [in].
static vector< vector< QAHit > > hits
void MatchStsTracks(const TClonesArray *mvdHitMatches, const TClonesArray *stsHitMatches, CbmMCDataArray *mvdPoints, CbmMCDataArray *stsPoints, const TClonesArray *tracks, TClonesArray *trackMatches)
void MatchHitsToPoints(CbmMCDataArray *points, const TClonesArray *hits, TClonesArray *hitMatches)
CbmMCDataArray * fTrdPoints
Track matches [out].
void MatchClusters(const TClonesArray *digiMatches, const TClonesArray *clusters, TClonesArray *clusterMatches)
Generic creation of cluster match objects.
TClonesArray * fMuchTracks
Hits [in].
TClonesArray * fTofHitMatches
Match Hit -> Digi [out].
CbmMatchRecoToMC & operator=(const CbmMatchRecoToMC &)
void MatchHitsMvd(const TClonesArray *hits, TClonesArray *hitMatches)
Bool_t fIncludeMvdHitsInStsTrack