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

#include <OpDetBacktrackerRecord.h>

Public Types

typedef int TrackID_t
 Type of track ID (the value comes from Geant4) More...
 

Public Member Functions

 SDP ()
 Default constructor (sets "bogus" values) More...
 
 SDP (SDP const &sdp, int offset)
 Constructor: copies an SDP, and applies the specified offset to track ID. More...
 
 SDP (TrackID_t tid, float nPh, float e, float xpos, float ypos, float zpos)
 Constructor: sets all data members. More...
 

Public Attributes

TrackID_t trackID
 Geant4 supplied track ID. More...
 
float numPhotons
 number of photons at the optical detector for this track ID and time More...
 
float energy
 energy deposited by ionization More...
 
float x
 x position of ionization [cm] More...
 
float y
 y position of ionization [cm] More...
 
float z
 z position of ionization [cm] More...
 

Detailed Description

This class stores information about the Scintillation Light from the simulation of a small step of a track through the TPC active volume.

Scintillation information consists of both energy and number of photons. It is of paramount importance to understand what each field stores:

Note the different definition of the photons respect to the rest: it describes the photons at the OpticlaDetector, while all the other quantities can be related to the moment the scintillation happened.

The number of photons is the result of the OpFastScintillation sim, so no real photons are simulated.

Each SDP is also typically associated with a time (timePDclock) count, that is the time at which the scintillation photons are generated, as drift time is assumed to be zero for the photons. This time will differ from the time reflected in recob::OpHits as the time stored does not account for any signal processing time. The backtracker will handle that with a FCL parameter called Delay. Each experiment will have to determine the correct Delay to use with their system. For dune10KT the delay is ~300 ns.

The SDP (Scintillation Deposited Photons) records are generated in OpFastScintillation.cxx.

Definition at line 66 of file OpDetBacktrackerRecord.h.

Member Typedef Documentation

typedef int sim::SDP::TrackID_t

Type of track ID (the value comes from Geant4)

Definition at line 69 of file OpDetBacktrackerRecord.h.

Constructor & Destructor Documentation

sim::SDP::SDP ( )

Default constructor (sets "bogus" values)

Definition at line 26 of file OpDetBacktrackerRecord.cxx.

30  , x (util::kBogusD)
31  , y (util::kBogusD)
32  , z (util::kBogusD)
33  {}
float x
x position of ionization [cm]
constexpr int kBogusI
obviously bogus integer value
TrackID_t trackID
Geant4 supplied track ID.
float y
y position of ionization [cm]
float numPhotons
number of photons at the optical detector for this track ID and time
float energy
energy deposited by ionization
constexpr double kBogusD
obviously bogus double value
float z
z position of ionization [cm]
sim::SDP::SDP ( sim::SDP const &  sdp,
int  offset 
)

Constructor: copies an SDP, and applies the specified offset to track ID.

Definition at line 36 of file OpDetBacktrackerRecord.cxx.

37  : SDP(sdp)
38  {
39  trackID += offset;
40  }
BEGIN_PROLOG TPC Trig offset(g4 rise time) ProjectToHeight
Definition: CORSIKAGen.fcl:7
SDP()
Default constructor (sets &quot;bogus&quot; values)
TrackID_t trackID
Geant4 supplied track ID.
sim::SDP::SDP ( TrackID_t  tid,
float  nPh,
float  e,
float  xpos,
float  ypos,
float  zpos 
)
inline

Constructor: sets all data members.

Definition at line 79 of file OpDetBacktrackerRecord.h.

85  : trackID (tid)
86  , numPhotons (nPh)
87  , energy (e)
88  , x (xpos)
89  , y (ypos)
90  , z (zpos)
91  {}
float x
x position of ionization [cm]
TrackID_t trackID
Geant4 supplied track ID.
float y
y position of ionization [cm]
float numPhotons
number of photons at the optical detector for this track ID and time
float energy
energy deposited by ionization
do i e
float z
z position of ionization [cm]

Member Data Documentation

float sim::SDP::energy

energy deposited by ionization

Definition at line 96 of file OpDetBacktrackerRecord.h.

float sim::SDP::numPhotons

number of photons at the optical detector for this track ID and time

Definition at line 95 of file OpDetBacktrackerRecord.h.

TrackID_t sim::SDP::trackID

Geant4 supplied track ID.

Definition at line 94 of file OpDetBacktrackerRecord.h.

float sim::SDP::x

x position of ionization [cm]

Definition at line 97 of file OpDetBacktrackerRecord.h.

float sim::SDP::y

y position of ionization [cm]

Definition at line 98 of file OpDetBacktrackerRecord.h.

float sim::SDP::z

z position of ionization [cm]

Definition at line 99 of file OpDetBacktrackerRecord.h.


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