12#ifndef CBMMATCHRECOTOMC_H_
13#define CBMMATCHRECOTOMC_H_
22#include <RtypesCore.h>
47 virtual InitStatus
Init();
52 virtual void Exec(Option_t* opt);
74 void MatchClusters(
const TClonesArray* digiMatches,
const TClonesArray* clusters, TClonesArray* clusterMatches);
87 void MatchHits(
const TClonesArray* matches,
const TClonesArray*
hits, TClonesArray* hitMatches);
100 void MatchHitsSts(
const TClonesArray* clusterMmatches,
const TClonesArray*
hits, TClonesArray* hitMatches);
106 void MatchHitsTof(
const TClonesArray* HitDigiMatches,
const TClonesArray*
hits, TClonesArray* hitMatches);
111 TClonesArray* trackMatches);
130 [[deprecated]]
static std::vector<std::pair<Int_t, Int_t>>
139 const TClonesArray* richPoints,
static vector< vector< QAMCTrack > > mcTracks
static vector< vector< QAHit > > hits
Access to a MC data branch for time-based analysis.
const std::vector< CbmTofDigi > * fTofDigis
CbmTofPoint array.
TClonesArray * fMuchPixelHits
Clusters [in].
TClonesArray * fTrdTrackMatches
Hit matches [out].
CbmMCDataArray * fRichMcPoints
Track matches [out].
ClassDef(CbmMatchRecoToMC, 1)
CbmMatchRecoToMC(const CbmMatchRecoToMC &)
Hit matches [out].
void MatchRichRings(const TClonesArray *richRings, const TClonesArray *richHits, CbmMCDataArray *richMcPoints, CbmMCDataArray *mcTracks, TClonesArray *ringMatches)
TClonesArray * fMvdCluster
MC points [in].
CbmMCDataArray * fMvdPoints
Interface to digi branches.
TClonesArray * fStsHitMatches
Cluster matches [out].
void MatchHitsTof(const TClonesArray *HitDigiMatches, const TClonesArray *hits, TClonesArray *hitMatches)
CbmMCDataArray * fTrdPoints
Track matches [out].
void MatchHits(const TClonesArray *matches, const TClonesArray *hits, TClonesArray *hitMatches)
CbmMCDataArray * fStsPoints
Hit matches [out].
void MatchHitsToPoints(CbmMCDataArray *points, const TClonesArray *hits, TClonesArray *hitMatches)
CbmMCDataArray * fTofPoints
Track matches [out].
TClonesArray * fTrdClusters
MC points [in].
TClonesArray * fMuchPixelHitMatches
Cluster matches [out].
TClonesArray * fTrdHits
Clusters [in].
TClonesArray * fMuchTracks
Hits [in].
void ReadAndCreateDataBranches()
Read and create data branches.
void MatchHitsSts(const TClonesArray *clusterMmatches, const TClonesArray *hits, TClonesArray *hitMatches)
Match STS hits, using cluster match objects.
void MatchTracks(const TClonesArray *hitMatches, CbmMCDataArray *points, const TClonesArray *tracks, TClonesArray *trackMatches)
TClonesArray * fRichTrackMatches
Rings [in].
void MatchClusters(const TClonesArray *digiMatches, const TClonesArray *clusters, TClonesArray *clusterMatches)
Generic creation of cluster match objects.
TClonesArray * fStsTrackMatches
Hit matches [out].
void SuppressHitReMatching()
Suppresses cluster and hit matching procedures.
void MatchHitsFsd(const TClonesArray *hits, TClonesArray *hitMatches)
virtual InitStatus Init()
Derived from FairTask.
TClonesArray * fTofHitMatches
Match Hit -> Digi [out].
TClonesArray * fFsdHitMatches
Hits [in].
TClonesArray * fMvdHits
Clusters [in].
CbmMatchRecoToMC & operator=(const CbmMatchRecoToMC &)
CbmDigiManager * fDigiManager
Monte-Carlo tracks.
TClonesArray * fRichHits
MC points [in].
TClonesArray * fMuchTrackMatches
Hit matches [out].
bool fbSuppressHitReMatching
TClonesArray * fFsdHits
MC points [in].
TClonesArray * fMvdClusterMatches
Hits [in].
TClonesArray * fTrdTracks
Hits [in].
virtual void Exec(Option_t *opt)
Derived from FairTask.
void MatchHitsMvd(const TClonesArray *hits, TClonesArray *hitMatches)
CbmMCDataArray * fMCTracks
const std::vector< CbmMatch > * fTofDigiMatch
TClonesArray * fStsHits
Clusters [in].
static std::vector< CbmLink > GetMcTrackMotherIdsForRichHit(CbmDigiManager *digiMan, const CbmRichHit *hit, CbmMCDataArray *richPoints, CbmMCDataArray *mcTracks)
Get CbmLinks of Mother MC Tracks for RICH hit.
TClonesArray * fStsTracks
Hits [in].
TClonesArray * fTrdHitMatches
Cluster matches [out].
TClonesArray * fTofHitDigiMatches
CbmTofHit array.
TClonesArray * fRichRings
Hits [in].
TClonesArray * fStsClusterMatches
Tracks [in].
TClonesArray * fStsClusters
MC points [in].
void MatchStsTracks(const TClonesArray *mvdHitMatches, const TClonesArray *stsHitMatches, CbmMCDataArray *mvdPoints, CbmMCDataArray *stsPoints, const TClonesArray *tracks, TClonesArray *trackMatches)
virtual void Finish()
Derived from FairTask.
static Int_t fEventNumber
CbmMatchRecoToMC()
Constructor.
TClonesArray * fMuchClusters
MC points [in].
TClonesArray * fTrdClusterMatches
Tracks [in].
TClonesArray * fMuchClusterMatches
Tracks [in].
CbmMCDataArray * fFsdPoints
Match Hit -> MC point [out].
TClonesArray * fMvdHitMatches
Cluster matches [out].
virtual ~CbmMatchRecoToMC()
Destructor.
CbmMCDataArray * fMuchPoints
Match Ring -> MC track [out].