LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 61 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 64 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.

36  : SDP(sdp)
37  {
38  trackID += offset;
39  }
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 73 of file OpDetBacktrackerRecord.h.

74  : trackID(tid), numPhotons(nPh), energy(e), x(xpos), y(ypos), z(zpos)
75  {}
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:35
float z
z position of ionization [cm]

Member Data Documentation

float sim::SDP::energy

energy deposited by ionization

Definition at line 79 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 78 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 77 of file OpDetBacktrackerRecord.h.

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

float sim::SDP::x

x position of ionization [cm]

Definition at line 80 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 81 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 82 of file OpDetBacktrackerRecord.h.

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


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