|
ATLAS Offline Software
|
storage of the time histories of all the cells
More...
#include <OccupancyMonitor.h>
|
| OccupancyMonitor (const Interface &interface) |
| Constructor
More...
|
|
TH1I * | runOccupancyHistory () const |
|
TH1I * | eventOccupancyHistory (unsigned int occForDump=0) const |
|
TH1I * | eventOccupancy () const |
|
TH1I * | cellOccupancy (int minForPrintout=-1) const |
|
TH1I * | febOccupancy (CaloId calo) const |
|
TH2D * | partitionOccupancy (PartitionId part) const |
|
TH2D * | etaPhiOccupancy (CaloId calo, short layer, bool useEnergy=false) const |
|
void | cellAndRingOccupancy (CaloId calo, unsigned int nMin=20) const |
|
void | dump (short verbosity=2) const |
|
TH1D * | dist (const DataFuncSet &func, const DataFuncArgs &args, const TString &name, int nBins, double xMin, double xMax, const TString &title="", const TString &xTitle="", const TString &yTitle="", const FilterParams &f=FilterParams()) const |
|
TH2D * | dist (const DataFuncSet &funcX, const DataFuncArgs &argsX, const DataFuncSet &funcY, const DataFuncArgs &argsY, const TString &name, int nBinsX, double xMin, double xMax, int nBinsY, double yMin, double yMax, const TString &title="", const TString &xTitle="", const TString &yTitle="", const FilterParams &f=FilterParams()) const |
|
TH2D * | partitionMap (const DataFuncSet &func, const DataFuncArgs &args, TString name, PartitionId partition, const TString &title="", CombinationType comb=AverageValue, const FilterParams &f=FilterParams()) const |
|
TH2D * | etaPhiMap (const DataFuncSet &func, const DataFuncArgs &args, const TString &name, CaloId calo, short layer, TString title="", CombinationType comb=AverageValue, const FilterParams &f=FilterParams()) const |
|
bool | prepareDumpParams (const TString &vars, int verbosity, std::vector< TString > &variables, std::vector< DataFuncSet > &funcs, std::vector< DataFuncArgs > &args, std::vector< TString > &formats, TString &locFormat, TString &locHeader, TString &varHeader) const |
|
bool | dump (const TString &vars, const FilterParams &f=FilterParams(), unsigned int verbosity=1) const |
|
bool | dump (const TString &vars, CombinationType comb=AverageValue, const FilterParams &f=FilterParams(), const TString &ranges="", unsigned int verbosity=1) const |
|
bool | statParams (const std::vector< DataFuncSet > &funcs, const std::vector< DataFuncArgs > &args, TVectorD &mean, TVectorD &meanErr, TMatrixD &covMatrix, TMatrixD &covMatrixErr, const FilterParams &f=FilterParams()) const |
|
const Interface & | interface () const |
|
unsigned int | nChannels () const |
|
const History * | getCellHistory (unsigned int i) const |
|
const CellInfo * | getCellInfo (unsigned int i) const |
|
virtual const History * | newCellHistory (unsigned int i) const |
|
virtual const History * | cellHistory (unsigned int i) const |
|
virtual const CellInfo * | cellInfo (unsigned int i) const |
|
virtual void | resetCache () const |
|
const CellInfo * | cellInfoCache (unsigned int i) const |
|
const History * | pass (unsigned int i, const FilterParams &f) const |
|
const History * | cellCache () const |
|
unsigned int | cachePos () const |
|
void | resetCellInfoCache () |
|
storage of the time histories of all the cells
Definition at line 20 of file OccupancyMonitor.h.
◆ OccupancyMonitor()
LArSamples::OccupancyMonitor::OccupancyMonitor |
( |
const Interface & |
interface | ) |
|
|
inline |
◆ cachePos()
unsigned int LArSamples::AbsLArCells::cachePos |
( |
| ) |
const |
|
inlineinherited |
◆ cellAndRingOccupancy()
void OccupancyMonitor::cellAndRingOccupancy |
( |
CaloId |
calo, |
|
|
unsigned int |
nMin = 20 |
|
) |
| const |
Definition at line 246 of file OccupancyMonitor.cxx.
248 const unsigned int nPhiRings = 5516;
249 unsigned int nCells[4][3], nRings[4][3];
250 unsigned int ringOccupancy[nPhiRings][4][3];
252 for (
unsigned int i = 0;
i < 4;
i++)
253 for (
unsigned int j = 0; j < 3; j++) {
254 for (
unsigned int k = 0;
k < nPhiRings;
k++) ringOccupancy[
k][
i][j] = 0;
260 if (
i%10000 == 0) cout <<
"Processing hash = " <<
i << endl;
262 if (!history)
continue;
264 unsigned int n[3] = {0,0,0};
266 for (
unsigned int k = 0;
k < history->
nData();
k++) {
268 if (globalPhiRing<0)
continue;
275 for (
unsigned int i = 0;
i < 4;
i++)
276 for (
unsigned int j = 0; j < 3; j++) {
277 for (
unsigned int k = 0;
k < nPhiRings;
k++)
278 if (ringOccupancy[
k][
i][j] >= nMin) nRings[
i][j]++;
281 for (
unsigned int i = 0;
i < 4;
i++) {
282 cout <<
"layer " <<
i << endl;
285 for (
unsigned int j = 0; j < 3; j++) {
286 float nCellFract= infinity;
287 if (nChann>0) nCellFract =
nCells[
i][j]*100.0/nChann;
288 float nRingFract = infinity;
289 if (
nEta > 0) nRingFract = nRings[
i][j]*100.0/
nEta;
290 cout <<
" gain " << j <<
" : "
291 <<
nCells[
i][j] <<
" cells of " << nChann <<
" (" << nCellFract <<
" %), "
292 << nRings[
i][j] <<
" rings of " <<
nEta <<
" (" << nRingFract <<
" %)." << endl;
295 for (
unsigned int i = 0;
i < 4;
i++) {
298 cout <<
i <<
" & " << nChann <<
" & " <<
nEta <<
" & ";
299 for (
unsigned int j = 0; j < 3; j++){
300 float val = infinity;
301 if (nChann>0)
val =
nCells[
i][j]*100.0/nChann;
302 cout << Form(
"%4.1f\\%% & ",
val);
304 for (
unsigned int j = 0; j < 3; j++){
305 float val = infinity;
307 cout << Form(
"%4.1f\\%% & ",
val);
◆ cellCache()
◆ cellHistory()
const History * AbsLArCells::cellHistory |
( |
unsigned int |
i | ) |
const |
|
virtualinherited |
◆ cellInfo()
◆ cellInfoCache()
const CellInfo * AbsLArCells::cellInfoCache |
( |
unsigned int |
i | ) |
const |
|
inherited |
◆ cellOccupancy()
TH1I * OccupancyMonitor::cellOccupancy |
( |
int |
minForPrintout = -1 | ) |
const |
Definition at line 116 of file OccupancyMonitor.cxx.
118 std::vector<unsigned int> occ(
nChannels());
122 occ[
i] = occ[
i] + history->
nData();
126 unsigned int oMin = 999999999, oMax = 0;
128 for (std::vector<unsigned int>::const_iterator
cell = occ.begin();
136 std::map<std::pair<unsigned int, unsigned int>, std::string>
names;
137 TH1I*
h =
new TH1I(
"occ",
"Cell occupancies", oMax - oMin + 1, oMin - 0.5, oMax + 0.5);
138 h->GetXaxis()->SetTitle(
"Occupancy");
139 h->GetYaxis()->SetTitle(
"Number of cells");
142 for (std::vector<unsigned int>::const_iterator cellOcc = occ.begin();
143 cellOcc != occ.end(); ++cellOcc, ++
i) {
146 if (!history)
continue;
147 if (minForPrintout >= 0) {
150 names[ std::pair<unsigned int, unsigned int>(*cellOcc,
i) ] = heading.Data();
154 if (minForPrintout >= 0) {
161 for (std::map<std::pair<unsigned int, unsigned int>, std::string>::reverse_iterator
cell =
names.rbegin();
164 if (
cell->first.first < (
unsigned int)minForPrintout)
break;
165 cout <<
cell->first.first <<
" : " <<
cell->first.second <<
", " <<
cell->second << endl;
◆ dist() [1/2]
Definition at line 64 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
69 if (xTitle !=
"")
h->GetXaxis()->SetTitle(xTitle);
70 if (yTitle !=
"")
h->GetYaxis()->SetTitle(yTitle);
74 if (!history)
continue;
75 for (
unsigned int j = 0; j < history->
nData(); j++) {
76 if (!
f.passEvent(*history->
data(j)))
continue;
◆ dist() [2/2]
TH2D * MonitorBase::dist |
( |
const DataFuncSet & |
funcX, |
|
|
const DataFuncArgs & |
argsX, |
|
|
const DataFuncSet & |
funcY, |
|
|
const DataFuncArgs & |
argsY, |
|
|
const TString & |
name, |
|
|
int |
nBinsX, |
|
|
double |
xMin, |
|
|
double |
xMax, |
|
|
int |
nBinsY, |
|
|
double |
yMin, |
|
|
double |
yMax, |
|
|
const TString & |
title = "" , |
|
|
const TString & |
xTitle = "" , |
|
|
const TString & |
yTitle = "" , |
|
|
const FilterParams & |
f = FilterParams() |
|
) |
| const |
|
inherited |
Definition at line 84 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
92 TH2D*
h =
new TH2D(
name,
title, nBinsX, xMin, xMax, nBinsY, yMin, yMax);
93 if (xTitle !=
"")
h->GetXaxis()->SetTitle(xTitle);
94 if (yTitle !=
"")
h->GetYaxis()->SetTitle(yTitle);
98 if (!history)
continue;
99 for (
unsigned int j = 0; j < history->
nData(); j++) {
100 if (!
f.passEvent(*history->
data(j)))
continue;
101 h->Fill(funcX.
val(*history->
data(j), argsX),
102 funcY.
val(*history->
data(j), argsY));
◆ dump() [1/3]
Definition at line 312 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
316 std::vector<DataFuncSet> funcs;
317 std::vector<DataFuncArgs>
args;
318 TString locFormat, locHeader, varHeader;
320 formats, locFormat, locHeader, varHeader))
return false;
323 TObjArray* rangeList =
ranges.Tokenize(
":");
325 TString
range = (
k < (
unsigned int)rangeList->GetEntries() ? ((TObjString*)rangeList->At(
k))->String() :
"");
331 TObjArray* minMaxList =
range.Tokenize(
",");
332 if (minMaxList->GetEntries() == 2) {
333 minVals.push_back(((TObjString*)minMaxList->At(0))->String().Atof());
334 maxVals.push_back(((TObjString*)minMaxList->At(1))->String().Atof());
337 cout <<
"Invalid range specification " <<
range << endl;
344 TString
header = locHeader + varHeader;
345 TString separator =
"";
346 for (
int i = 0;
i <
header.Length();
i++) separator +=
"-";
347 cout << separator << endl <<
header << endl << separator << endl;
349 unsigned int nEntries = 0, nValues = 0;
353 if (!history)
continue;
362 cout <<
line << endl;
365 cout <<
nEntries <<
" entries selected" << endl;
◆ dump() [2/3]
Definition at line 279 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
282 std::vector<DataFuncSet> funcs;
283 std::vector<DataFuncArgs>
args;
284 TString locFormat, locHeader, varHeader;
286 formats, locFormat, locHeader, varHeader))
return false;
287 TString
header = locHeader +
" idx |" + varHeader;
288 TString separator =
"";
289 for (
int i = 0;
i <
header.Length();
i++) separator +=
"-";
290 cout << separator << endl <<
header << endl << separator << endl;
296 if (!history)
continue;
298 for (
unsigned int j = 0; j < history->
nData(); j++) {
299 if (!
f.passEvent(*history->
data(j)))
continue;
300 TString
line =
part1 + Form(
" %3d |", j);
303 cout <<
line << endl;
307 cout <<
nEntries <<
" entries selected" << endl;
◆ dump() [3/3]
void OccupancyMonitor::dump |
( |
short |
verbosity = 2 | ) |
const |
Definition at line 229 of file OccupancyMonitor.cxx.
233 if (!history)
continue;
236 cout <<
" : " << history->
nData() <<
" pulse" << endl;
239 for (
unsigned int i = 0;
i < history->
nData();
i++)
240 cout <<
"E = " << history->
data(
i)->
energy() <<
" MeV, " << endl;
◆ etaPhiMap()
◆ etaPhiOccupancy()
TH2D * OccupancyMonitor::etaPhiOccupancy |
( |
CaloId |
calo, |
|
|
short |
layer, |
|
|
bool |
useEnergy = false |
|
) |
| const |
◆ eventOccupancy()
TH1I * OccupancyMonitor::eventOccupancy |
( |
| ) |
const |
Definition at line 86 of file OccupancyMonitor.cxx.
88 std::map<unsigned int, unsigned int> occ;
91 if (!history)
continue;
92 for (
unsigned int k = 0;
k < history->
nData();
k++)
96 unsigned int oMin = 999999999, oMax = 0;
98 for (std::map<unsigned int, unsigned int>::const_iterator
event = occ.begin();
101 if (
event->second < oMin) oMin =
event->second;
102 if (
event->second > oMax) oMax =
event->second;
105 TH1I*
h =
new TH1I(
"occ",
"Event occupancies", oMax - oMin + 1, oMin - 0.5, oMax + 0.5);
106 h->GetXaxis()->SetTitle(
"Occupancy");
107 h->GetYaxis()->SetTitle(
"Number of events");
108 for (std::map<unsigned int, unsigned int>::const_iterator
event = occ.begin();
◆ eventOccupancyHistory()
TH1I * OccupancyMonitor::eventOccupancyHistory |
( |
unsigned int |
occForDump = 0 | ) |
const |
Definition at line 60 of file OccupancyMonitor.cxx.
62 std::map<std::pair<unsigned int, unsigned int>,
unsigned int> occ;
65 if (!history)
continue;
66 for (
unsigned int k = 0;
k < history->
nData();
k++)
70 TH1I*
h =
new TH1I(
"occ",
"Event occupancies", occ.size(), 0, occ.size());
71 h->GetXaxis()->SetTitle(
"Recorded Event");
72 h->GetYaxis()->SetTitle(
"Occupancy");
75 for (std::map<std::pair<unsigned int, unsigned int>,
unsigned int>::const_iterator
event = occ.begin();
78 if (occForDump > 0 && occForDump <= event->
second)
79 cout <<
"run = " <<
event->first.first <<
" event = " <<
event->first.second <<
" occ = " <<
event->second << endl;
◆ febOccupancy()
TH1I * OccupancyMonitor::febOccupancy |
( |
CaloId |
calo | ) |
const |
Definition at line 173 of file OccupancyMonitor.cxx.
175 std::map<unsigned int, unsigned int> occ;
180 if (!history)
continue;
181 for (
unsigned int k = 0;
k < history->
nData();
k++)
185 unsigned int oMin = 999999999, oMax = 0;
187 for (std::map<unsigned int, unsigned int>::const_iterator feb = occ.begin();
188 feb != occ.end(); ++feb)
190 if (feb->second < oMin) oMin = feb->second;
191 if (feb->second > oMax) oMax = feb->second;
194 TH1I*
h =
new TH1I(
"occ",
"FEB occupancies", oMax - oMin + 1, oMin - 0.5, oMax + 0.5);
195 h->GetXaxis()->SetTitle(
"Occupancy");
196 h->GetYaxis()->SetTitle(
"Number of FEBs");
197 for (std::map<unsigned int, unsigned int>::const_iterator feb = occ.begin();
198 feb != occ.end(); ++feb)
199 h->Fill(feb->second);
◆ func()
◆ getCellHistory()
const History * MonitorBase::getCellHistory |
( |
unsigned int |
i | ) |
const |
|
virtualinherited |
◆ getCellInfo()
const CellInfo * MonitorBase::getCellInfo |
( |
unsigned int |
i | ) |
const |
|
virtualinherited |
◆ history_value()
Definition at line 399 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
402 double val = 0, sum1 = 0, sum2 = 0;
406 for (
unsigned int j = 0; j < history.
nData(); j++) {
407 if (!
f.passEvent(*history.
data(j)))
continue;
415 case RMSValue : sum1 += thisVal; sum2 += thisVal*thisVal;
break;
420 val = (nValues > 0 ? TMath::Sqrt((sum2 - sum1*sum1/nValues)/nValues) : -1);
421 if (TMath::Abs(
val) > 0.9*DBL_MAX)
val = 0;
◆ interface()
◆ nChannels()
unsigned int MonitorBase::nChannels |
( |
| ) |
const |
|
virtualinherited |
◆ newCellHistory()
const History * AbsLArCells::newCellHistory |
( |
unsigned int |
i | ) |
const |
|
virtualinherited |
◆ parseVariables()
bool MonitorBase::parseVariables |
( |
TString |
varStr, |
|
|
std::vector< TString > & |
vars, |
|
|
std::vector< DataFuncSet > & |
funcs, |
|
|
std::vector< DataFuncArgs > & |
args |
|
) |
| |
|
staticinherited |
Definition at line 147 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
150 varStr.ReplaceAll(
" ",
"");
151 TObjArray*
varList = varStr.Tokenize(
":");
152 for (
int i = 0;
i <
varList->GetEntries();
i++) {
153 TString varAndSample = ((TObjString*)
varList->At(
i))->String();
154 TString
var = varAndSample;
155 short sample1 = -1, sample2 = -1;
158 if (varAndSample.CountChar(
'[') + varAndSample.CountChar(
']') > 0) {
159 if (varAndSample.CountChar(
'[') != 1 || varAndSample.CountChar(
']') != 1 || varAndSample[varAndSample.Length() - 1] !=
']') {
160 cout <<
"Invalid use of [ ] delimiters" << endl;
164 TObjArray* varSampList = varAndSample.Tokenize(
"[,]");
165 if (varSampList->GetEntries() == 2) {
166 var = ((TObjString*)varSampList->At(0))->String();
167 TString sampStr = ((TObjString*)varSampList->At(1))->String();
169 if (!sampStr.IsDigit()) {
170 cout <<
"Sample argument [sample] should be an integer" << endl;
174 sample1 = sampStr.Atoi();
176 else if (varSampList->GetEntries() == 3) {
177 var = ((TObjString*)varSampList->At(0))->String();
178 TString sampStr1 = ((TObjString*)varSampList->At(1))->String();
179 TString sampStr2 = ((TObjString*)varSampList->At(2))->String();
181 if (!sampStr1.IsDigit() || !sampStr2.IsDigit()) {
182 cout <<
"Sample arguments [sample1, sample2] should be an integer" << endl;
186 sample1 = sampStr1.Atoi();
187 sample2 = sampStr2.Atoi();
190 cout <<
"Invalid specification of sample argument (expected var[sample])" << endl;
196 if (varAndSample.CountChar(
'(') + varAndSample.CountChar(
')') > 0) {
197 if (varAndSample.CountChar(
'(') != 1 || varAndSample.CountChar(
')') != 1 || varAndSample[varAndSample.Length() - 1] !=
')') {
198 cout <<
"Invalid use of ( ) delimiters" << endl;
202 TObjArray* varSampList = varAndSample.Tokenize(
"(,)");
203 if (varSampList->GetEntries() == 2) {
204 var = ((TObjString*)varSampList->At(0))->String();
205 TString sampStr = ((TObjString*)varSampList->At(1))->String();
207 if (!sampStr.IsFloat()) {
208 cout <<
"floating-point argument expected between ()" << endl;
212 par = sampStr.Atof();
215 cout <<
"Invalid specification of floating-point argument (expected func(arg))" << endl;
221 if (varAndSample(0, 5) ==
"pass_") {
222 str = varAndSample(5, varAndSample.Length() - 5);
227 cout <<
"Unknown variable " <<
var << endl;
230 vars.push_back(varAndSample);
231 funcs.push_back(fcn);
◆ partitionMap()
◆ partitionOccupancy()
TH2D * OccupancyMonitor::partitionOccupancy |
( |
PartitionId |
part | ) |
const |
◆ pass()
◆ prepareDumpParams()
bool MonitorBase::prepareDumpParams |
( |
const TString & |
vars, |
|
|
int |
verbosity, |
|
|
std::vector< TString > & |
variables, |
|
|
std::vector< DataFuncSet > & |
funcs, |
|
|
std::vector< DataFuncArgs > & |
args, |
|
|
std::vector< TString > & |
formats, |
|
|
TString & |
locFormat, |
|
|
TString & |
locHeader, |
|
|
TString & |
varHeader |
|
) |
| const |
|
inherited |
Definition at line 239 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
246 cout <<
"Invalid variable specification " << vars << endl;
250 locFormat =
"| %6d | %-";
261 TString locFormatHeader = locFormat; locFormatHeader.ReplaceAll(
"d",
"s");
262 locHeader = Form(locFormatHeader,
"hash",
"location");
265 formats.emplace_back(
" %-9.8g |");
266 TString fH = formats[
i]; fH.ReplaceAll(
"g",
"s");
272 varHeader += Form(fH,
varName.Data());
◆ resetCache()
void AbsLArCells::resetCache |
( |
| ) |
const |
|
virtualinherited |
◆ resetCellInfoCache()
void AbsLArCells::resetCellInfoCache |
( |
| ) |
|
|
inherited |
◆ runOccupancyHistory()
TH1I * OccupancyMonitor::runOccupancyHistory |
( |
| ) |
const |
Definition at line 28 of file OccupancyMonitor.cxx.
30 std::map<unsigned int, unsigned int> occ;
33 if (!history)
continue;
34 for (
unsigned int k = 0;
k < history->
nData();
k++)
41 runMin = occ.begin()->first;
42 runMax = occ.rbegin()->first;
46 h->GetXaxis()->SetTitle(
"Run number");
47 h->GetYaxis()->SetTitle(
"Occupancy");
48 for (std::map<unsigned int, unsigned int>::const_iterator
run = occ.begin();
53 h->SetBinContent(
bin,
run->second);
54 h->GetXaxis()->SetBinLabel(
bin, Form(
"%d",
run->first));
◆ statParams()
Definition at line 370 of file LArCalorimeter/LArSamplesMon/src/MonitorBase.cxx.
380 if (!history)
continue;
381 for (
unsigned int j = 0; j < history->
nData(); j++) {
382 if (!
f.passEvent(*history->
data(j)))
continue;
383 TVectorD
vals(funcs.size());
384 for (
unsigned int k = 0;
k < funcs.size();
k++)
391 meanErr =
avg.meanErrors();
393 covMatrixErr =
avg.covarianceMatrixErrors();
◆ str()
◆ m_cellCache
◆ m_cellInfoCache
std::vector<CellInfo*> LArSamples::AbsLArCells::m_cellInfoCache |
|
mutableprivateinherited |
◆ m_interface
◆ m_pos
unsigned int LArSamples::AbsLArCells::m_pos |
|
mutableprivateinherited |
◆ printPeriodicity
const int LArSamples::MonitorBase::printPeriodicity = 10000 |
|
staticinherited |
The documentation for this class was generated from the following files:
JetConstituentVector::iterator iterator
int _layer(const DataFuncArgs &args) const
double _eta(const DataFuncArgs &args) const
static TH2D * etaPhiHist(CaloId calo, short layer, const TString &name, const TString &title)
double _xip(const DataFuncArgs &args) const
double _chi2_noCorr(const DataFuncArgs &args) const
short globalPhiRing() const
void mean(std::vector< double > &bins, std::vector< double > &values, const std::vector< std::string > &files, const std::string &histname, const std::string &tplotname, const std::string &label="")
static DataFuncSet func(const TString &var)
static bool matchCalo(CaloId id, CaloId idSpec)
virtual const History * newCellHistory(unsigned int i) const
double _sample(const DataFuncArgs &args) const
static PartitionId partition(CaloId id)
double _adjDeltaT(const DataFuncArgs &args) const
const CellInfo * cellInfo() const
virtual const History * cellHistory(unsigned int i) const
int _region(const DataFuncArgs &args) const
double _pedestalRMS(const DataFuncArgs &) const
double _xi(const DataFuncArgs &args) const
std::vector< CellInfo * > m_cellInfoCache
const Interface & interface() const
double _xiNormRing(const DataFuncArgs &) const
int _ring(const DataFuncArgs &args) const
static TString str(CaloId id)
virtual const CellInfo * cellInfo(unsigned int i) const
int _nData(const DataFuncArgs &args) const
TH2D * etaPhiMap(const DataFuncSet &func, const DataFuncArgs &args, const TString &name, CaloId calo, short layer, TString title="", CombinationType comb=AverageValue, const FilterParams &f=FilterParams()) const
const History * getCellHistory(unsigned int i) const
double _pass(const DataFuncArgs &args) const
double _refitDeltaT(const DataFuncArgs &args) const
static double history_value(const History &history, const DataFuncSet &func, const DataFuncArgs &args, CombinationType comb, const FilterParams &f, unsigned int &nValues)
storage of the time histories of all the cells
double _energySignif(const DataFuncArgs &args) const
int _calo(const DataFuncArgs &args) const
static const int printPeriodicity
double _normResidualOffset(const DataFuncArgs &args) const
double _quality(const DataFuncArgs &) const
double _upstreamE(const DataFuncArgs &) const
double _delta(const DataFuncArgs &args) const
unsigned int nChannels() const
int _iPhi(const DataFuncArgs &args) const
int _gain(const DataFuncArgs &) const
int _hash(const DataFuncArgs &args) const
double _resCorrN(const DataFuncArgs &) const
const Data * data(unsigned int i) const
double _chi2_ringCorr(const DataFuncArgs &args) const
double _ofcSigma(const DataFuncArgs &args) const
double _phi(const DataFuncArgs &args) const
double _adcMax_new(const DataFuncArgs &) const
double _residualOffset(const DataFuncArgs &args) const
static bool parseVariables(TString varStr, std::vector< TString > &vars, std::vector< DataFuncSet > &funcs, std::vector< DataFuncArgs > &args)
int _iEta(const DataFuncArgs &args) const
int _feedThrough(const DataFuncArgs &args) const
POOL::TEvent event(POOL::TEvent::kClassAccess)
setRawEt setRawPhi nCells
double _chi2_k(const DataFuncArgs &args) const
int _maxPosition(const DataFuncArgs &) const
double _adjScale(const DataFuncArgs &args) const
string varName
end cluster ToT and charge
virtual const CellInfo * getCellInfo(unsigned int i) const
double _pedestalSubstractedSample(const DataFuncArgs &args) const
TString location(int verbose=1) const
double _peakSignif(const DataFuncArgs &args) const
double _normResidualError(const DataFuncArgs &args) const
double _timeECorr(const DataFuncArgs &args) const
double _timeForSplash2(const DataFuncArgs &args) const
virtual const History * getCellHistory(unsigned int i) const =0
const Interface * m_interface
unsigned int nData() const
double _xiNormCell(const DataFuncArgs &) const
double _timeForSplash1(const DataFuncArgs &args) const
static TH2D * partitionHist(PartitionId part, const TString &name, const TString &title)
const CellInfo * getCellInfo(unsigned int i) const
double _ofcTime(const DataFuncArgs &) const
const History * pass(unsigned int i, const FilterParams &f) const
double _chi2_cellCorr(const DataFuncArgs &args) const
double _timeNoTOF(const DataFuncArgs &args) const
const CellInfo * cellInfoCache(unsigned int i) const
const History * m_cellCache
double _minValue(const DataFuncArgs &) const
double _upstreamERatio(const DataFuncArgs &args) const
CaloGain::CaloGain gain() const
double _maxValue(const DataFuncArgs &) const
double _noise(const DataFuncArgs &) const
int _slot(const DataFuncArgs &args) const
int _run(const DataFuncArgs &) const
double _chi2Anomaly(const DataFuncArgs &args) const
double _energy(const DataFuncArgs &) const
int _goodForShapeCorr(const DataFuncArgs &) const
double _count(const DataFuncArgs &) const
bool prepareDumpParams(const TString &vars, int verbosity, std::vector< TString > &variables, std::vector< DataFuncSet > &funcs, std::vector< DataFuncArgs > &args, std::vector< TString > &formats, TString &locFormat, TString &locHeader, TString &varHeader) const
TString problems(bool sayNone=false) const
double val(const Data &data, const DataFuncArgs &args) const
int _index(const DataFuncArgs &) const
static bool isNone(double x)
static short nEta(CaloId calo, short layer, short region, short iPhi=1)
virtual void resetCache() const
double _residual(const DataFuncArgs &args) const
double _x(const DataFuncArgs &args) const
double _ofcGamma(const DataFuncArgs &args) const
static int nChannels(CaloId calo, short layer, short region)
double _residualError(const DataFuncArgs &args) const
constexpr int nEta
Default bin number of eta for vertex map.
int _lumiBlock(const DataFuncArgs &) const
double _rt(const DataFuncArgs &args) const
int _channel(const DataFuncArgs &args) const
double _refitScale(const DataFuncArgs &args) const
MonitorBase(const Interface &interface)
Constructor
double _chi2(const DataFuncArgs &) const
double _adcMax(const DataFuncArgs &) const
double _z(const DataFuncArgs &args) const
double _pedestal(const DataFuncArgs &) const
virtual unsigned int nChannels() const
int _event(const DataFuncArgs &) const
double _y(const DataFuncArgs &args) const
int _bunchId(const DataFuncArgs &) const
double _refitChi2(const DataFuncArgs &args) const
double _xiRing(const DataFuncArgs &args) const
double _xiCell(const DataFuncArgs &args) const