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. More... | |
virtual | ~CbmRichMatchRings () |
Destructor. More... | |
virtual InitStatus | Init () |
Inherited from FairTask. More... | |
virtual void | Exec (Option_t *opt) |
Inherited from FairTask. More... | |
virtual void | Finish () |
Inherited from FairTask. More... | |
Private Member Functions | |
CbmRichMatchRings (const CbmRichMatchRings &) | |
Copy constructor. More... | |
CbmRichMatchRings & | operator= (const CbmRichMatchRings &) |
Assignment operator. More... | |
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 34 of file CbmRichMatchRings.h.
CbmRichMatchRings::CbmRichMatchRings | ( | ) |
Default constructor.
Definition at line 27 of file CbmRichMatchRings.cxx.
|
virtual |
Destructor.
Definition at line 40 of file CbmRichMatchRings.cxx.
|
private |
Copy constructor.
|
private |
|
virtual |
Inherited from FairTask.
Definition at line 77 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 169 of file CbmRichMatchRings.cxx.
|
virtual |
|
private |
Assignment operator.
|
private |
Definition at line 67 of file CbmRichMatchRings.h.
|
private |
Definition at line 68 of file CbmRichMatchRings.h.
|
private |
Definition at line 71 of file CbmRichMatchRings.h.
Referenced by Exec().
|
private |
Definition at line 65 of file CbmRichMatchRings.h.
|
private |
Definition at line 64 of file CbmRichMatchRings.h.
|
private |
Definition at line 66 of file CbmRichMatchRings.h.