Public Member Functions | |
BranchReader () | |
BranchReader (TBranch *iBranch, FileFormat iFormat, size_t iReadOffset, size_t maxRecordsToCache) | |
HFShowerPhotonCollection | getRecord (int) const |
std::size_t | numberOfRecords () const |
Private Member Functions | |
void | doCaching (size_t maxRecords) |
Static Private Member Functions | |
static HFShowerPhotonCollection | getRecordNewForm (TBranch *, int iEntry) |
static HFShowerPhotonCollection | getRecordNewFormV3 (TBranch *, int iEntry) |
static HFShowerPhotonCollection | getRecordOldForm (TBranch *, int iEntry) |
static std::shared_ptr< BranchCache const > | makeCache (BranchReader &, size_t maxRecordsToCache, std::string const &iFileName, std::string const &iBranchName) |
Private Attributes | |
TBranch * | branch_ |
std::shared_ptr< BranchCache const > | cache_ |
FileFormat | format_ |
size_t | offset_ |
Definition at line 93 of file HFShowerLibrary.h.
|
inline |
Definition at line 94 of file HFShowerLibrary.h.
|
inline |
Definition at line 95 of file HFShowerLibrary.h.
References branch_, and doCaching().
|
private |
Definition at line 440 of file HFShowerLibrary.cc.
Referenced by BranchReader().
HFShowerPhotonCollection HFShowerLibrary::BranchReader::getRecord | ( | int | record | ) | const |
Definition at line 501 of file HFShowerLibrary.cc.
References HFShowerLibrary::kNew, HFShowerLibrary::kNewV3, HFShowerLibrary::kOld, and AlCaHarvesting_cff::record.
Referenced by HFShowerLibrary::BranchCache::BranchCache(), and HFShowerLibrary::getRecord().
|
staticprivate |
Definition at line 475 of file HFShowerLibrary.cc.
References eostools::move(), and groupFilesInBlocks::temp.
|
staticprivate |
Definition at line 485 of file HFShowerLibrary.cc.
References mps_fire::i, submitPVValidationJobs::t, and cmsswSequenceInfo::tp.
|
staticprivate |
Definition at line 469 of file HFShowerLibrary.cc.
|
staticprivate |
Definition at line 444 of file HFShowerLibrary.cc.
References CMS_SA_ALLOW, mutex, s_mutex, and findQualityFiles::v.
size_t HFShowerLibrary::BranchReader::numberOfRecords | ( | ) | const |
Definition at line 525 of file HFShowerLibrary.cc.
Referenced by HFShowerLibrary::BranchCache::BranchCache().
|
private |
Definition at line 118 of file HFShowerLibrary.h.
Referenced by BranchReader(), tree.Tree::var(), and tree.Tree::vector().
|
private |
Definition at line 119 of file HFShowerLibrary.h.
|
private |
Definition at line 121 of file HFShowerLibrary.h.
|
private |
Definition at line 120 of file HFShowerLibrary.h.