#include <Event.h>
Public Member Functions | |
virtual bool | atEnd () const |
void | draw (Option_t *opt) |
Properly setup for edm::Ref, etc and then call TTree method. More... | |
Long64_t | draw (char const *varexp, const TCut &selection, Option_t *option="", Long64_t nentries=1000000000, Long64_t firstentry=0) |
Long64_t | draw (char const *varexp, char const *selection, Option_t *option="", Long64_t nentries=1000000000, Long64_t firstentry=0) |
Event (TFile *iFile) | |
virtual edm::EventAuxiliary const & | eventAuxiliary () const |
std::vector < edm::BranchDescription > const & | getBranchDescriptions () const |
virtual std::string const | getBranchNameFor (std::type_info const &, char const *iModuleLabel, char const *iProductInstanceLabel, char const *iProcessName) const |
Return the branch name in the TFile which contains the data. More... | |
virtual bool | getByLabel (std::type_info const &, char const *, char const *, char const *, void *) const |
This function should only be called by fwlite::Handle<> More... | |
virtual edm::WrapperBase const * | getByProductID (edm::ProductID const &) const |
fwlite::LuminosityBlock const & | getLuminosityBlock () const |
std::vector< std::string > const & | getProcessHistory () const |
fwlite::Run const & | getRun () const |
TFile * | getTFile () const |
edm::WrapperBase const * | getThinnedProduct (edm::ProductID const &pid, unsigned int &key) const |
void | getThinnedProducts (edm::ProductID const &pid, std::vector< edm::WrapperBase const * > &foundContainers, std::vector< unsigned int > &keys) const |
Long64_t | indexFromEventId (edm::RunNumber_t run, edm::LuminosityBlockNumber_t lumi, edm::EventNumber_t event) |
Find index of given event-id. More... | |
bool | isValid () const |
operator bool () const | |
Event const & | operator++ () |
Advance to next event in the TFile. More... | |
virtual edm::ProcessHistory const & | processHistory () const |
Long64_t | scan (char const *varexp="", char const *selection="", Option_t *option="", Long64_t nentries=1000000000, Long64_t firstentry=0) |
Long64_t | size () const |
Returns number of events in the file. More... | |
bool | to (Long64_t iIndex) |
Go to the event at index iIndex. More... | |
bool | to (const edm::EventID &id) |
Go to event by Run & Event number. 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) |
Event const & | toBegin () |
Go to the very first Event. More... | |
virtual edm::TriggerNames const & | triggerNames (edm::TriggerResults const &triggerResults) const |
virtual edm::TriggerResultsByName | triggerResultsByName (std::string const &process) const |
virtual | ~Event () |
Public Member Functions inherited from fwlite::EventBase | |
EventBase () | |
virtual Long64_t | fileIndex () const |
virtual Long64_t | secondaryFileIndex () const |
virtual | ~EventBase () |
Public Member Functions inherited from edm::EventBase | |
int | bunchCrossing () const |
EventBase () | |
edm::EventAuxiliary::ExperimentType | experimentType () const |
template<typename T > | |
bool | get (ProductID const &, Handle< T > &) const |
template<typename T > | |
bool | getByLabel (InputTag const &, 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 (std::type_info const &, char const *, char const *, char const *) |
Private Member Functions | |
Event (Event const &) | |
void | fillParameterSetRegistry () const |
edm::ProcessHistory const & | history () const |
Event const & | operator= (Event const &) |
void | setGetter (std::shared_ptr< edm::EDProductGetter const > getter) |
void | updateAux (Long_t eventIndex) const |
Private Attributes | |
edm::EventAuxiliary | aux_ |
TBranch * | auxBranch_ |
fwlite::BranchMapReader | branchMap_ |
fwlite::DataGetterHelper | dataHelper_ |
EntryFinder | entryFinder_ |
TTree * | eventHistoryTree_ |
std::vector < edm::EventProcessHistoryID > | eventProcessHistoryIDs_ |
TFile * | file_ |
int | fileVersion_ |
edm::ProcessHistoryMap | historyMap_ |
std::vector< char const * > | labels_ |
std::shared_ptr < fwlite::LuminosityBlock > | lumi_ |
bool | parameterSetRegistryFilled_ |
edm::EventAuxiliary const * | pAux_ |
edm::EventAux const * | pOldAux_ |
std::vector< std::string > | procHistoryNames_ |
std::shared_ptr< fwlite::Run > | run_ |
std::shared_ptr< RunFactory > | runFactory_ |
Friends | |
class | ChainEvent |
class | EventHistoryGetter |
class | internal::ProductGetter |
Additional Inherited Members | |
Static Protected Member Functions inherited from edm::EventBase | |
static TriggerNames const * | triggerNames_ (edm::TriggerResults const &triggerResults) |
|
private |
|
virtual |
Implements fwlite::EventBase.
Definition at line 283 of file Event.cc.
Referenced by FWHLTTriggerTableView::fillAverageAcceptFractions(), and main().
void Event::draw | ( | Option_t * | opt | ) |
Long64_t Event::draw | ( | char const * | varexp, |
const TCut & | selection, | ||
Option_t * | option = "" , |
||
Long64_t | nentries = 1000000000 , |
||
Long64_t | firstentry = 0 |
||
) |
Long64_t Event::draw | ( | char const * | varexp, |
char const * | selection, | ||
Option_t * | option = "" , |
||
Long64_t | nentries = 1000000000 , |
||
Long64_t | firstentry = 0 |
||
) |
|
virtual |
Implements edm::EventBase.
|
inline |
|
virtual |
Return the branch name in the TFile which contains the data.
Implements fwlite::EventBase.
|
virtual |
This function should only be called by fwlite::Handle<>
Implements fwlite::EventBase.
|
virtual |
Implements fwlite::EventBase.
fwlite::LuminosityBlock const & Event::getLuminosityBlock | ( | ) | const |
std::vector< std::string > const & Event::getProcessHistory | ( | ) | const |
fwlite::Run const & Event::getRun | ( | ) | const |
Definition at line 538 of file Event.cc.
Referenced by FWL1TriggerTableView::fillTable(), and main().
edm::WrapperBase const * Event::getThinnedProduct | ( | edm::ProductID const & | pid, |
unsigned int & | key | ||
) | const |
void Event::getThinnedProducts | ( | edm::ProductID const & | pid, |
std::vector< edm::WrapperBase const * > & | foundContainers, | ||
std::vector< unsigned int > & | keys | ||
) | const |
|
private |
Definition at line 341 of file Event.cc.
Referenced by fwlite::EventHistoryGetter::history().
Long64_t Event::indexFromEventId | ( | edm::RunNumber_t | run, |
edm::LuminosityBlockNumber_t | lumi, | ||
edm::EventNumber_t | event | ||
) |
bool Event::isValid | ( | void | ) | const |
Definition at line 272 of file Event.cc.
Referenced by core.AutoHandle.AutoHandle::ReallyLoad().
|
virtual |
Advance to next event in the TFile.
Implements fwlite::EventBase.
|
inlinevirtual |
Implements edm::EventBase.
Long64_t Event::scan | ( | char const * | varexp = "" , |
char const * | selection = "" , |
||
Option_t * | option = "" , |
||
Long64_t | nentries = 1000000000 , |
||
Long64_t | firstentry = 0 |
||
) |
|
inlineprivate |
Long64_t Event::size | ( | void | ) | const |
Returns number of events in the file.
Definition at line 267 of file Event.cc.
Referenced by FWHLTTriggerTableView::fillAverageAcceptFractions().
|
static |
bool Event::to | ( | Long64_t | iIndex | ) |
Go to the event at index iIndex.
Definition at line 210 of file Event.cc.
Referenced by FWHLTTriggerTableView::fillAverageAcceptFractions().
bool Event::to | ( | const edm::EventID & | id | ) |
bool Event::to | ( | edm::RunNumber_t | run, |
edm::EventNumber_t | event | ||
) |
bool Event::to | ( | edm::RunNumber_t | run, |
edm::LuminosityBlockNumber_t | lumi, | ||
edm::EventNumber_t | event | ||
) |
|
virtual |
Go to the very first Event.
Implements fwlite::EventBase.
Definition at line 240 of file Event.cc.
Referenced by FWHLTTriggerTableView::fillAverageAcceptFractions(), and main().
|
virtual |
Implements edm::EventBase.
Definition at line 425 of file Event.cc.
Referenced by FWHLTTriggerTableView::fillAverageAcceptFractions().
|
virtual |
Implements edm::EventBase.
|
friend |
|
friend |
|
friend |
|
mutableprivate |
|
mutableprivate |
|
private |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
|
private |
|
private |
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |