LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
sim::OnePhoton Struct Reference

All information of a photon entering the sensitive optical detector volume. More...

#include "SimPhotons.h"

Public Attributes

geo::Point_t InitialPosition
 Scintillation position in world coordinates [cm]. More...
 
geo::OpticalPoint_t FinalLocalPosition
 Where photon enters the optical detector in local coordinates [cm]. More...
 
float Time {std::numeric_limits<float>::min()}
 
float Energy {0.0}
 Scintillation photon energy [GeV]. More...
 
int MotherTrackID {std::numeric_limits<int>::min()}
 ID of the GEANT4 track causing the scintillation. More...
 
bool SetInSD {true}
 Whether the photon reaches the sensitive detector. More...
 

Detailed Description

All information of a photon entering the sensitive optical detector volume.

Definition at line 60 of file SimPhotons.h.

Member Data Documentation

geo::OpticalPoint_t sim::OnePhoton::FinalLocalPosition

Where photon enters the optical detector in local coordinates [cm].

The coordinates are in the local reference of the sensitive optical detector, in centimeters.

Definition at line 71 of file SimPhotons.h.

Referenced by larg4::OpDetSensitiveDetector::AddPhoton(), and sim::DumpSimPhotons::DumpOnePhoton().

int sim::OnePhoton::MotherTrackID {std::numeric_limits<int>::min()}

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