A base class for accessing ntuple data.
More...
#include <Accessor.h>
A base class for accessing ntuple data.
Definition at line 24 of file LArCalorimeter/LArSamplesMon/LArSamplesMon/Accessor.h.
◆ Accessor()
| LArSamples::Accessor::Accessor |
( |
| ) |
|
|
inline |
◆ ~Accessor()
| virtual LArSamples::Accessor::~Accessor |
( |
| ) |
|
|
inlinevirtual |
◆ cachePos()
| unsigned int LArSamples::AbsLArCells::cachePos |
( |
| ) |
const |
|
inlineinherited |
◆ cellCache()
| const History * LArSamples::AbsLArCells::cellCache |
( |
| ) |
const |
|
inlineinherited |
◆ cellHistory()
| const History * AbsLArCells::cellHistory |
( |
unsigned int | i | ) |
const |
|
virtualinherited |
Reimplemented in LArSamples::Interface.
Definition at line 59 of file AbsLArCells.cxx.
60{
64 if (!history) return nullptr;
68}
virtual void resetCache() const
virtual const History * newCellHistory(unsigned int i) const
◆ cellInfo()
| const CellInfo * AbsLArCells::cellInfo |
( |
unsigned int | i | ) |
const |
|
virtualinherited |
Definition at line 71 of file AbsLArCells.cxx.
72{
74 if (info)
return (
info->isValid() ?
new CellInfo(*info) :
nullptr);
77
79}
std::vector< CellInfo * > m_cellInfoCache
virtual const CellInfo * getCellInfo(unsigned int i) const
const CellInfo * cellInfoCache(unsigned int i) const
◆ cellInfoCache()
| const CellInfo * AbsLArCells::cellInfoCache |
( |
unsigned int | i | ) |
const |
|
inherited |
◆ eventData()
| virtual const EventData * LArSamples::Accessor::eventData |
( |
unsigned int | i | ) |
const |
|
pure virtual |
◆ getCellHistory()
| virtual const History * LArSamples::AbsLArCells::getCellHistory |
( |
unsigned int | i | ) |
const |
|
pure virtualinherited |
◆ getCellInfo()
| const CellInfo * AbsLArCells::getCellInfo |
( |
unsigned int | i | ) |
const |
|
virtualinherited |
◆ getSCHistory()
| virtual const History * LArSamples::AbsLArCells::getSCHistory |
( |
unsigned int | i | ) |
const |
|
pure virtualinherited |
◆ historySize()
| virtual unsigned int LArSamples::Accessor::historySize |
( |
unsigned int | i | ) |
const |
|
pure virtual |
◆ historySizeSC()
| virtual unsigned int LArSamples::Accessor::historySizeSC |
( |
unsigned int | i | ) |
const |
|
pure virtual |
◆ nChannels()
| virtual unsigned int LArSamples::AbsLArCells::nChannels |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ nChannelsSC()
| virtual unsigned int LArSamples::AbsLArCells::nChannelsSC |
( |
| ) |
const |
|
inlinevirtualinherited |
Definition at line 35 of file AbsLArCells.h.
static const unsigned int nChannelsSC
◆ nEvents()
| virtual unsigned int LArSamples::Accessor::nEvents |
( |
| ) |
const |
|
pure virtual |
◆ newCellHistory()
| const History * AbsLArCells::newCellHistory |
( |
unsigned int | i | ) |
const |
|
virtualinherited |
Definition at line 44 of file AbsLArCells.cxx.
45{
47 if (!history) return nullptr;
49 const CellInfo* ci=history->
cellInfo();
50 if (ci) {
52 }
53 }
54
55 return history;
56}
◆ nRuns()
| virtual unsigned int LArSamples::Accessor::nRuns |
( |
| ) |
const |
|
pure virtual |
◆ pass()
Definition at line 99 of file AbsLArCells.cxx.
100{
101
102 if (!
f.passHash(i))
return nullptr;
104 if (!info) {
105 return nullptr;
106 }
107
108 bool result =
f.passCell(*info);
111}
virtual const History * cellHistory(unsigned int i) const
virtual const CellInfo * cellInfo(unsigned int i) const
◆ resetCache()
| void AbsLArCells::resetCache |
( |
| ) |
const |
|
virtualinherited |
Definition at line 34 of file AbsLArCells.cxx.
35{
39 }
41}
virtual unsigned int nChannels() const
◆ resetCellInfoCache()
| void AbsLArCells::resetCellInfoCache |
( |
| ) |
|
|
inherited |
◆ runData()
| virtual const RunData * LArSamples::Accessor::runData |
( |
unsigned int | i | ) |
const |
|
pure virtual |
◆ writeToFile()
| virtual bool LArSamples::Accessor::writeToFile |
( |
const TString & | fileName | ) |
const |
|
pure virtual |
◆ m_cellCache
| const History* LArSamples::AbsLArCells::m_cellCache |
|
mutableprivateinherited |
◆ m_cellInfoCache
| std::vector<CellInfo*> LArSamples::AbsLArCells::m_cellInfoCache |
|
mutableprivateinherited |
◆ m_pos
| unsigned int LArSamples::AbsLArCells::m_pos |
|
mutableprivateinherited |
The documentation for this class was generated from the following file: