Go to the documentation of this file. 1 #ifndef DataFormats_FWLite_ChainEvent_h
2 #define DataFormats_FWLite_ChainEvent_h
34 class ProductRegistry;
36 class BranchDescription;
48 ChainEvent(std::vector<std::string>
const& iFileNames);
54 bool to(Long64_t iIndex);
71 bool getByLabel(std::type_info
const&,
char const*,
char const*,
char const*,
void*)
const override;
75 operator bool()
const;
76 bool atEnd()
const override;
78 Long64_t
size()
const;
96 void setGetter(std::shared_ptr<edm::EDProductGetter const> getter) {
event_->setGetter(getter); }
115 std::vector<edm::WrapperBase const*>& foundContainers,
116 std::vector<unsigned int>&
keys)
const;
edm::TriggerResultsByName triggerResultsByName(edm::TriggerResults const &triggerResults) const override
edm::EventAuxiliary const & eventAuxiliary() const override
edm::WrapperBase const * getByProductID(edm::ProductID const &) const override
Event const * event() const
ChainEvent const & operator=(Event const &)
void getThinnedProducts(edm::ProductID const &pid, std::vector< edm::WrapperBase const * > &foundContainers, std::vector< unsigned int > &keys) const
bool getByLabel(std::type_info const &, char const *, char const *, char const *, void *) const override
static const std::string triggerResults
Long64_t fileIndex() const override
static void throwProductNotFoundException(std::type_info const &, char const *, char const *, char const *)
void switchToFile(Long64_t)
ChainEvent(std::vector< std::string > const &iFileNames)
unsigned int LuminosityBlockNumber_t
edm::propagate_const< std::shared_ptr< Event > > event_
std::vector< std::string > fileNames_
std::vector< Long64_t > accumulatedSize_
virtual bool getByLabel(std::type_info const &, char const *, char const *, char const *, void *) const =0
unsigned long long EventNumber_t
edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const override
edm::ProcessHistory const & processHistory() const override
edm::propagate_const< std::shared_ptr< TFile > > file_
ChainEvent const & toBegin() override
std::vector< edm::BranchDescription > const & getBranchDescriptions() const
ChainEvent const & operator++() override
bool to(Long64_t iIndex)
Go to the event at index iIndex.
fwlite::Run const & getRun()
std::vector< std::string > const & getProcessHistory() const
void setGetter(std::shared_ptr< edm::EDProductGetter const > getter)
const std::string getBranchNameFor(std::type_info const &, char const *, char const *, char const *) const override
edm::WrapperBase const * getThinnedProduct(edm::ProductID const &pid, unsigned int &key) const
Long64_t eventIndex() const
bool atEnd() const override
edm::ParameterSet const * parameterSet(edm::ParameterSetID const &psID) const override
void fillParameterSetRegistry() const
edm::propagate_const< std::shared_ptr< edm::EDProductGetter > > getter_
fwlite::LuminosityBlock const & getLuminosityBlock()