FairRoot/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 
12 #include "FairMCPoint.h"
13 
14 
15 class PndDiscParticleMCPoint : public FairMCPoint
16 {
17 public:
19  // trackID, detID, posin, momin, tof, length, eLoss
20  PndDiscParticleMCPoint(Int_t track_id, // base
21  //Int_t event_id, // in FairMCEventHeader
22  Int_t det_id, // base
23  Int_t volume_id, // -- use some kind of volume identifier here (radiator, lightguide etc) (PndGeoHandling short id??)
24  TVector3 pos_in, // base
25  TVector3 mom_in, // base
26  TVector3 pos_out, // -- makes sense
27  TVector3 mom_out, // -- makes sense
28  Double_t total_tof, // base
29  Double_t total_length, // base
30  Double_t energy_loss,
32  Double_t mass,
33  Int_t pdgcode,
34  Bool_t pos_in_inside, // whether the particle was entering the volume at pos_in
36  );
37 
38 
39  virtual ~PndDiscParticleMCPoint();
40 
41 
42  virtual void Print(const Option_t* opt = 0) const;
43 
44 
45  Int_t volume_id;
46  TVector3 pos_out;
47  TVector3 mom_out;
50  Int_t pdgCode;
53 
55 
56  ClassDef(PndDiscParticleMCPoint,2)
57 };
58 
59 #endif // PNDDISCPARTICLEMCPOINT_HH
Double_t
Int_t volume_id
FairMCPoint forces the implementation.
virtual void Print(const Option_t *opt=0) const