1 #ifndef DataFormats_FWLite_ChainEvent_h
2 #define DataFormats_FWLite_ChainEvent_h
20 #if !defined(__CINT__) && !defined(__MAKECINT__)
25 #include "boost/shared_ptr.hpp"
34 class ProductRegistry;
36 class BranchDescription;
51 ChainEvent(
const std::vector<std::string>& iFileNames);
57 bool to(Long64_t iIndex);
75 virtual bool getByLabel(
const std::type_info&,
const char*,
76 const char*,
const char*,
void*)
const;
80 operator bool()
const;
81 virtual bool atEnd()
const;
83 Long64_t
size()
const;
98 void setGetter( boost::shared_ptr<edm::EDProductGetter> getter ){
99 event_->setGetter( getter );
133 boost::shared_ptr<edm::EDProductGetter>
getter_;
virtual edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const
virtual edm::TriggerResultsByName triggerResultsByName(std::string const &process) const
static void throwProductNotFoundException(const std::type_info &, const char *, const char *, const char *)
unsigned int EventNumber_t
virtual edm::EventAuxiliary const & eventAuxiliary() const
void switchToFile(Long64_t)
edm::EDProduct const * getByProductID(edm::ProductID const &) const
virtual bool getByLabel(const std::type_info &, const char *, const char *, const char *, void *) const
unsigned int LuminosityBlockNumber_t
const std::vector< edm::BranchDescription > & getBranchDescriptions() const
const ChainEvent & operator++()
ChainEvent(const std::vector< std::string > &iFileNames)
fwlite::LuminosityBlock const & getLuminosityBlock()
const ChainEvent & toBegin()
void setGetter(boost::shared_ptr< edm::EDProductGetter > getter)
void fillParameterSetRegistry() const
boost::shared_ptr< Event > event_
fwlite::Run const & getRun()
bool to(Long64_t iIndex)
Go to the event at index iIndex.
virtual bool atEnd() const
const std::vector< std::string > & getProcessHistory() const
const ChainEvent & operator=(const Event &)
std::vector< Long64_t > accumulatedSize_
virtual const std::string getBranchNameFor(const std::type_info &, const char *, const char *, const char *) const
boost::shared_ptr< edm::EDProductGetter > getter_
Long64_t eventIndex() const
edm::ProcessHistory const & processHistory() const
Event const * event() const
virtual Long64_t fileIndex() const
boost::shared_ptr< TFile > file_
std::vector< std::string > fileNames_