LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
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:

  • position: where the scintillation occurred (from Geant4 simulation)
  • track ID: Geant4 track ID of the ionizing particle
  • energy: amount of energy in G4Step (from Geant4 simulation)
  • photons: amount of photons reaching the optical detector

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 70 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 73 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.

References trackID.

37  : SDP(sdp)
38  {
39  trackID += offset;
40  }
SDP()
Default constructor (sets "bogus" 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 83 of file OpDetBacktrackerRecord.h.

89  : trackID (tid)
90  , numPhotons (nPh)
91  , energy (e)
92  , x (xpos)
93  , y (ypos)
94  , z (zpos)
95  {}
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
Float_t e
Definition: plot.C:34
float z
z position of ionization [cm]

Member Data Documentation

float sim::SDP::energy

energy deposited by ionization

Definition at line 100 of file OpDetBacktrackerRecord.h.

Referenced by sim::OpDetBacktrackerRecord::Dump().

float sim::SDP::numPhotons

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

Definition at line 99 of file OpDetBacktrackerRecord.h.

Referenced by sim::OpDetBacktrackerRecord::Dump(), and sim::OpDetBacktrackerRecord::TrackIDsAndEnergies().

TrackID_t sim::SDP::trackID

Geant4 supplied track ID.

Definition at line 98 of file OpDetBacktrackerRecord.h.

Referenced by sim::OpDetBacktrackerRecord::Dump(), and SDP().

float sim::SDP::x

x position of ionization [cm]

Definition at line 101 of file OpDetBacktrackerRecord.h.

Referenced by sim::OpDetBacktrackerRecord::Dump(), and sim::OpDetBacktrackerRecord::TrackIDsAndEnergies().

float sim::SDP::y

y position of ionization [cm]

Definition at line 102 of file OpDetBacktrackerRecord.h.

Referenced by sim::OpDetBacktrackerRecord::Dump(), and sim::OpDetBacktrackerRecord::TrackIDsAndEnergies().

float sim::SDP::z

z position of ionization [cm]

Definition at line 103 of file OpDetBacktrackerRecord.h.

Referenced by sim::OpDetBacktrackerRecord::Dump(), and sim::OpDetBacktrackerRecord::TrackIDsAndEnergies().


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