GGS(GenericGEANT4Simulation)Software  2.7.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  Int_t PDGCode;
22  Int_t trackID;
23  Float_t pos[3];
24  Float_t mom[3];
25  Float_t time;
26  UShort_t isTrackKilled;
27 
30  GGSTParticle();
31 
34 
43  void Clear(Option_t *option);
44 
46  void Clear() { Clear(""); }
47 
48  ClassDef(GGSTParticle, 1)
49 };
50 
51 #endif /* GGSTPARTICLE_H_ */
Float_t mom[3]
Momentum at generation [GeV].
Definition: GGSTParticle.h:24
UShort_t isTrackKilled
Definition: GGSTParticle.h:26
~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:21
void Clear()
Calls Clear("").
Definition: GGSTParticle.h:46
Float_t time
Time of generation [ns].
Definition: GGSTParticle.h:25
GGSTParticle()
Constructor.
Int_t trackID
Track ID.
Definition: GGSTParticle.h:22
Float_t pos[3]
Point of generation [cm].
Definition: GGSTParticle.h:23
Class to store G4 particles.
Definition: GGSTParticle.h:19