LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "OpDetPhotonTable.h"
Public Member Functions | |
~OpDetPhotonTable () | |
void | AddPhoton (size_t opchannel, sim::OnePhoton &&photon) |
void | AddPhoton (std::map< int, std::map< int, int >> *StepPhoton) |
std::vector< sim::SimPhotons > & | GetPhotons () |
sim::SimPhotons & | GetPhotonsForOpChannel (size_t opchannel) |
std::map< int, std::map< int, int > > | GetLitePhotons () |
std::map< int, int > & | GetLitePhotonsForOpChannel (int opchannel) |
void | ClearTable (size_t nch=0) |
void | AddOpDetBacktrackerRecord (sim::OpDetBacktrackerRecord soc) |
std::vector< sim::OpDetBacktrackerRecord > | YieldOpDetBacktrackerRecords () |
void | ClearEnergyDeposits () |
void | AddEnergyDeposit (int n_elec, int n_photon, double energy, float start_x, float start_y, float start_z, float end_x, float end_y, float end_z, double start_time, double end_time, int trackid, int pdgcode, std::string vol="EMPTY") |
std::unordered_map< std::string, std::vector< sim::SimEnergyDeposit > > & | GetSimEnergyDeposits () |
Static Public Member Functions | |
static OpDetPhotonTable * | Instance (bool LitePhotons=false) |
Protected Member Functions | |
OpDetPhotonTable () | |
Private Attributes | |
std::map< int, std::map< int, int > > | fLitePhotons |
std::vector< sim::OpDetBacktrackerRecord > | cOpDetBacktrackerRecordsCol |
std::map< int, int > | cOpChannelToSOCMap |
std::vector< sim::SimPhotons > | fDetectedPhotons |
std::unordered_map< std::string, std::vector< sim::SimEnergyDeposit > > | fSimEDepCol |
Definition at line 57 of file OpDetPhotonTable.h.
larg4::OpDetPhotonTable::~OpDetPhotonTable | ( | ) |
Definition at line 32 of file OpDetPhotonTable.cxx.
|
protected |
Definition at line 28 of file OpDetPhotonTable.cxx.
References fDetectedPhotons.
Referenced by Instance().
void larg4::OpDetPhotonTable::AddEnergyDeposit | ( | int | n_elec, |
int | n_photon, | ||
double | energy, | ||
float | start_x, | ||
float | start_y, | ||
float | start_z, | ||
float | end_x, | ||
float | end_y, | ||
float | end_z, | ||
double | start_time, | ||
double | end_time, | ||
int | trackid, | ||
int | pdgcode, | ||
std::string | vol = "EMPTY" |
||
) |
Definition at line 154 of file OpDetPhotonTable.cxx.
References fSimEDepCol.
Referenced by larg4::OpFastScintillation::ProcessStep().
void larg4::OpDetPhotonTable::AddOpDetBacktrackerRecord | ( | sim::OpDetBacktrackerRecord | soc | ) |
Definition at line 73 of file OpDetPhotonTable.cxx.
References cOpChannelToSOCMap, cOpDetBacktrackerRecordsCol, sim::OpDetBacktrackerRecord::OpDetNum(), and sim::OpDetBacktrackerRecord::timePDclockSDPsMap().
Referenced by larg4::OpFastScintillation::RecordPhotonsProduced().
void larg4::OpDetPhotonTable::AddPhoton | ( | size_t | opchannel, |
sim::OnePhoton && | photon | ||
) |
Definition at line 46 of file OpDetPhotonTable.cxx.
References fDetectedPhotons.
Referenced by larg4::OpDetSensitiveDetector::ProcessHits(), and larg4::OpFastScintillation::RecordPhotonsProduced().
void larg4::OpDetPhotonTable::AddPhoton | ( | std::map< int, std::map< int, int >> * | StepPhoton | ) |
Definition at line 60 of file OpDetPhotonTable.cxx.
References fLitePhotons.
void larg4::OpDetPhotonTable::ClearEnergyDeposits | ( | ) |
Definition at line 171 of file OpDetPhotonTable.cxx.
References fSimEDepCol.
Referenced by larg4::LArG4::produce().
void larg4::OpDetPhotonTable::ClearTable | ( | size_t | nch = 0 | ) |
Definition at line 113 of file OpDetPhotonTable.cxx.
References fDetectedPhotons, and fLitePhotons.
Referenced by larg4::LArG4::produce().
std::map< int, std::map< int, int > > larg4::OpDetPhotonTable::GetLitePhotons | ( | ) |
Definition at line 128 of file OpDetPhotonTable.cxx.
References fLitePhotons.
Referenced by larg4::LArG4::produce().
std::map< int, int > & larg4::OpDetPhotonTable::GetLitePhotonsForOpChannel | ( | int | opchannel | ) |
Definition at line 147 of file OpDetPhotonTable.cxx.
References fLitePhotons.
std::vector< sim::SimPhotons > & larg4::OpDetPhotonTable::GetPhotons | ( | ) |
Definition at line 133 of file OpDetPhotonTable.cxx.
References fDetectedPhotons.
Referenced by larg4::LArG4::produce().
sim::SimPhotons & larg4::OpDetPhotonTable::GetPhotonsForOpChannel | ( | size_t | opchannel | ) |
Definition at line 137 of file OpDetPhotonTable.cxx.
References fDetectedPhotons.
std::unordered_map< std::string, std::vector< sim::SimEnergyDeposit > > & larg4::OpDetPhotonTable::GetSimEnergyDeposits | ( | ) |
Definition at line 176 of file OpDetPhotonTable.cxx.
References fSimEDepCol.
Referenced by larg4::LArG4::produce().
|
static |
Definition at line 36 of file OpDetPhotonTable.cxx.
References OpDetPhotonTable(), and larg4::TheOpDetPhotonTable.
Referenced by larg4::OpDetSensitiveDetector::OpDetSensitiveDetector(), larg4::OpFastScintillation::ProcessStep(), larg4::LArG4::produce(), and larg4::OpFastScintillation::RecordPhotonsProduced().
std::vector< sim::OpDetBacktrackerRecord > larg4::OpDetPhotonTable::YieldOpDetBacktrackerRecords | ( | ) |
Definition at line 101 of file OpDetPhotonTable.cxx.
References cOpChannelToSOCMap, and cOpDetBacktrackerRecordsCol.
Referenced by larg4::LArG4::produce().
|
private |
Definition at line 95 of file OpDetPhotonTable.h.
Referenced by AddOpDetBacktrackerRecord(), and YieldOpDetBacktrackerRecords().
|
private |
Definition at line 94 of file OpDetPhotonTable.h.
Referenced by AddOpDetBacktrackerRecord(), and YieldOpDetBacktrackerRecords().
|
private |
Definition at line 96 of file OpDetPhotonTable.h.
Referenced by AddPhoton(), ClearTable(), GetPhotons(), GetPhotonsForOpChannel(), and OpDetPhotonTable().
|
private |
Definition at line 93 of file OpDetPhotonTable.h.
Referenced by AddPhoton(), ClearTable(), GetLitePhotons(), and GetLitePhotonsForOpChannel().
|
private |
Definition at line 99 of file OpDetPhotonTable.h.
Referenced by AddEnergyDeposit(), ClearEnergyDeposits(), and GetSimEnergyDeposits().