GGS(GenericGEANT4Simulation)Software
2.7.0
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Macros
include
montecarlo
dataobjs
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
:
27
GGSTHadrIntInfo
();
28
30
~GGSTHadrIntInfo
();
31
37
GGSTParticle
primary
;
38
46
Int_t
targetPDGCode
;
47
Int_t
originalTrackID
;
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_ */
GGSTHadrIntInfo::originalTrackID
Int_t originalTrackID
Track ID of the original primary particle.
Definition:
GGSTHadrIntInfo.h:47
GGSTHadrIntInfo::primary
GGSTParticle primary
The particle originating the interaction.
Definition:
GGSTHadrIntInfo.h:37
GGSTHadrIntInfo::GetProduct
GGSTParticle * GetProduct(int iProduct)
Retrieves the particles produced in the interaction.
Definition:
GGSTHadrIntInfo.cpp:41
GGSTHadrIntInfo::GetNProducts
int GetNProducts()
Returns the number of particles produced in the interaction.
Definition:
GGSTHadrIntInfo.cpp:31
GGSTHadrIntInfo::products
TClonesArray * products
Particles produced in the interaction.
Definition:
GGSTHadrIntInfo.h:49
GGSTHadrIntInfo::volumeName
TString volumeName
The name of the physical volume where the interaction took place.
Definition:
GGSTHadrIntInfo.h:50
GGSTParticle::pos
Float_t pos[3]
Point of generation [cm].
Definition:
GGSTParticle.h:23
GGSTHadrIntInfo
A simple class to carry informations about hadronic interactions.
Definition:
GGSTHadrIntInfo.h:24
GGSTParticle
Class to store G4 particles.
Definition:
GGSTParticle.h:19
GGSTHadrIntInfo::~GGSTHadrIntInfo
~GGSTHadrIntInfo()
Destructor.
Definition:
GGSTHadrIntInfo.cpp:16
GGSTHadrIntInfo::targetPDGCode
Int_t targetPDGCode
PDG code of target nucleus.
Definition:
GGSTHadrIntInfo.h:46
GGSTHadrIntInfo::GetInteractionPoint
Float_t * GetInteractionPoint()
The interaction point.
Definition:
GGSTHadrIntInfo.h:61
GGSTHadrIntInfo::Clear
void Clear(Option_t *="")
Resets all the members.
Definition:
GGSTHadrIntInfo.cpp:20
GGSTHadrIntInfo::GGSTHadrIntInfo
GGSTHadrIntInfo()
Constructor.
Definition:
GGSTHadrIntInfo.cpp:13
GGSTHadrIntInfo::processName
TString processName
Hadronic process name.
Definition:
GGSTHadrIntInfo.h:48
Generated on Wed Jul 8 2020 07:29:44 for GGS(GenericGEANT4Simulation)Software by
1.8.5