LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "SimListUtils.h"
Public Member Functions | |
SimListUtils () | |
virtual | ~SimListUtils () |
Static Public Member Functions | |
static sim::LArVoxelList | GetLArVoxelList (const art::Event &evt, std::string moduleLabel) |
static sim::SimPhotonsCollection | GetSimPhotonsCollection (const art::Event &evt, std::string moduleLabel) |
Definition at line 21 of file SimListUtils.h.
sim::SimListUtils::SimListUtils | ( | ) |
Definition at line 23 of file SimListUtils.cxx.
|
virtual |
Definition at line 28 of file SimListUtils.cxx.
|
static |
Definition at line 35 of file SimListUtils.cxx.
References sim::LArVoxelList::Add(), sim::LArVoxelList::find(), art::DataViewImpl::getView(), sim::LArG4Parameters::GeVToElectrons(), detinfo::DetectorProperties::SamplingRate(), detinfo::DetectorProperties::TriggerOffset(), x, y, and z.
Referenced by evd::SimulationDrawer::MCTruth3D(), and evd::SimulationDrawer::MCTruthOrtho().
|
static |
get the voxels from the event handle
loop over the pmthits and put them into the list
make an entry in the list for this pmt id
add the photons to the entry
Definition at line 84 of file SimListUtils.cxx.
References art::DataViewImpl::getByLabel(), and sim::SimPhotons::SetChannel().
Referenced by opdet::SimPhotonCounter::analyze(), opdet::OpMCDigi::produce(), and opdet::OptDetDigitizer::produce().