Public Types | |
using | ModuleType = EDProducer |
using | WorkerType = WorkerT< EDProducer > |
template<typename UserConfig , typename KeysToIgnore = void> | |
using | Table = ProducerBase::Table< UserConfig, KeysToIgnore > |
Public Member Functions | |
MakeNCCosRej (fhicl::ParameterSet const &p) | |
~MakeNCCosRej () | |
void | beginRun (art::Run &evt) override |
void | reconfigure (const fhicl::ParameterSet &p) |
void | produce (art::Event &e) override |
template<typename PROD , BranchType B = InEvent> | |
ProductID | getProductID (std::string const &instanceName={}) const |
template<typename PROD , BranchType B> | |
ProductID | getProductID (ModuleDescription const &moduleDescription, std::string const &instanceName) const |
bool | modifiesEvent () const |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ProductToken< T > | consumes (InputTag const &it) |
template<typename T , BranchType = InEvent> | |
void | consumesMany () |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | consumesView (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ViewToken< T > | consumesView (InputTag const &it) |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ProductToken< T > | mayConsume (InputTag const &it) |
template<typename T , BranchType = InEvent> | |
void | mayConsumeMany () |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | mayConsumeView (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ViewToken< T > | mayConsumeView (InputTag const &it) |
base_engine_t & | createEngine (seed_t seed) |
base_engine_t & | createEngine (seed_t seed, std::string const &kind_of_engine_to_make) |
base_engine_t & | createEngine (seed_t seed, std::string const &kind_of_engine_to_make, label_t const &engine_label) |
seed_t | get_seed_value (fhicl::ParameterSet const &pset, char const key[]="seed", seed_t const implicit_seed=-1) |
Static Public Member Functions | |
static cet::exempt_ptr< Consumer > | non_module_context () |
Protected Member Functions | |
CurrentProcessingContext const * | currentContext () const |
void | validateConsumedProduct (BranchType const bt, ProductInfo const &pi) |
void | prepareForJob (fhicl::ParameterSet const &pset) |
void | showMissingConsumes () const |
Private Member Functions | |
double | TransMomFraction (const std::vector< art::Ptr< rb::Prong > > &prongs) const |
Private Attributes | |
std::string | fSliceLabel |
std::string | fProngLabel |
std::string | fProngInstance |
std::string | fCVNLabel |
std::string | fShowerLIDLabel |
std::string | fShowerLabel |
std::string | fCosmicTrackLabel |
std::string | fCellHitLabel |
std::string | fCosRejLabel |
std::string | fPIDLibPath |
std::string | fNCCosRejPIDFile |
std::string | fNCCosRejPIDGFile |
TMVA::Reader * | fReaderDT |
TMVA::Reader * | fReaderGBDT |
float | TMVAvars [13] |
fhicl::ParameterSet | fParticleIDAlgPSet |
Particle ID alorithm (loglikelihoods and dE/dx) More... | |
Definition at line 53 of file MakeNCCosRej_module.cc.
|
inherited |
Definition at line 34 of file EDProducer.h.
|
inherited |
Definition at line 43 of file EDProducer.h.
|
inherited |
Definition at line 35 of file EDProducer.h.
|
explicit |
Definition at line 104 of file MakeNCCosRej_module.cc.
References reconfigure().
ncid::MakeNCCosRej::~MakeNCCosRej | ( | ) |
Reimplemented from art::EDProducer.
Definition at line 121 of file MakeNCCosRej_module.cc.
References allTimeWatchdog::endl, util::EnvExpansion(), cet::file_exists(), fNCCosRejPIDFile, fNCCosRejPIDGFile, fPIDLibPath, fReaderDT, fReaderGBDT, geom(), string, and TMVAvars.
|
inherited |
|
inherited |
Definition at line 146 of file Consumer.h.
References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.
|
inherited |
|
inherited |
|
inherited |
Definition at line 171 of file Consumer.h.
References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.
|
inherited |
Referenced by evgen::CosmicPionGen::CosmicPionGen(), evgen::CosmicsGen::CosmicsGen(), fuzz::FuzzyKVertex::FuzzyKVertex(), g4n::G4Gen::G4Gen(), photrans::ImprovedTransport::ImprovedTransport(), art::MixFilter< T >::initEngine_(), evgen::IsoGen::IsoGen(), rsim::MakeNoiseSpectrumFile::MakeNoiseSpectrumFile(), photrans::PhotonSystRewriter::PhotonSystRewriter(), photrans::PhotonTransport::PhotonTransport(), rsim::ReadoutSim::ReadoutSim(), evgen::SingleGen::SingleGen(), and evgen::SupernovaGen::SupernovaGen().
|
inherited |
|
inherited |
|
protectedinherited |
|
inherited |
Referenced by art::MixFilter< T >::initEngine_().
|
inlineinherited |
Definition at line 123 of file EDProducer.h.
References art::EDProducer::moduleDescription_.
Referenced by skim::NueSkimmer::CopyMichelSlice(), and skim::NueSkimmer::CopyMichelTrack().
|
inherited |
Definition at line 56 of file ProducerBase.h.
References art::ModuleDescription::moduleLabel().
Referenced by art::ProducerBase::modifiesEvent().
|
inherited |
|
inherited |
Definition at line 189 of file Consumer.h.
References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.
|
inherited |
|
inherited |
|
inherited |
Definition at line 214 of file Consumer.h.
References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.
|
inlineinherited |
Definition at line 40 of file ProducerBase.h.
References art::ProducerBase::getProductID(), and string.
|
staticinherited |
Referenced by art::RootOutput::beginSubRun(), art::ProcessPackage< L >::postScheduleSignal(), art::BeginEndPackage< Level::Run >::Begin::postScheduleSignal(), art::BeginEndPackage< Level::Run >::End::postScheduleSignal(), art::BeginEndPackage< Level::SubRun >::Begin::postScheduleSignal(), art::BeginEndPackage< Level::SubRun >::End::postScheduleSignal(), art::ProcessPackage< L >::preScheduleSignal(), art::BeginEndPackage< Level::Run >::Begin::preScheduleSignal(), art::BeginEndPackage< Level::SubRun >::Begin::preScheduleSignal(), art::EmptyEvent::readRun_(), and art::EmptyEvent::readSubRun_().
|
protectedinherited |
|
overridevirtual |
Implements art::EDProducer.
Definition at line 189 of file MakeNCCosRej_module.cc.
References rb::CellHit::Cell(), slid::CompareByEnergy(), ana::cosmicid, util::CreateAssn(), fCellHitLabel, fCosRejLabel, fCVNLabel, art::fill_ptr_vector(), check_time_usage::float, fProngInstance, fProngLabel, fReaderDT, fReaderGBDT, fShowerLIDLabel, fSliceLabel, geom(), art::DataViewImpl::getByLabel(), rb::RecoHit::IsCalibrated(), rb::Cluster::IsNoise(), m, ana::nmiphit, ana::nshwlid, partptp, rb::RecoHit::PECorr(), art::PtrVector< T >::push_back(), art::Event::put(), rb::RecoHit::RecoHit(), ncid::NCCosRej::SetCosPIDDT(), ncid::NCCosRej::SetCosPIDDTG(), ncid::NCCosRej::SetProngTransMom(), ana::shwcalE, ana::shwdirY, ana::shwGap, ana::shwlen, ana::shwnhit, ana::shwnhitx, ana::shwnhity, ana::shwxminusy, ana::shwxovery, ana::shwxplusy, TMVAvars, and TransMomFraction().
void ncid::MakeNCCosRej::reconfigure | ( | const fhicl::ParameterSet & | p | ) |
Definition at line 171 of file MakeNCCosRej_module.cc.
References fCellHitLabel, fCosRejLabel, fCVNLabel, fNCCosRejPIDFile, fNCCosRejPIDGFile, fParticleIDAlgPSet, fPIDLibPath, fProngInstance, fProngLabel, fShowerLabel, fShowerLIDLabel, fSliceLabel, fhicl::ParameterSet::get(), and string.
Referenced by MakeNCCosRej().
|
protectedinherited |
Referenced by art::RootOutput::endJob().
|
private |
Return transverse momentum fraction of the event. Calculation based on reconstructed prongs.
Definition at line 329 of file MakeNCCosRej_module.cc.
References geom(), geo::GeometryBase::NuMIBeamDirection(), runNovaSAM::ret, and w.
Referenced by produce().
|
protectedinherited |
|
private |
Definition at line 73 of file MakeNCCosRej_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Definition at line 72 of file MakeNCCosRej_module.cc.
|
private |
Definition at line 74 of file MakeNCCosRej_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Definition at line 69 of file MakeNCCosRej_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Definition at line 76 of file MakeNCCosRej_module.cc.
Referenced by beginRun(), and reconfigure().
|
private |
Definition at line 77 of file MakeNCCosRej_module.cc.
Referenced by beginRun(), and reconfigure().
|
private |
Particle ID alorithm (loglikelihoods and dE/dx)
FCL parameters for particle ID alorithm (loglikelihoods and dE/dx)
Definition at line 88 of file MakeNCCosRej_module.cc.
Referenced by reconfigure().
|
private |
Definition at line 75 of file MakeNCCosRej_module.cc.
Referenced by beginRun(), and reconfigure().
|
private |
Definition at line 68 of file MakeNCCosRej_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Definition at line 67 of file MakeNCCosRej_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Definition at line 79 of file MakeNCCosRej_module.cc.
Referenced by beginRun(), produce(), and ~MakeNCCosRej().
|
private |
Definition at line 80 of file MakeNCCosRej_module.cc.
Referenced by beginRun(), produce(), and ~MakeNCCosRej().
|
private |
Definition at line 71 of file MakeNCCosRej_module.cc.
Referenced by reconfigure().
|
private |
Definition at line 70 of file MakeNCCosRej_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Definition at line 66 of file MakeNCCosRej_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Definition at line 83 of file MakeNCCosRej_module.cc.
Referenced by beginRun(), and produce().