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);
69 virtual std::string const getBranchNameFor(std::type_info
const&,
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;
88 std::vector<edm::BranchDescription>
const& getBranchDescriptions()
const;
89 std::vector<std::string>
const& getProcessHistory()
const;
102 virtual Long64_t
fileIndex()
const {
return eventIndex_; }
104 void setGetter(std::shared_ptr<edm::EDProductGetter const> getter){
105 event_->setGetter(getter);
111 void fillParameterSetRegistry()
const;
123 std::vector<edm::WrapperBase const*>& foundContainers,
124 std::vector<unsigned int>&
keys)
const;
138 void switchToFile(Long64_t);
edm::propagate_const< std::shared_ptr< Event > > event_
unsigned long long EventNumber_t
unsigned int LuminosityBlockNumber_t
virtual bool getByLabel(std::type_info const &, char const *, char const *, char const *, void *) const =0
T const * getThinnedProduct(RefCore const &ref, unsigned int &thinnedKey, EDProductGetter const *prodGetter)
std::vector< Long64_t > accumulatedSize_
static std::string const triggerResults("TriggerResults")
edm::propagate_const< std::shared_ptr< TFile > > file_
edm::propagate_const< std::shared_ptr< edm::EDProductGetter > > getter_
Long64_t eventIndex() const
static void throwProductNotFoundException(char const *where, errors::ErrorCodes error, BranchID const &bid)
Event const * event() const
virtual Long64_t fileIndex() const
std::vector< std::string > fileNames_
void setGetter(std::shared_ptr< edm::EDProductGetter const > getter)