1 #ifndef DataFormats_FWLite_ChainEvent_h 2 #define DataFormats_FWLite_ChainEvent_h 34 class ProductRegistry;
36 class BranchDescription;
48 ChainEvent(std::vector<std::string>
const& iFileNames);
54 bool to(Long64_t iIndex);
69 return event_->consumes<
T>(iTag);
74 bool getByLabel(std::type_info
const&,
char const*,
char const*,
char const*,
void*)
const override;
78 operator bool()
const;
79 bool atEnd()
const override;
81 Long64_t
size()
const;
99 void setGetter(std::shared_ptr<edm::EDProductGetter const> getter) {
event_->setGetter(getter); }
116 unsigned int key)
const;
119 std::vector<edm::WrapperBase const*>& foundContainers,
120 std::vector<unsigned int>&
keys)
const;
void setGetter(std::shared_ptr< edm::EDProductGetter const > getter)
std::variant< unsigned int, detail::GetThinnedKeyFromExceptionFactory, std::monostate > OptionalThinnedKey
fwlite::LuminosityBlock const & getLuminosityBlock()
void switchToFile(Long64_t)
fwlite::Run const & getRun()
edm::propagate_const< std::shared_ptr< Event > > event_
unsigned long long EventNumber_t
edm::WrapperBase const * getByProductID(edm::ProductID const &) const override
std::string const getBranchNameFor(std::type_info const &, char const *, char const *, char const *) const override
Long64_t eventIndex() const
std::optional< std::tuple< edm::WrapperBase const *, unsigned int > > getThinnedProduct(edm::ProductID const &pid, unsigned int key) const
void fillParameterSetRegistry() const
virtual bool getByLabel(std::type_info const &, char const *, char const *, char const *, void *) const =0
unsigned int LuminosityBlockNumber_t
ChainEvent const & toBegin() override
Long64_t fileIndex() const override
static void throwProductNotFoundException(std::type_info const &, char const *, char const *, char const *)
edm::TriggerResultsByName triggerResultsByName(edm::TriggerResults const &triggerResults) const override
edm::ProcessHistory const & processHistory() const override
std::vector< edm::BranchDescription > const & getBranchDescriptions() const
std::vector< std::string > const & getProcessHistory() const
bool atEnd() const override
key
prepare the HTCondor submission files and eventually submit them
static std::string const triggerResults
bool to(Long64_t iIndex)
Go to the event at index iIndex.
edm::EDGetTokenT< T > consumes(edm::InputTag const &iTag) const
bool getByLabel(std::type_info const &, char const *, char const *, char const *, void *) const override
ChainEvent const & operator++() override
std::vector< Long64_t > accumulatedSize_
edm::EventAuxiliary const & eventAuxiliary() const override
bool getByTokenImp(edm::EDGetToken, edm::WrapperBase const *&) const override
void getThinnedProducts(edm::ProductID const &pid, std::vector< edm::WrapperBase const *> &foundContainers, std::vector< unsigned int > &keys) const
edm::propagate_const< std::shared_ptr< TFile > > file_
edm::ParameterSet const * parameterSet(edm::ParameterSetID const &psID) const override
edm::OptionalThinnedKey getThinnedKeyFrom(edm::ProductID const &parent, unsigned int key, edm::ProductID const &thinned) const
edm::propagate_const< std::shared_ptr< edm::EDProductGetter > > getter_
edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const override
Event const * event() const
std::vector< std::string > fileNames_
ChainEvent const & operator=(Event const &)
ChainEvent(std::vector< std::string > const &iFileNames)