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

#include <PndSttHitInfo.h>

Inheritance diagram for PndSttHitInfo:

Public Member Functions

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

Constructor & Destructor Documentation

PndSttHitInfo::PndSttHitInfo ( )

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 PndSttHitInfo.cxx.

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

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

Destructor

Definition at line 28 of file PndSttHitInfo.cxx.

28 { }

Member Function Documentation

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

Reset data members

Public method Clear

Definition at line 32 of file PndSttHitInfo.cxx.

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

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

Definition at line 36 of file PndSttHitInfo.h.

References fEventNumber.

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

Accessors

Definition at line 35 of file PndSttHitInfo.h.

References fFileNumber.

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

Definition at line 39 of file PndSttHitInfo.h.

References fNMerged.

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

Definition at line 38 of file PndSttHitInfo.h.

References fPointID.

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

Definition at line 37 of file PndSttHitInfo.h.

References fTrackID.

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

Definition at line 40 of file PndSttHitInfo.h.

References fIsFake.

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

Modifiers

Definition at line 44 of file PndSttHitInfo.h.

References fNMerged.

44 { fNMerged = nMerged; };

Member Data Documentation

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

Referenced by Clear(), and GetEventNumber().

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

Referenced by Clear(), and GetFileNumber().

Bool_t PndSttHitInfo::fIsFake
private

Indicator for fake flag

Definition at line 89 of file PndSttHitInfo.h.

Referenced by Clear(), and IsFake().

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

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

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

Referenced by Clear(), and GetPointID().

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

Referenced by Clear(), and GetTrackID().


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