ATLAS Offline Software
Loading...
Searching...
No Matches
CscCalibMonToolPed.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONCALIBMONITORING_CSCCALIBMONTOOLPED_H
6#define MUONCALIBMONITORING_CSCCALIBMONTOOLPED_H
7
9
12#include "GaudiKernel/MsgStream.h"
13
14#include "TH1.h"
15#include "TProfile.h"
16
18
36// ^ modifying const histograms in StoreGate
37{
38
39 public:
41 CscCalibMonToolPed (const std::string & type, const std::string & name,
42 const IInterface* parent);
43
46
48 StatusCode initialize();
49
51 StatusCode finalize();
52
54 StatusCode bookHistograms();
55
56 private:
61 virtual StatusCode handleParameter(const CscCalibResultCollection* parVals);
62
64 virtual StatusCode postProc();
65
66 void genThreshold(HistCollection * pedColl, HistCollection * noiseColl, HistCollection * tholdColl, float multiplier) ;
67
68
69 void makeErrorReport();
70
71 // CSC identifier helper
72 //const CscIdHelper * m_cscIdHelper;
73
74
75 private:
78
81
83 float m_chi2Max;
84
87
89 std::string m_allGoodFileName;
91 std::string m_statusReportName;
96
99
101 //int m_doPedSamples;
102
104 std::string m_histKey;
105
108
116
117
119
121
123
124
125
127
129};
130
131
132#endif
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
virtual StatusCode postProc()
Run after handleParameter.
virtual StatusCode handleParameter(const CscCalibResultCollection *parVals)
Should be written by user in derived class.
virtual StatusCode initialize()
initializes services, tools, etc.
CscCalibMonToolBase(const std::string &type, const std::string &name, const IInterface *parent)
constructor
virtual StatusCode finalize()
deletes private members
virtual StatusCode bookHistograms()
Standard function for a ManagedMonitorToolBase.
TH1F * m_h_pedMissingChannels
Histograms that simply histogram all entries for a value.
int m_pedBadBin
Bin in m_h_numBen corresponding to each type of data.
HistCollection * m_pedOldColl
int m_minAmpHistEntries
Allowed number of entries.
HistCollection * m_chi2Coll
std::string m_statusReportPrefix
Status report prefix.
std::string m_histKey
Samples.
HistCollection * m_rmsDiffColl
HistCollection * m_rmsOldColl
float m_chi2Max
Allowed maximum values.
HistCollection * m_maxBitCorrColl
HistCollection * m_f001OldColl
HistCollection * m_noiseDiffColl
HistCollection * m_pedDiffColl
~CscCalibMonToolPed()
Destructor.
HistCollection * m_rmsNewColl
HistCollection * m_f001DiffColl
bool m_doBitCorrelations
DO bit correlation plots?
TH1I * m_h_numBad
Stores number of channels that are bad in several categories.
HistCollection * m_noiseNewColl
HistCollection * m_pedNewColl
HistCollections.
HistCollection * m_f001NewColl
std::string m_allGoodFileName
name of file indicating all is well
CscCalibMonToolPed(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
HistCollection * m_onlTHoldBreachColl
HistCollection * m_nEntriesColl
HistCollection * m_tholdDiffColl
float m_pedMaxDiff
Allowed deviations from COOL data.
HistCollection * m_noiseOldColl
std::string m_statusReportName
Status report name.
Contains an array with data on a per-channel basis, as well as various histograms that give different...