All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
sbn::TrueParticle Struct Reference

#include <TrackCaloSkimmerObj.h>

Public Member Functions

 TrueParticle ()
 

Public Attributes

float plane0VisE
 Sum of energy deposited on plane 0 (1st Ind.) [GeV]. More...
 
float plane1VisE
 Sum of energy deposited on plane 1 (2nd Ind.) [GeV]. More...
 
float plane2VisE
 Sum of energy deposited on plane 2 (Col.) [GeV]. More...
 
float genE
 Energy at generation pt [GeV]. More...
 
float startE
 Energy at first pt in active TPC volume [GeV]. More...
 
float endE
 Energy at last pt in active TPC volume [GeV]. More...
 
float genT
 Start time of gen point [mus – t=0 is spill time]. More...
 
float startT
 Start time of first TPC point [mus – t=0 is spill time]. More...
 
float endT
 End time last point in the active [mus – t=0 is spill time]. More...
 
float length
 Trajectory length in active TPC volume the particle first enters [cm]. More...
 
unsigned plane0nhit
 Number of hits on plane 0 (1st Ind.) More...
 
unsigned plane1nhit
 Number of hits on plane 1 (2nd Ind.) More...
 
unsigned plane2nhit
 Number of hits on plane 2 (Col.) More...
 
Vector3D genp
 Momentum at generation point [GeV/c]. More...
 
Vector3D startp
 Momentum at first point in the active TPC volume [GeV/c]. More...
 
Vector3D endp
 Momentum at last point in the active TPC volume [GeV/c]. More...
 
Vector3D gen
 Generation position [cm]. More...
 
Vector3D start
 Start position in the active TPC volume [cm]. More...
 
Vector3D end
 End position in the active TPC volume [cm]. More...
 
int wallin
 Wall of cryostat particle enters (wNone if starting in detector) More...
 
int wallout
 Wall of cryostat particle exits (wNone if stopping in detector) More...
 
bool cont_tpc
 Whether the particle is contained in a single TPC. More...
 
bool crosses_tpc
 Whether the particle crosses a TPC boundary. More...
 
bool contained
 Whether the particle is contained in a single active volume. More...
 
int pdg
 Particle ID code. More...
 
int G4ID
 ID of the particle (taken from G4 – -1 if this particle is not propogated by G4) More...
 
int parent
 ID of parent particle. More...
 
int start_process
 Start G4 process of the particle. Values defned as enum in StandardRecord. More...
 
int end_process
 End G4 process of the particle. Values defined as enum in StandardRecord. More...
 
std::vector< TrueHittruehits0
 List of True "hits" of this particle on Plane 0. More...
 
std::vector< TrueHittruehits1
 List of True "hits" of this particle on Plane 1. More...
 
std::vector< TrueHittruehits2
 List of True "hits" of this particle on Plane 2. More...
 

Detailed Description

Definition at line 167 of file TrackCaloSkimmerObj.h.

Constructor & Destructor Documentation

sbn::TrueParticle::TrueParticle ( )
inline

Definition at line 209 of file TrackCaloSkimmerObj.h.

209  :
210  plane0VisE(std::numeric_limits<float>::signaling_NaN()),
211  plane1VisE(std::numeric_limits<float>::signaling_NaN()),
212  plane2VisE(std::numeric_limits<float>::signaling_NaN()),
213  genE(std::numeric_limits<float>::signaling_NaN()),
214  startE(std::numeric_limits<float>::signaling_NaN()),
215  endE(std::numeric_limits<float>::signaling_NaN()),
216  genT(std::numeric_limits<float>::signaling_NaN()),
217  startT(std::numeric_limits<float>::signaling_NaN()),
218  endT(std::numeric_limits<float>::signaling_NaN()),
219  length(std::numeric_limits<float>::signaling_NaN()),
220  plane0nhit(0),
221  plane1nhit(0),
222  plane2nhit(0),
223  wallin(-1),
224  wallout(-1),
225  cont_tpc(false),
226  crosses_tpc(false),
227  contained(false),
228  pdg(-1),
229  G4ID(-1), // Invalid
230  start_process(-1),
231  end_process(-1)
232  {}
int end_process
End G4 process of the particle. Values defined as enum in StandardRecord.
int wallout
Wall of cryostat particle exits (wNone if stopping in detector)
unsigned plane1nhit
Number of hits on plane 1 (2nd Ind.)
int wallin
Wall of cryostat particle enters (wNone if starting in detector)
float genE
Energy at generation pt [GeV].
unsigned plane0nhit
Number of hits on plane 0 (1st Ind.)
float plane2VisE
Sum of energy deposited on plane 2 (Col.) [GeV].
bool contained
Whether the particle is contained in a single active volume.
float endT
End time last point in the active [mus – t=0 is spill time].
bool crosses_tpc
Whether the particle crosses a TPC boundary.
bool cont_tpc
Whether the particle is contained in a single TPC.
float plane1VisE
Sum of energy deposited on plane 1 (2nd Ind.) [GeV].
float endE
Energy at last pt in active TPC volume [GeV].
float startT
Start time of first TPC point [mus – t=0 is spill time].
float length
Trajectory length in active TPC volume the particle first enters [cm].
float startE
Energy at first pt in active TPC volume [GeV].
float plane0VisE
Sum of energy deposited on plane 0 (1st Ind.) [GeV].
float genT
Start time of gen point [mus – t=0 is spill time].
unsigned plane2nhit
Number of hits on plane 2 (Col.)
int G4ID
ID of the particle (taken from G4 – -1 if this particle is not propogated by G4)
int pdg
Particle ID code.
int start_process
Start G4 process of the particle. Values defned as enum in StandardRecord.

Member Data Documentation

bool sbn::TrueParticle::cont_tpc

Whether the particle is contained in a single TPC.

Definition at line 194 of file TrackCaloSkimmerObj.h.

bool sbn::TrueParticle::contained

Whether the particle is contained in a single active volume.

Definition at line 196 of file TrackCaloSkimmerObj.h.

bool sbn::TrueParticle::crosses_tpc

Whether the particle crosses a TPC boundary.

Definition at line 195 of file TrackCaloSkimmerObj.h.

Vector3D sbn::TrueParticle::end

End position in the active TPC volume [cm].

Definition at line 189 of file TrackCaloSkimmerObj.h.

int sbn::TrueParticle::end_process

End G4 process of the particle. Values defined as enum in StandardRecord.

Definition at line 203 of file TrackCaloSkimmerObj.h.

float sbn::TrueParticle::endE

Energy at last pt in active TPC volume [GeV].

Definition at line 174 of file TrackCaloSkimmerObj.h.

Vector3D sbn::TrueParticle::endp

Momentum at last point in the active TPC volume [GeV/c].

Definition at line 186 of file TrackCaloSkimmerObj.h.

float sbn::TrueParticle::endT

End time last point in the active [mus – t=0 is spill time].

Definition at line 177 of file TrackCaloSkimmerObj.h.

int sbn::TrueParticle::G4ID

ID of the particle (taken from G4 – -1 if this particle is not propogated by G4)

Definition at line 199 of file TrackCaloSkimmerObj.h.

Vector3D sbn::TrueParticle::gen

Generation position [cm].

Definition at line 187 of file TrackCaloSkimmerObj.h.

float sbn::TrueParticle::genE

Energy at generation pt [GeV].

Definition at line 172 of file TrackCaloSkimmerObj.h.

Vector3D sbn::TrueParticle::genp

Momentum at generation point [GeV/c].

Definition at line 184 of file TrackCaloSkimmerObj.h.

float sbn::TrueParticle::genT

Start time of gen point [mus – t=0 is spill time].

Definition at line 175 of file TrackCaloSkimmerObj.h.

float sbn::TrueParticle::length

Trajectory length in active TPC volume the particle first enters [cm].

Definition at line 178 of file TrackCaloSkimmerObj.h.

int sbn::TrueParticle::parent

ID of parent particle.

Definition at line 200 of file TrackCaloSkimmerObj.h.

int sbn::TrueParticle::pdg

Particle ID code.

Definition at line 198 of file TrackCaloSkimmerObj.h.

unsigned sbn::TrueParticle::plane0nhit

Number of hits on plane 0 (1st Ind.)

Definition at line 180 of file TrackCaloSkimmerObj.h.

float sbn::TrueParticle::plane0VisE

Sum of energy deposited on plane 0 (1st Ind.) [GeV].

Definition at line 168 of file TrackCaloSkimmerObj.h.

unsigned sbn::TrueParticle::plane1nhit

Number of hits on plane 1 (2nd Ind.)

Definition at line 181 of file TrackCaloSkimmerObj.h.

float sbn::TrueParticle::plane1VisE

Sum of energy deposited on plane 1 (2nd Ind.) [GeV].

Definition at line 169 of file TrackCaloSkimmerObj.h.

unsigned sbn::TrueParticle::plane2nhit

Number of hits on plane 2 (Col.)

Definition at line 182 of file TrackCaloSkimmerObj.h.

float sbn::TrueParticle::plane2VisE

Sum of energy deposited on plane 2 (Col.) [GeV].

Definition at line 170 of file TrackCaloSkimmerObj.h.

Vector3D sbn::TrueParticle::start

Start position in the active TPC volume [cm].

Definition at line 188 of file TrackCaloSkimmerObj.h.

int sbn::TrueParticle::start_process

Start G4 process of the particle. Values defned as enum in StandardRecord.

Definition at line 202 of file TrackCaloSkimmerObj.h.

float sbn::TrueParticle::startE

Energy at first pt in active TPC volume [GeV].

Definition at line 173 of file TrackCaloSkimmerObj.h.

Vector3D sbn::TrueParticle::startp

Momentum at first point in the active TPC volume [GeV/c].

Definition at line 185 of file TrackCaloSkimmerObj.h.

float sbn::TrueParticle::startT

Start time of first TPC point [mus – t=0 is spill time].

Definition at line 176 of file TrackCaloSkimmerObj.h.

std::vector<TrueHit> sbn::TrueParticle::truehits0

List of True "hits" of this particle on Plane 0.

Definition at line 205 of file TrackCaloSkimmerObj.h.

std::vector<TrueHit> sbn::TrueParticle::truehits1

List of True "hits" of this particle on Plane 1.

Definition at line 206 of file TrackCaloSkimmerObj.h.

std::vector<TrueHit> sbn::TrueParticle::truehits2

List of True "hits" of this particle on Plane 2.

Definition at line 207 of file TrackCaloSkimmerObj.h.

int sbn::TrueParticle::wallin

Wall of cryostat particle enters (wNone if starting in detector)

Definition at line 191 of file TrackCaloSkimmerObj.h.

int sbn::TrueParticle::wallout

Wall of cryostat particle exits (wNone if stopping in detector)

Definition at line 192 of file TrackCaloSkimmerObj.h.


The documentation for this struct was generated from the following file: