LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Types | |
using | ModuleType = EDAnalyzer |
Public Member Functions | |
LArG4Ana (fhicl::ParameterSet const &pset) | |
Standard constructor and destructor for an FMWK module. More... | |
void | analyze (const art::Event &evt) |
void | beginJob () |
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 Attributes | |
std::string | fG4ModuleLabel |
module label for the Geant More... | |
std::string | fTruthModuleLabel |
module label for the Geant More... | |
TH1D * | fPDGCodes |
TH1D * | fPi0Momentum |
TH1D * | fnEnergy |
TH1D * | fnDist |
TH1D * | fnumChannels |
The number of channels recieving charge per event. More... | |
TProfile * | fnumIDEs |
Number of drift electrons per channel. More... | |
TH1D * | fEventCharge |
Charge collected per event. More... | |
TH1D * | fEventEnergy |
Energy collected per event. More... | |
TProfile * | fChannelCharge |
Charge per channel. More... | |
TProfile * | fChannelEnergy |
Energy per channel. More... | |
TTree * | fTree |
Int_t | fTEvt |
Int_t | fTSub |
Int_t | fTRun |
Int_t | fTPdg |
Int_t | fTID |
Int_t | fTNdsOriginal |
Int_t | fTNds |
Int_t | fTNds4 |
Int_t * | fTDID |
Int_t * | fTDPdg |
Float_t * | fTDWt |
Char_t | fTProcess [35] |
Char_t | fTVolume [35] |
Char_t | fTTVolume [35] |
Char_t | fTMaterial [35] |
Char_t | fTDProcess [200][35] |
Int_t | fTParentID |
Int_t | fTStatus |
Float_t | fTWeight |
Float_t * | fT4Origin |
Float_t * | fT4DOrigin |
Float_t * | fT4Termination |
Float_t * | fT4Momentum |
Float_t * | fT4DMomentum |
Definition at line 38 of file LArG4Ana_module.cc.
|
inherited |
Definition at line 22 of file EDAnalyzer.h.
|
explicit |
Standard constructor and destructor for an FMWK module.
Definition at line 96 of file LArG4Ana_module.cc.
References fTNds, fTNdsOriginal, fTruthModuleLabel, and fhicl::ParameterSet::get().
void larg4::LArG4Ana::analyze | ( | const art::Event & | evt | ) |
Definition at line 184 of file LArG4Ana_module.cc.
References d, DEFINE_ART_MODULE, E, sim::ParticleList::end(), art::EventID::event(), fChannelCharge, fChannelEnergy, fEventCharge, fEventEnergy, fG4ModuleLabel, sim::ParticleList::find(), fnDist, fnEnergy, fnumChannels, fnumIDEs, fPDGCodes, fPi0Momentum, fT4DMomentum, fT4DOrigin, fT4Momentum, fT4Origin, fT4Termination, fTDID, fTDPdg, fTDProcess, fTDWt, fTEvt, fTID, fTMaterial, fTNds, fTNdsOriginal, fTParentID, fTPdg, fTProcess, fTree, fTRun, fTStatus, fTSub, fTTVolume, fTVolume, fTWeight, art::ProductRetriever::getView(), art::Event::id(), geo::GeometryCore::MaterialName(), sim::NoParticleId, cheat::ParticleInventoryService::ParticleList(), art::Event::run(), sc, sim::ParticleList::size(), art::Event::subRun(), geo::vect::toPoint(), and geo::GeometryCore::VolumeName().
|
virtual |
Reimplemented from art::EDAnalyzer.
Definition at line 105 of file LArG4Ana_module.cc.
References fChannelCharge, fChannelEnergy, fEventCharge, fEventEnergy, fnDist, fnEnergy, fnumChannels, fnumIDEs, fPDGCodes, fPi0Momentum, fT4DMomentum, fT4DOrigin, fT4Momentum, fT4Origin, fT4Termination, fTDID, fTDPdg, fTDProcess, fTDWt, fTEvt, fTID, fTMaterial, fTNds, fTNds4, fTParentID, fTPdg, fTProcess, fTree, fTRun, fTStatus, fTSub, fTTVolume, fTVolume, fTWeight, and geo::GeometryCore::Nchannels().
|
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 |
|
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 |
Charge per channel.
Definition at line 58 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Energy per channel.
Definition at line 59 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Charge collected per event.
Definition at line 56 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Energy collected per event.
Definition at line 57 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
module label for the Geant
Definition at line 47 of file LArG4Ana_module.cc.
Referenced by analyze().
|
private |
Definition at line 53 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 52 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
The number of channels recieving charge per event.
Definition at line 54 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Number of drift electrons per channel.
Definition at line 55 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 50 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 51 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 87 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 84 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 86 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 83 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 85 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 72 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 73 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 79 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 74 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 64 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 68 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 78 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 70 of file LArG4Ana_module.cc.
Referenced by analyze(), beginJob(), and LArG4Ana().
|
private |
Definition at line 71 of file LArG4Ana_module.cc.
Referenced by beginJob().
|
private |
Definition at line 69 of file LArG4Ana_module.cc.
Referenced by analyze(), and LArG4Ana().
|
private |
Definition at line 80 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 67 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 75 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 63 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 66 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
module label for the Geant
Definition at line 48 of file LArG4Ana_module.cc.
Referenced by LArG4Ana().
|
private |
Definition at line 81 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 65 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 77 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 76 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 82 of file LArG4Ana_module.cc.
Referenced by analyze(), and beginJob().