GGS(GenericGEANT4Simulation)Software  2.7.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
GGSTHadrIntInfo.h
1 /*
2  * GGSTHadrIntInfo.h
3  *
4  * Created on: 08 Jun 2011
5  * Author: Nicola Mori
6  */
7 
8 #ifndef GGSTHADRINTINFO_H_
9 #define GGSTHADRINTINFO_H_
10 
11 #include "TClonesArray.h"
12 #include "TObject.h"
13 #include "TString.h"
14 
15 #include "montecarlo/dataobjs/GGSTParticle.h"
16 
24 class GGSTHadrIntInfo : public TObject {
25 public:
28 
31 
38 
48  TString processName;
49  TClonesArray *products;
50  TString volumeName;
51 
53  void Clear(Option_t * = "");
54 
61  Float_t *GetInteractionPoint() { return primary.pos; }
62 
67  int GetNProducts();
68 
75  GGSTParticle *GetProduct(int iProduct);
76 
77  ClassDef(GGSTHadrIntInfo, 3)
78 };
79 
80 #endif /* GGSTHADRINTINFO_H_ */
Int_t originalTrackID
Track ID of the original primary particle.
GGSTParticle primary
The particle originating the interaction.
GGSTParticle * GetProduct(int iProduct)
Retrieves the particles produced in the interaction.
int GetNProducts()
Returns the number of particles produced in the interaction.
TClonesArray * products
Particles produced in the interaction.
TString volumeName
The name of the physical volume where the interaction took place.
Float_t pos[3]
Point of generation [cm].
Definition: GGSTParticle.h:23
A simple class to carry informations about hadronic interactions.
Class to store G4 particles.
Definition: GGSTParticle.h:19
~GGSTHadrIntInfo()
Destructor.
Int_t targetPDGCode
PDG code of target nucleus.
Float_t * GetInteractionPoint()
The interaction point.
void Clear(Option_t *="")
Resets all the members.
GGSTHadrIntInfo()
Constructor.
TString processName
Hadronic process name.