Public Types | |
using | ModuleType = EDProducer |
using | WorkerType = WorkerT< EDProducer > |
template<typename UserConfig , typename KeysToIgnore = void> | |
using | Table = ProducerBase::Table< UserConfig, KeysToIgnore > |
Public Member Functions | |
BeamlineSimInput (const fhicl::ParameterSet &pset) | |
void | reconfigure (const fhicl::ParameterSet &pset) |
void | produce (art::Event &evt) |
void | beginJob () |
float_t | bltof (float_t tof_us, float_t tof_ds, int presenttofus, int presenttofds) |
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 () |
Public Attributes | |
TTreeReader | reader |
TTree * | tree |
int | particle_no |
int | event_no |
int | final_index |
int | total_particles |
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 Attributes | |
art::InputTag | fRawToFDataLabel |
TFile * | fBeamlineSimFile |
TTree * | fBeamlineSimTree |
int | fBeamlineTreeIndex |
std::vector< unsigned int > | vPresentWire_Chamber1 |
std::vector< unsigned int > | vPresentWire_Chamber2 |
std::vector< unsigned int > | vPresentWire_Chamber3 |
std::vector< unsigned int > | vPresentWire_Chamber4 |
std::vector< unsigned int > | vPresenttofus |
std::vector< unsigned int > | vPresenttofds |
std::vector< unsigned int > | vPresentcherenkov |
std::vector< float_t > | vXWire_Chamber1 |
std::vector< float_t > | vYWire_Chamber1 |
std::vector< float_t > | vZWire_Chamber1 |
std::vector< float_t > | vTWire_Chamber1 |
std::vector< float_t > | vXWire_Chamber2 |
std::vector< float_t > | vYWire_Chamber2 |
std::vector< float_t > | vZWire_Chamber2 |
std::vector< float_t > | vTWire_Chamber2 |
std::vector< float_t > | vXWire_Chamber3 |
std::vector< float_t > | vYWire_Chamber3 |
std::vector< float_t > | vZWire_Chamber3 |
std::vector< float_t > | vTWire_Chamber3 |
std::vector< float_t > | vXWire_Chamber4 |
std::vector< float_t > | vYWire_Chamber4 |
std::vector< float_t > | vZWire_Chamber4 |
std::vector< float_t > | vTWire_Chamber4 |
std::vector< float_t > | vttof_us |
std::vector< float_t > | vttof_ds |
std::vector< float_t > | vtcherenkov |
std::vector< float_t > | vxnova |
std::vector< float_t > | vynova |
std::vector< float_t > | vznova |
std::vector< float_t > | vtnova |
int | fPresentWire_Chamber1 |
int | fPresentWire_Chamber2 |
int | fPresentWire_Chamber3 |
int | fPresentWire_Chamber4 |
int | fPresenttofus |
int | fPresenttofds |
int | fPresentcherenkov |
float_t | fXWire_Chamber1 |
float_t | fYWire_Chamber1 |
float_t | fZWire_Chamber1 |
float_t | fTWire_Chamber1 |
float_t | fXWire_Chamber2 |
float_t | fYWire_Chamber2 |
float_t | fZWire_Chamber2 |
float_t | fTWire_Chamber2 |
float_t | fXWire_Chamber3 |
float_t | fYWire_Chamber3 |
float_t | fZWire_Chamber3 |
float_t | fTWire_Chamber3 |
float_t | fXWire_Chamber4 |
float_t | fYWire_Chamber4 |
float_t | fZWire_Chamber4 |
float_t | fTWire_Chamber4 |
float_t | fttof_us |
float_t | fttof_ds |
float_t | ftcherenkov |
Definition at line 73 of file BeamlineSimInput_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.
beamlinesim::BeamlineSimInput::BeamlineSimInput | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 315 of file BeamlineSimInput_module.cc.
References final_index, reconfigure(), and total_particles.
|
virtual |
Reimplemented from art::EDProducer.
Definition at line 204 of file BeamlineSimInput_module.cc.
References fBeamlineSimFile, fPresentcherenkov, fPresenttofds, fPresenttofus, fPresentWire_Chamber1, fPresentWire_Chamber2, fPresentWire_Chamber3, fPresentWire_Chamber4, ftcherenkov, fttof_ds, fttof_us, fTWire_Chamber1, fTWire_Chamber2, fTWire_Chamber3, fTWire_Chamber4, fXWire_Chamber1, fXWire_Chamber2, fXWire_Chamber3, fXWire_Chamber4, fYWire_Chamber1, fYWire_Chamber2, fYWire_Chamber3, fYWire_Chamber4, fZWire_Chamber1, fZWire_Chamber2, fZWire_Chamber3, fZWire_Chamber4, reader, vPresentcherenkov, vPresenttofds, vPresenttofus, vPresentWire_Chamber1, vPresentWire_Chamber2, vPresentWire_Chamber3, vPresentWire_Chamber4, vtcherenkov, vttof_ds, vttof_us, vTWire_Chamber1, vTWire_Chamber2, vTWire_Chamber3, vTWire_Chamber4, vXWire_Chamber1, vXWire_Chamber2, vXWire_Chamber3, vXWire_Chamber4, vYWire_Chamber1, vYWire_Chamber2, vYWire_Chamber3, vYWire_Chamber4, vZWire_Chamber1, vZWire_Chamber2, vZWire_Chamber3, and vZWire_Chamber4.
float_t beamlinesim::BeamlineSimInput::bltof | ( | float_t | tof_us, |
float_t | tof_ds, | ||
int | presenttofus, | ||
int | presenttofds | ||
) |
|
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 |
|
virtual |
Implements art::EDProducer.
Definition at line 329 of file BeamlineSimInput_module.cc.
References rawdata::RawBeamlineWC::AddXPulse(), rawdata::RawBeamlineWC::AddYPulse(), om::cout, DEFINE_ART_MODULE(), allTimeWatchdog::endl, art::Event::event(), event_no, art::fill_ptr_vector(), final_index, art::DataViewImpl::getByLabel(), MECModelEnuComparisons::i, particle_no, art::Event::put(), stan::math::round(), brb::Cherenkov::SetTime(), brb::ToF::SetTime(), brb::ToF::SetTimestamps(), total_particles, vPresentcherenkov, vPresenttofds, vPresenttofus, vPresentWire_Chamber1, vPresentWire_Chamber2, vPresentWire_Chamber3, vPresentWire_Chamber4, vtcherenkov, vttof_ds, vttof_us, vTWire_Chamber1, vTWire_Chamber2, vTWire_Chamber3, vTWire_Chamber4, vXWire_Chamber1, vXWire_Chamber2, vXWire_Chamber3, vXWire_Chamber4, vYWire_Chamber1, vYWire_Chamber2, vYWire_Chamber3, vYWire_Chamber4, and beamlinegeo::WC.
void beamlinesim::BeamlineSimInput::reconfigure | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 325 of file BeamlineSimInput_module.cc.
Referenced by BeamlineSimInput().
|
protectedinherited |
Referenced by art::RootOutput::endJob().
|
protectedinherited |
int beamlinesim::BeamlineSimInput::event_no |
Definition at line 88 of file BeamlineSimInput_module.cc.
Referenced by produce().
|
private |
Definition at line 97 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 98 of file BeamlineSimInput_module.cc.
|
private |
Definition at line 102 of file BeamlineSimInput_module.cc.
int beamlinesim::BeamlineSimInput::final_index |
Definition at line 89 of file BeamlineSimInput_module.cc.
Referenced by BeamlineSimInput(), and produce().
|
private |
Definition at line 163 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 162 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 161 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 157 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 158 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 159 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 160 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 94 of file BeamlineSimInput_module.cc.
|
private |
Definition at line 194 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 193 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 192 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 167 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 171 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 175 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 179 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 164 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 168 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 172 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 176 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 165 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 169 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 173 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 177 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 166 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 170 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 174 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 178 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
int beamlinesim::BeamlineSimInput::particle_no |
Definition at line 87 of file BeamlineSimInput_module.cc.
Referenced by produce().
TTreeReader beamlinesim::BeamlineSimInput::reader |
Definition at line 85 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
int beamlinesim::BeamlineSimInput::total_particles |
Definition at line 90 of file BeamlineSimInput_module.cc.
Referenced by BeamlineSimInput(), and produce().
TTree* beamlinesim::BeamlineSimInput::tree |
Definition at line 86 of file BeamlineSimInput_module.cc.
|
private |
Definition at line 117 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 116 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 115 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 111 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 112 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 113 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 114 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 148 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 152 of file BeamlineSimInput_module.cc.
|
private |
Definition at line 147 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 146 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 121 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 125 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 129 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 133 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 149 of file BeamlineSimInput_module.cc.
|
private |
Definition at line 118 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 122 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 126 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 130 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 150 of file BeamlineSimInput_module.cc.
|
private |
Definition at line 119 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 123 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 127 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 131 of file BeamlineSimInput_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 151 of file BeamlineSimInput_module.cc.
|
private |
Definition at line 120 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 124 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 128 of file BeamlineSimInput_module.cc.
Referenced by beginJob().
|
private |
Definition at line 132 of file BeamlineSimInput_module.cc.
Referenced by beginJob().