35 #include "Geant4/G4PhysicalVolumeStore.hh" 36 #include "Geant4/G4VPhysicalVolume.hh" 39 #include <unordered_map> 43 #ifndef OPDETPHOTONTABLE_h 44 #define OPDETPHOTONTABLE_h 1 53 class SimEnergyDeposit;
64 void AddPhoton( std::map<
int, std::map<int, int>>* StepPhoton);
66 std::vector<sim::SimPhotons >& GetPhotons();
69 std::map<int, std::map<int, int> > GetLitePhotons();
70 std::map<int, int>& GetLitePhotonsForOpChannel(
int opchannel);
71 void ClearTable(
size_t nch=0);
75 std::vector<sim::OpDetBacktrackerRecord> YieldOpDetBacktrackerRecords();
77 void ClearEnergyDeposits();
78 void AddEnergyDeposit(
int n_elec,
int n_photon,
80 float start_x,
float start_y,
float start_z,
81 float end_x,
float end_y,
float end_z,
82 double start_time,
double end_time,
83 int trackid,
int pdgcode,
84 std::string vol=
"EMPTY");
85 std::unordered_map<std::string, std::vector<sim::SimEnergyDeposit> > & GetSimEnergyDeposits();
99 std::unordered_map<std::string, std::vector<sim::SimEnergyDeposit> >
fSimEDepCol;
std::map< int, std::map< int, int > > fLitePhotons
Energy deposited on a readout Optical Detector by simulated tracks.
std::unordered_map< std::string, std::vector< sim::SimEnergyDeposit > > fSimEDepCol
std::vector< sim::OpDetBacktrackerRecord > cOpDetBacktrackerRecordsCol
std::vector< sim::SimPhotons > fDetectedPhotons
std::map< int, int > cOpChannelToSOCMap