|
|
#include <Run.h>
|
bool | atEnd () const override |
|
std::vector< edm::BranchDescription > const & | getBranchDescriptions () const |
|
virtual const std::string | getBranchNameFor (std::type_info const &, char const *, char const *, char const *) const |
|
bool | getByLabel (std::type_info const &, char const *, char const *, char const *, void *) const override |
|
edm::WrapperBase const * | getByProductID (edm::ProductID const &) const |
|
bool | isValid () const |
|
| operator bool () const |
|
const Run & | operator++ () override |
|
| Run (std::shared_ptr< BranchMapReader > branchMap) |
|
| Run (TFile *iFile) |
|
edm::RunAuxiliary const & | runAuxiliary () const override |
|
Long64_t | size () const |
|
bool | to (edm::RunNumber_t run) |
| Go to event by Run & Run number. More...
|
|
const Run & | toBegin () override |
|
| ~Run () override |
|
virtual Long64_t | fileIndex () const |
|
| RunBase () |
|
virtual Long64_t | secondaryFileIndex () const |
|
| ~RunBase () override |
|
Timestamp const & | beginTime () const |
|
Timestamp const & | endTime () const |
|
template<typename PROD > |
bool | getByLabel (InputTag const &tag, Handle< PROD > &result) const |
| same as above, but using the InputTag class More...
|
|
template<typename T > |
bool | getByLabel (InputTag const &tag, Handle< T > &result) const |
|
RunID const & | id () const |
|
RunNumber_t | run () const |
|
| RunBase () |
|
Definition at line 54 of file Run.h.
◆ Run() [1/3]
Run::Run |
( |
TFile * |
iFile | ) |
|
◆ Run() [2/3]
◆ ~Run()
◆ Run() [3/3]
fwlite::Run::Run |
( |
const Run & |
| ) |
|
|
privatedelete |
◆ atEnd()
bool Run::atEnd |
( |
| ) |
const |
|
overridevirtual |
◆ getBranchDescriptions()
◆ getBranchNameFor()
const std::string Run::getBranchNameFor |
( |
std::type_info const & |
iInfo, |
|
|
char const * |
iModuleLabel, |
|
|
char const * |
iProductInstanceLabel, |
|
|
char const * |
iProcessLabel |
|
) |
| const |
|
virtual |
◆ getByLabel()
bool Run::getByLabel |
( |
std::type_info const & |
iInfo, |
|
|
char const * |
iModuleLabel, |
|
|
char const * |
iProductInstanceLabel, |
|
|
char const * |
iProcessLabel, |
|
|
void * |
oData |
|
) |
| const |
|
overridevirtual |
◆ getByProductID()
◆ history()
Definition at line 212 of file Run.cc.
215 bool newFormat =
false;
226 if (
nullptr == meta) {
234 b->SetAddress(&pPhm);
240 b->SetAddress(&pPhv);
242 for (
auto&
history : historyVector) {
References aux_, b, branchMap_, Exception, fileVersion_, historyMap_, edm::poolNames::metaDataTreeName(), edm::poolNames::processHistoryBranchName(), edm::RunAuxiliary::processHistoryID(), edm::poolNames::processHistoryMapBranchName(), procHistoryNames_, csv2json::runIndex, edm::ProcessHistory::setProcessHistoryID(), and updateAux().
Referenced by fwlite::RunHistoryGetter::history().
◆ isValid()
bool Run::isValid |
( |
void |
| ) |
const |
◆ operator bool()
Run::operator bool |
( |
| ) |
const |
◆ operator++()
const Run & Run::operator++ |
( |
| ) |
|
|
overridevirtual |
◆ operator=()
const Run& fwlite::Run::operator= |
( |
const Run & |
| ) |
|
|
privatedelete |
◆ runAuxiliary()
◆ size()
Long64_t Run::size |
( |
void |
| ) |
const |
◆ throwProductNotFoundException()
void Run::throwProductNotFoundException |
( |
std::type_info const & |
iType, |
|
|
char const * |
iModule, |
|
|
char const * |
iProduct, |
|
|
char const * |
iProcess |
|
) |
| |
|
static |
Definition at line 279 of file Run.cc.
285 <<
"A branch was found for \n type ='" <<
type.className() <<
"'\n module='" << iModule
286 <<
"'\n productInstance='" << ((
nullptr != iProduct) ? iProduct :
"") <<
"'\n process='"
287 << ((
nullptr != iProcess) ? iProcess :
"")
289 "but no data is available for this Run";
References Exception, and edm::errors::ProductNotFound.
◆ to()
◆ toBegin()
const Run & Run::toBegin |
( |
| ) |
|
|
overridevirtual |
◆ updateAux()
void Run::updateAux |
( |
Long_t |
runIndex | ) |
const |
|
private |
◆ internal::ProductGetter
◆ RunHistoryGetter
◆ aux_
◆ auxBranch_
TBranch* fwlite::Run::auxBranch_ |
|
private |
◆ branchMap_
Definition at line 112 of file Run.h.
Referenced by atEnd(), getBranchDescriptions(), getByLabel(), getByProductID(), history(), isValid(), operator++(), Run(), runAuxiliary(), size(), to(), and toBegin().
◆ dataHelper_
◆ entryFinder_
◆ fileVersion_
int fwlite::Run::fileVersion_ |
|
private |
◆ historyMap_
◆ labels_
std::vector<char const*> fwlite::Run::labels_ |
|
mutableprivate |
◆ pAux_
◆ pOldAux_
◆ procHistoryNames_
std::vector<std::string> fwlite::Run::procHistoryNames_ |
|
mutableprivate |
std::shared_ptr< BranchMapReader > branchMap_
std::string const & runTreeName()
void conversion(EventAux const &from, EventAuxiliary &to)
static const EntryNumber_t invalidEntry
void updateAux(Long_t runIndex) const
EntryNumber_t findRun(edm::RunNumber_t const &run) const
edm::IndexIntoFile::EntryNumber_t EntryNumber_t
std::vector< char const * > labels_
std::string const & BranchTypeToAuxiliaryBranchName(BranchType const &branchType)
void fillIndex(BranchMapReader &branchMap)
std::map< ProcessHistoryID, ProcessHistory > ProcessHistoryMap
std::string const & processHistoryBranchName()
virtual bool getByLabel(std::type_info const &, char const *, char const *, char const *, void *, Long_t) const
const edm::ProcessHistory & history() const
edm::RunAux const * pOldAux_
fwlite::DataGetterHelper dataHelper_
edm::ProcessHistoryMap historyMap_
bool atEnd() const override
std::vector< std::string > procHistoryNames_
ProcessHistoryID const & processHistoryID() const
std::vector< ProcessHistory > ProcessHistoryVector
std::string const & processHistoryMapBranchName()
ProcessHistoryID setProcessHistoryID()
virtual const std::string getBranchNameFor(std::type_info const &, char const *, char const *, char const *) const
std::string const & metaDataTreeName()
edm::RunAuxiliary const * pAux_
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
edm::WrapperBase const * getByProductID(edm::ProductID const &pid, Long_t eventEntry) const