1 #ifndef DataFormats_FWLite_LuminosityBlock_h
2 #define DataFormats_FWLite_LuminosityBlock_h
20 #if !defined(__CINT__) && !defined(__MAKECINT__)
27 #include "boost/shared_ptr.hpp"
42 class ProductRegistry;
43 class BranchDescription;
45 class LuminosityBlockAux;
65 LuminosityBlock(boost::shared_ptr<BranchMapReader> branchMap, boost::shared_ptr<RunFactory> runFactory);
84 virtual bool getByLabel(std::type_info
const&,
char const*,
char const*,
char const*,
void*)
const;
89 operator bool ()
const;
90 virtual bool atEnd()
const;
92 Long64_t
size()
const;
125 mutable boost::shared_ptr<fwlite::Run>
run_;
DataGetterHelper dataHelper_
static void throwProductNotFoundException(std::type_info const &, char const *, char const *, char const *)
bool to(edm::RunNumber_t run, edm::LuminosityBlockNumber_t lumi)
Go to event by Run & LuminosityBlock number.
boost::shared_ptr< fwlite::Run > run_
edm::LuminosityBlockAuxiliary aux_
ProcessHistoryRegistry::collection_type ProcessHistoryMap
LuminosityBlock(TFile *iFile)
edm::LuminosityBlockAux * pOldAux_
unsigned int LuminosityBlockNumber_t
std::vector< char const * > labels_
boost::shared_ptr< RunFactory > runFactory_
edm::WrapperHolder getByProductID(edm::ProductID const &) const
virtual bool atEnd() const
const LuminosityBlock & operator=(const LuminosityBlock &)
virtual std::string const getBranchNameFor(std::type_info const &, char const *, char const *, char const *) const
fwlite::Run const & getRun() const
edm::LuminosityBlockAuxiliary * pAux_
std::vector< std::string > procHistoryNames_
virtual bool getByLabel(std::type_info const &, char const *, char const *, char const *, void *) const =0
const edm::ProcessHistory & history() const
const LuminosityBlock & operator++()
std::vector< edm::BranchDescription > const & getBranchDescriptions() const
void updateAux(Long_t lumiIndex) const
virtual bool getByLabel(std::type_info const &, char const *, char const *, char const *, void *) const
edm::ProcessHistoryMap historyMap_
const LuminosityBlock & toBegin()
virtual edm::LuminosityBlockAuxiliary const & luminosityBlockAuxiliary() const
virtual ~LuminosityBlock()
boost::shared_ptr< BranchMapReader > branchMap_