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

#include <PndHypHitInfo.h>

Inheritance diagram for PndHypHitInfo:

Public Member Functions

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

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 PndHypHitInfo.h.

Constructor & Destructor Documentation

PndHypHitInfo::PndHypHitInfo ( )

Default constructor

PndHypHitInfo source file

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

Definition at line 12 of file PndHypHitInfo.cxx.

12  :
13  fFileNumber(-1),
14  fEventNumber(-1),
15  fTrackID(-1),
16  fPointID(-1),
17  fNMerged(0),
18  fIsFake(kFALSE)
19 {
20 }
Int_t fEventNumber
Definition: PndHypHitInfo.h:68
PndHypHitInfo::PndHypHitInfo ( 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 24 of file PndHypHitInfo.cxx.

26  :
27  fFileNumber(fileNumber),
28  fEventNumber(eventNumber),
29  fTrackID(trackID),
30  fPointID(pointID),
31  fNMerged(nMerged),
32  fIsFake(isFake)
33 {
34 }
Int_t fEventNumber
Definition: PndHypHitInfo.h:68
PndHypHitInfo::~PndHypHitInfo ( )
virtual

Destructor

Definition at line 38 of file PndHypHitInfo.cxx.

38 { }

Member Function Documentation

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

Reset data members

Public method Clear

Definition at line 42 of file PndHypHitInfo.cxx.

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

42  {
43  fFileNumber = -1;
44  fEventNumber = -1;
45  fTrackID = -1;
46  fPointID = -1;
47  fNMerged = 0;
48  fIsFake = kFALSE;
49 }
Int_t fEventNumber
Definition: PndHypHitInfo.h:68
Int_t PndHypHitInfo::GetEventNumber ( ) const
inline

Definition at line 36 of file PndHypHitInfo.h.

References fEventNumber.

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

Accessors

Definition at line 35 of file PndHypHitInfo.h.

References fFileNumber.

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

Definition at line 39 of file PndHypHitInfo.h.

References fNMerged.

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

Definition at line 38 of file PndHypHitInfo.h.

References fPointID.

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

Definition at line 37 of file PndHypHitInfo.h.

References fTrackID.

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

Definition at line 40 of file PndHypHitInfo.h.

References fIsFake.

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

Modifiers

Definition at line 44 of file PndHypHitInfo.h.

References fNMerged.

44 { fNMerged = nMerged; };

Member Data Documentation

Int_t PndHypHitInfo::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 68 of file PndHypHitInfo.h.

Referenced by Clear(), and GetEventNumber().

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

Referenced by Clear(), and GetFileNumber().

Bool_t PndHypHitInfo::fIsFake
private

Indicator for fake flag

Definition at line 94 of file PndHypHitInfo.h.

Referenced by Clear(), and IsFake().

Int_t PndHypHitInfo::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 90 of file PndHypHitInfo.h.

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

Int_t PndHypHitInfo::fPointID
private

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

Definition at line 82 of file PndHypHitInfo.h.

Referenced by Clear(), and GetPointID().

Int_t PndHypHitInfo::fTrackID
private

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

Definition at line 75 of file PndHypHitInfo.h.

Referenced by Clear(), and GetTrackID().


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