CbmRoot
|
Task class for matching a reconstructed CbmRichRings with a simulated CbmMCTrack. The matching criterion is a maximal number of common hits/points. The task fills the data class CbmRichRingMatch for each CbmRichRing. More...
#include <CbmRichMatchRings.h>
Public Member Functions | |
CbmRichMatchRings () | |
Default constructor. | |
virtual | ~CbmRichMatchRings () |
Destructor. | |
virtual InitStatus | Init () |
Inherited from FairTask. | |
virtual void | Exec (Option_t *opt) |
Inherited from FairTask. | |
virtual void | Finish () |
Inherited from FairTask. | |
Private Member Functions | |
CbmRichMatchRings (const CbmRichMatchRings &) | |
Copy constructor. | |
CbmRichMatchRings & | operator= (const CbmRichMatchRings &) |
Assignment operator. | |
ClassDef (CbmRichMatchRings, 1) | |
Private Attributes | |
TClonesArray * | fRings |
TClonesArray * | fPoints |
TClonesArray * | fTracks |
TClonesArray * | fHits |
TClonesArray * | fMatches |
std::map< Int_t, Int_t > | fMatchMap |
Task class for matching a reconstructed CbmRichRings with a simulated CbmMCTrack. The matching criterion is a maximal number of common hits/points. The task fills the data class CbmRichRingMatch for each CbmRichRing.
Definition at line 38 of file CbmRichMatchRings.h.
CbmRichMatchRings::CbmRichMatchRings | ( | ) |
Default constructor.
Definition at line 29 of file CbmRichMatchRings.cxx.
|
virtual |
Destructor.
Definition at line 43 of file CbmRichMatchRings.cxx.
|
private |
Copy constructor.
|
private |
|
virtual |
Inherited from FairTask.
Definition at line 80 of file CbmRichMatchRings.cxx.
References CbmMatch::AddLink(), fHits, fMatches, fMatchMap, fPoints, fRings, fTracks, CbmRichRing::GetHit(), CbmMCTrack::GetMotherId(), CbmRichRing::GetNofHits(), CbmHit::GetRefId(), nMCTracks, CbmTrackMatchNew::SetNofTrueHits(), and CbmTrackMatchNew::SetNofWrongHits().
|
virtual |
Inherited from FairTask.
Definition at line 173 of file CbmRichMatchRings.cxx.
|
virtual |
|
private |
Assignment operator.
|
private |
Definition at line 71 of file CbmRichMatchRings.h.
|
private |
Definition at line 72 of file CbmRichMatchRings.h.
|
private |
Definition at line 74 of file CbmRichMatchRings.h.
Referenced by Exec().
|
private |
Definition at line 69 of file CbmRichMatchRings.h.
|
private |
Definition at line 68 of file CbmRichMatchRings.h.
|
private |
Definition at line 70 of file CbmRichMatchRings.h.