1 #ifndef DataFormats_FWLite_ChainEvent_h
2 #define DataFormats_FWLite_ChainEvent_h
20 #if !defined(__CINT__) && !defined(__MAKECINT__)
35 class ProductRegistry;
37 class BranchDescription;
52 ChainEvent(std::vector<std::string>
const& iFileNames);
58 bool to(Long64_t iIndex);
76 virtual bool getByLabel(std::type_info
const&,
char const*,
char const*,
char const*,
void*)
const;
80 operator bool()
const;
81 virtual bool atEnd()
const;
83 Long64_t
size()
const;
103 void setGetter(std::shared_ptr<edm::EDProductGetter> getter){
104 event_->setGetter(getter);
122 std::vector<edm::WrapperBase const*>& foundContainers,
123 std::vector<unsigned int>&
keys)
const;
144 std::shared_ptr<edm::EDProductGetter>
getter_;
std::shared_ptr< TFile > file_
edm::WrapperBase const * getThinnedProduct(edm::ProductID const &pid, unsigned int &key) const
virtual edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const
virtual edm::TriggerResultsByName triggerResultsByName(std::string const &process) const
void getThinnedProducts(edm::ProductID const &pid, std::vector< edm::WrapperBase const * > &foundContainers, std::vector< unsigned int > &keys) const
virtual edm::EventAuxiliary const & eventAuxiliary() const
void switchToFile(Long64_t)
virtual bool getByLabel(std::type_info const &, char const *, char const *, char const *, void *) const
unsigned long long EventNumber_t
unsigned int LuminosityBlockNumber_t
static void throwProductNotFoundException(std::type_info const &, char const *, char const *, char const *)
virtual std::string const getBranchNameFor(std::type_info const &, char const *, char const *, char const *) const
edm::WrapperBase const * getByProductID(edm::ProductID const &) const
fwlite::LuminosityBlock const & getLuminosityBlock()
void fillParameterSetRegistry() const
std::vector< std::string > const & getProcessHistory() const
static std::string const triggerResults
fwlite::Run const & getRun()
bool to(Long64_t iIndex)
Go to the event at index iIndex.
virtual bool atEnd() const
std::vector< Long64_t > accumulatedSize_
std::shared_ptr< Event > event_
std::vector< edm::BranchDescription > const & getBranchDescriptions() const
ChainEvent const & toBegin()
ChainEvent const & operator++()
Long64_t eventIndex() const
virtual edm::ProcessHistory const & processHistory() const
Event const * event() const
void setGetter(std::shared_ptr< edm::EDProductGetter > getter)
std::shared_ptr< edm::EDProductGetter > getter_
virtual Long64_t fileIndex() const
std::vector< std::string > fileNames_
ChainEvent const & operator=(Event const &)
ChainEvent(std::vector< std::string > const &iFileNames)