LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Types | |
using | ModuleType = EDAnalyzer |
Public Member Functions | |
TCShowerTemplateMaker (fhicl::ParameterSet const &pset) | |
void | doBeginJob (SharedResources const &resources) |
void | doEndJob () |
void | doRespondToOpenInputFile (FileBlock const &fb) |
void | doRespondToCloseInputFile (FileBlock const &fb) |
void | doRespondToOpenOutputFiles (FileBlock const &fb) |
void | doRespondToCloseOutputFiles (FileBlock const &fb) |
bool | doBeginRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doEndRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed) |
ModuleDescription const & | moduleDescription () const |
void | setModuleDescription (ModuleDescription const &) |
std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
void | sortConsumables (std::string const ¤t_process_name) |
std::unique_ptr< Worker > | makeWorker (WorkerParams const &wp) |
template<typename T , BranchType BT> | |
ViewToken< T > | consumesView (InputTag const &tag) |
template<typename T , BranchType BT> | |
ViewToken< T > | mayConsumeView (InputTag const &tag) |
Protected Member Functions | |
std::string const & | processName () const |
bool | wantAllEvents () const noexcept |
bool | wantEvent (ScheduleID id, Event const &e) const |
Handle< TriggerResults > | getTriggerResults (Event const &e) const |
ConsumesCollector & | consumesCollector () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | consumesView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | consumesMany () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | mayConsumeView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | mayConsumeMany () |
Private Member Functions | |
void | beginJob () override |
void | analyze (const art::Event &evt) override |
void | showerProfile (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit >> showerhits, TVector3 shwvtx, TVector3 shwdir, double elep) |
void | showerProfileTrue (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit >> allhits, double elep) |
void | showerProfileTrue (std::vector< art::Ptr< sim::SimChannel >> allchan, simb::MCParticle electron) |
Definition at line 37 of file TCShowerTemplateMaker_module.cc.
|
inherited |
Definition at line 22 of file EDAnalyzer.h.
|
explicit |
Definition at line 151 of file TCShowerTemplateMaker_module.cc.
|
overrideprivate |
Definition at line 577 of file TCShowerTemplateMaker_module.cc.
References util::abs(), simb::MCNeutrino::CCNC(), simb::MCParticle::E(), util::empty(), fDigitModuleLabel, fGenieGenModuleLabel, fHitModuleLabel, art::fill_ptr_vector(), fShowerModuleLabel, art::ProductRetriever::getByLabel(), simb::MCTruth::GetNeutrino(), simb::MCNeutrino::Lepton(), simb::MCTruth::NeutrinoSet(), simb::MCNeutrino::Nu(), simb::MCParticle::PdgCode(), showerProfile(), and showerProfileTrue().
|
overrideprivatevirtual |
Reimplemented from art::EDAnalyzer.
Definition at line 162 of file TCShowerTemplateMaker_module.cc.
References EBINS, EMAX, EMIN, fLongitudinal, fLongitudinal_electron, fLongitudinal_other, fLongitudinal_photon, fShowerProfileHitLong, fShowerProfileHitLong2D, fShowerProfileHitTrans, fShowerProfileHitTrans2D, fShowerProfileHitTrans2D_1, fShowerProfileHitTrans2D_2, fShowerProfileHitTrans2D_3, fShowerProfileHitTrans2D_4, fShowerProfileHitTrans2D_5, fShowerProfileRecoLong, fShowerProfileRecoLong2D, fShowerProfileRecoTrans, fShowerProfileRecoTrans2D, fShowerProfileRecoTrans2D_1, fShowerProfileRecoTrans2D_2, fShowerProfileRecoTrans2D_3, fShowerProfileRecoTrans2D_4, fShowerProfileRecoTrans2D_5, fShowerProfileSimLong, fShowerProfileSimLong2D, fShowerProfileSimTrans, fShowerProfileSimTrans2D, fShowerProfileSimTrans2D_1, fShowerProfileSimTrans2D_2, fShowerProfileSimTrans2D_3, fShowerProfileSimTrans2D_4, fShowerProfileSimTrans2D_5, fTransverse, fTransverse1_electron, fTransverse1_other, fTransverse1_photon, fTransverse2_electron, fTransverse2_other, fTransverse2_photon, fTransverse3_electron, fTransverse3_other, fTransverse3_photon, fTransverse4_electron, fTransverse4_other, fTransverse4_photon, fTransverse5_electron, fTransverse5_other, fTransverse5_photon, fTransverse_1, fTransverse_2, fTransverse_3, fTransverse_4, fTransverse_5, LBINS, LMAX, LMIN, TBINS, TMAX, and TMIN.
|
protectedinherited |
Definition at line 61 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumes().
|
protectedinherited |
|
protectedinherited |
Definition at line 75 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumesMany().
|
protectedinherited |
|
inherited |
Definition at line 68 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumesView().
|
inherited |
Definition at line 25 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 68 of file Analyzer.cc.
References art::ModuleContext::scheduleID().
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 84 of file Analyzer.cc.
References art::ModuleContext::scheduleID().
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 33 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 76 of file Analyzer.cc.
References art::ModuleContext::scheduleID().
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 92 of file Analyzer.cc.
References art::ModuleContext::scheduleID().
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 100 of file Analyzer.cc.
References e, and art::ModuleContext::scheduleID().
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 47 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 61 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 40 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 54 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 43 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::getConsumables().
|
protectedinherited |
Definition at line 75 of file Observer.cc.
References art::ProductRetriever::get(), and art::Observer::selectors_.
Referenced by art::OutputModule::doWriteEvent(), and art::Observer::wantAllEvents().
|
inherited |
Definition at line 37 of file ModuleBase.cc.
References art::ModuleBase::doMakeWorker(), and art::NumBranchTypes.
|
protectedinherited |
Definition at line 82 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsume().
|
protectedinherited |
Definition at line 96 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsumeMany().
|
protectedinherited |
|
inherited |
Definition at line 89 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsumeView().
|
inherited |
Definition at line 13 of file ModuleBase.cc.
References art::errors::LogicError.
Referenced by art::OutputModule::doRespondToOpenInputFile(), art::OutputModule::doWriteEvent(), art::Modifier::fillProductDescriptions(), art::OutputModule::makePlugins_(), art::OutputWorker::OutputWorker(), reco::shower::LArPandoraModularShowerCreation::produce(), art::Modifier::registerProducts(), and art::OutputModule::registerProducts().
|
protectedinherited |
Definition at line 57 of file Observer.cc.
References art::Observer::process_name_.
Referenced by art::FileDumperOutput::printPrincipal().
|
inherited |
|
private |
Definition at line 629 of file TCShowerTemplateMaker_module.cc.
References util::abs(), detinfo::DetectorPropertiesData::ConvertXToTicks(), detinfo::DetectorPropertiesData::DriftVelocity(), detinfo::DetectorPropertiesData::Efield(), fCalorimetryAlg, fLongitudinal, fShowerProfileRecoLong, fShowerProfileRecoLong2D, fShowerProfileRecoTrans, fShowerProfileRecoTrans2D, fShowerProfileRecoTrans2D_1, fShowerProfileRecoTrans2D_2, fShowerProfileRecoTrans2D_3, fShowerProfileRecoTrans2D_4, fShowerProfileRecoTrans2D_5, fTransverse, fTransverse_1, fTransverse_2, fTransverse_3, fTransverse_4, fTransverse_5, LBINS, calo::CalorimetryAlg::LifetimeCorrection(), LMAX, LMIN, detinfo::sampling_rate(), TBINS, detinfo::DetectorPropertiesData::Temperature(), TMAX, TMIN, geo::vect::toPoint(), geo::GeometryCore::WireCoordinate(), geo::GeometryCore::WirePitch(), and X0.
Referenced by analyze().
|
private |
Definition at line 740 of file TCShowerTemplateMaker_module.cc.
References util::abs(), detinfo::DetectorPropertiesData::ConvertXToTicks(), detinfo::DetectorPropertiesData::DriftVelocity(), detinfo::DetectorPropertiesData::Efield(), energy, fShowerProfileHitLong, fShowerProfileHitLong2D, fShowerProfileHitTrans, fShowerProfileHitTrans2D, fShowerProfileHitTrans2D_1, fShowerProfileHitTrans2D_2, fShowerProfileHitTrans2D_3, fShowerProfileHitTrans2D_4, fShowerProfileHitTrans2D_5, cheat::BackTrackerService::HitToEveTrackIDEs(), LBINS, LMAX, LMIN, detinfo::sampling_rate(), TBINS, detinfo::DetectorPropertiesData::Temperature(), TMAX, TMIN, cheat::ParticleInventoryService::TrackIdToParticle_P(), geo::GeometryCore::WireCoordinate(), geo::GeometryCore::WirePitch(), and X0.
Referenced by analyze().
|
private |
Definition at line 889 of file TCShowerTemplateMaker_module.cc.
References util::abs(), sim::SimChannel::Channel(), DEFINE_ART_MODULE, simb::MCParticle::E(), edep, energy, fShowerProfileSimLong, fShowerProfileSimLong2D, fShowerProfileSimTrans, fShowerProfileSimTrans2D, fShowerProfileSimTrans2D_1, fShowerProfileSimTrans2D_2, fShowerProfileSimTrans2D_3, fShowerProfileSimTrans2D_4, fShowerProfileSimTrans2D_5, geo::kV, LBINS, LMAX, LMIN, simb::MCParticle::PdgCode(), simb::MCParticle::Px(), simb::MCParticle::Py(), simb::MCParticle::Pz(), sim::MCEnDep::SetEnergy(), sim::MCEnDep::SetTrackId(), sim::MCEnDep::SetVertex(), TBINS, sim::SimChannel::TDCIDEMap(), TMAX, TMIN, cheat::ParticleInventoryService::TrackIdToMotherParticle_P(), geo::GeometryCore::View(), simb::MCParticle::Vx(), simb::MCParticle::Vy(), simb::MCParticle::Vz(), x, X0, x2, y, y2, and z.
|
inherited |
Definition at line 49 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::sortConsumables().
|
inlineprotectednoexceptinherited |
Definition at line 31 of file Observer.h.
References e, art::Observer::getTriggerResults(), art::Observer::wantAllEvents_, and art::Observer::wantEvent().
|
protectedinherited |
Definition at line 63 of file Observer.cc.
References art::Observer::rejectors_, art::Observer::selectors_, and art::Observer::wantAllEvents_.
Referenced by art::OutputModule::doEvent(), art::OutputModule::doWriteEvent(), and art::Observer::wantAllEvents().
|
private |
Definition at line 132 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 134 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 133 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 143 of file TCShowerTemplateMaker_module.cc.
Referenced by showerProfile().
|
private |
Definition at line 141 of file TCShowerTemplateMaker_module.cc.
Referenced by analyze().
|
private |
Definition at line 140 of file TCShowerTemplateMaker_module.cc.
Referenced by analyze().
|
private |
Definition at line 138 of file TCShowerTemplateMaker_module.cc.
Referenced by analyze().
|
private |
Definition at line 94 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 103 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 117 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 110 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 139 of file TCShowerTemplateMaker_module.cc.
Referenced by analyze().
|
private |
Definition at line 59 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 63 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 67 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 71 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 75 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 79 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 83 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 87 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 91 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 60 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 64 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 68 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 72 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 76 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 80 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 84 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 88 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 92 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 58 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 62 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 66 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 70 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 74 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 78 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 82 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 86 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 90 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfileTrue().
|
private |
Definition at line 95 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 104 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 118 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 111 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 105 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 119 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 112 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 106 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 120 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 113 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 107 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 121 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 114 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 108 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 122 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 115 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob().
|
private |
Definition at line 96 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 97 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 98 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 99 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 100 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), and showerProfile().
|
private |
Definition at line 124 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), showerProfile(), and showerProfileTrue().
|
private |
Definition at line 126 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), showerProfile(), and showerProfileTrue().
|
private |
Definition at line 125 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), showerProfile(), and showerProfileTrue().
|
private |
Definition at line 128 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), showerProfile(), and showerProfileTrue().
|
private |
Definition at line 130 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), showerProfile(), and showerProfileTrue().
|
private |
Definition at line 129 of file TCShowerTemplateMaker_module.cc.
Referenced by beginJob(), showerProfile(), and showerProfileTrue().
|
private |
Definition at line 136 of file TCShowerTemplateMaker_module.cc.
Referenced by showerProfile(), and showerProfileTrue().