PandaRoot
PndDiscParticleMCPoint.h
Go to the documentation of this file.
1 //-------------------------------------------------------------------------
2 // Author: Oliver Merle (Oliver.Merle@exp2.physik.uni-giessen.de)
3 // Changes: Mustafa Schmidt (Mustafa.A.Schmidt@physik.uni-giessen.de)
4 // Date: 30.11.2015
5 // Description: Information of charged particle tracks
6 //-------------------------------------------------------------------------
7 
8 #ifndef PNDDISCPARTICLEMCPOINT_HH
9 #define PNDDISCPARTICLEMCPOINT_HH
10 
11 #include "FairMCPoint.h"
12 
13 class PndDiscParticleMCPoint : public FairMCPoint {
14  public:
16  // trackID, detID, posin, momin, tof, length, eLoss
17  PndDiscParticleMCPoint(Int_t track_id, // base
18  // Int_t event_id, // in FairMCEventHeader
19  Int_t det_id, // base
20  Int_t volume_id, // -- use some kind of volume identifier here (radiator, lightguide etc) (PndGeoHandling short id??)
21  TVector3 pos_in, // base
22  TVector3 mom_in, // base
23  TVector3 pos_out, // -- makes sense
24  TVector3 mom_out, // -- makes sense
25  Double_t total_tof, // base
26  Double_t total_length, // base
27  Double_t energy_loss, Double_t charge, Double_t mass, Int_t pdgcode,
28  Bool_t pos_in_inside, // whether the particle was entering the volume at pos_in
29  Bool_t is_primary);
30 
31  virtual ~PndDiscParticleMCPoint();
32 
33  virtual void Print(const Option_t *opt = nullptr) const;
34 
35  Int_t volume_id;
36  TVector3 pos_out;
37  TVector3 mom_out;
38  Double_t charge;
39  Double_t mass;
40  Int_t pdgCode;
41  Bool_t pos_in_inside;
42  Bool_t is_primary;
43 
44  Double_t my_energy_loss;
45 
46  ClassDef(PndDiscParticleMCPoint, 2)
47 };
48 
49 #endif // PNDDISCPARTICLEMCPOINT_HH
Int_t volume_id
FairMCPoint forces the implementation.
virtual void Print(const Option_t *opt=nullptr) const
virtual ~PndDiscParticleMCPoint()