Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
art::Event Class Referencefinal

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Principal/Event.h"

Inheritance diagram for art::Event:
art::DataViewImpl

Public Types

using Base = DataViewImpl
 
template<typename T >
using HandleT = Handle< T >
 

Public Member Functions

 Event (EventPrincipal const &ep, ModuleDescription const &md, cet::exempt_ptr< Consumer > consumer, RangeSet const &rs)
 
 Event (EventPrincipal const &ep, ModuleDescription const &md, cet::exempt_ptr< Consumer > consumer)
 
EventID id () const
 
Timestamp time () const
 
EventNumber_t event () const
 
SubRunNumber_t subRun () const
 
RunNumber_t run () const
 
bool isRealData () const
 
EventAuxiliary::ExperimentType experimentType () const
 
SubRun const & getSubRun () const
 
Run const & getRun () const
 
History const & history () const
 
ProcessHistoryID const & processHistoryID () const
 
template<typename PROD >
ProductID put (std::unique_ptr< PROD > &&product)
 
template<typename PROD >
ProductID put (std::unique_ptr< PROD > &&product, std::string const &productInstanceName)
 
bool getProcessParameterSet (std::string const &processName, fhicl::ParameterSet &ps) const
 
EDProductGetter const * productGetter (ProductID const) const
 
void commit (EventPrincipal &, bool checkPutProducts, std::set< TypeLabel > const &expectedProducts)
 
template<typename PROD >
art::ProductID put (std::unique_ptr< PROD > &&product, std::string const &productInstanceName)
 

Private Types

using RetrievedProductIDs = std::vector< ProductID >
 
using RetrievedProductSet = std::set< ProductID >
 
using TypeLabelMap = std::map< TypeLabel, PMValue >
 
using GroupQueryResultVec = std::vector< GroupQueryResult >
 

Private Member Functions

size_t size () const
 
template<typename PROD >
bool get (SelectorBase const &, Handle< PROD > &result) const
 
template<typename PROD >
bool get (ProductID const pid, Handle< PROD > &result) const
 
template<typename PROD >
bool getByLabel (std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
 
template<typename PROD >
bool getByLabel (std::string const &label, std::string const &productInstanceName, std::string const &processName, Handle< PROD > &result) const
 
template<typename PROD >
PROD const & getByLabel (InputTag const &tag) const
 same as above, but using the InputTag class More...
 
template<typename PROD >
bool getByLabel (InputTag const &tag, Handle< PROD > &result) const
 
template<typename PROD >
PROD const * getPointerByLabel (InputTag const &tag) const
 
template<typename PROD >
bool getByToken (ProductToken< PROD > const &token, Handle< PROD > &result) const
 
template<typename PROD >
ValidHandle< PROD > getValidHandle (InputTag const &tag) const
 
template<typename PROD >
ValidHandle< PROD > getValidHandle (ProductToken< PROD > const &token) const
 
template<typename PROD >
art::ValidHandle< PROD > getValidHandle (InputTag const &tag) const
 
template<typename PROD >
art::ValidHandle< PROD > getValidHandle (ProductToken< PROD > const &token) const
 
template<typename PROD >
void getMany (SelectorBase const &, std::vector< Handle< PROD >> &results) const
 
template<typename PROD >
void getManyByType (std::vector< Handle< PROD >> &results) const
 
template<typename ELEMENT >
std::size_t getView (std::string const &moduleLabel, std::string const &productInstanceName, std::vector< ELEMENT const * > &result) const
 
template<typename ELEMENT >
std::size_t getView (InputTag const &tag, std::vector< ELEMENT const * > &result) const
 
template<typename ELEMENT >
std::size_t getView (ViewToken< ELEMENT > const &token, std::vector< ELEMENT const * > &result) const
 
template<typename ELEMENT >
bool getView (std::string const &moduleLabel, std::string const &instanceName, View< ELEMENT > &result) const
 
template<typename ELEMENT >
bool getView (InputTag const &tag, View< ELEMENT > &result) const
 
template<typename ELEMENT >
bool getView (ViewToken< ELEMENT > const &tag, View< ELEMENT > &result) const
 
template<typename PROD >
bool removeCachedProduct (Handle< PROD > &h) const
 
ProcessHistory const & processHistory () const
 
void recordAsParent (Provenance const &prov) const
 
TypeLabelMapputProducts ()
 
TypeLabelMap const & putProducts () const
 
RetrievedProductSet const & retrievedProducts () const
 
RetrievedProductIDs retrievedProductIDs () const
 
void checkPutProducts (bool checkProducts, std::set< TypeLabel > const &expectedProducts, TypeLabelMap const &putProducts)
 
BranchDescription const & getProductDescription (TypeID const &type, std::string const &productInstanceName) const
 
template<typename ELEMENT >
art::DataViewImpl::GroupQueryResultVec getView_ (std::string const &moduleLabel, std::string const &productInstanceName, std::string const &processName) const
 

Private Attributes

EventAuxiliary const & aux_
 
std::unique_ptr< SubRun const > const subRun_
 
EventPrincipal const & eventPrincipal_
 

Detailed Description

Definition at line 42 of file Event.h.

Member Typedef Documentation

Definition at line 44 of file Event.h.

using art::DataViewImpl::GroupQueryResultVec = std::vector<GroupQueryResult>
protectedinherited

Definition at line 214 of file DataViewImpl.h.

template<typename T >
using art::Event::HandleT = Handle<T>

Definition at line 148 of file Event.h.

using art::DataViewImpl::RetrievedProductIDs = std::vector<ProductID>
inherited

Definition at line 175 of file DataViewImpl.h.

Definition at line 176 of file DataViewImpl.h.

using art::DataViewImpl::TypeLabelMap = std::map<TypeLabel, PMValue>
inherited

Definition at line 177 of file DataViewImpl.h.

Constructor & Destructor Documentation

art::Event::Event ( EventPrincipal const &  ep,
ModuleDescription const &  md,
cet::exempt_ptr< Consumer consumer,
RangeSet const &  rs 
)
explicit
art::Event::Event ( EventPrincipal const &  ep,
ModuleDescription const &  md,
cet::exempt_ptr< Consumer consumer 
)
explicit

Member Function Documentation

void art::DataViewImpl::checkPutProducts ( bool  checkProducts,
std::set< TypeLabel > const &  expectedProducts,
TypeLabelMap const &  putProducts 
)
protectedinherited
void art::Event::commit ( EventPrincipal ,
bool  checkPutProducts,
std::set< TypeLabel > const &  expectedProducts 
)

Referenced by put().

EventNumber_t art::Event::event ( ) const
inline

Definition at line 67 of file Event.h.

References aux_, and art::EventAuxiliary::event().

Referenced by cheat::TestTrackIds::analyze(), tbana::RawFileDumper::analyze(), mcdatadaq::MockDataDAQAna::analyze(), novaddt::DAQHeaderAna::analyze(), tut::yn2017::AnalysisModule::analyze(), BeamlineAna::analyze(), beamlinereco::BeamlineRecoDump::analyze(), tut::yn2017::DebugThis::analyze(), numue::NumuEAna::analyze(), testbeam::BeamlineRecoValidation::analyze(), febstat::EventFEBStatus::analyze(), testbeam::TestBeamCommissioning::analyze(), beamlinerecoana::WCTrackRecoAnalysis::analyze(), validation::NoiseClusterAnalysis::analyze(), novaddt::HorizontalMuonAna::analyze(), tbem::TBRecoAna::analyze(), calib::PEResponse::analyze(), beamlinereco::EventWaveformDump::analyze(), Mono::Mono::analyze(), mono::SlowMonopoleAna::analyze(), zcl::FastMMStudy::analyze(), mono::Monopole::analyze(), testbeam::BeamlineEventDisplay::analyze(), air::AirKalmanAna::analyze(), moonshadowana::MoonShadowAna::analyze(), beamlinesim::CombinedBeamlineDetectorAna::analyze(), htk::HoughTrack::analyze(), skim::CellHitSkimmer::EvaluateSlices(), nnbar::RecoAnalysis::evd(), mono::SlowMonopoleAna::fill_track_tree(), fnex::NuMuAnalysisSetup::FillVars(), fnex::NuEAnalysisSetup::FillVars(), highe::HighEnergyFilt::filter(), calib::RockMuonStopperSelection::filter(), air::AirFilter::filter(), util::RemoveTBSpills::filter(), novaddt::DropoutDCMFilter::filter(), util::EventFilterNoSlice::filter(), mono::SlowMonopoleFilt::filter(), chaninfo::FindSwappedChannels::filter(), util::RunEventFilter::filter(), calib::MuonTrackHits::filter(), skim::CellHitSkimmer::filter(), runh::BadDataFilter::filter(), novaddt::SupernovaTrigger::GetTime(), skim::EvaluatorNue::Initialize(), daq2raw::DAQHit2Raw::PopulateRawTrig(), rsim::ReadoutSim::PopulateRawTrig(), evd::SliceNavigator::postProcessEvent(), evdb::EventDisplay::postProcessEvent(), mmc::Validation::print_truth_info(), mono::SlowMonopoleAna::print_truth_info(), noe::noe::produce(), lem::UnTranspose::produce(), lem::AlignLibToVtx::produce(), tut::yn2020::FancyScience::produce(), lem::FindMatchesTranspose::produce(), airshower::AirSlicer::produce(), dt::ViewMerger::produce(), lem::MakeLibrary::produce(), dt::DiscreteTracker::produce(), evgen::SupernovaGen::produce(), lem::FindLEMMatches::produce(), lem::LEM::produce(), dif::DiFShowerFinder::produce(), photrans::ImprovedTransport::produce(), beamlinesim::BeamlineSimInput::produce(), cvn::CVNEventDump::WriteMapTH2(), cvn::CVNCosmicEventDump::WriteMapTH2(), and cvn::CVNEventProngDump::WriteMapTH2().

68  {
69  return aux_.event();
70  }
EventAuxiliary const & aux_
Definition: Event.h:151
EventNumber_t event() const
EventAuxiliary::ExperimentType art::Event::experimentType ( ) const
inline

Definition at line 88 of file Event.h.

References aux_, art::EventAuxiliary::experimentType(), getRun(), getSubRun(), history(), and processHistoryID().

89  {
90  return aux_.experimentType();
91  }
EventAuxiliary const & aux_
Definition: Event.h:151
ExperimentType experimentType() const
template<typename PROD >
bool art::DataViewImpl::get ( SelectorBase const &  sel,
Handle< PROD > &  result 
) const
inlineinherited

Definition at line 307 of file DataViewImpl.h.

References art::Handle< T >::clear(), art::convert_handle(), art::Handle< T >::failedToGet(), art::DataViewImpl::get_(), art::Handle< T >::provenance(), art::DataViewImpl::recordAsParent(), art::DataViewImpl::recordParents_, and art::GroupQueryResult::succeeded().

Referenced by art::Run::endTime(), art::SubRun::endTime(), art::detail::ProcessAndEventSelector::loadTriggerResults(), and put().

308 {
309  result.clear(); // Is this the correct thing to do if an exception is thrown?
310  // We do *not* track whether consumes was called for a SelectorBase.
311  GroupQueryResult bh = get_(WrappedTypeID::make<PROD>(), sel);
312  convert_handle(bh, result);
313  bool const ok{bh.succeeded() && !result.failedToGet()};
314  if (recordParents_ && ok) {
315  recordAsParent(*result.provenance());
316  }
317  return ok;
318 }
void recordAsParent(Provenance const &prov) const
GroupQueryResult get_(WrappedTypeID const &wrapped, SelectorBase const &) const
void convert_handle(GroupQueryResult const &, Handle< T > &)
Definition: Handle.h:248
bool const recordParents_
Definition: DataViewImpl.h:286
template<typename PROD >
bool art::DataViewImpl::get ( ProductID const  pid,
Handle< PROD > &  result 
) const
inherited

Definition at line 322 of file DataViewImpl.h.

References art::Handle< T >::clear(), art::convert_handle(), art::Handle< T >::failedToGet(), art::DataViewImpl::getByProductID_(), art::Handle< T >::provenance(), art::DataViewImpl::recordAsParent(), art::DataViewImpl::recordParents_, and art::GroupQueryResult::succeeded().

323 {
324  result.clear(); // Is this the correct thing to do if an exception is thrown?
325  // We do *not* track whether consumes was called for a ProductID.
326  GroupQueryResult bh = getByProductID_(pid);
327  convert_handle(bh, result);
328  bool const ok{bh.succeeded() && !result.failedToGet()};
329  if (recordParents_ && ok) {
330  recordAsParent(*result.provenance());
331  }
332  return ok;
333 }
void recordAsParent(Provenance const &prov) const
void convert_handle(GroupQueryResult const &, Handle< T > &)
Definition: Handle.h:248
GroupQueryResult getByProductID_(ProductID const pid) const
bool const recordParents_
Definition: DataViewImpl.h:286
template<typename PROD >
bool art::DataViewImpl::getByLabel ( std::string const &  label,
std::string const &  productInstanceName,
Handle< PROD > &  result 
) const
inlineinherited

Definition at line 344 of file DataViewImpl.h.

References label, and fillBadChanDBTables::result.

Referenced by om::TestTMapFile::analyze(), novaddt::NovaDDTTrigger::analyze(), tut::TutAnalyzer::analyze(), highe::HighEnergyAna::analyze(), calib::ADCShapeFitAna::analyze(), spilltime::analyze(), novaddt::MilliBlockChecking::analyze(), comi::ChanOcc::analyze(), qeef::QeFinderVal::analyze(), tbana::RawFileDumper::analyze(), validation::ValidateChannelInfo::analyze(), novaddt::Evaluation::analyze(), cheat::TestTrackIds::analyze(), novaddt::SingletonRejectionAna::analyze(), ddt::DDTEva::analyze(), rsim::RecordNoiseSpectrumFile::analyze(), calhit::CalHitAna::analyze(), validation::ValidateDAQ2RawDigit::analyze(), ve::VertexEva::analyze(), novaddt::TriCellTriggerAna::analyze(), calib::ThresholdAna::analyze(), cheat::CheckBackTracking::analyze(), chaninfo::CosmicEff::analyze(), remid::ReMIdValidate::analyze(), cheat::RecoCheckAna::analyze(), air::AirTree::analyze(), jmshower::RecoJMShowerAna::analyze(), febstat::FEBShutoff::analyze(), air::AirShower::analyze(), mcdatadaq::MockDataDAQAna::analyze(), novaddt::ClusterAna::analyze(), calib::ParticleCorrections::analyze(), comi::CosmicMetrics::analyze(), ddt::SMMADC::analyze(), align::AlignInspect::analyze(), dq::DAQHeaderSummaryAna::analyze(), mcchk::CloseInTime::analyze(), mmc::Validation::analyze(), tut::RecoValidationTutorial::analyze(), dprf::ChannelPlots::analyze(), novaddt::DAQHeaderAna::analyze(), calib::TestParticleCorrections::analyze(), mcchk::DetAna::analyze(), G4MismatchAna::analyze(), remid::ReMIdTrain::analyze(), zcl::SMMTriggerAna::analyze(), tut::reco2016::RecoObjectsTutorial::analyze(), tut::yn2017::AnalysisModule::analyze(), mcchk::ShowerAnaCheck::analyze(), dprf::TrackPlots::analyze(), beamlinereco::BeamlineRecoDump::analyze(), slicer::S4DParamCalc::analyze(), beamlinereco::ToFSingleCounterAnalysis::analyze(), BeamlineAna::analyze(), air::CosmicTrackRate::analyze(), tut::yn2017::DebugThis::analyze(), mcchk::MonopoleAna::analyze(), numue::NumuEAna::analyze(), align::Alignment::analyze(), febstat::EventFEBStatus::analyze(), testbeam::BeamlineRecoValidation::analyze(), mcchk::RockAna::analyze(), novaddt::SNAna::analyze(), align::SplitTracks::analyze(), sn::SNSlicerAna::analyze(), sn::SupernovaAna::analyze(), beamlinereco::ToFRecoAnalysis::analyze(), novatb::TOFTimingResolution::analyze(), mcchk::NeutrinoAna::analyze(), murem::MuonRemoveAna::analyze(), mono::DataCheckMonopole::analyze(), pa::ClusterEva::analyze(), pa::HitEva::analyze(), calib::AssessCalib::analyze(), slicer::IdenticalSlicerAna::analyze(), testbeam::TestBeamCommissioning::analyze(), beamlinerecoana::WCTrackRecoAnalysis::analyze(), vf::TrackEva::analyze(), comi::DataCheck::analyze(), meta::Metadata::analyze(), calib::EnergyStandardCandles::analyze(), calib::HitEfficiency::analyze(), tbana::BeamStructureAna::analyze(), validation::NoiseClusterAnalysis::analyze(), zcl::MMCheater::analyze(), novaddt::HorizontalMuonAna::analyze(), remid::ReMIdDedx::analyze(), nnbar::SigVsBkgSimCompare::analyze(), chaninfo::BadChanValidate::analyze(), comi::NumiFilteringAna::analyze(), tbem::TBRecoAna::analyze(), zcl::FmmTriggerAna::analyze(), mcchk::LeptonAna::analyze(), novaddt::Calibration::analyze(), comi::Leana::analyze(), tbana::BeamlineTriggerAna::analyze(), ddt::DataSliceEva::analyze(), ddt::SlicerEva::analyze(), calib::PEResponse::analyze(), novatb::TOFTriggerAna::analyze(), novatb::TriggerRateAna::analyze(), zcl::FmmTrackerAna::analyze(), zcl::FmmTrackerValidation::analyze(), trk::KalmanTrackAna::analyze(), showere::ShowerEnergyAna::analyze(), beamlinereco::EventWaveformDump::analyze(), trigmon::LongReadoutAnalyzer::analyze(), novaddt::SendTriggerSignal::analyze(), cvn::CVNEventDump::analyze(), hough::HoughValidate::analyze(), cvn::CVNCosmicEventDump::analyze(), earms::ElasticArmsValidate::analyze(), bpfit::BreakPointAna::analyze(), cvn::CVNEventProngDump::analyze(), calib::StopperThreshold::analyze(), Mono::Mono::analyze(), novaddt::UpMuAna::analyze(), mono::SlowMonopoleAna::analyze(), mcchk::DetSimAna::analyze(), slicer::SlicerAna::analyze(), rockmuon::NDRockMuon::analyze(), ncid::NCNNKerasVal::analyze(), remid::ReMIdDedxRock::analyze(), comi::NearlineAna::analyze(), ncpi0::TwoProngBDTAna::analyze(), remid::ReMIdDedxFD::analyze(), remid::ReMIdDedxStudies::analyze(), zcl::FastMMStudy::analyze(), mono::Monopole::analyze(), fuzz::FuzzyKValidate::analyze(), nnbar::ShowerMuonCoincidence::analyze(), testbeam::BeamlineEventDisplay::analyze(), beamlinereco::ToFAnalysisMini::analyze(), LightLevels::analyze(), calib::CosmicTrends::analyze(), CerenkovResponse::analyze(), air::AirKalmanAna::analyze(), ncs::Xbeam::analyze(), ncs::GenieTruth::analyze(), ncs::Xeff::analyze(), calib::CalibAna::analyze(), ncs::ROCKMRE::analyze(), moonshadowana::MoonShadowAna::analyze(), ddt::SuperDDTEva::analyze(), slid::LIDTraining::analyze(), beamlinesim::CombinedBeamlineDetectorAna::analyze(), moonshadowana::MoonShadowAnaHough::analyze(), ncs::NCAna::analyze(), upmuana::UpMuRecoAna::analyze(), upmuana::UpMuAnalysis::analyze(), nnbar::RecoAnalysis::analyze(), beamlinereco::ToFPositionRecoAnalysis::analyze(), sn::SNMichelAnalyzer::analyze(), htk::HoughTrack::analyze(), novatb::BeamTuning::analyze(), trk::CosmicTrackAna::analyze(), red::EWCosmics::analyze(), comi::FEBFlash::analyze(), lem::UnTranspose::beginRun(), lem::MakeMatches::beginRun(), lem::MakePID::beginRun(), calib::DriftCorrection::beginRun(), caf::CAFMaker::beginRun(), mcchk::POTAna::beginSubRun(), jmshower::RecoJMShowerAna::beginSubRun(), skim::RandomEventFilter::beginSubRun(), validation::NoiseClusterAnalysis::beginSubRun(), comi::NumiFilteringAna::beginSubRun(), air::AirKalmanAna::beginSubRun(), caf::CAFMaker::beginSubRun(), trk::CosmicTrackAna::beginSubRun(), sn::SNMichelAnalyzer::ClusterAroundTrackEnds(), evd::PlotView::Draw(), calib::SumRunsCalib::endRun(), calib::AbsCalib::endRun(), calib::BetheBlochFit::endRun(), calib::AttenFit::endRun(), calib::SumSubrunsCalib::endSubRun(), rsim::RecordNoiseSpectrumFile::endSubRun(), MergeGenCollections::MergeGenCollections::endSubRun(), comi::Cana::endSubRun(), lem::MakeLibrary::endSubRun(), ifdb::IFDBSpillInfo::endSubRun(), calib::PEResponse::endSubRun(), calib::AttenFit::endSubRun(), slicer::SlicerAna::endSubRun(), calib::DCMTimingOffset::endSubRun(), ifdb::MIN::endSubRun(), bpfit::BreakPointProtonAna::endSubRun(), ncs::Xbeam::endSubRun(), ncs::Xeff::endSubRun(), ncs::ROCKMRE::endSubRun(), ncs::NCAna::endSubRun(), caf::CAFMaker::endSubRun(), art::Run::endTime(), art::SubRun::endTime(), filter::Filter::FillDigitVariables(), LSTME::FillLSTME::fillEnergies(), filter::Filter::FillG4GenVariables(), caf::FillMRCCParentInfo(), skim::CosmicBeamComparison::FillNueHistograms(), SliceLID::FillSliceLID::fillSliceLIDPreds(), filter::Filter::FillSliceVariables(), filter::Filter::FillTrackVariables(), murem::MuonRemove::FillTruthInfo(), filter::Filter::FillTruthVariables(), lem::ApplyFilter::filter(), lem::BackgroundEnricher::filter(), novaddt::SortByTDC::filter(), novaddt::SortByPlane::filter(), novaddt::HighSortByTDC::filter(), novaddt::SortByDCM::filter(), novaddt::Clusterer::filter(), comi::CanaFilter::filter(), novaddt::TDSlice::filter(), novaddt::RemoveNoise::filter(), highe::HighEnergyFilt::filter(), novaddt::SpaceSlice::filter(), calib::ThroughgoingSelection::filter(), evgen::OccupiedSpillFilter::filter(), novaddt::HighADCFilter::filter(), novaddt::DCMSlice::filter(), novaddt::TimeDCMSlice::filter(), calib::RockMuonStopperSelection::filter(), calib::StopperSelection::filter(), air::AirFilter::filter(), novaddt::TimeSlice::filter(), novaddt::HighETrigger::filter(), beamlinereco::GoodBeamlineEventFilter::filter(), util::RemoveTBSpills::filter(), novaddt::DDTStreamer::filter(), util::RemoveBeamSpills::filter(), novaddt::TriCellTrigger::filter(), novaddt::DBSlicer::filter(), novaddt::DDTDemo::filter(), mono::HighEnergySliceRemoval::filter(), jmshower::RecoJMShowerFilter::filter(), novaddt::ActivityTrigger::filter(), novaddt::NuESelect::filter(), snutil::DDSNEWSfilter::filter(), filter::FLSFilter::filter(), util::RemoveBeamSpillsPrecise::filter(), beamlinereco::DigitizerSaturationFilter::filter(), beamlinereco::ToFFilter::filter(), novaddt::FEBOverflowTrigger::filter(), DataCheck::HardwareStatusCheck::filter(), novaddt::MoonShadow::filter(), calib::StopperFilter::filter(), EliminateBeamSpills::filter(), novaddt::SlowMonopoleTrigger::filter(), novaddt::ActivityTriggerAna::filter(), mono::EventSelector::filter(), comi::NumiFiltering::filter(), novaddt::FastMMTrigger::filter(), novaddt::NNFastMMTrigger::filter(), mono::MonopoleCluster::filter(), calib::TimingCalFilter::filter(), novaddt::HoughTracker::filter(), filter::TruthContain::filter(), novaddt::SlowMMTrigger::filter(), mono::SlowMonopoleFilt::filter(), novaddt::HorizontalMuonTrigger::filter(), util::RunEventFilter::filter(), chaninfo::FindSwappedChannels::filter(), calib::MuondEdx::filter(), calib::DetRespDrift::filter(), showere::ShowerEnergyFilterMC::filter(), util::TimeFilter::filter(), mono::MonopoleTrack::filter(), novaddt::UpMuTrigger::filter(), calib::MuonTrackHits::filter(), novaddt::MichelETrigger::filter(), calib::MuondEdxAna::filter(), calib::EnergyStandardCandles::FindStoppingMuons(), evd::SliceNavigator::GetBounds(), evd::SliceNavigator::GetBox(), art::DataViewImpl::getByLabel(), caf::CAFMaker::GetByLabelIfExists(), caf::CAFMaker::GetByLabelStrict(), art::DataViewImpl::getByToken(), evd::SimulationDrawer::GetFLSHits(), SliceLID::FillSliceLID::getIsRHC(), LSTME::FillLSTME::getIsRHC(), art::DataViewImpl::getPointerByLabel(), evd::SliceNavigator::GetProducts(), evd::SliceNavigator::GetProductsImplFull(), evd::SliceNavigator::GetProductsImplPart(), evd::RawDataDrawer::GetRawDigits(), getrawtrigger(), novaddt::SupernovaTrigger::GetTime(), novaddt::MoonShadow::GetTime(), art::DataViewImpl::getValidHandle(), remid::RecoMuon::Init(), skim::EvaluatorNue::Initialize(), skim::EvaluatorNumu::Initialize(), rb::IsFiltered(), cvneventtf::CVNEventTF::IsRHC(), cvnprongtf::CVNProngTF::IsRHC(), regcvntf::RegCVNTF::IsRHC(), cosrej::MakeNueCosRej::IsRHC(), comi::Cana::LoadMCInfo(), evtsum::EventSummary::MakeOutput(), evg::MCTruthToDk2NuHackItr::MCTruthToDk2NuHackItr(), earms::ElasticArmsHS::MCVertex(), novaddt::UpMuAna::populateFLSmap(), evd::SliceNavigator::postProcessEvent(), photrans::FiberBrightness::preBeginRun(), nova::dbi::RunHistoryService::preBeginRun(), nova::dbi::RunHistoryService::preBeginSubrun(), jmshower::RecoJMShower::PreSel(), util::RewriteSpillData::produce(), novaddt::SortByView::produce(), cvntf::CVNTF::produce(), presel::LEMPresel::produce(), lem::LEMAssociator::produce(), trk::TrkAssn::produce(), slicer::MMSlicer::produce(), util::TruthExpand::produce(), vf::VertexFinder::produce(), slicer::Slicer::produce(), photrans::PhotonSystRewriter::produce(), qeef::QeFinder::produce(), hough::HoughT::produce(), cheat::ClusterCheater::produce(), noe::noe::produce(), tf::TimingFit::produce(), MergeCalCollections::MergeCalCollections::produce(), recodemo::RecoDemo::produce(), cheat::TrueEnergy::produce(), hv::HoughVertex::produce(), tut::TutProducer::produce(), filter::TruthFilter::produce(), cheat::ShowerCheater::produce(), cheat::ProngCheater::produce(), cheat::TrackCheater::produce(), trk::KalmanTrack::produce(), MergeTBDaqCollections::MergeTBDaqCollections::produce(), slicer::Slicer4D::produce(), lem::UnTranspose::produce(), nuesand::FillNueSandbox::produce(), NovaDDTHitProducer::produce(), demo::DemoModule::produce(), numue::TrackOverlapECalc::produce(), slicer::TruthSlicer::produce(), calib::ResizeDetector::produce(), wsnumu::WSNumu::produce(), nnbar::ShowerProducer::produce(), beamlinereco::TimeOfFlightReco::produce(), MergeDaqCollections::MergeDaqCollections::produce(), presel::RockPresel::produce(), lem::LEMSummarizer::produce(), MergeCollections::MergeCollections::produce(), trk::KalmanTrackMerge::produce(), MergeG4Collections::MergeG4Collections::produce(), regcvntf::RegCVNTF::produce(), nussand::FillNusSandbox::produce(), novaddt::TrackFit::produce(), trackinfo::TrackInfo::produce(), presel::CosmicVeto::produce(), slid::Recluster::produce(), numusand::FillSandbox::produce(), jmshower::JMTrackMerge::produce(), presel::NuePresel::produce(), hough::MultiHoughT::produce(), presel::CosmicCVNVeto::produce(), lem::Preselection::produce(), cvneventtf::CVNEventTF::produce(), lem::AlignLibToVtx::produce(), slid::SliceLIDBuilder::produce(), tut::yn2020::FancyScience::produce(), cvnprongtf::CVNProngTF::produce(), calib::FiberCalibration::produce(), daq2raw::DAQHit2Raw::produce(), cosrej::CosRej::produce(), beamlinereco::CkovCounterReco::produce(), MergeGenCollections::MergeGenCollections::produce(), trk::CosmicTrack::produce(), g4n::TruthSlim::produce(), zcl::SPCluster::produce(), lem::MakeMatches::produce(), calib::PCHitTransposer::produce(), beamlinereco::ToFCalibration::produce(), numue::NumuEnergy::produce(), dq::DAQHeaderSummary::produce(), lem::FindMatchesTranspose::produce(), airshower::AirSlicer::produce(), dt::ViewMerger::produce(), lem::MakeLibrary::produce(), calib::TimingCalibration::produce(), comi::Cana::produce(), beamlinereco::LEHitReco::produce(), dt::DiscreteTracker::produce(), beamlinereco::CFDHitReco::produce(), photrans::PhotonTransport::produce(), zcl::SMMCluster::produce(), calib::PCHitsList::produce(), beamlinereco::WCTrackReco::produce(), sn::SNSlicer::produce(), lem::FindLEMMatches::produce(), ifdb::IFDBSpillInfo::produce(), jmshower::JMClusterMerge::produce(), zcl::FMMTracker::produce(), sn::SupernovaMCCluster::produce(), ifdb::TBSpillInfo::produce(), vdt::VertexDT::produce(), ncpi0::MakeNCPi0BkgRej::produce(), cvn::CVNMapper::produce(), zcl::FmmTriggerEvd::produce(), calib::DriftResponseCalc::produce(), lem::MakePID::produce(), murem::MRE::produce(), lem::LEM::produce(), slid::LIDBuilder::produce(), jmshower::NueSel::produce(), dif::DiFShowerFinder::produce(), dqsf::DQSpillFlags::produce(), lem::LEMWorkerOutput::produce(), crvtx::CosmicRayVertex::produce(), rvp::RecVarPID::produce(), xnue::XnuePID::produce(), slid::SPIDBuilder::produce(), g4n::G4Gen::produce(), cheat::MCCheater::produce(), jmshower::NueSelLID::produce(), ncid::MakeNCCosRej::produce(), xsrec::MakeXSecCCPi0Inc::produce(), remid::RecoMuon::produce(), sn::SNBackgroundRejection::produce(), lem::LEMClient::produce(), murem::MergeDigits::produce(), cvn::CVNAddTrainingData::produce(), upmuana::UpMuProb::produce(), ifdb::MIN::produce(), ncid::NCNNKeras::produce(), rsim::ReadoutSim::produce(), photrans::ImprovedTransport::produce(), murem::MuonRemove::produce(), murem::FindMREParent::produce(), beamlinesim::BeamlineSimInput::produce(), murem::MergeTruth::produce(), murem::FindParent::produce(), jmshower::RecoJMShower::produce(), slicemergeviews::SliceMergeViews::produce(), gibuu::GiBUURegen::produce(), tdslicer::TDSlicer::produce(), me::MEFinder::produce(), put(), cmf::MedianSensitivityPointsMaker::readResults(), calib::SumAttenuationProfiles::readResults(), calib::AttenuationFit::readResults(), fnex::ContourMaker::readSingleResults(), cmf::StarPlot::readSingleResults(), fnex::StarPlot::readSingleResults(), cmf::ReadFitResults::readSingleResults(), fnex::ReadFitResults::readSingleResults(), fnex::ContourMaker::readVectorResults(), cmf::ReadFitResults::readVectorResults(), fnex::ReadFitResults::readVectorResults(), cheat::BackTracker::Rebuild(), jmshower::RecoJMShower::RecoShowers(), skim::NumuCCpiSkimmer::Skim(), skim::NumuSkimmer::Skim(), skim::NueSkimmer::Skim(), evd::SliceNavigator::SlicesToNavigate(), dq::DAQHeaderSummary::UnpackRawDaqData(), and om::OnMonProd::UnpackRawDaqData().

347 {
348  return getByLabel<PROD>(label, productInstanceName, {}, result);
349 }
const char * label
template<typename PROD >
bool art::DataViewImpl::getByLabel ( std::string const &  label,
std::string const &  productInstanceName,
std::string const &  processName,
Handle< PROD > &  result 
) const
inlineinherited

Definition at line 353 of file DataViewImpl.h.

References art::DataViewImpl::branchType_, art::Handle< T >::clear(), art::DataViewImpl::consumer_, art::convert_handle(), art::Handle< T >::failedToGet(), art::DataViewImpl::getByLabel_(), label, art::ProductInfo::Product, art::Handle< T >::provenance(), art::DataViewImpl::recordAsParent(), art::DataViewImpl::recordParents_, and art::GroupQueryResult::succeeded().

357 {
358  result.clear(); // Is this the correct thing to do if an exception is thrown?
359  auto const wrapped = WrappedTypeID::make<PROD>();
360  ProductInfo const pinfo{ProductInfo::ConsumableType::Product,
361  wrapped.product_type,
362  label,
363  productInstanceName,
364  processName};
365  consumer_->validateConsumedProduct(branchType_, pinfo);
366  GroupQueryResult bh =
367  getByLabel_(wrapped, label, productInstanceName, processName);
368  convert_handle(bh, result);
369  bool const ok{bh.succeeded() && !result.failedToGet()};
370  if (recordParents_ && ok) {
371  recordAsParent(*result.provenance());
372  }
373  return ok;
374 }
void recordAsParent(Provenance const &prov) const
BranchType const branchType_
Definition: DataViewImpl.h:283
const char * label
cet::exempt_ptr< Consumer > consumer_
Definition: DataViewImpl.h:291
void convert_handle(GroupQueryResult const &, Handle< T > &)
Definition: Handle.h:248
GroupQueryResult getByLabel_(WrappedTypeID const &wrapped, std::string const &label, std::string const &productInstanceName, std::string const &processName) const
bool const recordParents_
Definition: DataViewImpl.h:286
template<typename PROD >
PROD const & art::DataViewImpl::getByLabel ( InputTag const &  tag) const
inlineinherited

same as above, but using the InputTag class

Definition at line 378 of file DataViewImpl.h.

References art::DataViewImpl::getByLabel(), and make_syst_table_plots::h.

379 {
380  Handle<PROD> h;
381  getByLabel(tag, h);
382  return *h;
383 }
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
Definition: DataViewImpl.h:344
template<typename PROD >
bool art::DataViewImpl::getByLabel ( InputTag const &  tag,
Handle< PROD > &  result 
) const
inlineinherited

Definition at line 337 of file DataViewImpl.h.

References art::InputTag::instance(), art::InputTag::label(), art::InputTag::process(), and fillBadChanDBTables::result.

338 {
339  return getByLabel<PROD>(tag.label(), tag.instance(), tag.process(), result);
340 }
template<typename PROD >
bool art::DataViewImpl::getByToken ( ProductToken< PROD > const &  token,
Handle< PROD > &  result 
) const
inlineinherited

Definition at line 387 of file DataViewImpl.h.

References art::DataViewImpl::getByLabel(), art::ProductToken< T >::inputTag_, fillBadChanDBTables::result, and getGoodRuns4SAM::tag.

Referenced by bpfit::BPFdEdxHistoMaker::analyze(), bpfit::BPFEnergyAna::analyze(), bpfit::BPFTmvaTrainer::analyze(), bpf::BPFCVNAna::analyze(), bpfit::BreakPointProtonAna::analyze(), bpfit::BPFTmvaTrainer::endSubRun(), gibuu::GiBUURegen::endSubRun(), art::Run::endTime(), art::SubRun::endTime(), util::CopyCellHits::filter(), util::NonEmptyCluster::filter(), evgen::OccupiedSpillFilter::filter(), evgen::GENIEFilter::filter(), util::HasStandardRecord::filter(), calhit::HasCellHits::filter(), bsf::BremShowerFilter::filter(), bpfit::DimuonFitter::FindSlices(), bpfit::BreakPoint::FindSlices(), cosmic::CosmicExposureInfo::produce(), cvntf::CVNCosmicTFFilt::produce(), cvntf::CVNCosmicTF::produce(), cvn::CVNCosmicMapper::produce(), cosrej::CosRej::produce(), earms::ElasticArmsHS::produce(), rwgt::MakeGENIEReweightTable::produce(), cvn::CVNMapper::produce(), calhit::RemoveBadChannels::produce(), cvntf::CVNProngEvaluatorTF::produce(), calhit::CalHit::produce(), cvn::RegCVNMapper::produce(), bpfit::BPFEnergyEstimator::produce(), bpfit::BPFEnergyEstimatorOnly::produce(), bpfit::BPFPIdMaker::produce(), cosrej::MakeNueCosRej::produce(), fuzz::FuzzyKVertex::produce(), nerd::NERDProng::produce(), gibuu::GiBUURegen::produce(), and put().

389 {
390  auto const& tag = token.inputTag_;
391  return getByLabel(tag.label(), tag.instance(), tag.process(), result);
392 }
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
Definition: DataViewImpl.h:344
::xsd::cxx::tree::token< char, normalized_string > token
Definition: Database.h:156
template<typename PROD >
void art::DataViewImpl::getMany ( SelectorBase const &  sel,
std::vector< Handle< PROD >> &  results 
) const
inlineinherited

Definition at line 421 of file DataViewImpl.h.

References art::DataViewImpl::branchType_, art::DataViewImpl::consumer_, art::convert_handle(), art::DataViewImpl::getMany_(), make_syst_table_plots::h, art::ProductInfo::Many, datagram_client::products, art::DataViewImpl::recordAsParent(), art::DataViewImpl::recordParents_, fillBadChanDBTables::result, and makeDatasetsPage::results.

Referenced by art::Run::endTime(), art::SubRun::endTime(), art::DataViewImpl::getManyByType(), and put().

423 {
424  auto const wrapped = WrappedTypeID::make<PROD>();
425  consumer_->validateConsumedProduct(
426  branchType_,
427  ProductInfo{ProductInfo::ConsumableType::Many, wrapped.product_type});
428 
429  std::vector<Handle<PROD>> products;
430  for (auto const& qr : getMany_(wrapped, sel)) {
431  Handle<PROD> result;
432  convert_handle(qr, result);
433  products.push_back(result);
434  }
435  results.swap(products);
436  if (!recordParents_) {
437  return;
438  }
439  for (auto const& h : results) {
440  recordAsParent(*h.provenance());
441  }
442 }
void recordAsParent(Provenance const &prov) const
BranchType const branchType_
Definition: DataViewImpl.h:283
cet::exempt_ptr< Consumer > consumer_
Definition: DataViewImpl.h:291
void convert_handle(GroupQueryResult const &, Handle< T > &)
Definition: Handle.h:248
GroupQueryResultVec getMany_(WrappedTypeID const &wrapped, SelectorBase const &sel) const
bool const recordParents_
Definition: DataViewImpl.h:286
template<typename PROD >
void art::DataViewImpl::getManyByType ( std::vector< Handle< PROD >> &  results) const
inlineinherited
template<typename PROD >
PROD const * art::DataViewImpl::getPointerByLabel ( InputTag const &  tag) const
inlineinherited

Definition at line 396 of file DataViewImpl.h.

References art::DataViewImpl::getByLabel(), and make_syst_table_plots::h.

Referenced by art::Run::endTime(), art::SubRun::endTime(), and put().

397 {
398  Handle<PROD> h;
399  getByLabel(tag, h);
400  return &(*h);
401 }
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
Definition: DataViewImpl.h:344
bool art::Event::getProcessParameterSet ( std::string const &  processName,
fhicl::ParameterSet ps 
) const
BranchDescription const& art::DataViewImpl::getProductDescription ( TypeID const &  type,
std::string const &  productInstanceName 
) const
protectedinherited
Run const& art::Event::getRun ( ) const
SubRun const& art::Event::getSubRun ( ) const

Referenced by experimentType().

template<typename PROD >
ValidHandle<PROD> art::DataViewImpl::getValidHandle ( InputTag const &  tag) const
inherited
template<typename PROD >
ValidHandle<PROD> art::DataViewImpl::getValidHandle ( ProductToken< PROD > const &  token) const
inherited
template<typename PROD >
art::ValidHandle<PROD> art::DataViewImpl::getValidHandle ( InputTag const &  tag) const
inlineinherited

Definition at line 405 of file DataViewImpl.h.

References art::DataViewImpl::getByLabel(), make_syst_table_plots::h, and art::ValidHandle< T >::provenance().

406 {
407  Handle<PROD> h;
408  getByLabel(tag, h);
409  return ValidHandle<PROD>(&(*h), *h.provenance());
410 }
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
Definition: DataViewImpl.h:344
template<typename PROD >
art::ValidHandle<PROD> art::DataViewImpl::getValidHandle ( ProductToken< PROD > const &  token) const
inlineinherited

Definition at line 414 of file DataViewImpl.h.

References art::ProductToken< T >::inputTag_.

415 {
416  return getValidHandle<PROD>(token.inputTag_);
417 }
::xsd::cxx::tree::token< char, normalized_string > token
Definition: Database.h:156
template<typename ELEMENT >
std::size_t art::DataViewImpl::getView ( std::string const &  moduleLabel,
std::string const &  productInstanceName,
std::vector< ELEMENT const * > &  result 
) const
inherited

Definition at line 474 of file DataViewImpl.h.

References art::DataViewImpl::fillView_().

Referenced by art::Run::endTime(), art::SubRun::endTime(), evd::SliceNavigator::GetProductsImplFull(), art::DataViewImpl::getView(), and put().

477 {
478  auto bhv = getView_<ELEMENT>(moduleLabel, productInstanceName, {});
479  std::size_t const orig_size = result.size();
480  fillView_(bhv[0], result);
481  return result.size() - orig_size;
482 } // getView<>()
void fillView_(GroupQueryResult &bh, std::vector< ELEMENT const * > &result) const
Definition: DataViewImpl.h:531
template<typename ELEMENT >
std::size_t art::DataViewImpl::getView ( InputTag const &  tag,
std::vector< ELEMENT const * > &  result 
) const
inherited

Definition at line 486 of file DataViewImpl.h.

References art::DataViewImpl::fillView_(), art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().

488 {
489  auto bhv = getView_<ELEMENT>(tag.label(), tag.instance(), tag.process());
490  std::size_t const orig_size = result.size();
491  fillView_(bhv[0], result);
492  return result.size() - orig_size;
493 } // getView<>()
void fillView_(GroupQueryResult &bh, std::vector< ELEMENT const * > &result) const
Definition: DataViewImpl.h:531
template<typename ELEMENT >
std::size_t art::DataViewImpl::getView ( ViewToken< ELEMENT > const &  token,
std::vector< ELEMENT const * > &  result 
) const
inherited
template<typename ELEMENT >
bool art::DataViewImpl::getView ( std::string const &  moduleLabel,
std::string const &  instanceName,
View< ELEMENT > &  result 
) const
inherited

Definition at line 497 of file DataViewImpl.h.

References art::DataViewImpl::fillView_(), fillBadChanDBTables::result, art::View< T >::set_innards(), and art::View< T >::vals().

500 {
501  auto bhv = getView_<ELEMENT>(moduleLabel, productInstanceName, {});
502  fillView_(bhv[0], result.vals());
503  result.set_innards(bhv[0].result()->productID(),
504  bhv[0].result()->uniqueProduct());
505  return true;
506 }
void fillView_(GroupQueryResult &bh, std::vector< ELEMENT const * > &result) const
Definition: DataViewImpl.h:531
template<typename ELEMENT >
bool art::DataViewImpl::getView ( InputTag const &  tag,
View< ELEMENT > &  result 
) const
inherited

Definition at line 510 of file DataViewImpl.h.

References art::DataViewImpl::fillView_(), art::InputTag::instance(), art::InputTag::label(), art::InputTag::process(), fillBadChanDBTables::result, art::View< T >::set_innards(), and art::View< T >::vals().

511 {
512  auto bhv = getView_<ELEMENT>(tag.label(), tag.instance(), tag.process());
513  fillView_(bhv[0], result.vals());
514  result.set_innards(bhv[0].result()->productID(),
515  bhv[0].result()->uniqueProduct());
516  return true;
517 }
void fillView_(GroupQueryResult &bh, std::vector< ELEMENT const * > &result) const
Definition: DataViewImpl.h:531
template<typename ELEMENT >
bool art::DataViewImpl::getView ( ViewToken< ELEMENT > const &  tag,
View< ELEMENT > &  result 
) const
inherited

Definition at line 521 of file DataViewImpl.h.

References art::DataViewImpl::getView(), and art::ViewToken< Element >::inputTag_.

523 {
524  return getView(token.inputTag_, result);
525 }
std::size_t getView(std::string const &moduleLabel, std::string const &productInstanceName, std::vector< ELEMENT const * > &result) const
Definition: DataViewImpl.h:474
::xsd::cxx::tree::token< char, normalized_string > token
Definition: Database.h:156
template<typename ELEMENT >
art::DataViewImpl::GroupQueryResultVec art::DataViewImpl::getView_ ( std::string const &  moduleLabel,
std::string const &  productInstanceName,
std::string const &  processName 
) const
inherited

Definition at line 453 of file DataViewImpl.h.

References art::DataViewImpl::branchType_, art::DataViewImpl::consumer_, art::DataViewImpl::ensureUniqueProduct_(), art::DataViewImpl::getMatchingSequenceByLabel_(), art::DataViewImpl::removeNonViewableMatches_(), and art::ProductInfo::ViewElement.

456 {
457  TypeID const typeID{typeid(ELEMENT)};
458  ProductInfo const pinfo{ProductInfo::ConsumableType::ViewElement,
459  typeID,
460  moduleLabel,
461  productInstanceName,
462  processName};
463  consumer_->validateConsumedProduct(branchType_, pinfo);
464  auto bhv =
465  getMatchingSequenceByLabel_(moduleLabel, productInstanceName, processName);
466  removeNonViewableMatches_(typeID, bhv);
468  bhv.size(), typeID, moduleLabel, productInstanceName, processName);
469  return bhv;
470 } // getView_<>()
GroupQueryResultVec getMatchingSequenceByLabel_(std::string const &label, std::string const &productInstanceName, std::string const &processName) const
void ensureUniqueProduct_(std::size_t nFound, TypeID const &typeID, std::string const &moduleLabel, std::string const &productInstanceName, std::string const &processName) const
BranchType const branchType_
Definition: DataViewImpl.h:283
cet::exempt_ptr< Consumer > consumer_
Definition: DataViewImpl.h:291
void removeNonViewableMatches_(TypeID const &requestedElementType, GroupQueryResultVec &results) const
History const& art::Event::history ( ) const

Referenced by experimentType().

EventID art::Event::id ( ) const
inline

Definition at line 56 of file Event.h.

References aux_, and art::EventAuxiliary::id().

Referenced by caf::CAFMaker::AddMCTruthToVec(), novaddt::SingletonRejectionAna::analyze(), novaddt::RateMonitor::analyze(), jmshower::RecoJMShowerAna::analyze(), align::AlignInspect::analyze(), G4MismatchAna::analyze(), zcl::SMMTriggerAna::analyze(), supernova::SnovaAna::analyze(), dprf::TrackPlots::analyze(), mcchk::CosmicAna::analyze(), sn::SNSlicerAna::analyze(), sn::SupernovaAna::analyze(), murem::MuonRemoveAna::analyze(), pa::ClusterEva::analyze(), calib::EnergyStandardCandles::analyze(), zcl::FmmTriggerAna::analyze(), comi::NumiFilteringAna::analyze(), comi::Leana::analyze(), ddt::DataSliceEva::analyze(), zcl::FmmTrackerAna::analyze(), ddt::SlicerEva::analyze(), trigmon::LongReadoutAnalyzer::analyze(), hough::HoughValidate::analyze(), novaddt::UpMuAna::analyze(), slicer::SlicerAna::analyze(), comi::NearlineAna::analyze(), fuzz::FuzzyKValidate::analyze(), skim::SkimmerAna::analyze(), bpf::BPFCVNAna::analyze(), skim::CosmicBeamComparison::analyze(), ncs::Xeff::analyze(), calib::CalibAna::analyze(), ncs::ROCKMRE::analyze(), ddt::SuperDDTEva::analyze(), slid::LIDTraining::analyze(), upmuana::UpMuRecoAna::analyze(), ncs::NCAna::analyze(), upmuana::UpMuAnalysis::analyze(), nnbar::RecoAnalysis::analyze(), beamlinereco::ToFPositionRecoAnalysis::analyze(), trk::CosmicTrackAna::analyze(), comi::FEBFlash::analyze(), skim::CellHitSkimmer::CheckEvent(), evd::TZProjPad::Draw(), skim::CellHitSkimmer::EvaluateSlices(), skim::CosmicBeamComparison::FillNumuHistograms(), caf::CAFMaker::FillSpillVars(), util::MergeSubruns::filter(), highe::HighEnergyFilt::filter(), EventFilter::filter(), comi::NumiFiltering::filter(), bsf::BremShowerFilter::filter(), showere::ShowerEnergyFilterMC::filter(), art::EventIDFilter::filter(), novaddt::UpMuTrigger::filter(), slid::NuEEnergyAlg::HadronicDepEnergy(), skim::EvaluatorNue::Initialize(), evtsum::EventSummary::MakeOutput(), evdb::DisplayWindow::OpenWindow(), novaddt::UpMuAna::populateFLSmap(), art::TimeTracker::postEventReading(), evdb::EventDisplay::postProcessEvent(), art::Tracer::preEvent(), evdb::EventDisplay::preProcessEvent(), novaddt::TrackFit::produce(), calib::FiberCalibration::produce(), earms::ElasticArmsHS::produce(), calib::TimingCalibration::produce(), comi::Cana::produce(), zcl::SMMCluster::produce(), vdt::VertexDT::produce(), sn::SupernovaMCCluster::produce(), zcl::FmmTriggerEvd::produce(), jmshower::NueSel::produce(), jmshower::NueSelLID::produce(), fuzz::FuzzyKVertex::produce(), bpfit::DimuonFitter::produce(), bpfit::BreakPoint::produce(), evdb::ScanFrame::Record(), art::MemoryTracker::recordEventData(), run(), supernova::SnovaGen::SaveEvent(), slid::ParticleIDAlg::SetShower(), slid::NuEEnergyAlg::ShowerDepEnergy(), evd::HeaderDrawer::Text(), art::TFileService::TFileService(), and slid::NuEEnergyAlg::VertexEnergy().

57  {
58  return aux_.id();
59  }
EventAuxiliary const & aux_
Definition: Event.h:151
EventID const & id() const
bool art::Event::isRealData ( ) const
inline

Definition at line 83 of file Event.h.

References aux_, and art::EventAuxiliary::isRealData().

Referenced by calib::ADCShapeFitAna::analyze(), cheat::TestTrackIds::analyze(), cheat::RecoCheckAna::analyze(), meta::Metadata::analyze(), validation::NoiseClusterAnalysis::analyze(), trigmon::LongReadoutAnalyzer::analyze(), fnex::EventListMaker::analyze(), calib::AttenFit::analyze(), calib::CosmicTrends::analyze(), calib::CalibAna::analyze(), slid::LIDTraining::analyze(), skim::CellHitSkimmer::CheckEvent(), calib::MakeAttenuationProfiles::event(), skim::SkimmerAna::FillNumuHistograms(), skim::CosmicBeamComparison::FillNumuHistograms(), fnex::AnalysisSetupBase::FillTruthVars(), fnex::NuMuAnalysisSetup::FillVars(), fnex::NuEAnalysisSetup::FillVars(), calib::ThroughgoingSelection::filter(), calib::RockMuonStopperSelection::filter(), calib::StopperSelection::filter(), util::RemoveTBSpills::filter(), util::RemoveBeamSpills::filter(), jmshower::RecoJMShowerFilter::filter(), util::RemoveBeamSpillsPrecise::filter(), calib::CosmicCalib::filter(), SliceLID::FillSliceLID::getIsRHC(), LSTME::FillLSTME::getIsRHC(), calib::MuondEdx::getPECorr(), calib::DetRespDrift::getPECorr(), calib::MuonTrackHits::getPECorr(), calib::MuondEdxAna::getPECorr(), calib::MuonTrackHits::getPECorrToGeV(), calib::MuondEdxAna::getPECorrToGeV(), remid::RecoMuon::Init(), skim::EvaluatorNumuCCpi::Initialize(), skim::EvaluatorNue::Initialize(), skim::EvaluatorNumu::Initialize(), regcvntf::RegCVNTF::IsRHC(), cvnprongtf::CVNProngTF::IsRHC(), cvneventtf::CVNEventTF::IsRHC(), cosrej::MakeNueCosRej::IsRHC(), util::RewriteSpillData::produce(), cheat::TrueEnergy::produce(), lem::LEMSummarizer::produce(), cosrej::CosRej::produce(), numue::NumuEnergy::produce(), dq::DAQHeaderSummary::produce(), ifdb::IFDBSpillInfo::produce(), ifdb::TBSpillInfo::produce(), murem::MergeDigits::produce(), ifdb::MIN::produce(), jmshower::RecoJMShower::produce(), cheat::BackTracker::Rebuild(), jmshower::RecoJMShower::RecoShowers(), skim::NumuCCpiSkimmer::Skim(), skim::NumuSkimmer::Skim(), and skim::NueSkimmer::Skim().

84  {
85  return aux_.isRealData();
86  }
bool isRealData() const
EventAuxiliary const & aux_
Definition: Event.h:151
ProcessHistory const& art::DataViewImpl::processHistory ( ) const
inherited
ProcessHistoryID const& art::Event::processHistoryID ( ) const

Referenced by experimentType().

EDProductGetter const* art::Event::productGetter ( ProductID  const) const
template<typename PROD >
ProductID art::Event::put ( std::unique_ptr< PROD > &&  product)
inline

Definition at line 102 of file Event.h.

References art::DataViewImpl::checkPutProducts(), commit(), art::DataViewImpl::get(), art::DataViewImpl::getByLabel(), art::DataViewImpl::getByToken(), art::DataViewImpl::getMany(), art::DataViewImpl::getManyByType(), art::DataViewImpl::getPointerByLabel(), getProcessParameterSet(), art::DataViewImpl::getValidHandle(), art::DataViewImpl::getView(), art::DataViewImpl::processHistory(), stan::io::product(), productGetter(), nd_projection_maker::ps, art::DataViewImpl::removeCachedProduct(), and art::DataViewImpl::size().

Referenced by skim::CellHitSkimmer::EvaluateSlices(), util::CopyCellHits::filter(), novaddt::HighSortByTDC::filter(), novaddt::SortByDCM::filter(), novaddt::SortByPlane::filter(), novaddt::SortByTDC::filter(), novaddt::Clusterer::filter(), novaddt::TDSlice::filter(), novaddt::RemoveNoise::filter(), novaddt::SpaceSlice::filter(), highe::HighEnergyFilt::filter(), novaddt::HighADCFilter::filter(), novaddt::DCMSlice::filter(), calib::ThroughgoingSelection::filter(), novaddt::TimeDCMSlice::filter(), calib::RockMuonStopperSelection::filter(), novaddt::TimeSlice::filter(), calib::StopperSelection::filter(), novaddt::HighETrigger::filter(), novaddt::DDTStreamer::filter(), novaddt::TriCellTrigger::filter(), novaddt::DBSlicer::filter(), novaddt::DDTDemo::filter(), mono::HighEnergySliceRemoval::filter(), novaddt::NuESelect::filter(), novaddt::ActivityTrigger::filter(), novaddt::FEBOverflowTrigger::filter(), novaddt::MoonShadow::filter(), calib::StopperFilter::filter(), novaddt::SlowMonopoleTrigger::filter(), supernova::HighEFinder::filter(), novaddt::ActivityTriggerAna::filter(), novaddt::FastMMTrigger::filter(), comi::NumiFiltering::filter(), novaddt::NNFastMMTrigger::filter(), mono::MonopoleCluster::filter(), novaddt::HoughTracker::filter(), novaddt::SlowMMTrigger::filter(), mono::SlowMonopoleFilt::filter(), bsf::BremShowerFilter::filter(), novaddt::HorizontalMuonTrigger::filter(), util::RunEventFilter::filter(), showere::ShowerEnergyFilterMC::filter(), novaddt::UpMuTrigger::filter(), mono::MonopoleTrack::filter(), novaddt::MichelETrigger::filter(), art::MixOp< PROD, OPROD >::mixAndPut(), novaddt::HoughTrackMaker::move_collections_into_event(), util::FakeSpillData::produce(), util::WriteHornCurrentCosmic::produce(), util::RewriteSpillData::produce(), novaddt::SortByView::produce(), presel::LEMPresel::produce(), lem::LEMAssociator::produce(), trk::TrkAssn::produce(), slicer::MMSlicer::produce(), vf::VertexFinder::produce(), util::TruthExpand::produce(), slicer::Slicer::produce(), cvntf::CVNCosmicTFFilt::produce(), photrans::PhotonSystRewriter::produce(), qeef::QeFinder::produce(), hough::HoughT::produce(), tf::TimingFit::produce(), cheat::ClusterCheater::produce(), MergeCalCollections::MergeCalCollections::produce(), filter::TruthFilter::produce(), hv::HoughVertex::produce(), tut::TutProducer::produce(), recodemo::RecoDemo::produce(), cheat::ProngCheater::produce(), cheat::ShowerCheater::produce(), cheat::TrueEnergy::produce(), MergeTBDaqCollections::MergeTBDaqCollections::produce(), slicer::Slicer4D::produce(), cvntf::CVNCosmicTF::produce(), trk::KalmanTrack::produce(), cheat::TrackCheater::produce(), nuesand::FillNueSandbox::produce(), NovaDDTHitProducer::produce(), demo::DemoModule::produce(), lem::UnTranspose::produce(), lem::MergeMatches::produce(), beamlinereco::TimeOfFlightReco::produce(), nnbar::ShowerProducer::produce(), numue::TrackOverlapECalc::produce(), calib::ResizeDetector::produce(), wsnumu::WSNumu::produce(), slicer::TruthSlicer::produce(), MergeCollections::MergeCollections::produce(), MergeG4Collections::MergeG4Collections::produce(), MergeDaqCollections::MergeDaqCollections::produce(), presel::RockPresel::produce(), regcvntf::RegCVNTF::produce(), trk::KalmanTrackMerge::produce(), lem::LEMSummarizer::produce(), nussand::FillNusSandbox::produce(), presel::CosmicVeto::produce(), novaddt::TrackFit::produce(), slid::Recluster::produce(), trackinfo::TrackInfo::produce(), numusand::FillSandbox::produce(), presel::CosmicCVNVeto::produce(), presel::NuePresel::produce(), jmshower::JMTrackMerge::produce(), lem::Preselection::produce(), hough::MultiHoughT::produce(), cvn::CVNCosmicMapper::produce(), SliceLID::FillSliceLID::produce(), lem::AlignLibToVtx::produce(), slid::SliceLIDBuilder::produce(), cvneventtf::CVNEventTF::produce(), LSTME::FillLSTME::produce(), cvnprongtf::CVNProngTF::produce(), tut::yn2020::FancyScience::produce(), calib::FiberCalibration::produce(), MergeGenCollections::MergeGenCollections::produce(), cosrej::CosRej::produce(), g4n::TruthSlim::produce(), trk::CosmicTrack::produce(), daq2raw::DAQHit2Raw::produce(), calib::PCHitTransposer::produce(), beamlinereco::CkovCounterReco::produce(), zcl::SPCluster::produce(), lem::MakeMatches::produce(), art::RandomNumberSaver::produce(), numue::NumuEnergy::produce(), beamlinereco::ToFCalibration::produce(), dq::DAQHeaderSummary::produce(), lem::FindMatchesTranspose::produce(), airshower::AirSlicer::produce(), evgen::CosmicsGen::produce(), evgen::IsoGen::produce(), dt::ViewMerger::produce(), calib::TimingCalibration::produce(), earms::ElasticArmsHS::produce(), evgen::CosmicPionGen::produce(), comi::Cana::produce(), beamlinereco::LEHitReco::produce(), dt::DiscreteTracker::produce(), evgen::GENIERockGen::produce(), evgen::SupernovaGen::produce(), beamlinereco::CFDHitReco::produce(), zcl::SMMCluster::produce(), beamlinereco::WCTrackReco::produce(), calib::PCHitsList::produce(), photrans::PhotonTransport::produce(), novaddt::MichelEfinder::produce(), jmshower::JMClusterMerge::produce(), sn::SNSlicer::produce(), ifdb::IFDBSpillInfo::produce(), lem::FindLEMMatches::produce(), evgen::SingleGen::produce(), zcl::FMMTracker::produce(), rwgt::MakeGENIEReweightTable::produce(), sn::SupernovaMCCluster::produce(), ifdb::TBSpillInfo::produce(), vdt::VertexDT::produce(), zcl::FmmTriggerEvd::produce(), ncpi0::MakeNCPi0BkgRej::produce(), cvn::CVNMapper::produce(), lem::MakePID::produce(), murem::MRE::produce(), lem::LEMWorker::produce(), slid::LIDBuilder::produce(), lem::LEM::produce(), evgen::GENIEGen::produce(), jmshower::NueSel::produce(), calhit::RemoveBadChannels::produce(), dif::DiFShowerFinder::produce(), dqsf::DQSpillFlags::produce(), crvtx::CosmicRayVertex::produce(), rvp::RecVarPID::produce(), cvntf::CVNProngEvaluatorTF::produce(), evgen::CORSIKAGen::produce(), slid::SPIDBuilder::produce(), xnue::XnuePID::produce(), cvn::RegCVNMapper::produce(), calhit::CalHit::produce(), g4n::G4Gen::produce(), jmshower::NueSelLID::produce(), cheat::MCCheater::produce(), ncid::MakeNCCosRej::produce(), fxwgt::FluxWeightCalculator::produce(), bpfit::BPFEnergyEstimator::produce(), bpfit::BPFPIdMaker::produce(), xsrec::MakeXSecCCPi0Inc::produce(), bpfit::BPFEnergyEstimatorOnly::produce(), remid::RecoMuon::produce(), sn::SNBackgroundRejection::produce(), lem::LEMClient::produce(), murem::MergeDigits::produce(), cvn::CVNAddTrainingData::produce(), upmuana::UpMuProb::produce(), cosrej::MakeNueCosRej::produce(), ifdb::MIN::produce(), rsim::ReadoutSim::produce(), ncid::NCNNKeras::produce(), photrans::ImprovedTransport::produce(), evgen::GENIENeutronOscGen::produce(), murem::MuonRemove::produce(), murem::FindMREParent::produce(), skim::DataProductSkimmer::produce(), beamlinesim::BeamlineSimInput::produce(), murem::MergeTruth::produce(), murem::FindParent::produce(), jmshower::RecoJMShower::produce(), novaddt::HitSubtract::produce(), slicemergeviews::SliceMergeViews::produce(), fuzz::FuzzyKVertex::produce(), nerd::NERDProng::produce(), evgen::TextFileGen::produce(), gibuu::GiBUURegen::produce(), tdslicer::TDSlicer::produce(), me::MEFinder::produce(), bpfit::DimuonFitter::produce(), bpfit::BreakPoint::produce(), supernova::SnovaGen::SaveEvent(), skim::NumuCCpiSkimmer::Skim(), skim::NumuSkimmer::Skim(), and skim::NueSkimmer::Skim().

103  {
104  return put<PROD>(std::move(product), std::string());
105  }
::xsd::cxx::tree::string< char, simple_type > string
Definition: Database.h:154
T product(std::vector< T > dims)
template<typename PROD >
ProductID art::Event::put ( std::unique_ptr< PROD > &&  product,
std::string const &  productInstanceName 
)
template<typename PROD >
art::ProductID art::Event::put ( std::unique_ptr< PROD > &&  product,
std::string const &  productInstanceName 
)

Definition at line 160 of file Event.h.

References art::DataViewImpl::getProductDescription(), art::RangeSet::invalid(), art::errors::NullPointerError, stan::io::product(), art::errors::ProductPutFailure, art::DataViewImpl::putProducts(), and fillBadChanDBTables::result.

162 {
163  TypeID const tid{typeid(PROD)};
164  if (product.get() == nullptr) {
166  << "Event::put: A null unique_ptr was passed to 'put'.\n"
167  << "The pointer is of type " << tid << ".\n"
168  << "The specified productInstanceName was '" << productInstanceName
169  << "'.\n";
170  }
171 
172  auto const& pd = getProductDescription(tid, productInstanceName);
173  auto wp = std::make_unique<Wrapper<PROD>>(std::move(product));
174 
175  auto result = putProducts().emplace(
176  TypeLabel{
177  tid, productInstanceName, SupportsView<PROD>::value, false /*not used*/},
178  DataViewImpl::PMValue{std::move(wp), pd, RangeSet::invalid()});
179  if (!result.second) {
180  cet::HorizontalRule rule{30};
182  << "Event::put: Attempt to put multiple products with the\n"
183  << " following description onto the Event.\n"
184  << " Products must be unique per Event.\n"
185  << rule('=') << '\n'
186  << pd << rule('=') << '\n';
187  }
188 
189  return pd.productID();
190 } // put<>()
static RangeSet invalid()
const XML_Char int const XML_Char * value
Definition: expat.h:331
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66
T product(std::vector< T > dims)
TypeLabelMap & putProducts()
Definition: DataViewImpl.h:183
BranchDescription const & getProductDescription(TypeID const &type, std::string const &productInstanceName) const
TypeLabelMap& art::DataViewImpl::putProducts ( )
inlineprotectedinherited

Definition at line 183 of file DataViewImpl.h.

References art::DataViewImpl::putProducts_.

Referenced by art::Results::put(), put(), art::Run::put_(), art::SubRun::put_(), and art::DataViewImpl::retrievedProducts().

184  {
185  return putProducts_;
186  }
TypeLabelMap putProducts_
Definition: DataViewImpl.h:266
TypeLabelMap const& art::DataViewImpl::putProducts ( ) const
inlineprotectedinherited

Definition at line 188 of file DataViewImpl.h.

References art::DataViewImpl::putProducts_.

189  {
190  return putProducts_;
191  }
TypeLabelMap putProducts_
Definition: DataViewImpl.h:266
void art::DataViewImpl::recordAsParent ( Provenance const &  prov) const
protectedinherited
template<typename PROD >
bool art::DataViewImpl::removeCachedProduct ( Handle< PROD > &  h) const
inherited
RetrievedProductIDs art::DataViewImpl::retrievedProductIDs ( ) const
protectedinherited
RetrievedProductSet const& art::DataViewImpl::retrievedProducts ( ) const
inlineprotectedinherited
RunNumber_t art::Event::run ( ) const
inline

Definition at line 77 of file Event.h.

References id(), and art::EventID::run().

Referenced by caf::CAFMaker::AddMCTruthToVec(), tbana::RawFileDumper::analyze(), jmshower::RecoJMShowerAna::analyze(), comi::CosmicMetrics::analyze(), novaddt::DAQHeaderAna::analyze(), tut::yn2017::AnalysisModule::analyze(), zcl::SMMTriggerAna::analyze(), tut::yn2017::DebugThis::analyze(), BeamlineAna::analyze(), mcchk::CosmicAna::analyze(), numue::NumuEAna::analyze(), febstat::EventFEBStatus::analyze(), comi::DataCheck::analyze(), calib::EnergyStandardCandles::analyze(), validation::NoiseClusterAnalysis::analyze(), novaddt::HorizontalMuonAna::analyze(), comi::NumiFilteringAna::analyze(), tbem::TBRecoAna::analyze(), zcl::FmmTriggerAna::analyze(), comi::Leana::analyze(), calib::PEResponse::analyze(), zcl::FmmTrackerAna::analyze(), beamlinereco::EventWaveformDump::analyze(), trigmon::LongReadoutAnalyzer::analyze(), hough::HoughValidate::analyze(), fnex::EventListMaker::analyze(), Mono::Mono::analyze(), mono::SlowMonopoleAna::analyze(), slicer::SlicerAna::analyze(), comi::NearlineAna::analyze(), mono::Monopole::analyze(), fuzz::FuzzyKValidate::analyze(), zcl::FastMMStudy::analyze(), testbeam::BeamlineEventDisplay::analyze(), beamlinereco::ToFAnalysisMini::analyze(), skim::SkimmerAna::analyze(), bpf::BPFCVNAna::analyze(), skim::CosmicBeamComparison::analyze(), air::AirKalmanAna::analyze(), calib::CalibAna::analyze(), ncs::Xeff::analyze(), ncs::ROCKMRE::analyze(), slid::LIDTraining::analyze(), ncs::NCAna::analyze(), nnbar::RecoAnalysis::analyze(), beamlinereco::ToFPositionRecoAnalysis::analyze(), sn::SNMichelAnalyzer::analyze(), htk::HoughTrack::analyze(), trk::CosmicTrackAna::analyze(), comi::FEBFlash::analyze(), skim::CellHitSkimmer::CheckEvent(), evd::TZProjPad::Draw(), skim::CellHitSkimmer::EvaluateSlices(), numue::NumuEAlg::FDEnergy(), mono::SlowMonopoleAna::fill_track_tree(), skim::CosmicBeamComparison::FillNumuHistograms(), caf::CAFMaker::FillSpillVars(), fnex::NuMuAnalysisSetup::FillVars(), fnex::NuEAnalysisSetup::FillVars(), util::MergeSubruns::filter(), calib::CosmicCalib::filter(), calib::TimingCalFilter::filter(), util::EventFilterNoSlice::filter(), mono::SlowMonopoleFilt::filter(), bsf::BremShowerFilter::filter(), util::RunEventFilter::filter(), chaninfo::FindSwappedChannels::filter(), calib::DetRespDrift::filter(), util::TimeFilter::filter(), calib::MuonTrackHits::filter(), skim::CellHitSkimmer::filter(), calib::MuondEdxAna::filter(), runh::BadDataFilter::filter(), LSTME::SliceVars::getCoarseTiming(), LSTME::SliceVars::getLowGain(), skim::EvaluatorNumuCCpi::Initialize(), skim::EvaluatorNumu::Initialize(), skim::EvaluatorNue::Initialize(), daq2raw::DAQHit2Raw::PopulateRawTrig(), rsim::ReadoutSim::PopulateRawTrig(), noe::noe::produce(), lem::UnTranspose::produce(), presel::CosmicVeto::produce(), presel::CosmicCVNVeto::produce(), calib::FiberCalibration::produce(), tut::yn2020::FancyScience::produce(), cosrej::CosRej::produce(), numue::NumuEnergy::produce(), lem::FindMatchesTranspose::produce(), airshower::AirSlicer::produce(), lem::MakeLibrary::produce(), earms::ElasticArmsHS::produce(), calib::TimingCalibration::produce(), comi::Cana::produce(), zcl::SMMCluster::produce(), lem::FindLEMMatches::produce(), vdt::VertexDT::produce(), zcl::FmmTriggerEvd::produce(), lem::LEM::produce(), jmshower::NueSel::produce(), dif::DiFShowerFinder::produce(), jmshower::NueSelLID::produce(), photrans::ImprovedTransport::produce(), fuzz::FuzzyKVertex::produce(), bpfit::DimuonFitter::produce(), bpfit::BreakPoint::produce(), numue::NumuEAlg::QEFormulaEnergy(), evdb::ScanFrame::Record(), evd::HeaderDrawer::Text(), moonshadowana::MoonShadowAna::WriteEventInfo(), moonshadowana::MoonShadowAnaHough::WriteEventInfo(), cvn::CVNEventDump::WriteMapTH2(), cvn::CVNCosmicEventDump::WriteMapTH2(), and cvn::CVNEventProngDump::WriteMapTH2().

78  {
79  return id().run();
80  }
RunNumber_t run() const
Definition: EventID.h:98
EventID id() const
Definition: Event.h:56
size_t art::DataViewImpl::size ( ) const
inherited
SubRunNumber_t art::Event::subRun ( ) const
inline

Definition at line 72 of file Event.h.

References aux_, and art::EventAuxiliary::subRun().

Referenced by caf::CAFMaker::AddMCTruthToVec(), tbana::RawFileDumper::analyze(), jmshower::RecoJMShowerAna::analyze(), chaninfo::PedestalThresholdValidation::analyze(), comi::CosmicMetrics::analyze(), align::AlignInspect::analyze(), novaddt::DAQHeaderAna::analyze(), tut::yn2017::AnalysisModule::analyze(), zcl::SMMTriggerAna::analyze(), tut::yn2017::DebugThis::analyze(), BeamlineAna::analyze(), febstat::EventFEBStatus::analyze(), numue::NumuEAna::analyze(), comi::DataCheck::analyze(), calib::EnergyStandardCandles::analyze(), validation::NoiseClusterAnalysis::analyze(), novaddt::HorizontalMuonAna::analyze(), comi::NumiFilteringAna::analyze(), tbem::TBRecoAna::analyze(), zcl::FmmTriggerAna::analyze(), comi::Leana::analyze(), calib::PEResponse::analyze(), zcl::FmmTrackerAna::analyze(), beamlinereco::EventWaveformDump::analyze(), trigmon::LongReadoutAnalyzer::analyze(), hough::HoughValidate::analyze(), fnex::EventListMaker::analyze(), Mono::Mono::analyze(), mono::SlowMonopoleAna::analyze(), slicer::SlicerAna::analyze(), comi::NearlineAna::analyze(), fuzz::FuzzyKValidate::analyze(), zcl::FastMMStudy::analyze(), mono::Monopole::analyze(), testbeam::BeamlineEventDisplay::analyze(), skim::SkimmerAna::analyze(), bpf::BPFCVNAna::analyze(), skim::CosmicBeamComparison::analyze(), air::AirKalmanAna::analyze(), calib::CalibAna::analyze(), ncs::Xeff::analyze(), ncs::ROCKMRE::analyze(), slid::LIDTraining::analyze(), ncs::NCAna::analyze(), nnbar::RecoAnalysis::analyze(), beamlinereco::ToFPositionRecoAnalysis::analyze(), sn::SNMichelAnalyzer::analyze(), htk::HoughTrack::analyze(), novatb::BeamTuning::analyze(), trk::CosmicTrackAna::analyze(), comi::FEBFlash::analyze(), skim::CellHitSkimmer::EvaluateSlices(), mono::SlowMonopoleAna::fill_track_tree(), skim::CosmicBeamComparison::FillNumuHistograms(), caf::CAFMaker::FillSpillVars(), fnex::NuMuAnalysisSetup::FillVars(), fnex::NuEAnalysisSetup::FillVars(), calib::CosmicCalib::filter(), comi::NumiFiltering::filter(), calib::TimingCalFilter::filter(), util::EventFilterNoSlice::filter(), bsf::BremShowerFilter::filter(), util::RunEventFilter::filter(), chaninfo::FindSwappedChannels::filter(), util::TimeFilter::filter(), calib::MuonTrackHits::filter(), skim::CellHitSkimmer::filter(), runh::BadDataFilter::filter(), skim::EvaluatorNue::Initialize(), daq2raw::DAQHit2Raw::PopulateRawTrig(), rsim::ReadoutSim::PopulateRawTrig(), noe::noe::produce(), lem::UnTranspose::produce(), tut::yn2020::FancyScience::produce(), calib::FiberCalibration::produce(), lem::FindMatchesTranspose::produce(), airshower::AirSlicer::produce(), earms::ElasticArmsHS::produce(), calib::TimingCalibration::produce(), lem::MakeLibrary::produce(), comi::Cana::produce(), zcl::SMMCluster::produce(), lem::FindLEMMatches::produce(), vdt::VertexDT::produce(), zcl::FmmTriggerEvd::produce(), lem::LEM::produce(), jmshower::NueSel::produce(), dif::DiFShowerFinder::produce(), jmshower::NueSelLID::produce(), photrans::ImprovedTransport::produce(), fuzz::FuzzyKVertex::produce(), bpfit::DimuonFitter::produce(), bpfit::BreakPoint::produce(), evdb::ScanFrame::Record(), evd::HeaderDrawer::Text(), moonshadowana::MoonShadowAna::WriteEventInfo(), moonshadowana::MoonShadowAnaHough::WriteEventInfo(), cvn::CVNEventDump::WriteMapTH2(), cvn::CVNCosmicEventDump::WriteMapTH2(), and cvn::CVNEventProngDump::WriteMapTH2().

73  {
74  return aux_.subRun();
75  }
EventAuxiliary const & aux_
Definition: Event.h:151
SubRunNumber_t subRun() const
Timestamp art::Event::time ( ) const
inline

Member Data Documentation

EventAuxiliary const& art::Event::aux_
private

Definition at line 151 of file Event.h.

Referenced by event(), experimentType(), id(), isRealData(), subRun(), and time().

EventPrincipal const& art::Event::eventPrincipal_
private

Definition at line 153 of file Event.h.

std::unique_ptr<SubRun const> const art::Event::subRun_
private

Definition at line 152 of file Event.h.


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