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

#include <PndDiscParticleMCPoint.h>

Inheritance diagram for PndDiscParticleMCPoint:

Public Member Functions

 PndDiscParticleMCPoint ()
 
 PndDiscParticleMCPoint (Int_t track_id, Int_t det_id, Int_t volume_id, TVector3 pos_in, TVector3 mom_in, TVector3 pos_out, TVector3 mom_out, Double_t total_tof, Double_t total_length, Double_t energy_loss, Double_t charge, Double_t mass, Int_t pdgcode, Bool_t pos_in_inside, Bool_t is_primary)
 
virtual ~PndDiscParticleMCPoint ()
 
virtual void Print (const Option_t *opt=0) const
 

Public Attributes

Int_t volume_id
 FairMCPoint forces the implementation. More...
 
TVector3 pos_out
 
TVector3 mom_out
 
Double_t charge
 
Double_t mass
 
Int_t pdgCode
 
Bool_t pos_in_inside
 
Bool_t is_primary
 
Double_t my_energy_loss
 

Detailed Description

Definition at line 15 of file PndDiscParticleMCPoint.h.

Constructor & Destructor Documentation

PndDiscParticleMCPoint::PndDiscParticleMCPoint ( )

Definition at line 21 of file PndDiscParticleMCPoint.cxx.

21  : FairMCPoint(),
22 volume_id(0),
23 pos_out(0.,0.,0.),
24 mom_out(0.,0.,0.),
25 charge(0.),
26 mass(0.),
27 pdgCode(0),
28 pos_in_inside(false),
29 is_primary(false),
31 {
32 }
Int_t volume_id
FairMCPoint forces the implementation.
PndDiscParticleMCPoint::PndDiscParticleMCPoint ( Int_t  track_id,
Int_t  det_id,
Int_t  volume_id,
TVector3  pos_in,
TVector3  mom_in,
TVector3  pos_out,
TVector3  mom_out,
Double_t  total_tof,
Double_t  total_length,
Double_t  energy_loss,
Double_t  charge,
Double_t  mass,
Int_t  pdgcode,
Bool_t  pos_in_inside,
Bool_t  is_primary 
)

Definition at line 35 of file PndDiscParticleMCPoint.cxx.

41  : FairMCPoint(track_id_, det_id_, pos_in_, mom_in_, total_tof_, total_length_, energy_loss_),
42  volume_id(volume_id_), pos_out(pos_out_), mom_out(mom_out_), charge(charge_), mass(mass_),
43  pdgCode(pdgCode_), pos_in_inside(pos_in_inside_),
44  is_primary(is_primary_), my_energy_loss(energy_loss_)
45 {
46 
47 }
Int_t volume_id
FairMCPoint forces the implementation.
PndDiscParticleMCPoint::~PndDiscParticleMCPoint ( )
virtual

Definition at line 50 of file PndDiscParticleMCPoint.cxx.

50 {}

Member Function Documentation

void PndDiscParticleMCPoint::Print ( const Option_t *  opt = 0) const
virtual

Definition at line 53 of file PndDiscParticleMCPoint.cxx.

References charge, fX, fY, fZ, is_primary, mass, mom_out, pdgCode, pos_in_inside, pos_out, and volume_id.

54 {
55  std::cout << "-I- PndDiscParticleMCPoint"
56  << " fTrackID " << fTrackID << std::endl
57  << " fDetectorID " << fDetectorID << std::endl
58  << " Position in " << fX << "; " << fY << "; " << fZ << std::endl
59  << " Momentum in " << fPx << "; " << fPy << "; " << fPz << std::endl
60  << " Position out " << pos_out.x() << "; " << pos_out.y() << "; " << pos_out.z() << std::endl
61  << " Momentum out " << mom_out.x() << "; " << mom_out.y() << "; " << mom_out.z() << std::endl
62  << " fTime " << fTime << std::endl
63  << " Length " << fLength << std::endl
64  << " fELoss " << fELoss << std::endl
65  << " volume_id " << volume_id << std::endl
66  << " charge " << charge << std::endl
67  << " mass " << mass << std::endl
68  << " pdgCode " << pdgCode << std::endl
69  << " Pos in inside " << pos_in_inside << std::endl
70  << " is primary " << is_primary << std::endl
71  << " Option is " << opt << std::endl
72  ;
73 }
Double_t fX
Definition: PndCaloDraw.cxx:34
Double_t fZ
Definition: PndCaloDraw.cxx:34
Double_t fY
Definition: PndCaloDraw.cxx:34
Int_t volume_id
FairMCPoint forces the implementation.

Member Data Documentation

Double_t PndDiscParticleMCPoint::charge

Definition at line 48 of file PndDiscParticleMCPoint.h.

Referenced by Print().

Bool_t PndDiscParticleMCPoint::is_primary
Double_t PndDiscParticleMCPoint::mass

Definition at line 49 of file PndDiscParticleMCPoint.h.

Referenced by Print().

TVector3 PndDiscParticleMCPoint::mom_out

Definition at line 47 of file PndDiscParticleMCPoint.h.

Referenced by Print(), and PndDisc::ProcessHits().

Double_t PndDiscParticleMCPoint::my_energy_loss

Definition at line 54 of file PndDiscParticleMCPoint.h.

Int_t PndDiscParticleMCPoint::pdgCode

Definition at line 50 of file PndDiscParticleMCPoint.h.

Referenced by Print().

Bool_t PndDiscParticleMCPoint::pos_in_inside

Definition at line 51 of file PndDiscParticleMCPoint.h.

Referenced by PndDiscTaskDigitization::Exec(), and Print().

TVector3 PndDiscParticleMCPoint::pos_out

Definition at line 46 of file PndDiscParticleMCPoint.h.

Referenced by Print(), and PndDisc::ProcessHits().

Int_t PndDiscParticleMCPoint::volume_id

FairMCPoint forces the implementation.

Definition at line 45 of file PndDiscParticleMCPoint.h.

Referenced by Print(), and PndDisc::ProcessHits().


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