GGS(GenericGEANT4Simulation)Software  2.6.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
GGSTParticle.h
1 /*
2  * GGSTParticle.h
3  *
4  * Created on: 02 Jul 2013
5  * Author: Nicola Mori
6  */
7 
8 #ifndef GGSTPARTICLE_H_
9 #define GGSTPARTICLE_H_
10 
11 // Root headers
12 #include "TObject.h"
13 
19 class GGSTParticle: public TObject {
20 public:
21 
22  Int_t PDGCode;
23  Int_t trackID;
24  Float_t pos[3];
25  Float_t mom[3];
26  Float_t time;
27  UShort_t isTrackKilled;
28 
30  GGSTParticle();
31 
34  }
35 
44  void Clear(Option_t *option);
45 
47  void Clear() {
48  Clear("");
49  }
50 
51  ClassDef(GGSTParticle,1)
52 
53 };
54 
55 #endif /* GGSTPARTICLE_H_ */
Float_t mom[3]
Momentum at generation [GeV].
Definition: GGSTParticle.h:25
UShort_t isTrackKilled
Flag to signal if particle's track have been killed(0: not killed, 1: killed, 2: info not available)...
Definition: GGSTParticle.h:27
~GGSTParticle()
Destructor.
Definition: GGSTParticle.h:33
Int_t PDGCode
PDG code of particle (see http://www3.nd.edu/~avillano/geant4/geant4_pid.html).
Definition: GGSTParticle.h:22
void Clear()
Calls Clear("").
Definition: GGSTParticle.h:47
Float_t time
Time of generation [ns].
Definition: GGSTParticle.h:26
GGSTParticle()
Constructor.
Int_t trackID
Track ID.
Definition: GGSTParticle.h:23
Float_t pos[3]
Point of generation [cm].
Definition: GGSTParticle.h:24
Class to store G4 particles.
Definition: GGSTParticle.h:19