#include <ChainEvent.h>
Public Member Functions | |
virtual bool | atEnd () const |
ChainEvent (const std::vector< std::string > &iFileNames) | |
Event const * | event () const |
virtual edm::EventAuxiliary const & | eventAuxiliary () const |
Long64_t | eventIndex () const |
virtual Long64_t | fileIndex () const |
void | fillParameterSetRegistry () const |
const std::vector < edm::BranchDescription > & | getBranchDescriptions () const |
virtual const std::string | getBranchNameFor (const std::type_info &, const char *, const char *, const char *) const |
virtual bool | getByLabel (const std::type_info &, const char *, const char *, const char *, void *) const |
edm::EDProduct const * | getByProductID (edm::ProductID const &) const |
fwlite::LuminosityBlock const & | getLuminosityBlock () |
const std::vector< std::string > & | getProcessHistory () const |
fwlite::Run const & | getRun () |
TFile * | getTFile () const |
bool | isValid () const |
operator bool () const | |
const ChainEvent & | operator++ () |
edm::ProcessHistory const & | processHistory () const |
void | setGetter (boost::shared_ptr< edm::EDProductGetter > getter) |
Long64_t | size () const |
bool | to (Long64_t iIndex) |
Go to the event at index iIndex. More... | |
bool | to (const edm::EventID &id) |
Go to event with event id "id". More... | |
bool | to (edm::RunNumber_t run, edm::EventNumber_t event) |
bool | to (edm::RunNumber_t run, edm::LuminosityBlockNumber_t lumi, edm::EventNumber_t event) |
const ChainEvent & | toBegin () |
virtual edm::TriggerNames const & | triggerNames (edm::TriggerResults const &triggerResults) const |
virtual edm::TriggerResultsByName | triggerResultsByName (std::string const &process) const |
virtual | ~ChainEvent () |
Public Member Functions inherited from fwlite::EventBase | |
EventBase () | |
virtual Long64_t | secondaryFileIndex () const |
virtual | ~EventBase () |
Public Member Functions inherited from edm::EventBase | |
int | bunchCrossing () const |
EventBase () | |
edm::EventAuxiliary::ExperimentType | experimentType () const |
template<class T > | |
bool | getByLabel (const InputTag &, Handle< T > &) const |
template<> | |
bool | getByLabel (edm::InputTag const &tag, Handle< FWGenericObject > &result) const |
Specialize the getByLabel method to work with a Handle<FWGenericObject> More... | |
edm::EventID | id () const |
bool | isRealData () const |
edm::LuminosityBlockNumber_t | luminosityBlock () const |
int | orbitNumber () const |
edm::Timestamp | time () const |
Static Public Member Functions | |
static void | throwProductNotFoundException (const std::type_info &, const char *, const char *, const char *) |
Private Member Functions | |
ChainEvent (const Event &) | |
void | findSizes () |
const ChainEvent & | operator= (const Event &) |
void | switchToFile (Long64_t) |
Private Attributes | |
std::vector< Long64_t > | accumulatedSize_ |
boost::shared_ptr< Event > | event_ |
Long64_t | eventIndex_ |
boost::shared_ptr< TFile > | file_ |
std::vector< std::string > | fileNames_ |
boost::shared_ptr < edm::EDProductGetter > | getter_ |
Friends | |
class | MultiChainEvent |
Additional Inherited Members | |
Static Protected Member Functions inherited from edm::EventBase | |
static TriggerNames const * | triggerNames_ (edm::TriggerResults const &triggerResults) |
Definition at line 46 of file ChainEvent.h.
ChainEvent::ChainEvent | ( | const std::vector< std::string > & | iFileNames | ) |
Definition at line 35 of file ChainEvent.cc.
References accumulatedSize_, edm::poolNames::eventTreeName(), edm::hlt::Exception, file_, fileNames_, nEvents, switchToFile(), and diffTreeTool::tree.
|
virtual |
Definition at line 76 of file ChainEvent.cc.
|
private |
|
virtual |
Implements fwlite::EventBase.
Definition at line 293 of file ChainEvent.cc.
References event_, eventIndex_, and fileNames_.
Referenced by fwlite::AnalyzerWrapper< T >::analyze(), and main().
|
inline |
|
virtual |
|
inline |
|
inlinevirtual |
Reimplemented from fwlite::EventBase.
Definition at line 96 of file ChainEvent.h.
References eventIndex_.
Referenced by python.Events::fileIndicies().
void ChainEvent::fillParameterSetRegistry | ( | ) | const |
|
private |
const std::vector< edm::BranchDescription > & ChainEvent::getBranchDescriptions | ( | ) | const |
|
virtual |
|
virtual |
edm::EDProduct const * ChainEvent::getByProductID | ( | edm::ProductID const & | iID | ) | const |
fwlite::LuminosityBlock const & ChainEvent::getLuminosityBlock | ( | ) |
const std::vector< std::string > & ChainEvent::getProcessHistory | ( | ) | const |
fwlite::Run const & ChainEvent::getRun | ( | ) |
|
inline |
Definition at line 91 of file ChainEvent.h.
References event_.
Referenced by PFRootEventManager::reset().
bool ChainEvent::isValid | ( | void | ) | const |
Definition at line 283 of file ChainEvent.cc.
References event_.
Referenced by PFRootEventManager::connect(), and PFRootEventManager::reset().
ChainEvent::operator bool | ( | ) | const |
Definition at line 287 of file ChainEvent.cc.
|
virtual |
Implements fwlite::EventBase.
Definition at line 97 of file ChainEvent.cc.
References event_, eventIndex_, fileNames_, and switchToFile().
|
private |
|
virtual |
|
inline |
Long64_t ChainEvent::size | ( | void | ) | const |
Definition at line 302 of file ChainEvent.cc.
References accumulatedSize_.
Referenced by PFRootEventManager::connect(), DisplayManager::DisplayManager(), and PFRootEventManager::initializeEventInformation().
|
private |
Definition at line 211 of file ChainEvent.cc.
References event_, eventIndex_, file_, and fileNames_.
Referenced by ChainEvent(), operator++(), to(), and toBegin().
|
static |
Definition at line 328 of file ChainEvent.cc.
References fwlite::Event::throwProductNotFoundException().
Referenced by fwlite::MultiChainEvent::throwProductNotFoundException().
bool ChainEvent::to | ( | Long64_t | iIndex | ) |
Go to the event at index iIndex.
Definition at line 115 of file ChainEvent.cc.
References accumulatedSize_, event_, eventIndex_, and switchToFile().
Referenced by PFRootEventManager::initializeEventInformation(), PFRootEventManager::processEntry(), and to().
bool ChainEvent::to | ( | const edm::EventID & | id | ) |
Go to event with event id "id".
Definition at line 146 of file ChainEvent.cc.
References event(), edm::EventBase::luminosityBlock(), DTTTrigCorrFirst::run, and to().
bool ChainEvent::to | ( | edm::RunNumber_t | run, |
edm::EventNumber_t | event | ||
) |
Definition at line 192 of file ChainEvent.cc.
References to().
bool ChainEvent::to | ( | edm::RunNumber_t | run, |
edm::LuminosityBlockNumber_t | lumi, | ||
edm::EventNumber_t | event | ||
) |
If lumi is non-zero, go to event with given run, lumi, and event number If lumi is zero, go to event with given run and event number
Definition at line 154 of file ChainEvent.cc.
References event_, eventIndex_, fileNames_, indexGen::ifile, and switchToFile().
|
virtual |
Go to the very first Event
Implements fwlite::EventBase.
Definition at line 200 of file ChainEvent.cc.
References event_, eventIndex_, and switchToFile().
Referenced by fwlite::AnalyzerWrapper< T >::analyze(), and main().
|
virtual |
|
virtual |
|
friend |
Definition at line 119 of file ChainEvent.h.
|
private |
Definition at line 132 of file ChainEvent.h.
Referenced by ChainEvent(), size(), and to().
|
private |
Definition at line 130 of file ChainEvent.h.
Referenced by atEnd(), event(), eventAuxiliary(), fillParameterSetRegistry(), getBranchDescriptions(), getBranchNameFor(), getByLabel(), getByProductID(), getLuminosityBlock(), getProcessHistory(), getRun(), getTFile(), isValid(), operator++(), processHistory(), setGetter(), switchToFile(), to(), toBegin(), triggerNames(), and triggerResultsByName().
|
private |
Definition at line 131 of file ChainEvent.h.
Referenced by atEnd(), eventIndex(), fileIndex(), operator++(), switchToFile(), to(), and toBegin().
|
private |
Definition at line 129 of file ChainEvent.h.
Referenced by ChainEvent(), and switchToFile().
|
private |
Definition at line 128 of file ChainEvent.h.
Referenced by atEnd(), ChainEvent(), operator++(), switchToFile(), and to().
|
private |
Definition at line 133 of file ChainEvent.h.