![]() |
ATLAS Offline Software
|
Class describing the access statistics of one (sub-)branch. More...
#include <ReadStats.h>
Public Member Functions | |
| BranchStats (const char *name="xAODBranch", const char *type="Int_t", ::Int_t nTreesAccessed=0, ::Long64_t nReadEntries=0, ::Long64_t nUnzippedBytes=0, ::Long64_t nZippedBytes=0) | |
| Constructor specifying all parameters. More... | |
| BranchStats (const BranchStats &parent) | |
| Copy constructor. More... | |
| BranchStats & | operator= (const BranchStats &parent) |
| Assignment operator. More... | |
| BranchStats & | add (const BranchStats &rh) |
| Function merging two objects. More... | |
| BranchStats & | operator+= (const BranchStats &rh) |
| Operator merging two objects. More... | |
Accessor/setter functions for the kept information | |
| ::Int_t | treesAccessed () const |
| Get how many trees/files were accessed to read this branch. More... | |
| void | setTreesAccessed (::Int_t nTreesAccessed) |
| Set how many trees were accessed to read this branch. More... | |
| ::Long64_t | readEntries () const |
| Get how many entries were read from this branch. More... | |
| void | setReadEntries (::Long64_t nReadEntries) |
| Set how many entries were read from this branch. More... | |
| ::Long64_t | unzippedBytesRead () const |
| Get how many unzipped bytes were read from this branch in total. More... | |
| void | setUnzippedBytesRead (::Long64_t nUnzippedBytes) |
| Set how many unzipped bytes were read from this branch in total. More... | |
| ::Long64_t | zippedBytesRead () const |
| Get how many zipped bytes were read from this branch in total. More... | |
| void | setZippedBytesRead (::Long64_t nZippedBytes) |
| Set how many zipped bytes were read from this branch in total. More... | |
"ROOT-specific" functions | |
| ::Int_t | Merge (::TCollection *coll) |
| Function merging the information from multiple objects. More... | |
| void | Print (::Option_t *option="") const |
| Print information about the collected statistics. More... | |
Private Attributes | |
| ::Int_t | m_treesAccessed |
| Number of trees/files accessed for this branch. More... | |
| ::Long64_t | m_readEntries |
| Number of entries read from this branch. More... | |
| ::Long64_t | m_unzippedBytes |
| Number of unzipped bytes read from this branch. More... | |
| ::Long64_t | m_zippedBytes |
| Number of zipped bytes read from this branch. More... | |
Class describing the access statistics of one (sub-)branch.
Objects of this class are used to describe a single xAOD branch's access pattern.
Definition at line 43 of file ReadStats.h.
| xAOD::BranchStats::BranchStats | ( | const char * | name = "xAODBranch", |
| const char * | type = "Int_t", |
||
| ::Int_t | nTreesAccessed = 0, |
||
| ::Long64_t | nReadEntries = 0, |
||
| ::Long64_t | nUnzippedBytes = 0, |
||
| ::Long64_t | nZippedBytes = 0 |
||
| ) |
Constructor specifying all parameters.
| xAOD::BranchStats::BranchStats | ( | const BranchStats & | parent | ) |
Copy constructor.
| BranchStats& xAOD::BranchStats::add | ( | const BranchStats & | rh | ) |
Function merging two objects.
| ::Int_t xAOD::BranchStats::Merge | ( | ::TCollection * | coll | ) |
Function merging the information from multiple objects.
| BranchStats& xAOD::BranchStats::operator+= | ( | const BranchStats & | rh | ) |
Operator merging two objects.
| BranchStats& xAOD::BranchStats::operator= | ( | const BranchStats & | parent | ) |
Assignment operator.
| void xAOD::BranchStats::Print | ( | ::Option_t * | option = "" | ) | const |
Print information about the collected statistics.
| ::Long64_t xAOD::BranchStats::readEntries | ( | ) | const |
Get how many entries were read from this branch.
| void xAOD::BranchStats::setReadEntries | ( | ::Long64_t | nReadEntries | ) |
Set how many entries were read from this branch.
| void xAOD::BranchStats::setTreesAccessed | ( | ::Int_t | nTreesAccessed | ) |
Set how many trees were accessed to read this branch.
| void xAOD::BranchStats::setUnzippedBytesRead | ( | ::Long64_t | nUnzippedBytes | ) |
Set how many unzipped bytes were read from this branch in total.
| void xAOD::BranchStats::setZippedBytesRead | ( | ::Long64_t | nZippedBytes | ) |
Set how many zipped bytes were read from this branch in total.
| ::Int_t xAOD::BranchStats::treesAccessed | ( | ) | const |
Get how many trees/files were accessed to read this branch.
| ::Long64_t xAOD::BranchStats::unzippedBytesRead | ( | ) | const |
Get how many unzipped bytes were read from this branch in total.
| ::Long64_t xAOD::BranchStats::zippedBytesRead | ( | ) | const |
Get how many zipped bytes were read from this branch in total.
|
private |
Number of entries read from this branch.
Definition at line 102 of file ReadStats.h.
|
private |
Number of trees/files accessed for this branch.
Definition at line 100 of file ReadStats.h.
|
private |
Number of unzipped bytes read from this branch.
Definition at line 104 of file ReadStats.h.
|
private |
Number of zipped bytes read from this branch.
Definition at line 106 of file ReadStats.h.
1.8.18