1 #ifndef DataFormats_FWLite_ChainEvent_h
2 #define DataFormats_FWLite_ChainEvent_h
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 const> getter){
105 event_->setGetter(getter);
123 std::vector<edm::WrapperBase const*>& foundContainers,
124 std::vector<unsigned int>&
keys)
const;
edm::WrapperBase const * getThinnedProduct(edm::ProductID const &pid, unsigned int &key) const
virtual edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) 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
edm::propagate_const< std::shared_ptr< Event > > event_
unsigned long long EventNumber_t
virtual edm::TriggerResultsByName triggerResultsByName(edm::TriggerResults const &triggerResults) const
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()
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
bool to(Long64_t iIndex)
Go to the event at index iIndex.
virtual bool atEnd() const
std::vector< Long64_t > accumulatedSize_
std::vector< edm::BranchDescription > const & getBranchDescriptions() const
edm::propagate_const< std::shared_ptr< TFile > > file_
ChainEvent const & toBegin()
edm::propagate_const< std::shared_ptr< edm::EDProductGetter > > getter_
ChainEvent const & operator++()
Long64_t eventIndex() const
virtual edm::ProcessHistory const & processHistory() const
Event const * event() const
virtual Long64_t fileIndex() const
std::vector< std::string > fileNames_
ChainEvent const & operator=(Event const &)
ChainEvent(std::vector< std::string > const &iFileNames)
void setGetter(std::shared_ptr< edm::EDProductGetter const > getter)