GGS(GenericGEANT4Simulation)Software
2.7.0
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Macros
src
montecarlo
dataobjs
GGSTParticle.cpp
Go to the documentation of this file.
1
/*
2
* GGSTParticle.cpp
3
*
4
* Created on: 02 Jul 2013
5
* Author: Nicola Mori
6
*/
7
10
#include "montecarlo/dataobjs/GGSTParticle.h"
11
12
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
13
/* **************************************** *
14
* GGSTParticle class implementation *
15
* **************************************** */
16
17
ClassImp(
GGSTParticle
)
18
19
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
20
GGSTParticle
::
GGSTParticle
() {
21
Clear();
22
}
23
24
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
25
26
void
GGSTParticle::Clear
(Option_t *) {
27
PDGCode
= 0;
28
trackID
= 0;
29
for
(Int_t i = 0; i < 3; i++) {
30
pos
[i] = 0.;
31
mom
[i] = 0.;
32
}
33
time
= 0;
34
isTrackKilled
= 2;
35
}
36
37
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
GGSTParticle::mom
Float_t mom[3]
Momentum at generation [GeV].
Definition:
GGSTParticle.h:24
GGSTParticle::isTrackKilled
UShort_t isTrackKilled
Definition:
GGSTParticle.h:26
GGSTParticle::PDGCode
Int_t PDGCode
PDG code of particle (see http://www3.nd.edu/~avillano/geant4/geant4_pid.html).
Definition:
GGSTParticle.h:21
GGSTParticle::Clear
void Clear()
Calls Clear("").
Definition:
GGSTParticle.h:46
GGSTParticle::time
Float_t time
Time of generation [ns].
Definition:
GGSTParticle.h:25
GGSTParticle::trackID
Int_t trackID
Track ID.
Definition:
GGSTParticle.h:22
GGSTParticle::pos
Float_t pos[3]
Point of generation [cm].
Definition:
GGSTParticle.h:23
GGSTParticle
Class to store G4 particles.
Definition:
GGSTParticle.h:19
Generated on Tue Jun 23 2020 15:11:54 for GGS(GenericGEANT4Simulation)Software by
1.8.5