1 #ifndef DataFormats_FWLite_ChainEvent_h
2 #define DataFormats_FWLite_ChainEvent_h
20 #if !defined(__CINT__) && !defined(__MAKECINT__)
34 class ProductRegistry;
36 class BranchDescription;
51 ChainEvent(std::vector<std::string>
const& iFileNames);
57 bool to(Long64_t iIndex);
77 virtual bool getByLabel(std::type_info
const&,
char const*,
char const*,
char const*,
void*)
const;
81 operator bool()
const;
82 virtual bool atEnd()
const;
84 Long64_t
size()
const;
104 void setGetter(std::shared_ptr<edm::EDProductGetter> getter){
105 event_->setGetter(getter);
123 std::vector<edm::WrapperBase const*>& foundContainers,
124 std::vector<unsigned int>&
keys)
const;
145 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
virtual bool getByLabel(std::type_info const &, char const *, char const *, char const *, void *) const =0
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
virtual 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)