FairRoot/PandaRoot
Public Member Functions | Protected Attributes | List of all members
PndHypGeHit Class Reference

#include <PndHypGeHit.h>

Inheritance diagram for PndHypGeHit:

Public Member Functions

 PndHypGeHit ()
 
 PndHypGeHit (Int_t trackId, Int_t detID, Double_t ener, Double_t den)
 
virtual ~PndHypGeHit ()
 
virtual void Print (const Option_t *opt="") const
 
virtual void SetEnergy (Double32_t ener)
 
virtual void SetTrackId (Int_t detID)
 
virtual void SetDetectorId (Int_t detID)
 
virtual Double_t GetEnergy () const
 
virtual Int_t GetTrackId () const
 
virtual Int_t GetDetectorId () const
 
Short_t GetCopy () const
 

Protected Attributes

Double_t fenergy
 
Double_t fden
 
Int_t fTrackId
 
Int_t fDetectorId
 

Detailed Description

CbmHypGeHit.h

Author
a. sanchez

Hits in HYPGE

Definition at line 18 of file PndHypGeHit.h.

Constructor & Destructor Documentation

PndHypGeHit::PndHypGeHit ( )

Default constructor

Definition at line 17 of file PndHypGeHit.cxx.

17 {}
PndHypGeHit::PndHypGeHit ( Int_t  trackId,
Int_t  detID,
Double_t  ener,
Double_t  den 
)

Definition at line 22 of file PndHypGeHit.cxx.

23  {
24  fTrackId = trackId; fDetectorId = detID;
25  fenergy= ener;
26  fden=den; }
Double_t fden
Definition: PndHypGeHit.h:45
Int_t fDetectorId
Definition: PndHypGeHit.h:50
Double_t fenergy
Definition: PndHypGeHit.h:45
Int_t fTrackId
Definition: PndHypGeHit.h:49
PndHypGeHit::~PndHypGeHit ( )
virtual

Destructor

Definition at line 29 of file PndHypGeHit.cxx.

29 {}

Member Function Documentation

Short_t PndHypGeHit::GetCopy ( ) const
inline

Definition at line 45 of file PndHypGeHit.h.

References fDetectorId.

45 { return ((fDetectorId)) ;};
Int_t fDetectorId
Definition: PndHypGeHit.h:50
virtual Int_t PndHypGeHit::GetDetectorId ( ) const
inlinevirtual

Definition at line 41 of file PndHypGeHit.h.

References fDetectorId.

41 { return fDetectorId ;};
Int_t fDetectorId
Definition: PndHypGeHit.h:50
virtual Double_t PndHypGeHit::GetEnergy ( ) const
inlinevirtual

Accessors

Definition at line 39 of file PndHypGeHit.h.

References fenergy.

39 { return fenergy ;};
Double_t fenergy
Definition: PndHypGeHit.h:45
virtual Int_t PndHypGeHit::GetTrackId ( ) const
inlinevirtual

Definition at line 40 of file PndHypGeHit.h.

References fTrackId.

40 { return fTrackId ;};
Int_t fTrackId
Definition: PndHypGeHit.h:49
void PndHypGeHit::Print ( const Option_t *  opt = "") const
virtual

Output to screen

Definition at line 31 of file PndHypGeHit.cxx.

31  {
32  cout << "HYPGE hit: , Energy=" << fenergy;
33  if (fTrackId>0) cout << ", TrackID= " << fTrackId;
34 // cout << ", x=" << GetX() << ", y=" << GetY() << endl << flush;
35 }
Double_t fenergy
Definition: PndHypGeHit.h:45
Int_t fTrackId
Definition: PndHypGeHit.h:49
virtual void PndHypGeHit::SetDetectorId ( Int_t  detID)
inlinevirtual

Definition at line 36 of file PndHypGeHit.h.

References fDetectorId.

36 { fDetectorId = detID ;};
Int_t fDetectorId
Definition: PndHypGeHit.h:50
virtual void PndHypGeHit::SetEnergy ( Double32_t  ener)
inlinevirtual

Modifiers

Definition at line 34 of file PndHypGeHit.h.

References fenergy.

34 { fenergy = ener ;};
Double_t fenergy
Definition: PndHypGeHit.h:45
virtual void PndHypGeHit::SetTrackId ( Int_t  detID)
inlinevirtual

Definition at line 35 of file PndHypGeHit.h.

References fTrackId.

35 { fTrackId = detID ;};
Int_t fTrackId
Definition: PndHypGeHit.h:49

Member Data Documentation

Double_t PndHypGeHit::fden
protected

Definition at line 45 of file PndHypGeHit.h.

Int_t PndHypGeHit::fDetectorId
protected

Definition at line 50 of file PndHypGeHit.h.

Referenced by GetCopy(), GetDetectorId(), and SetDetectorId().

Double_t PndHypGeHit::fenergy
protected

Definition at line 45 of file PndHypGeHit.h.

Referenced by GetEnergy(), and SetEnergy().

Int_t PndHypGeHit::fTrackId
protected

Definition at line 49 of file PndHypGeHit.h.

Referenced by GetTrackId(), and SetTrackId().


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