LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Types | |
using | ModuleType = EDAnalyzer |
Public Member Functions | |
TCShowerElectronLikelihood (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 | getShowerProfile (detinfo::DetectorClocksData const &clockdata, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit >> showerhits, TVector3 shwvtx, TVector3 shwdir) |
void | findEnergyBin () |
double | getLongLikelihood () |
double | getTranLikelihood () |
void | resetProfiles () |
Definition at line 37 of file TCShowerElectronLikelihood_module.cc.
|
inherited |
Definition at line 22 of file EDAnalyzer.h.
|
explicit |
Definition at line 122 of file TCShowerElectronLikelihood_module.cc.
References file, fROOTfile, fTemplateFile, fhicl::ParameterSet::get(), LBINS, LMAX, LMIN, longProfile, longTemplate, longTemplateProf2D, TBINS, TMAX, TMIN, tranProfile, tranProfile_1, tranProfile_2, tranProfile_3, tranProfile_4, tranProfile_5, tranTemplate, tranTemplate_1, tranTemplate_2, tranTemplate_3, tranTemplate_4, tranTemplate_5, tranTemplateProf2D, tranTemplateProf2D_1, tranTemplateProf2D_2, tranTemplateProf2D_3, tranTemplateProf2D_4, and tranTemplateProf2D_5.
|
overrideprivate |
Definition at line 198 of file TCShowerElectronLikelihood_module.cc.
References util::abs(), simb::MCNeutrino::CCNC(), simb::MCParticle::E(), energyDist, energyGuess, fGenieGenModuleLabel, fHitModuleLabel, art::fill_ptr_vector(), findEnergyBin(), fShowerModuleLabel, art::ProductRetriever::getByLabel(), getLongLikelihood(), simb::MCTruth::GetNeutrino(), getShowerProfile(), getTranLikelihood(), simb::MCNeutrino::Lepton(), longLikelihoodHist, longProfHist, longProfile, maxt, simb::MCTruth::NeutrinoSet(), simb::MCNeutrino::Nu(), simb::MCParticle::PdgCode(), resetProfiles(), tranLikelihoodHist, tranProfHist_1, tranProfHist_2, tranProfHist_3, tranProfHist_4, tranProfHist_5, tranProfile_1, tranProfile_2, tranProfile_3, tranProfile_4, tranProfile_5, X0, and Z.
|
overrideprivatevirtual |
Reimplemented from art::EDAnalyzer.
Definition at line 171 of file TCShowerElectronLikelihood_module.cc.
References energyDist, LBINS, LMAX, LMIN, longLikelihoodHist, longProfHist, TBINS, TMAX, TMIN, tranLikelihoodHist, tranProfHist_1, tranProfHist_2, tranProfHist_3, tranProfHist_4, and tranProfHist_5.
|
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().
|
private |
Definition at line 352 of file TCShowerElectronLikelihood_module.cc.
References energyChi2, energyGuess, longProfile, longTemplate, longTemplateProf2D, tranProfile, tranProfile_1, tranProfile_2, tranProfile_3, tranProfile_4, tranProfile_5, tranTemplate, tranTemplateProf2D_1, tranTemplateProf2D_2, tranTemplateProf2D_3, tranTemplateProf2D_4, and tranTemplateProf2D_5.
Referenced by analyze().
|
inherited |
Definition at line 43 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::getConsumables().
|
private |
Definition at line 444 of file TCShowerElectronLikelihood_module.cc.
References energyGuess, LBINS, longProfile, and longTemplate.
Referenced by analyze().
|
private |
Definition at line 275 of file TCShowerElectronLikelihood_module.cc.
References util::abs(), detinfo::DetectorPropertiesData::ConvertXToTicks(), detinfo::DetectorPropertiesData::DriftVelocity(), detinfo::DetectorPropertiesData::Efield(), fCalorimetryAlg, calo::CalorimetryAlg::LifetimeCorrection(), longProfile, detinfo::sampling_rate(), detinfo::DetectorPropertiesData::Temperature(), geo::vect::toPoint(), geo::vect::toVector(), tranProfile, tranProfile_1, tranProfile_2, tranProfile_3, tranProfile_4, tranProfile_5, geo::GeometryCore::WireCoordinate(), geo::GeometryCore::WirePitch(), and X0.
Referenced by analyze().
|
private |
Definition at line 472 of file TCShowerElectronLikelihood_module.cc.
References DEFINE_ART_MODULE, energyGuess, TBINS, tranProfile_1, tranProfile_2, tranProfile_3, tranProfile_4, tranProfile_5, tranTemplate_1, tranTemplate_2, tranTemplate_3, tranTemplate_4, and tranTemplate_5.
Referenced by analyze().
|
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().
|
private |
Definition at line 257 of file TCShowerElectronLikelihood_module.cc.
References energyChi2, energyGuess, longProfile, maxt, tranProfile, tranProfile_1, tranProfile_2, tranProfile_3, tranProfile_4, and tranProfile_5.
Referenced by analyze().
|
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 |
Definition at line 95 of file TCShowerElectronLikelihood_module.cc.
Referenced by findEnergyBin(), and resetProfiles().
|
private |
Definition at line 75 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 94 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), findEnergyBin(), getLongLikelihood(), getTranLikelihood(), and resetProfiles().
|
private |
Definition at line 114 of file TCShowerElectronLikelihood_module.cc.
Referenced by getShowerProfile().
|
private |
Definition at line 112 of file TCShowerElectronLikelihood_module.cc.
|
private |
Definition at line 111 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze().
|
private |
Definition at line 108 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze().
|
private |
Definition at line 57 of file TCShowerElectronLikelihood_module.cc.
Referenced by TCShowerElectronLikelihood().
|
private |
Definition at line 109 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze().
|
private |
Definition at line 56 of file TCShowerElectronLikelihood_module.cc.
Referenced by TCShowerElectronLikelihood().
|
private |
Definition at line 110 of file TCShowerElectronLikelihood_module.cc.
|
private |
Definition at line 98 of file TCShowerElectronLikelihood_module.cc.
Referenced by beginJob(), getLongLikelihood(), and TCShowerElectronLikelihood().
|
private |
Definition at line 100 of file TCShowerElectronLikelihood_module.cc.
Referenced by beginJob(), and TCShowerElectronLikelihood().
|
private |
Definition at line 99 of file TCShowerElectronLikelihood_module.cc.
Referenced by beginJob(), and TCShowerElectronLikelihood().
|
private |
Definition at line 76 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 79 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 86 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), findEnergyBin(), getLongLikelihood(), getShowerProfile(), resetProfiles(), and TCShowerElectronLikelihood().
|
private |
Definition at line 59 of file TCShowerElectronLikelihood_module.cc.
Referenced by findEnergyBin(), getLongLikelihood(), and TCShowerElectronLikelihood().
|
private |
Definition at line 66 of file TCShowerElectronLikelihood_module.cc.
Referenced by findEnergyBin(), and TCShowerElectronLikelihood().
|
private |
Definition at line 96 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), and resetProfiles().
|
private |
Definition at line 102 of file TCShowerElectronLikelihood_module.cc.
Referenced by beginJob(), getTranLikelihood(), and TCShowerElectronLikelihood().
|
private |
Definition at line 104 of file TCShowerElectronLikelihood_module.cc.
Referenced by beginJob(), and TCShowerElectronLikelihood().
|
private |
Definition at line 103 of file TCShowerElectronLikelihood_module.cc.
Referenced by beginJob(), and TCShowerElectronLikelihood().
|
private |
Definition at line 77 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 80 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 81 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 82 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 83 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 84 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 87 of file TCShowerElectronLikelihood_module.cc.
Referenced by findEnergyBin(), getShowerProfile(), resetProfiles(), and TCShowerElectronLikelihood().
|
private |
Definition at line 88 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), findEnergyBin(), getShowerProfile(), getTranLikelihood(), resetProfiles(), and TCShowerElectronLikelihood().
|
private |
Definition at line 89 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), findEnergyBin(), getShowerProfile(), getTranLikelihood(), resetProfiles(), and TCShowerElectronLikelihood().
|
private |
Definition at line 90 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), findEnergyBin(), getShowerProfile(), getTranLikelihood(), resetProfiles(), and TCShowerElectronLikelihood().
|
private |
Definition at line 91 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), findEnergyBin(), getShowerProfile(), getTranLikelihood(), resetProfiles(), and TCShowerElectronLikelihood().
|
private |
Definition at line 92 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), findEnergyBin(), getShowerProfile(), getTranLikelihood(), resetProfiles(), and TCShowerElectronLikelihood().
|
private |
Definition at line 60 of file TCShowerElectronLikelihood_module.cc.
Referenced by findEnergyBin(), and TCShowerElectronLikelihood().
|
private |
Definition at line 61 of file TCShowerElectronLikelihood_module.cc.
Referenced by getTranLikelihood(), and TCShowerElectronLikelihood().
|
private |
Definition at line 62 of file TCShowerElectronLikelihood_module.cc.
Referenced by getTranLikelihood(), and TCShowerElectronLikelihood().
|
private |
Definition at line 63 of file TCShowerElectronLikelihood_module.cc.
Referenced by getTranLikelihood(), and TCShowerElectronLikelihood().
|
private |
Definition at line 64 of file TCShowerElectronLikelihood_module.cc.
Referenced by getTranLikelihood(), and TCShowerElectronLikelihood().
|
private |
Definition at line 65 of file TCShowerElectronLikelihood_module.cc.
Referenced by getTranLikelihood(), and TCShowerElectronLikelihood().
|
private |
Definition at line 67 of file TCShowerElectronLikelihood_module.cc.
Referenced by TCShowerElectronLikelihood().
|
private |
Definition at line 68 of file TCShowerElectronLikelihood_module.cc.
Referenced by findEnergyBin(), and TCShowerElectronLikelihood().
|
private |
Definition at line 69 of file TCShowerElectronLikelihood_module.cc.
Referenced by findEnergyBin(), and TCShowerElectronLikelihood().
|
private |
Definition at line 70 of file TCShowerElectronLikelihood_module.cc.
Referenced by findEnergyBin(), and TCShowerElectronLikelihood().
|
private |
Definition at line 71 of file TCShowerElectronLikelihood_module.cc.
Referenced by findEnergyBin(), and TCShowerElectronLikelihood().
|
private |
Definition at line 72 of file TCShowerElectronLikelihood_module.cc.
Referenced by findEnergyBin(), and TCShowerElectronLikelihood().
|
private |
Definition at line 106 of file TCShowerElectronLikelihood_module.cc.
Referenced by analyze(), and getShowerProfile().