Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
art::EDAnalyzer Class Referenceabstract

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Core/EDAnalyzer.h"

Inheritance diagram for art::EDAnalyzer:
art::EventObserverBase art::Consumer art::EngineCreator air::AirKalmanAna air::AirShower air::AirTree air::CosmicTrackRate align::AlignInspect align::Alignment align::SplitTracks BeamlineAna beamlinereco::BeamlineRecoDump beamlinereco::EventWaveformDump beamlinereco::ToFAnalysisMini beamlinereco::ToFPositionRecoAnalysis beamlinereco::ToFRecoAnalysis beamlinereco::ToFSingleCounterAnalysis beamlinerecoana::WCTrackRecoAnalysis beamlinesim::CombinedBeamlineDetectorAna bpf::BPFCVNAna bpfit::BPFdEdxHistoMaker bpfit::BPFEnergyAna bpfit::BPFTmvaTrainer bpfit::BreakPointAna bpfit::BreakPointProtonAna calhit::CalHitAna calib::AbsCalib calib::ADCShapeFitAna calib::AssessCalib calib::AttenFit calib::BetheBlochFit calib::CalibAna calib::CosmicTrends calib::EnergyStandardCandles calib::HitEfficiency calib::ParticleCorrections calib::PEResponse calib::StopperThreshold calib::SystematicUncertaintyScaleAna calib::TestParticleCorrections calib::ThresholdAna CerenkovResponse chaninfo::BadChanValidate chaninfo::CosmicEff chaninfo::PedestalThresholdValidation cheat::CheckBackTracking cheat::RecoCheckAna cheat::TestTrackIds cmf::CAFToEventList cmf::CMFSpectraMaker comi::ChanOcc comi::CosmicMetrics comi::DataCheck comi::FEBFlash comi::Leana comi::NearlineAna comi::NumiFilteringAna cvn::CVNCosmicEventDump cvn::CVNEventDump cvn::CVNEventProngDump ddt::DataSliceEva ddt::DDTEva ddt::SlicerEva ddt::SMMADC ddt::SMMEff ddt::SuperDDTEva dprf::ChannelPlots dprf::TrackPlots dq::DAQHeaderSummaryAna earms::ElasticArmsValidate evd::EVD evtsum::EventSummary febstat::EventFEBStatus febstat::FEBShutoff fnex::AnalyzeWeighters fnex::CAFContourMaker fnex::CAFToEventList fnex::CalibSystHistMaker fnex::CompareFNEXCAFEventListFiles fnex::EventListMaker fnex::ReadCAFMakeEventList fnex::SortEventLists fnex::SpectrumTest fnex::SystematicsWeightTest fuzz::FuzzyKValidate G4MismatchAna geo::CoordinateTransformationTest geo::GeometryTest hdf5::HDF5Maker highe::HighEnergyAna hough::HoughValidate htk::HoughTrack jmshower::RecoJMShowerAna LightLevels mcchk::CloseInTime mcchk::CosmicAna mcchk::DetAna mcchk::DetAna mcchk::DetSimAna mcchk::LeptonAna mcchk::MonopoleAna mcchk::NeutrinoAna mcchk::NullAna mcchk::POTAna mcchk::RockAna mcchk::ShowerAnaCheck mcdatadaq::MockDataDAQAna meta::Metadata mmc::Validation mono::DataCheckMonopole Mono::Mono mono::Monopole mono::SlowMonopoleAna moonshadowana::MoonShadowAna moonshadowana::MoonShadowAnaHough murem::MRCCAna murem::MuonRemoveAna ncid::NCNNKerasVal ncpi0::TwoProngBDTAna ncs::GenieTruth ncs::NCAna ncs::ROCKMRE ncs::Xbeam ncs::Xeff nnbar::RecoAnalysis nnbar::ShowerMuonCoincidence nnbar::SigVsBkgSimCompare novaddt::Calibration novaddt::ChannelMapMaker novaddt::ClusterAna novaddt::DAQHeaderAna novaddt::DDTEvd novaddt::Evaluation novaddt::EvTimeAna novaddt::GHLTest novaddt::HitsAna novaddt::HitsAna novaddt::HorizontalMuonAna novaddt::HorizontalMuonAna novaddt::HotMapMaker novaddt::MilliBlockChecking novaddt::NoiseMapAna novaddt::NovaDDTTrigger novaddt::RateMonitor novaddt::SendTriggerSignal novaddt::SingletonRejectionAna novaddt::SNAna novaddt::TriCellTriggerAna novaddt::UpMuAna novatb::BeamTuning novatb::TOFTimingResolution novatb::TOFTriggerAna novatb::TriggerRateAna numue::NumuEAna om::OnMonProd om::TestTMapFile pa::ClusterEva pa::HitEva qeef::QeFinderVal red::EWCosmics remid::ReMIdDedx remid::ReMIdDedxFD remid::ReMIdDedxRock remid::ReMIdDedxStudies remid::ReMIdTrain remid::ReMIdValidate rockmuon::NDRockMuon rsim::MakeNoiseSpectrumFile rsim::RecordNoiseSpectrumFile rwgt::RwgtTest showere::ShowerEnergyAna skim::CosmicBeamComparison skim::SkimmerAna slicer::IdenticalSlicerAna slicer::S4DParamCalc slicer::SlicerAna slid::LIDTraining sn::SNMichelAnalyzer sn::SNSlicerAna sn::SupernovaAna spilltime supernova::SimAna supernova::sliceAna supernova::SnovaAna tbana::BeamlineTriggerAna tbana::BeamStructureAna tbana::DetectorRateShutOff tbana::DSToFAna tbana::RawFileDumper tbem::TBRecoAna Test testbeam::BeamlineEventDisplay testbeam::BeamlineRecoValidation testbeam::TestBeamCommissioning trigmon::LongReadoutAnalyzer trk::CosmicTrackAna trk::KalmanTrackAna tut::reco2016::RecoObjectsTutorial tut::RecoValidationTutorial tut::TutAnalyzer tut::yn2017::AnalysisModule tut::yn2017::DebugThis upmuana::UpMuAnalysis upmuana::UpMuRecoAna validation::NoiseClusterAnalysis validation::ValidateChannelInfo validation::ValidateDAQ2RawDigit ve::VertexEva vf::TrackEva zcl::FastMMStudy zcl::FmmTrackerAna zcl::FmmTrackerValidation zcl::FmmTriggerAna zcl::MMCheater zcl::SMMTriggerAna

Classes

class  Table
 

Public Types

using WorkerType = WorkerT< EDAnalyzer >
 
using ModuleType = EDAnalyzer
 

Public Member Functions

template<typename Config >
 EDAnalyzer (Table< Config > const &config)
 
 EDAnalyzer (fhicl::ParameterSet const &pset)
 
virtual ~EDAnalyzer ()=default
 
std::string workerType () const
 
bool modifiesEvent () const
 
void registerProducts (MasterProductRegistry &, ProductDescriptions &, ModuleDescription const &)
 
std::string const & processName () const
 
bool wantAllEvents () const
 
bool wantEvent (Event const &e)
 
fhicl::ParameterSetID selectorConfig () const
 
art::Handle< art::TriggerResultsgetTriggerResults (Event const &e) const
 
template<typename T , BranchType = InEvent>
ProductToken< Tconsumes (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ProductToken< Tconsumes (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< TconsumesView (InputTag const &it)
 
template<typename T , BranchType = InEvent>
ProductToken< TmayConsume (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ProductToken< TmayConsume (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< TmayConsumeView (InputTag const &it)
 
base_engine_tcreateEngine (seed_t seed)
 
base_engine_tcreateEngine (seed_t seed, std::string const &kind_of_engine_to_make)
 
base_engine_tcreateEngine (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< Consumernon_module_context ()
 

Protected Member Functions

CurrentProcessingContext const * currentContext () const
 
detail::CachedProductscachedProducts ()
 
void validateConsumedProduct (BranchType const bt, ProductInfo const &pi)
 
void prepareForJob (fhicl::ParameterSet const &pset)
 
void showMissingConsumes () const
 

Private Types

using CPC_exempt_ptr = cet::exempt_ptr< CurrentProcessingContext const >
 

Private Member Functions

bool doEvent (EventPrincipal const &ep, CPC_exempt_ptr cpc, CountingStatistics &)
 
void doBeginJob ()
 
void doEndJob ()
 
bool doBeginRun (RunPrincipal const &rp, CPC_exempt_ptr cpc)
 
bool doEndRun (RunPrincipal const &rp, CPC_exempt_ptr cpc)
 
bool doBeginSubRun (SubRunPrincipal const &srp, CPC_exempt_ptr cpc)
 
bool doEndSubRun (SubRunPrincipal const &srp, CPC_exempt_ptr cpc)
 
void doRespondToOpenInputFile (FileBlock const &fb)
 
void doRespondToCloseInputFile (FileBlock const &fb)
 
void doRespondToOpenOutputFiles (FileBlock const &fb)
 
void doRespondToCloseOutputFiles (FileBlock const &fb)
 
virtual void analyze (Event const &)=0
 
virtual void beginJob ()
 
virtual void endJob ()
 
virtual void beginRun (Run const &)
 
virtual void endRun (Run const &)
 
virtual void beginSubRun (SubRun const &)
 
virtual void endSubRun (SubRun const &)
 
virtual void respondToOpenInputFile (FileBlock const &)
 
virtual void respondToCloseInputFile (FileBlock const &)
 
virtual void respondToOpenOutputFiles (FileBlock const &)
 
virtual void respondToCloseOutputFiles (FileBlock const &)
 
void setModuleDescription (ModuleDescription const &md)
 

Private Attributes

ModuleDescription moduleDescription_ {}
 
CPC_exempt_ptr current_context_ {nullptr}
 

Friends

template<typename T >
class WorkerT
 

Detailed Description

Definition at line 31 of file EDAnalyzer.h.

Member Typedef Documentation

Definition at line 120 of file EDAnalyzer.h.

Definition at line 39 of file EDAnalyzer.h.

Definition at line 38 of file EDAnalyzer.h.

Constructor & Destructor Documentation

template<typename Config >
art::EDAnalyzer::EDAnalyzer ( Table< Config > const &  config)
inlineexplicit

Definition at line 100 of file EDAnalyzer.h.

References art::EDAnalyzer::Table< UserConfig, UserKeysToIgnore >::eoFragment(), art::EDAnalyzer::Table< UserConfig, UserKeysToIgnore >::get_PSet(), string, and ~EDAnalyzer().

101  : EventObserverBase{config.eoFragment().selectEvents(), config.get_PSet()}
102  {}
EventObserverBase(std::vector< std::string > const &paths, fhicl::ParameterSet const &config)
art::EDAnalyzer::EDAnalyzer ( fhicl::ParameterSet const &  pset)
explicit
virtual art::EDAnalyzer::~EDAnalyzer ( )
virtualdefault

Referenced by EDAnalyzer().

Member Function Documentation

virtual void art::EDAnalyzer::analyze ( Event const &  )
privatepure virtual

Implemented in fnex::CompareFNEXCAFEventListFiles, comi::FEBFlash, red::EWCosmics, trk::CosmicTrackAna, novatb::BeamTuning, cmf::CAFToEventList, htk::HoughTrack, sn::SNMichelAnalyzer, nnbar::RecoAnalysis, fnex::ReadCAFMakeEventList, fnex::CAFToEventList, upmuana::UpMuAnalysis, upmuana::UpMuRecoAna, moonshadowana::MoonShadowAnaHough, moonshadowana::MoonShadowAna, calib::CalibAna, air::AirKalmanAna, novaddt::NoiseMapAna, CerenkovResponse, skim::CosmicBeamComparison, calib::CosmicTrends, om::OnMonProd, LightLevels, bpfit::BreakPointProtonAna, skim::SkimmerAna, nnbar::ShowerMuonCoincidence, mono::Monopole, remid::ReMIdDedxFD, remid::ReMIdDedxStudies, zcl::FastMMStudy, remid::ReMIdDedxRock, ncpi0::TwoProngBDTAna, mono::SlowMonopoleAna, novaddt::UpMuAna, evtsum::EventSummary, mcchk::DetSimAna, calib::StopperThreshold, Mono::Mono, bpfit::BreakPointAna, fnex::EventListMaker, novaddt::SendTriggerSignal, trk::KalmanTrackAna, trigmon::LongReadoutAnalyzer, calib::PEResponse, novatb::TOFTriggerAna, novatb::TriggerRateAna, comi::Leana, novaddt::Calibration, chaninfo::BadChanValidate, mcchk::LeptonAna, nnbar::SigVsBkgSimCompare, comi::NumiFilteringAna, novaddt::HorizontalMuonAna, fnex::AnalyzeWeighters, remid::ReMIdDedx, novaddt::HorizontalMuonAna, calib::HitEfficiency, novaddt::DDTEvd, validation::NoiseClusterAnalysis, comi::DataCheck, mono::DataCheckMonopole, testbeam::TestBeamCommissioning, align::SplitTracks, novaddt::SNAna, mcchk::NeutrinoAna, murem::MuonRemoveAna, sn::SNSlicerAna, sn::SupernovaAna, novatb::TOFTimingResolution, align::Alignment, evd::EVD, mcchk::CosmicAna, numue::NumuEAna, air::CosmicTrackRate, tut::yn2017::DebugThis, dprf::TrackPlots, supernova::sliceAna, BeamlineAna, tut::reco2016::RecoObjectsTutorial, tut::yn2017::AnalysisModule, fnex::SortEventLists, supernova::SimAna, supernova::SnovaAna, novaddt::HotMapMaker, remid::ReMIdTrain, dprf::ChannelPlots, fnex::CAFContourMaker, mcchk::DetAna, G4MismatchAna, novaddt::DAQHeaderAna, novaddt::HitsAna, mcchk::DetAna, novaddt::HitsAna, mmc::Validation, novaddt::ChannelMapMaker, align::AlignInspect, dq::DAQHeaderSummaryAna, ddt::SMMADC, geo::GeometryTest, air::AirShower, chaninfo::PedestalThresholdValidation, comi::CosmicMetrics, fnex::CalibSystHistMaker, novaddt::ClusterAna, novaddt::EvTimeAna, mcdatadaq::MockDataDAQAna, air::AirTree, ddt::SMMEff, novaddt::RateMonitor, geo::CoordinateTransformationTest, cheat::RecoCheckAna, remid::ReMIdValidate, novaddt::TriCellTriggerAna, cmf::CMFSpectraMaker, cheat::CheckBackTracking, mcchk::POTAna, Test, calhit::CalHitAna, calib::AbsCalib, validation::ValidateDAQ2RawDigit, ddt::DDTEva, novaddt::SingletonRejectionAna, comi::ChanOcc, novaddt::Evaluation, qeef::QeFinderVal, validation::ValidateChannelInfo, novaddt::MilliBlockChecking, calib::ADCShapeFitAna, novaddt::GHLTest, highe::HighEnergyAna, calib::SystematicUncertaintyScaleAna, novaddt::NovaDDTTrigger, om::TestTMapFile, and mcchk::NullAna.

virtual void art::EDAnalyzer::beginJob ( )
inlineprivatevirtual

Reimplemented in fnex::CompareFNEXCAFEventListFiles, murem::MRCCAna, red::EWCosmics, trk::CosmicTrackAna, novatb::BeamTuning, comi::FEBFlash, htk::HoughTrack, sn::SNMichelAnalyzer, beamlinereco::ToFPositionRecoAnalysis, nnbar::RecoAnalysis, upmuana::UpMuAnalysis, upmuana::UpMuRecoAna, moonshadowana::MoonShadowAnaHough, ncs::NCAna, slid::LIDTraining, calib::CalibAna, moonshadowana::MoonShadowAna, ddt::SuperDDTEva, skim::CosmicBeamComparison, ncs::ROCKMRE, CerenkovResponse, ncs::GenieTruth, ncs::Xeff, air::AirKalmanAna, skim::SkimmerAna, ncs::Xbeam, LightLevels, bpf::BPFCVNAna, bpfit::BreakPointProtonAna, bpfit::BPFTmvaTrainer, nnbar::ShowerMuonCoincidence, om::OnMonProd, testbeam::BeamlineEventDisplay, fuzz::FuzzyKValidate, remid::ReMIdDedxFD, remid::ReMIdDedxStudies, beamlinereco::ToFAnalysisMini, tbana::DetectorRateShutOff, ncpi0::TwoProngBDTAna, remid::ReMIdDedxRock, zcl::FastMMStudy, comi::NearlineAna, ncid::NCNNKerasVal, mono::Monopole, slicer::SlicerAna, novaddt::UpMuAna, mono::SlowMonopoleAna, Mono::Mono, mcchk::DetSimAna, rockmuon::NDRockMuon, cvn::CVNEventProngDump, bpfit::BreakPointAna, earms::ElasticArmsValidate, cvn::CVNCosmicEventDump, showere::ShowerEnergyAna, fnex::EventListMaker, cvn::CVNEventDump, trigmon::LongReadoutAnalyzer, novatb::TOFTriggerAna, calib::PEResponse, ddt::SlicerEva, novaddt::Calibration, hough::HoughValidate, novatb::TriggerRateAna, tbem::TBRecoAna, zcl::FmmTrackerAna, zcl::FmmTrackerValidation, ddt::DataSliceEva, comi::NumiFilteringAna, trk::KalmanTrackAna, beamlinereco::EventWaveformDump, novaddt::HorizontalMuonAna, tbana::BeamlineTriggerAna, calib::EnergyStandardCandles, novaddt::HorizontalMuonAna, nnbar::SigVsBkgSimCompare, remid::ReMIdDedx, zcl::FmmTriggerAna, comi::Leana, validation::NoiseClusterAnalysis, bpfit::BPFEnergyAna, calib::HitEfficiency, bpfit::BPFdEdxHistoMaker, mono::DataCheckMonopole, testbeam::TestBeamCommissioning, tbana::BeamStructureAna, vf::TrackEva, novaddt::SNAna, sn::SNSlicerAna, align::Alignment, align::SplitTracks, numue::NumuEAna, sn::SupernovaAna, novatb::TOFTimingResolution, zcl::MMCheater, tut::yn2017::DebugThis, mcchk::NeutrinoAna, murem::MuonRemoveAna, comi::DataCheck, tut::RecoValidationTutorial, tut::yn2017::AnalysisModule, pa::ClusterEva, pa::HitEva, evd::EVD, mcchk::RockAna, slicer::S4DParamCalc, air::CosmicTrackRate, mcchk::MonopoleAna, mcchk::ShowerAnaCheck, novaddt::DAQHeaderAna, beamlinereco::ToFRecoAnalysis, fnex::SortEventLists, fnex::SystematicsWeightTest, supernova::SimAna, supernova::SnovaAna, febstat::EventFEBStatus, zcl::SMMTriggerAna, calib::AssessCalib, beamlinereco::ToFSingleCounterAnalysis, BeamlineAna, align::AlignInspect, dq::DAQHeaderSummaryAna, mmc::Validation, remid::ReMIdTrain, calib::BetheBlochFit, chaninfo::PedestalThresholdValidation, comi::CosmicMetrics, calib::TestParticleCorrections, novaddt::ClusterAna, febstat::FEBShutoff, air::AirTree, fnex::CalibSystHistMaker, fnex::SpectrumTest, cheat::RecoCheckAna, mcdatadaq::MockDataDAQAna, ddt::SMMADC, jmshower::RecoJMShowerAna, validation::ValidateDAQ2RawDigit, air::AirShower, novaddt::TriCellTriggerAna, rsim::MakeNoiseSpectrumFile, Test, calib::ParticleCorrections, cmf::CMFSpectraMaker, calib::AbsCalib, hdf5::HDF5Maker, mcchk::POTAna, remid::ReMIdValidate, calhit::CalHitAna, calib::ADCShapeFitAna, novaddt::SingletonRejectionAna, ve::VertexEva, cheat::TestTrackIds, novaddt::GHLTest, tut::TutAnalyzer, rsim::RecordNoiseSpectrumFile, qeef::QeFinderVal, validation::ValidateChannelInfo, highe::HighEnergyAna, comi::ChanOcc, rwgt::RwgtTest, and om::TestTMapFile.

Definition at line 138 of file EDAnalyzer.h.

139  {}
virtual void art::EDAnalyzer::beginRun ( Run const &  )
inlineprivatevirtual
virtual void art::EDAnalyzer::beginSubRun ( SubRun const &  )
inlineprivatevirtual
detail::CachedProducts& art::EventObserverBase::cachedProducts ( )
inlineprotectedinherited

Definition at line 79 of file EventObserverBase.h.

References art::EventObserverBase::selectors_.

80  {
81  return selectors_;
82  }
detail::CachedProducts selectors_
template<typename T , BranchType = InEvent>
ProductToken<T> art::Consumer::consumes ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ProductToken<T> art::Consumer::consumes ( InputTag const &  it)
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.

147 {
148  if (!moduleContext_)
149  return ProductToken<T>::invalid();
150 
151  consumables_[BT].emplace_back(ConsumableType::Product,
152  TypeID{typeid(T)},
153  it.label(),
154  it.instance(),
155  it.process());
156  return ProductToken<T>{it};
157 }
set< int >::iterator it
static ProductToken< T > invalid()
Definition: ProductToken.h:47
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename T , art::BranchType BT>
void art::Consumer::consumesMany ( )
inherited

Definition at line 161 of file Consumer.h.

References T.

162 {
163  if (!moduleContext_)
164  return;
165 
166  consumables_[BT].emplace_back(ConsumableType::Many, TypeID{typeid(T)});
167 }
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::Consumer::consumesView ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ViewToken<T> art::Consumer::consumesView ( InputTag const &  it)
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.

172 {
173  if (!moduleContext_)
174  return ViewToken<T>::invalid();
175 
176  consumables_[BT].emplace_back(ConsumableType::ViewElement,
177  TypeID{typeid(T)},
178  it.label(),
179  it.instance(),
180  it.process());
181  return ViewToken<T>{it};
182 }
set< int >::iterator it
static ViewToken< Element > invalid()
Definition: ProductToken.h:75
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed)
inherited
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed,
std::string const &  kind_of_engine_to_make 
)
inherited
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed,
std::string const &  kind_of_engine_to_make,
label_t const &  engine_label 
)
inherited
CurrentProcessingContext const* art::EDAnalyzer::currentContext ( ) const
protected

Referenced by workerType().

void art::EDAnalyzer::doBeginJob ( )
private
bool art::EDAnalyzer::doBeginRun ( RunPrincipal const &  rp,
CPC_exempt_ptr  cpc 
)
private
bool art::EDAnalyzer::doBeginSubRun ( SubRunPrincipal const &  srp,
CPC_exempt_ptr  cpc 
)
private
void art::EDAnalyzer::doEndJob ( )
private
bool art::EDAnalyzer::doEndRun ( RunPrincipal const &  rp,
CPC_exempt_ptr  cpc 
)
private
bool art::EDAnalyzer::doEndSubRun ( SubRunPrincipal const &  srp,
CPC_exempt_ptr  cpc 
)
private
bool art::EDAnalyzer::doEvent ( EventPrincipal const &  ep,
CPC_exempt_ptr  cpc,
CountingStatistics  
)
private
void art::EDAnalyzer::doRespondToCloseInputFile ( FileBlock const &  fb)
private
void art::EDAnalyzer::doRespondToCloseOutputFiles ( FileBlock const &  fb)
private
void art::EDAnalyzer::doRespondToOpenInputFile ( FileBlock const &  fb)
private
void art::EDAnalyzer::doRespondToOpenOutputFiles ( FileBlock const &  fb)
private
virtual void art::EDAnalyzer::endJob ( )
inlineprivatevirtual

Reimplemented in red::EWCosmics, trk::CosmicTrackAna, novatb::BeamTuning, cmf::CAFToEventList, htk::HoughTrack, beamlinereco::ToFPositionRecoAnalysis, nnbar::RecoAnalysis, fnex::ReadCAFMakeEventList, fnex::CAFToEventList, ncs::NCAna, slid::LIDTraining, calib::CalibAna, ncs::ROCKMRE, air::AirKalmanAna, ncs::GenieTruth, ncs::Xeff, ncs::Xbeam, bpf::BPFCVNAna, bpfit::BreakPointProtonAna, nnbar::ShowerMuonCoincidence, bpfit::BPFTmvaTrainer, om::OnMonProd, testbeam::BeamlineEventDisplay, remid::ReMIdDedxFD, remid::ReMIdDedxStudies, beamlinereco::ToFAnalysisMini, remid::ReMIdDedxRock, tbana::DetectorRateShutOff, comi::NearlineAna, rockmuon::NDRockMuon, slicer::SlicerAna, Mono::Mono, cvn::CVNEventProngDump, calib::AttenFit, fnex::EventListMaker, bpfit::BreakPointAna, cvn::CVNCosmicEventDump, novatb::TOFTriggerAna, cvn::CVNEventDump, trigmon::LongReadoutAnalyzer, novatb::TriggerRateAna, novaddt::Calibration, tbana::BeamlineTriggerAna, tbem::TBRecoAna, zcl::FmmTrackerAna, zcl::FmmTrackerValidation, comi::NumiFilteringAna, novaddt::HorizontalMuonAna, remid::ReMIdDedx, calib::EnergyStandardCandles, novaddt::HorizontalMuonAna, nnbar::SigVsBkgSimCompare, zcl::FmmTriggerAna, calib::HitEfficiency, bpfit::BPFdEdxHistoMaker, fnex::SystematicsWeightTest, testbeam::TestBeamCommissioning, tbana::BeamStructureAna, comi::DataCheck, novaddt::DDTEvd, novaddt::SNAna, align::Alignment, sn::SupernovaAna, tut::yn2017::DebugThis, murem::MuonRemoveAna, tut::yn2017::AnalysisModule, fnex::SpectrumTest, dprf::TrackPlots, zcl::SMMTriggerAna, novaddt::HotMapMaker, remid::ReMIdTrain, align::AlignInspect, dq::DAQHeaderSummaryAna, dprf::ChannelPlots, mmc::Validation, calib::BetheBlochFit, comi::CosmicMetrics, novaddt::HitsAna, novaddt::ClusterAna, chaninfo::CosmicEff, Test, mcdatadaq::MockDataDAQAna, validation::ValidateDAQ2RawDigit, rsim::MakeNoiseSpectrumFile, novaddt::RateMonitor, cmf::CMFSpectraMaker, hdf5::HDF5Maker, mcchk::POTAna, remid::ReMIdValidate, calib::AbsCalib, novaddt::SingletonRejectionAna, rsim::RecordNoiseSpectrumFile, validation::ValidateChannelInfo, novaddt::GHLTest, rwgt::RwgtTest, calib::SystematicUncertaintyScaleAna, and om::TestTMapFile.

Definition at line 141 of file EDAnalyzer.h.

142  {}
virtual void art::EDAnalyzer::endRun ( Run const &  )
inlineprivatevirtual
virtual void art::EDAnalyzer::endSubRun ( SubRun const &  )
inlineprivatevirtual
seed_t art::EngineCreator::get_seed_value ( fhicl::ParameterSet const &  pset,
char const  key[] = "seed",
seed_t const  implicit_seed = -1 
)
inherited
art::Handle<art::TriggerResults> art::EventObserverBase::getTriggerResults ( Event const &  e) const
inlineinherited

Definition at line 61 of file EventObserverBase.h.

References art::detail::CachedProducts::getOneTriggerResults(), and art::EventObserverBase::selectors_.

62  {
64  }
detail::CachedProducts selectors_
art::Handle< art::TriggerResults > getOneTriggerResults(Event const &) const
Float_t e
Definition: plot.C:35
template<typename T , BranchType = InEvent>
ProductToken<T> art::Consumer::mayConsume ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ProductToken<T> art::Consumer::mayConsume ( InputTag const &  it)
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.

190 {
191  if (!moduleContext_)
192  return ProductToken<T>::invalid();
193 
194  consumables_[BT].emplace_back(ConsumableType::Product,
195  TypeID{typeid(T)},
196  it.label(),
197  it.instance(),
198  it.process());
199  return ProductToken<T>{it};
200 }
set< int >::iterator it
static ProductToken< T > invalid()
Definition: ProductToken.h:47
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename T , art::BranchType BT>
void art::Consumer::mayConsumeMany ( )
inherited

Definition at line 204 of file Consumer.h.

References T.

205 {
206  if (!moduleContext_)
207  return;
208 
209  consumables_[BT].emplace_back(ConsumableType::Many, TypeID{typeid(T)});
210 }
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::Consumer::mayConsumeView ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ViewToken<T> art::Consumer::mayConsumeView ( InputTag const &  it)
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.

215 {
216  if (!moduleContext_)
217  return ViewToken<T>::invalid();
218 
219  consumables_[BT].emplace_back(ConsumableType::ViewElement,
220  TypeID{typeid(T)},
221  it.label(),
222  it.instance(),
223  it.process());
224  return ViewToken<T>{it};
225 }
set< int >::iterator it
static ViewToken< Element > invalid()
Definition: ProductToken.h:75
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
bool art::EventObserverBase::modifiesEvent ( ) const
inlineinherited

Definition at line 25 of file EventObserverBase.h.

26  {
27  return false;
28  }
static cet::exempt_ptr<Consumer> art::Consumer::non_module_context ( )
staticinherited
void art::Consumer::prepareForJob ( fhicl::ParameterSet const &  pset)
protectedinherited
std::string const& art::EventObserverBase::processName ( ) const
inlineinherited
void art::EventObserverBase::registerProducts ( MasterProductRegistry ,
ProductDescriptions ,
ModuleDescription const &   
)
inlineinherited

Definition at line 33 of file EventObserverBase.h.

References string.

36  {}
virtual void art::EDAnalyzer::respondToCloseInputFile ( FileBlock const &  )
inlineprivatevirtual

Reimplemented in Test.

Definition at line 159 of file EDAnalyzer.h.

160  {}
virtual void art::EDAnalyzer::respondToCloseOutputFiles ( FileBlock const &  )
inlineprivatevirtual

Reimplemented in meta::Metadata, and Test.

Definition at line 165 of file EDAnalyzer.h.

166  {}
virtual void art::EDAnalyzer::respondToOpenInputFile ( FileBlock const &  )
inlineprivatevirtual

Reimplemented in mono::Monopole, fnex::EventListMaker, meta::Metadata, and Test.

Definition at line 156 of file EDAnalyzer.h.

157  {}
virtual void art::EDAnalyzer::respondToOpenOutputFiles ( FileBlock const &  )
inlineprivatevirtual

Reimplemented in Test.

Definition at line 162 of file EDAnalyzer.h.

163  {}
fhicl::ParameterSetID art::EventObserverBase::selectorConfig ( ) const
inlineinherited

Definition at line 56 of file EventObserverBase.h.

References art::EventObserverBase::selector_config_id_.

57  {
58  return selector_config_id_;
59  }
fhicl::ParameterSetID selector_config_id_
void art::EDAnalyzer::setModuleDescription ( ModuleDescription const &  md)
inlineprivate

Definition at line 169 of file EDAnalyzer.h.

References fetch_tb_beamline_files::md, moduleDescription_, and art::Consumer::setModuleDescription().

170  {
172  // Since the module description in the Consumer base class is
173  // owned by pointer, we must give it the owned object of this
174  // class--i.e. moduleDescription_, not md.
176  }
void setModuleDescription(ModuleDescription const &md)
ModuleDescription moduleDescription_
Definition: EDAnalyzer.h:178
void art::Consumer::showMissingConsumes ( ) const
protectedinherited

Referenced by art::RootOutput::endJob().

void art::Consumer::validateConsumedProduct ( BranchType const  bt,
ProductInfo const &  pi 
)
protectedinherited
bool art::EventObserverBase::wantAllEvents ( ) const
inlineinherited

Definition at line 46 of file EventObserverBase.h.

References art::EventObserverBase::wantAllEvents_.

Referenced by art::RootOutput::RootOutput().

47  {
48  return wantAllEvents_;
49  }
bool art::EventObserverBase::wantEvent ( Event const &  e)
inlineinherited

Definition at line 51 of file EventObserverBase.h.

References art::EventObserverBase::selectors_, and art::detail::CachedProducts::wantEvent().

52  {
53  return selectors_.wantEvent(e);
54  }
detail::CachedProducts selectors_
Float_t e
Definition: plot.C:35
bool wantEvent(Event const &)
std::string art::EDAnalyzer::workerType ( ) const
inline

Definition at line 109 of file EDAnalyzer.h.

References currentContext().

110  {
111  return "WorkerT<EDAnalyzer>";
112  }

Friends And Related Function Documentation

template<typename T >
friend class WorkerT
friend

Definition at line 36 of file EDAnalyzer.h.

Member Data Documentation

CPC_exempt_ptr art::EDAnalyzer::current_context_ {nullptr}
private

Definition at line 179 of file EDAnalyzer.h.

ModuleDescription art::EDAnalyzer::moduleDescription_ {}
private

Definition at line 178 of file EDAnalyzer.h.

Referenced by setModuleDescription().


The documentation for this class was generated from the following file: