FairRoot/PandaRoot
|
#include <PndSdsHitInfo.h>
Public Member Functions | |
PndSdsHitInfo () | |
PndSdsHitInfo (Int_t fileNumber, Int_t eventNumber, Int_t trackID, Int_t pointID, Int_t nMerged, Bool_t isFake) | |
virtual | ~PndSdsHitInfo () |
Int_t | GetFileNumber () const |
Int_t | GetEventNumber () const |
Int_t | GetTrackID () const |
Int_t | GetPointID () const |
Int_t | GetNMerged () const |
Bool_t | IsFake () const |
void | SetNMerged (Int_t nMerged) |
void | Clear () |
Private Member Functions | |
ClassDef (PndSdsHitInfo, 1) | |
Private Attributes | |
Int_t | fFileNumber |
Int_t | fEventNumber |
Int_t | fTrackID |
Int_t | fPointID |
Int_t | fNMerged |
Bool_t | fIsFake |
CbmStsMapsHitInfo header file Class for additional information about PndSdsHit
Definition at line 16 of file PndSdsHitInfo.h.
PndSdsHitInfo::PndSdsHitInfo | ( | ) |
Default constructor
PndSdsHitInfo source file
Definition at line 12 of file PndSdsHitInfo.cxx.
References fEventNumber, fFileNumber, fIsFake, fNMerged, fPointID, and fTrackID.
PndSdsHitInfo::PndSdsHitInfo | ( | Int_t | fileNumber, |
Int_t | eventNumber, | ||
Int_t | trackID, | ||
Int_t | pointID, | ||
Int_t | nMerged, | ||
Bool_t | isFake | ||
) |
Constructor with all parameters
Definition at line 23 of file PndSdsHitInfo.cxx.
References fEventNumber, fFileNumber, fIsFake, fNMerged, fPointID, and fTrackID.
|
virtual |
|
private |
void PndSdsHitInfo::Clear | ( | void | ) |
Reset data members
Public method Clear
Definition at line 40 of file PndSdsHitInfo.cxx.
References fEventNumber, fFileNumber, fIsFake, fNMerged, fPointID, and fTrackID.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Event number of the corresponding MCPoint. Important to find it in background files due to the random access. -1 => no corresponding MCPoint (fake hit) 0 => current event in data file n => event in pileup file
Definition at line 68 of file PndSdsHitInfo.h.
Referenced by Clear(), GetEventNumber(), and PndSdsHitInfo().
|
private |
Indicates the file to which the corresponding point belongs. -1 => no file (fake hit) 0 => data file 1 => pileup file else => reserved for future use
Definition at line 59 of file PndSdsHitInfo.h.
Referenced by Clear(), GetFileNumber(), and PndSdsHitInfo().
|
private |
Indicator for fake flag
Definition at line 94 of file PndSdsHitInfo.h.
Referenced by Clear(), IsFake(), and PndSdsHitInfo().
|
private |
Number of other hits this one is merged with -1 => Hit was created without checking for merging 0 => Hit was not merged n => Hit was merged with n other hits
Definition at line 90 of file PndSdsHitInfo.h.
Referenced by Clear(), GetNMerged(), PndSdsHitInfo(), and SetNMerged().
|
private |
Index of the corresponding MCPoint in its TClonesArray. Also true for background files. -1 for fake hits
Definition at line 82 of file PndSdsHitInfo.h.
Referenced by Clear(), GetPointID(), and PndSdsHitInfo().
|
private |
Index of the corresponding MCTrack in its TClonesArray. Also true for background files. -1 for fake hits
Definition at line 75 of file PndSdsHitInfo.h.
Referenced by Clear(), GetTrackID(), and PndSdsHitInfo().