#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... | |
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.
typedef int sim::SDP::TrackID_t |
Type of track ID (the value comes from Geant4)
Definition at line 69 of file OpDetBacktrackerRecord.h.
sim::SDP::SDP | ( | ) |
Default constructor (sets "bogus" values)
Definition at line 26 of file OpDetBacktrackerRecord.cxx.
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.
|
inline |
Constructor: sets all data members.
Definition at line 79 of file OpDetBacktrackerRecord.h.
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.