FairRoot/PandaRoot
Public Member Functions | Private Member Functions | Private Attributes | List of all members
PndFtsHitInfo Class Reference

#include <PndFtsHitInfo.h>

Inheritance diagram for PndFtsHitInfo:

Public Member Functions

 PndFtsHitInfo ()
 
 PndFtsHitInfo (Int_t fileNumber, Int_t eventNumber, Int_t trackID, Int_t pointID, Int_t nMerged, Bool_t isFake)
 
virtual ~PndFtsHitInfo ()
 
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 (PndFtsHitInfo, 1)
 

Private Attributes

Int_t fFileNumber
 
Int_t fEventNumber
 
Int_t fTrackID
 
Int_t fPointID
 
Int_t fNMerged
 
Bool_t fIsFake
 

Detailed Description

CbmStsMapsHitInfo header file Class for additional information about CbmStsMapsHit

Author
Michael Deveaux m.dev.nosp@m.eaux.nosp@m.@gsi..nosp@m.de Acknowledgements to M. Al-Turany, D. Bertini, G. Gaycken Version beta 0.1 (02.02.2005) Slight modifications by V. Friese to match coding conventions

Definition at line 16 of file PndFtsHitInfo.h.

Constructor & Destructor Documentation

PndFtsHitInfo::PndFtsHitInfo ( )

Default constructor

CbmstsMapsHitInfo source file

Author
Michael Deveaux m.dev.nosp@m.eaux.nosp@m.@gsi..nosp@m.de Acknowledgements to M. Al-Turany, D. Bertini, G. Gaycken Version beta 0.1 (02.02.2005)Constructor

Definition at line 12 of file PndFtsHitInfo.cxx.

12  :fFileNumber(-1), fEventNumber(-1), fTrackID(-1), fPointID(-1), fNMerged(0), fIsFake(kFALSE)
13 {
14 }
Int_t fEventNumber
Definition: PndFtsHitInfo.h:67
PndFtsHitInfo::PndFtsHitInfo ( 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 18 of file PndFtsHitInfo.cxx.

20  : fFileNumber(fileNumber), fEventNumber(eventNumber), fTrackID(trackID),
21  fPointID(pointID), fNMerged(nMerged), fIsFake(isFake)
22 {
23 }
Int_t fEventNumber
Definition: PndFtsHitInfo.h:67
PndFtsHitInfo::~PndFtsHitInfo ( )
virtual

Destructor

Definition at line 27 of file PndFtsHitInfo.cxx.

27 { }

Member Function Documentation

PndFtsHitInfo::ClassDef ( PndFtsHitInfo  ,
 
)
private
void PndFtsHitInfo::Clear ( )

Reset data members

Public method Clear

Definition at line 31 of file PndFtsHitInfo.cxx.

References fEventNumber, fFileNumber, fIsFake, fNMerged, fPointID, and fTrackID.

31  {
32  fFileNumber = -1;
33  fEventNumber = -1;
34  fTrackID = -1;
35  fPointID = -1;
36  fNMerged = 0;
37  fIsFake = kFALSE;
38 }
Int_t fEventNumber
Definition: PndFtsHitInfo.h:67
Int_t PndFtsHitInfo::GetEventNumber ( ) const
inline

Definition at line 36 of file PndFtsHitInfo.h.

References fEventNumber.

36 { return fEventNumber; };
Int_t fEventNumber
Definition: PndFtsHitInfo.h:67
Int_t PndFtsHitInfo::GetFileNumber ( ) const
inline

Accessors

Definition at line 35 of file PndFtsHitInfo.h.

References fFileNumber.

35 { return fFileNumber; };
Int_t PndFtsHitInfo::GetNMerged ( ) const
inline

Definition at line 39 of file PndFtsHitInfo.h.

References fNMerged.

39 { return fNMerged; };
Int_t PndFtsHitInfo::GetPointID ( ) const
inline

Definition at line 38 of file PndFtsHitInfo.h.

References fPointID.

38 { return fPointID; };
Int_t PndFtsHitInfo::GetTrackID ( ) const
inline

Definition at line 37 of file PndFtsHitInfo.h.

References fTrackID.

37 { return fTrackID; };
Bool_t PndFtsHitInfo::IsFake ( ) const
inline

Definition at line 40 of file PndFtsHitInfo.h.

References fIsFake.

40 { return fIsFake; };
void PndFtsHitInfo::SetNMerged ( Int_t  nMerged)
inline

Modifiers

Definition at line 44 of file PndFtsHitInfo.h.

References fNMerged.

44 { fNMerged = nMerged; };

Member Data Documentation

Int_t PndFtsHitInfo::fEventNumber
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 67 of file PndFtsHitInfo.h.

Referenced by Clear(), and GetEventNumber().

Int_t PndFtsHitInfo::fFileNumber
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 PndFtsHitInfo.h.

Referenced by Clear(), and GetFileNumber().

Bool_t PndFtsHitInfo::fIsFake
private

Indicator for fake flag

Definition at line 89 of file PndFtsHitInfo.h.

Referenced by Clear(), and IsFake().

Int_t PndFtsHitInfo::fNMerged
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 86 of file PndFtsHitInfo.h.

Referenced by Clear(), GetNMerged(), and SetNMerged().

Int_t PndFtsHitInfo::fPointID
private

Index of the corresponding MCPoint in its TClonesArray. Also true for background files. -1 for fake hits

Definition at line 79 of file PndFtsHitInfo.h.

Referenced by Clear(), and GetPointID().

Int_t PndFtsHitInfo::fTrackID
private

Index of the corresponding MCTrack in its TClonesArray. Also true for background files. -1 for fake hits

Definition at line 73 of file PndFtsHitInfo.h.

Referenced by Clear(), and GetTrackID().


The documentation for this class was generated from the following files: