CbmRoot
|
#include <CbmTofMergeMcPoints.h>
Public Member Functions | |
CbmTofMergeMcPoints () | |
Constructor. More... | |
virtual | ~CbmTofMergeMcPoints () |
Destructor. More... | |
virtual InitStatus | Init () |
Derived from FairTask. More... | |
virtual void | Exec (Option_t *opt) |
Derived from FairTask. More... | |
virtual void | Finish () |
Derived from FairTask. More... | |
Private Member Functions | |
void | ReadAndCreateDataBranches () |
Read and create data branches. More... | |
void | MergeRealisticTofPoints (const TClonesArray *tracks, const TClonesArray *points, TClonesArray *realisticPoints, TClonesArray *pointsMatches) |
CbmTofMergeMcPoints (const CbmTofMergeMcPoints &) | |
CbmTofMergeMcPoints & | operator= (const CbmTofMergeMcPoints &) |
ClassDef (CbmTofMergeMcPoints, 1) | |
Private Attributes | |
CbmTofGeoHandler * | fGeoHandler |
CbmTofDetectorId * | fTofId |
TClonesArray * | fMcTracksColl |
TClonesArray * | fTofPointsColl |
std::map< Int_t, std::vector< Int_t > > | fTofPntTrkMap |
TClonesArray * | fRealTofPoints |
TClonesArray * | fTofRealPntMatches |
Definition at line 20 of file CbmTofMergeMcPoints.h.
CbmTofMergeMcPoints::CbmTofMergeMcPoints | ( | ) |
Constructor.
Definition at line 28 of file CbmTofMergeMcPoints.cxx.
|
virtual |
Destructor.
Definition at line 38 of file CbmTofMergeMcPoints.cxx.
References fRealTofPoints, and fTofRealPntMatches.
|
private |
|
private |
|
virtual |
Derived from FairTask.
Definition at line 83 of file CbmTofMergeMcPoints.cxx.
References fMcTracksColl, fRealTofPoints, fTofPointsColl, fTofRealPntMatches, and MergeRealisticTofPoints().
|
virtual |
Derived from FairTask.
Definition at line 95 of file CbmTofMergeMcPoints.cxx.
|
virtual |
Derived from FairTask.
Definition at line 50 of file CbmTofMergeMcPoints.cxx.
References fGeoHandler, fTofId, CbmTofGeoHandler::GetDetIdPointer(), CbmTofGeoHandler::GetGeoVersion(), CbmTofGeoHandler::Init(), k12b, k14a, and ReadAndCreateDataBranches().
|
private |
Definition at line 130 of file CbmTofMergeMcPoints.cxx.
References CbmMatch::AddLink(), fGeoHandler, fTofId, fTofPntTrkMap, CbmTofGeoHandler::GetCell(), CbmTofGeoHandler::GetCounter(), CbmMCTrack::GetNPoints(), CbmTofGeoHandler::GetSModule(), CbmTofGeoHandler::GetSMType(), kTof, points, CbmTofDetectorId::SetDetectorInfo(), and tracks.
Referenced by Exec().
|
private |
|
private |
Read and create data branches.
Definition at line 97 of file CbmTofMergeMcPoints.cxx.
References fMcTracksColl, fRealTofPoints, fTofPointsColl, and fTofRealPntMatches.
Referenced by Init().
|
private |
Definition at line 58 of file CbmTofMergeMcPoints.h.
Referenced by Init(), and MergeRealisticTofPoints().
|
private |
Definition at line 61 of file CbmTofMergeMcPoints.h.
Referenced by Exec(), and ReadAndCreateDataBranches().
|
private |
Definition at line 67 of file CbmTofMergeMcPoints.h.
Referenced by Exec(), ReadAndCreateDataBranches(), and ~CbmTofMergeMcPoints().
|
private |
Definition at line 59 of file CbmTofMergeMcPoints.h.
Referenced by Init(), and MergeRealisticTofPoints().
|
private |
Definition at line 65 of file CbmTofMergeMcPoints.h.
Referenced by MergeRealisticTofPoints().
|
private |
Definition at line 62 of file CbmTofMergeMcPoints.h.
Referenced by Exec(), and ReadAndCreateDataBranches().
|
private |
Definition at line 69 of file CbmTofMergeMcPoints.h.
Referenced by Exec(), ReadAndCreateDataBranches(), and ~CbmTofMergeMcPoints().