|
ATLAS Offline Software
|
Class for monitoring pedestal calibration results.
More...
#include <CscCalibMonToolPed.h>
|
enum | Interval_t {
file = 0,
eventsBlock,
lumiBlock,
lowStat,
medStat,
higStat,
run,
fill,
all
} |
| An enumeration describing how detailed a particular monitoring object is. More...
|
|
enum | MgmtAttr_t { ATTRIB_MANAGED = 0,
ATTRIB_UNMANAGED = 1,
ATTRIB_X_VS_LB = 2
} |
| An enumeration describing how the class handles the histogram. More...
|
|
|
| CscCalibMonToolPed (const std::string &type, const std::string &name, const IInterface *parent) |
| Constructor. More...
|
|
| ~CscCalibMonToolPed () |
| Destructor. More...
|
|
StatusCode | initialize () |
| initialize function. More...
|
|
StatusCode | finalize () |
| finalize function. More...
|
|
StatusCode | bookHistograms () |
| Books all histograms not retrieved driectly from CscCalcPed. More...
|
|
virtual StatusCode | fillHistograms () |
| Standard function for a ManagedMonitorToolBase . More...
|
|
virtual StatusCode | procHistograms () |
| At end of run this processes the calibration results and fills the histograms. More...
|
|
virtual StatusCode | checkHists (bool fromFinalise) |
| Standard function for a ManagedMonitorToolBase . More...
|
|
virtual StreamNameFcn * | streamNameFunction () |
| Returns the function object that converts logical paramters into a physical stream name. More...
|
|
virtual StatusCode | bookHists () |
| Calls bookHists( true, true, true ) and initializes lumiBlock and run numbers. More...
|
|
virtual StatusCode | fillHists () |
| Calls fillHists( bool, bool, bool ); if an eventBlock,lumiBlock, or run has turned over, calls procHists( bool, bool, bool ) and bookHists( bool, bool, bool ). More...
|
|
virtual StatusCode | finalHists () |
| Calls procHists( true, true, true ). More...
|
|
virtual StatusCode | bookHistogramsRecurrent () |
| An inheriting class should either override this function, bookHists() or bookHistograms(). More...
|
|
virtual void | setMonManager (AthenaMonManager *manager) |
| Takes a pointer to a managing object to get information from it when needed. More...
|
|
virtual StatusCode | regHist (TH1 *h, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram. More...
|
|
virtual StatusCode | regHist (TH1 *h, const MonGroup &group) |
| Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram. More...
|
|
virtual StatusCode | getHist (TH1 *&h, const std::string &hName, const std::string &system, Interval_t interval) |
| Returns a TH1 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH1 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH1 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH2 *&h, const std::string &hName, const std::string &system, Interval_t interval) |
| Returns a TH2 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH2 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH2 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | regEfficiency (TEfficiency *e, const MonGroup &group) |
| Registers a TEfficiency to be included in the output stream using logical parameters that describe the plot. More...
|
|
virtual StatusCode | regGraph (TGraph *g, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TGraph to be included in the output stream using logical parameters that describe the graph. More...
|
|
virtual StatusCode | regGraph (TGraph *g, const MonGroup &group) |
| Registers a TGraph to be included in the output stream using logical parameters that describe the graph. More...
|
|
virtual StatusCode | regTree (TTree *t, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TTree to be included in the output stream using logical parameters that describe it. More...
|
|
virtual StatusCode | regTree (TTree *t, const MonGroup &group) |
| Registers a TTree to be included in the output stream using logical parameters that describe it. More...
|
|
virtual StatusCode | writeAndDelete (TH1 *h, const MonGroup &group) |
| Write out histogram and delete it. More...
|
|
virtual StatusCode | deregHist (TH1 *h) |
| De-registers a TH1 from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregGraph (TGraph *g) |
| De-registers a TGraph from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const std::string &system, Interval_t interval) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const MonGroup &group) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | setupOutputStreams (std::vector< std::string > Mapping=std::vector< std::string >()) |
| This implementation does nothing—streams in this class should be managed by the AthenaMonManager. More...
|
|
virtual StatusCode | runStat () |
| This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ). More...
|
|
virtual bool | preSelector () |
|
virtual float | lbAverageInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average mu, i.e. More...
|
|
virtual float | lbInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Instantaneous number of interactions, i.e. More...
|
|
virtual float | lbAverageLuminosity (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1) More...
|
|
virtual float | lbLuminosityPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Instantaneous luminosity. More...
|
|
virtual double | lbDuration (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Luminosity block time (in seconds) More...
|
|
virtual float | lbAverageLivefraction (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average luminosity livefraction. More...
|
|
virtual float | livefractionPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Livefraction per bunch crossing ID. More...
|
|
virtual double | lbLumiWeight (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average Integrated Luminosity Live Fraction. More...
|
|
| MMTB_DEPRECATED (newLowStatInterval) |
|
| MMTB_DEPRECATED (newMedStatInterval) |
|
| MMTB_DEPRECATED (newHigStatInterval) |
|
| MMTB_DEPRECATED (newLowStat) |
|
| MMTB_DEPRECATED (newLumiBlock) |
|
| MMTB_DEPRECATED (newRun) |
|
| MMTB_DEPRECATED (newEventsBlock) |
|
| MMTB_DEPRECATED (endOfEventsBlock) |
|
| MMTB_DEPRECATED (endOfLowStat) |
|
| MMTB_DEPRECATED (endOfLumiBlock) |
|
| MMTB_DEPRECATED (endOfRun) |
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
virtual StatusCode | bookHistCollection (HistCollection *histCollection, std::string dataTypeName, std::string dataTypeTitle, std::string categoryName, std::string categoryTitle, std::string axisLabel, int numBins, float lowBound, float highBound, std::string parDir="", uint16_t toSkip=0) |
| Initializes the histograms in a histCollection and books them. More...
|
|
virtual StatusCode | bookLayHists (std::string histTypeDir, std::string parTypeDir, std::vector< TH1F * > &vector, std::string namePrefix, std::string titlePrefix, std::string xaxis, std::string yaxis, bool chanView=true, bool ignoreY=false, unsigned int numBins=100, float lowBound=0, float highbound=100) |
| Books a vector of histograms where each one corresponds to a layer of the CSC secbers. More...
|
|
virtual StatusCode | bookChamHists (std::string histTypeDir, std::string parTypeDir, std::vector< TH1F * > &histVector, std::string namePrefix, std::string titlePrefix, std::string xaxis="", std::string yaxis="", bool chanView=true, bool ignoreY=false, unsigned int numBins=100, float lowBound=0, float highbound=100) |
| Books a vector of histograms where each one corresponds to a secber of the CSC secbers. More...
|
|
virtual StatusCode | procParameter (const CscCalibResultCollection *parVals, ProcSetupInfo *simpleSet) |
| Processors a parameter type. More...
|
|
virtual StatusCode | copyDataToHists (HistCollection *histCollection) |
| Fills the histograms in the histCollection based on the data in the std::vector in the HistCollection. More...
|
|
virtual int | getLayIndex (int measuresPhi, int stationEta, int sector, int layer) |
| produces a unique number for every layer in the detector More...
|
|
virtual int | getChamIndex (int measuresPhi, int stationEta, int sector) |
| Produces a unique number for every secber in the detector. More...
|
|
virtual int | getSector (int stationPhi, int stationSize) |
| Produces a sector number from the phi and size of a station. More...
|
|
std::string | getEndCap (int eta) |
| Gets the letter endcap (A or C) for a given eta index (1,-1) More...
|
|
std::string | getGeoPath (int eta=-9999, int sector=-9999, int wireLayer=-9999, int measuresPhi=-9999, int channel=-9999) |
| getGeoPath creates a directory structure for a histogram based upon where it is in the CSC geometry. More...
|
|
std::string | getFullPath (const std::string &geoPath, const std::string &histTypeDir, const std::string &parTypeDir) |
| Geo path creates a directory structure for a histogram based upon its geoPath, the hist type dir (spectrum of values, per-channel values, etc), and the parTypeDir (pedestal, etc). More...
|
|
StatusCode | regManagedHistograms (std::vector< MgmtParams< TH1 > > &templateHistograms) |
|
StatusCode | regManagedGraphs (std::vector< MgmtParams< TGraph > > &templateGraphs) |
|
StatusCode | regManagedTrees (std::vector< MgmtParams< TTree > > &templateTrees) |
|
StatusCode | regManagedEfficiencies (std::vector< MgmtParams< TEfficiency > > &templateEfficiencies) |
|
StatusCode | parseList (const std::string &, std::vector< std::string > &) |
|
void | updateTriggersForGroups (std::vector< std::string > &) |
|
StatusCode | registerMetadata (const std::string &streamName, const std::string &hName, const MonGroup &group) |
|
StatusCode | THistSvc_deReg_fixTGraph (TFile *file, TGraph *theGraph, std::string &directoryName) |
| Fixes THistSvc->deReg(obj) when obj is TGraph instance. More...
|
|
unsigned int | get_nEvents () const |
|
long | get_procNEventsProp () const |
|
virtual bool | trigChainsArePassed (std::vector< std::string > &) |
|
virtual StreamNameFcn * | getNewStreamNameFcn () const |
|
bool | newLowStatIntervalFlag () const |
| Flag functions allowing clients to determine when to book new and process old histograms; values are updated by fillHists() based on counting lumiBlocks, and are correctly set when fillHistograms(), bookHistograms() and procHistograms() are called. More...
|
|
bool | newMedStatIntervalFlag () const |
|
bool | newHigStatIntervalFlag () const |
|
bool | newLowStatFlag () const |
|
bool | newLumiBlockFlag () const |
|
bool | newRunFlag () const |
|
bool | newEventsBlockFlag () const |
|
bool | endOfEventsBlockFlag () const |
|
bool | endOfLowStatFlag () const |
|
bool | endOfLumiBlockFlag () const |
|
bool | endOfRunFlag () const |
|
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution More...
|
|
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
|
void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. More...
|
|
|
unsigned int | m_maxHashId {} |
|
unsigned int | m_maxChamId {} |
|
unsigned int | m_numBad {} |
|
unsigned int | m_expectedChamberLayer {} |
|
bool | m_makeHashHists {} |
| Data output options. More...
|
|
bool | m_makeAllChan1dHists {} |
|
bool | m_makeAllChan2dHists {} |
|
bool | m_makeLayHists {} |
|
bool | m_makeLaySummHists {} |
|
bool | m_makeChamProfs {} |
|
bool | m_makeChamSummHists {} |
|
bool | m_makeChamHists {} |
|
bool | m_doAllDetailed {} |
|
bool | m_doBadDetailed {} |
|
int | m_maxDetailedChannels {} |
| To keep track of channels that should have more data printed to root file. More...
|
|
bool * | m_detailedHashIds {} |
|
bool | m_onlyExpectPrecisionHashIds {} |
| Hash Ids one would expect to be in calibration data. More...
|
|
std::set< int > | m_expectedHashIdsAll |
|
std::set< int > | m_expectedHashIdsPrec |
|
std::string | m_hashName |
| Naming info. More...
|
|
std::string | m_hashTitle |
|
std::string | m_allChan1dName |
|
std::string | m_allChan1dTitle |
|
std::string | m_allChan2dName |
|
std::string | m_allChan2dTitle |
|
std::string | m_chamProfName |
|
std::string | m_chamProfTitle |
|
std::string | m_layHistName |
|
std::string | m_layHistTitle |
|
std::string | m_chamSummHistName |
|
std::string | m_chamSummHistTitle |
|
std::string | m_chamHistName |
|
std::string | m_chamHistTitle |
|
std::string | m_laySummHistName |
|
std::string | m_laySummHistTitle |
|
int | m_histCol {} |
| Hist colors. More...
|
|
int | m_histColAlert {} |
|
std::string | m_generic_path_csccalibmonitoring |
| Path of histograms. More...
|
|
std::string | m_hashPath |
|
std::string | m_allChan2dPath |
|
std::string | m_chamProfPath |
|
std::string | m_layHistPath |
|
std::string | m_chamSummHistPath |
|
std::string | m_laySummHistPath |
|
DataVector< MonGroup > * | m_monGroupVec {} |
| Keeps track of MonGroups. More...
|
|
std::map< std::string, MonGroup * > | m_monGroupMap |
|
std::string | m_calibResultKey |
| Calibration result storegate key. More...
|
|
ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
|
SG::ReadCondHandleKey< CscCondDbData > | m_readKey {this, "ReadKey", "CscCondDbData", "Key of CscCondDbData"} |
| Access to COOL database. More...
|
|
bool | m_doStatDb {} |
|
HistCollection * | m_statDbColl {} |
|
std::map< Interval_t, std::vector< MgmtParams< TH1 > > > | m_templateHistograms |
|
std::map< Interval_t, std::vector< MgmtParams< TGraph > > > | m_templateGraphs |
|
std::map< Interval_t, std::vector< MgmtParams< TTree > > > | m_templateTrees |
|
std::map< Interval_t, std::vector< MgmtParams< TEfficiency > > > | m_templateEfficiencies |
|
std::vector< std::string > | m_vTrigChainNames |
|
std::vector< std::string > | m_vTrigGroupNames |
|
MDMap_t | m_metadataMap |
|
AthenaMonManager * | m_manager |
|
std::string | m_managerNameProp |
|
std::string | m_fileKey |
|
std::string | m_dataTypeStr |
|
std::string | m_environmentStr |
|
unsigned int | m_detailLevel |
|
AthenaMonManager::DataType_t | m_dataType |
|
AthenaMonManager::Environment_t | m_environment |
|
StreamNameFcn * | m_streamNameFcn |
|
ServiceHandle< ITHistSvc > | m_THistSvc |
|
PublicToolHandle< Trig::ITrigDecisionTool > | m_trigDecTool {this, "TrigDecisionTool",""} |
|
PublicToolHandle< ITriggerTranslatorTool > | m_trigTranslator {this,"TriggerTranslatorTool",""} |
|
ToolHandleArray< IDQFilterTool > | m_DQFilterTools {this,"FilterTools",{}} |
|
long | m_procNEventsProp |
|
std::string | m_path |
|
long | m_preScaleProp |
|
std::string | m_triggerChainProp |
|
std::string | m_triggerGroupProp |
|
bool | m_useTrigger |
|
unsigned int | m_lastLumiBlock |
|
unsigned int | m_lastRun |
|
int | m_lastLowStatInterval |
|
int | m_lastMedStatInterval |
|
int | m_lastHigStatInterval |
|
unsigned int | m_nEvents |
|
unsigned int | m_nEventsIgnoreTrigger |
|
unsigned int | m_nLumiBlocks |
|
bool | m_haveClearedLastEventBlock |
|
Class for monitoring pedestal calibration results.
This class monitors pedestals and noises created from CscCalcPed.cxx in the CscCalibAlgs package. It produces numerous histograms to illustrate the results. It runs during the finalize stage of the job. The info it looks at includes: -The pedestals and noises (sigma). -Pedestals and noises stored in COOL -Difference between these values -Chi^2 of pedestal fit
CscCalibMonToolBase provides the basis for much of the operation of this class. Generally, the program flow osciallates between base class functions and CscCalibMonToolPed functions.
Definition at line 35 of file CscCalibMonToolPed.h.
◆ MDMap_t
◆ StoreGateSvc_t
◆ Interval_t
An enumeration describing how detailed a particular monitoring object is.
summary: used to summarize the state of the system
runstat: same as summary
shift: used to flag potential problems
expert: essential for diagnosing problems identified by shift-level objects
debug: useful for standalone debugging, but not for routine monitoring; not essential for diagnosing problems during normal running
transient: too detailed to ever be written; always summarized by the user by means of another object An enumeration describing the interval over which a particular monitoring object is filled (i.e., interval over which the method Fill(...) is called). This information may be stored with the monitoring object if an application is only able to partially fill the object (i.e., a job sees only part of a run or fill). This information may be ignored in some running Environments. The 'fill' interval corresponds to a fill of the LHC. The 'all' interval corresponds to all available data. The 'lumiBlock' and 'fill' intervals are only valid for the 'collisions' DataType_t.
Enumerator |
---|
file | |
eventsBlock | |
lumiBlock | |
lowStat | |
medStat | |
higStat | |
run | |
fill | |
all | |
Definition at line 113 of file ManagedMonitorToolBase.h.
◆ MgmtAttr_t
An enumeration describing how the class handles the histogram.
attrib_unmanaged: histograms with this attribute will not be rebooked automatically and must be managed by the user code.
attrib_x_is_lb: indicates that the x-axis of the histogram is the luminosity block number and that the histogram should be rebooked as necessary if the current LB exceeds the range.
Enumerator |
---|
ATTRIB_MANAGED | |
ATTRIB_UNMANAGED | |
ATTRIB_X_VS_LB | |
Definition at line 130 of file ManagedMonitorToolBase.h.
◆ CscCalibMonToolPed()
CscCalibMonToolPed::CscCalibMonToolPed |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~CscCalibMonToolPed()
CscCalibMonToolPed::~CscCalibMonToolPed |
( |
| ) |
|
|
inline |
◆ bookChamHists()
StatusCode CscCalibMonToolBase::bookChamHists |
( |
std::string |
histTypeDir, |
|
|
std::string |
parTypeDir, |
|
|
std::vector< TH1F * > & |
histVector, |
|
|
std::string |
namePrefix, |
|
|
std::string |
titlePrefix, |
|
|
std::string |
xaxis = "" , |
|
|
std::string |
yaxis = "" , |
|
|
bool |
chanView = true , |
|
|
bool |
ignoreY = false , |
|
|
unsigned int |
numBins = 100 , |
|
|
float |
lowBound = 0 , |
|
|
float |
highbound = 100 |
|
) |
| |
|
protectedvirtualinherited |
Books a vector of histograms where each one corresponds to a secber of the CSC secbers.
- Parameters
-
histTypeDir | The subdirectory where the histogram type should be stored (e.g "layerOverview") |
parTypeDir | The subdirectory where the parameter type (e.g ped, noise,etc) |
namePrefix | Something to put in front of the name. Rest is based on secber. |
titlePrefix | String to append to the front of the title. Rest is based on secber. |
xaxis | Title for x-axis. |
yaxis | Title for y-axis. |
chanView | If true, x-axis num-bins will be number of channels of a given layer. numbins, highBound, and lowBound will be ignored. |
ignoreY | Do not initialize histograms from the transverse direction. |
numBins | number of bins for each histoto |
lowBound | lower bound for histogram x-axis |
highBound | higher bound for histogram x-axis |
Definition at line 546 of file CscCalibMonToolBase.cxx.
554 static const int chanViewNBinsX = 800;
555 static const double chanViewLowBoundX = .5;
556 static const double chanViewHighBoundX = 800.5;
558 static const int chanViewNBinsY = 200;
559 static const double chanViewLowBoundY = .5;
560 static const double chanViewHighBoundY = 200.5;
567 std::string orientationName =
"prec";
568 std::string orientationTitle =
"Precision Direction";
570 int numHists = (ignoreY) ? 32 : 64;
571 histVector.resize(numHists,
nullptr);
573 const std::vector<Identifier> &
ids =
m_idHelperSvc->cscIdHelper().idVector();
575 for(
const auto & thisChamberId:
ids)
578 m_idHelperSvc->cscIdHelper().get_module_hash(thisChamberId,chamHash);
579 ATH_MSG_DEBUG(
"Booking histograms for chamber with hash " << (
int)chamHash );
581 stationSize =
m_idHelperSvc->cscIdHelper().stationName(thisChamberId);
586 for(
unsigned int orientationItr = 0; orientationItr < 2; orientationItr++)
588 if(orientationItr ==1)
592 orientationName =
"trans";
593 orientationTitle =
"Transverse Direction";
595 numBins = chanViewNBinsY;
602 orientationName =
"prec";
603 orientationTitle =
"Precision Direction";
605 numBins = chanViewNBinsX;
611 std::stringstream nameStream;
612 nameStream.setf(std::ios::right, std::ios::adjustfield);
613 nameStream << namePrefix <<
"_" << orientationName <<
"_eta_"
614 << ((
stationEta == 1) ?
"1" :
"0") <<
"_sector_"
615 << std::setw(2) << std::setfill(
'0')
618 std::stringstream titleStream;
620 titleStream << titlePrefix <<
", " << orientationTitle
622 <<
", Sector " << sector;
624 TH1F*
hist =
new TH1F(nameStream.str().c_str(), titleStream.str().c_str()
626 hist->GetXaxis()->SetTitle(xaxis.c_str());
627 hist->GetYaxis()->SetTitle(yaxis.c_str());
633 <<
hist->GetName() <<
" and chamIndex " << chamIndex );
635 histVector[chamIndex] =
hist;
647 return StatusCode::SUCCESS;
◆ bookHistCollection()
StatusCode CscCalibMonToolBase::bookHistCollection |
( |
HistCollection * |
histCollection, |
|
|
std::string |
dataTypeName, |
|
|
std::string |
dataTypeTitle, |
|
|
std::string |
categoryName, |
|
|
std::string |
categoryTitle, |
|
|
std::string |
axisLabel, |
|
|
int |
numBins, |
|
|
float |
lowBound, |
|
|
float |
highBound, |
|
|
std::string |
parDir = "" , |
|
|
uint16_t |
toSkip = 0 |
|
) |
| |
|
protectedvirtualinherited |
Initializes the histograms in a histCollection and books them.
This and the other booking function are used to enforce a central naming convention to the histograms. The Name
parameters are strings that will be input into the names of the historams, and the Title
parameters into the titles.
- Parameters
-
dataTypeName | indicates the dataType, like pedestal, noise, etc. |
dataTypeTitle | indicates the dataType, like pedestal,noise, etc. |
categoryName | indicates a category. Useful to specify new or COOL data. |
categoryTitle | indicates a category. Useful to specify new or COOL data. |
axisLabel | What the axis corresponding to the data type should be named. The other axis is determined depending on histogram type. |
numBins | For those histograms whose x-axis is the datatype, and not channels or similar. |
lowBound | For those histograms whose x-axis is the datatype, and not channels or similar. |
highBound | For those histograms whose x-axis is the datatype, and not channels or similar. |
parDir | is a parDirectory to store the resulting histograms in. |
toSkip | is a bit word that specifies when to allow certain histograms |
Definition at line 139 of file CscCalibMonToolBase.cxx.
157 std::string endDir =
"";
159 endDir =
"/" + parDir;
162 std::string allChambersDirectory =
"/GeneralCscHists";
176 std::string nameStart = std::move(dataTypeName) ;
177 if(categoryName !=
"" )
178 nameStart +=
"_" + categoryName;
180 std::string titleStart = categoryTitle +
" " + dataTypeTitle;
181 std::string yaxis=
"", xaxis =
"";
183 ATH_MSG_DEBUG(
"In bookHistCollection for " << nameStart <<
" series." );
187 for(
int measuresPhi =0; measuresPhi <=1; measuresPhi++) {
188 std::string
name =
"h_" + nameStart+
"_" + (measuresPhi ?
"phi" :
"eta") +
"_spectrum" ;
189 std::string
title = titleStart +
" " + (measuresPhi ?
"Phi Strips" :
"Eta Strips") +
" spectrum";
191 specHist->GetYaxis()->SetTitle(
"Counts");
192 specHist->GetXaxis()->SetTitle(axisLabel.c_str());
214 std::string
title = categoryTitle +
" " + dataTypeTitle +
" " +
m_hashTitle;
216 xaxis =
"Channel Hash ID";
218 hashHist->GetXaxis()->SetTitle(xaxis.c_str());
219 hashHist->GetYaxis()->SetTitle(yaxis.c_str());
225 if (!
monGroup.regHist(hashHist).isSuccess())
246 TH1F * allChan1dHistX =
new TH1F((
name+
"X").c_str(), (
title+
" - Precision strips").c_str(),
248 allChan1dHistX->GetXaxis()->SetTitle(xaxis.c_str());
249 allChan1dHistX->GetYaxis()->SetTitle(yaxis.c_str());
254 if (!
monGroup.regHist(allChan1dHistX).isSuccess())
264 TH1F * allChan1dHistY =
new TH1F((
name+
"Y").c_str(), (
title +
" - Transverse strips").c_str(),
266 allChan1dHistY->GetXaxis()->SetTitle(xaxis.c_str());
267 allChan1dHistY->GetYaxis()->SetTitle(yaxis.c_str());
270 if (!
monGroup.regHist(allChan1dHistY).isSuccess())
288 yaxis =
"Sector/Layer";
289 xaxis =
"Strip Number (Negative for Transverse Strips)";
315 nxbins,nxmin,nxmax,nybins,nymin,nymax);
316 allChan2dHist->GetXaxis()->SetTitle(xaxis.c_str());
317 allChan2dHist->GetYaxis()->SetTitle(yaxis.c_str());
322 if (!
monGroup.regHist(allChan2dHist).isSuccess())
336 yaxis =
"Average " + axisLabel;
337 xaxis =
"Sector * eta";
340 numSectors + 1, -16, 17);
341 chamProf->GetXaxis()->SetTitle(xaxis.c_str());
342 chamProf->GetYaxis()->SetTitle(yaxis.c_str());
347 if (!
monGroup.regHist(chamProf).isSuccess())
362 ATH_MSG_DEBUG(
"Registering set with prefix" << namePrefix );
367 ATH_MSG_ERROR(
"failed to register " << namePrefix <<
" (layer histograms) " );
379 ATH_MSG_DEBUG(
"Registering set with prefix" << namePrefix );
385 <<
" (chamber summary histograms) " );
397 ATH_MSG_DEBUG(
"Registering set with prefix" << namePrefix );
403 <<
" (chamber summary histograms) " );
415 ATH_MSG_DEBUG(
"Registering set with prefix" << namePrefix );
418 namePrefix, titlePrefix, xaxis,yaxis,
421 ATH_MSG_ERROR(
" Failed to register " << namePrefix <<
" (Layer summary hists) " );
426 return StatusCode::SUCCESS;
428 return StatusCode::FAILURE;
◆ bookHistograms()
StatusCode CscCalibMonToolPed::bookHistograms |
( |
| ) |
|
|
virtual |
Books all histograms not retrieved driectly from CscCalcPed.
Reimplemented from CscCalibMonToolBase.
Definition at line 108 of file CscCalibMonToolPed.cxx.
127 int highbound,lowbound,
nbins;
130 name =
"h_csc_calib_numSignificant";
131 title =
"Number of significant results.";
133 yaxis =
"Num channels with bad value.";
136 m_h_numBad =
new TH1I(
name.c_str(),
title.c_str(),highbound-lowbound+1,lowbound,highbound+1);
137 m_h_numBad->GetYaxis()->SetTitle(yaxis.c_str());
138 m_h_numBad->GetXaxis()->SetTitle(xaxis.c_str());
139 std::stringstream pedBinTitle; pedBinTitle <<
"#Delta ped > " <<
m_pedMaxDiff;
141 std::stringstream noiseBinTitle; noiseBinTitle <<
"#Delta noise > "<<
m_noiseMaxDiff;
143 std::stringstream rmsBinTitle; rmsBinTitle <<
"#Delta RMS > " <<
m_rmsMaxDiff;
145 std::stringstream f001BinTitle; f001BinTitle <<
"#Delta F001 > " <<
m_f001MaxDiff;
147 std::stringstream statisticsBinTitle; statisticsBinTitle <<
"N Entries < " <<
m_minAmpHistEntries;
149 std::stringstream chiBinTitle; chiBinTitle <<
"#frac{#chi^{2}}{ndf} > " <<
m_chi2Max;
157 name =
"h_csc_calib_pedMissingChannels";
158 title =
"Channels Missing Data From Pedestal Run.";
159 xaxis =
"Channel (Hash ID)";
160 yaxis =
"Number of Parameter Types Missing";
171 std::string pedDataName =
"ped";
172 std::string pedDataTitle =
"Pedestals";
173 std::string pedSubDir =
"Ped";
175 std::string noiseDataName =
"noise";
176 std::string noiseDataTitle =
"Noise (ped sigma)";
177 std::string noiseSubDir =
"Noise";
179 std::string chi2DataName =
"chi2";
180 std::string chi2DataTitle =
"Chi^2/ndf for Pedestal Gaussian Fit";
181 std::string chi2SubDir =
"Chi2";
183 std::string rmsDataName =
"rms";
184 std::string rmsDataTitle =
"RMS from gaussian distribution";
185 std::string rmsSubDir =
"RMS";
187 std::string f001DataName =
"f001";
188 std::string f001DataTitle =
"F001";
189 std::string f001SubDir =
"F001";
191 std::string onlTHoldBreachDataName =
"onlTHoldBreach";
192 std::string onlTHoldBreachDataTitle =
"Online Threshold Breaches";
193 std::string onlTHoldBreachSubDir =
"OnlTHoldBreaches";
195 std::string nEntriesDataName =
"nEntries";
196 std::string nEntriesDataTitle =
"Number of Entries from Pedestal Amplitude Hist";
197 std::string nEntriesSubDir =
"NumEntries";
199 std::string maxBitCorrDataName =
"maxBitCorr";
200 std::string maxBitCorrDataTitle =
"Maximimum Bit Correlation";
201 std::string maxBitCorrSubDir =
"MaxBitCorr";
205 std::string newCatName =
"new";
206 std::string newCatTitle =
"New";
208 std::string oldCatName =
"old";
209 std::string oldCatTitle =
"COOL";
211 std::string diffCatName =
"diff";
212 std::string diffCatTitle =
"Change of ";
215 std::string pedAxisLabel =
"Pedestal Mean (ADC counts)";
216 std::string pedDiffAxisLabel =
"Pedestal Difference (ADC counts)";
218 float pedLowBound = 1900;
219 float pedHighBound = 2200;
221 std::string noiseAxisLabel =
"Pedestal Noise (ADC counts)";
222 std::string noiseDiffAxisLabel =
"Noise Difference (ADC counts)";
223 int noiseNumBins = 300;
224 float noiseLowBound = 0;
225 float noiseHighBound = 30;
227 std::string chi2AxisLabel =
"Chi^2/ndf";
228 int chi2NumBins = 500;
229 float chi2LowBound = 0;
230 float chi2HighBound = 500;
232 std::string rmsAxisLabel =
"RMS (ADC Counts)";
233 std::string rmsDiffAxisLabel =
"RMS Difference (ADC Counts)";
234 int rmsNumBins = 300;
235 float rmsLowBound =0;
236 float rmsHighBound = 30;
238 std::string f001AxisLabel =
"F001 (ADC)";
239 std::string f001DiffAxisLabel =
"F001 Difference (ADC)";
240 int f001NumBins = 350;
241 float f001LowBound =1950;
242 float f001HighBound = 2300;
244 std::string nEntriesAxisLabel =
"Number of Entries";
245 int nEntriesNumBins = 20;
246 float nEntriesLowBound = 0;
247 float nEntriesHighBound = 10000;
250 std::string maxBitCorrAxisLabel =
"Correlation";
251 int maxBitCorrNumBins = 300;
252 float maxBitCorrLowBound = -3;
253 float maxBitCorrHighBound = 3;
291 pedAxisLabel, pedNumBins, pedLowBound, pedHighBound, pedSubDir) );
295 pedAxisLabel, pedNumBins, pedLowBound, pedHighBound, pedSubDir) );
299 pedDiffAxisLabel, 100, -2, 2, pedSubDir) );
303 newCatTitle, noiseAxisLabel, noiseNumBins, noiseLowBound, noiseHighBound, noiseSubDir) );
307 oldCatTitle, noiseAxisLabel, 100, -2, 2, noiseSubDir) );
311 diffCatTitle, noiseDiffAxisLabel, noiseNumBins, -1*noiseHighBound, noiseHighBound,noiseSubDir) );
315 newCatTitle, rmsAxisLabel, rmsNumBins, rmsLowBound, rmsHighBound, rmsSubDir) );
319 oldCatTitle, rmsAxisLabel, rmsNumBins, rmsLowBound, rmsHighBound, rmsSubDir) );
323 diffCatTitle, rmsDiffAxisLabel, rmsNumBins, -1*rmsHighBound, rmsHighBound,rmsSubDir) );
327 newCatTitle, f001AxisLabel, f001NumBins, f001LowBound, f001HighBound, f001SubDir) );
331 oldCatTitle, f001AxisLabel, 100, -2, 2, f001SubDir) );
335 diffCatTitle, f001DiffAxisLabel, 60, -30, 30, f001SubDir) );
339 "" ,
"Number of Online THold Breachs", 100, 0, 1000, onlTHoldBreachSubDir) );
343 "", nEntriesAxisLabel, nEntriesNumBins, nEntriesLowBound, nEntriesHighBound, nEntriesSubDir, nEntriesHistMask) );
346 chi2AxisLabel, chi2NumBins, chi2LowBound, chi2HighBound, chi2SubDir) );
352 "",
"", maxBitCorrAxisLabel, maxBitCorrNumBins, maxBitCorrLowBound,
353 maxBitCorrHighBound, maxBitCorrSubDir) );
357 return StatusCode::SUCCESS;
◆ bookHistogramsRecurrent()
StatusCode ManagedMonitorToolBase::bookHistogramsRecurrent |
( |
| ) |
|
|
virtualinherited |
◆ bookHists()
StatusCode ManagedMonitorToolBase::bookHists |
( |
| ) |
|
|
virtualinherited |
◆ bookLayHists()
StatusCode CscCalibMonToolBase::bookLayHists |
( |
std::string |
histTypeDir, |
|
|
std::string |
parTypeDir, |
|
|
std::vector< TH1F * > & |
vector, |
|
|
std::string |
namePrefix, |
|
|
std::string |
titlePrefix, |
|
|
std::string |
xaxis, |
|
|
std::string |
yaxis, |
|
|
bool |
chanView = true , |
|
|
bool |
ignoreY = false , |
|
|
unsigned int |
numBins = 100 , |
|
|
float |
lowBound = 0 , |
|
|
float |
highbound = 100 |
|
) |
| |
|
protectedvirtualinherited |
Books a vector of histograms where each one corresponds to a layer of the CSC secbers.
- Parameters
-
histTypeDir | The subdirectory where the histogram type should be stored (e.g "layerOverview") |
parTypeDir | The subdirectory where the parameter type (e.g ped, noise,etc) |
namePrefix | Something to put in front of the name. Rest is based on layer. |
titlePrefix | String to append to the front of the title. Rest is based on layer. |
xaxis | Title for x-axis. |
yaxis | Title for y-axis. |
chanView | If true, x-axis num-bins will be number of channels of a given layer. numbins, highBound, and lowBound will be ignored. |
ignoreY | Do not initialize histograms from the transverse direction. |
numBins | number of bins for each histoto |
lowBound | lower bound for histogram x-axis |
highBound | higher bound for histogram x-axis |
Definition at line 431 of file CscCalibMonToolBase.cxx.
443 std::string orientationName =
"prec";
444 std::string orientationTitle =
"Precision Direction";
446 int numHists = 32 * ( (ignoreY) ? 4 : 8);
447 histVector.resize(numHists,
nullptr);
449 ATH_MSG_DEBUG(
"Allocated space for " << numHists <<
" histograms" );
451 const std::vector<Identifier> &
ids =
m_idHelperSvc->cscIdHelper().idVector();
452 for(
const auto & thisChamberId:
ids)
455 m_idHelperSvc->cscIdHelper().get_module_hash(thisChamberId,chamHash);
456 ATH_MSG_DEBUG(
"Booking histograms for chamber with hash " << (
int)chamHash );
458 stationSize =
m_idHelperSvc->cscIdHelper().stationName(thisChamberId);
463 for(
unsigned int orientationItr = 0; orientationItr < 2; orientationItr++)
465 if(orientationItr ==1)
475 orientationName =
"trans";
476 orientationTitle =
"Transverse Direction";
486 orientationName =
"prec";
487 orientationTitle =
"Precision Direction";
490 for(
unsigned int layItr = 1; layItr <= 4; layItr++)
493 <<
" With highbound/lowbound/nbins "
496 std::stringstream nameStream;
497 nameStream.setf(std::ios::right, std::ios::adjustfield);
498 nameStream << namePrefix;
499 nameStream <<
"_" << orientationName <<
"_eta_";
500 nameStream << ((
stationEta == 1) ?
"1" :
"0");
501 nameStream <<
"_sector_" << std::setw(2) << std::setfill(
'0') << sector;
502 nameStream <<
"_layer_" << layItr;
504 std::stringstream titleStream;
505 titleStream << titlePrefix <<
", " << orientationTitle;
506 titleStream <<
", Sector " << sector;
508 titleStream <<
", Layer " << layItr;
511 << titleStream.str() <<
"On orientation " << orientationItr <<
" With highbound/lowbound/nbins " <<
highBound <<
"/" <<
lowBound <<
"/" << numBins );
513 TH1F*
hist =
new TH1F(nameStream.str().c_str(), titleStream.str().c_str(),
515 hist->GetXaxis()->SetTitle(xaxis.c_str());
516 hist->GetYaxis()->SetTitle(yaxis.c_str());
530 <<
" with layIndex" << layIndex );
531 return StatusCode::FAILURE;
535 ATH_MSG_DEBUG(
"Succesfully registered histogram with layIndex "
536 << layIndex <<
" and name " <<
hist->GetName() );
537 histVector[layIndex] =
hist;
542 return StatusCode::SUCCESS;
◆ checkHists()
StatusCode CscCalibMonToolBase::checkHists |
( |
bool |
fromFinalise | ) |
|
|
virtualinherited |
◆ copyDataToHists()
StatusCode CscCalibMonToolBase::copyDataToHists |
( |
HistCollection * |
histCollection | ) |
|
|
protectedvirtualinherited |
Fills the histograms in the histCollection based on the data in the std::vector in the HistCollection.
Definition at line 889 of file CscCalibMonToolBase.cxx.
905 ATH_MSG_DEBUG(
"Copying data to hist collection, doing: All Channels (hash view):"
907 <<
"All Channels (1d view) " << (
int)doHash
908 <<
"All Channels (2d view) " << (
int)doHash
909 <<
" layer overview " << (
int)doLayChan
910 <<
" layer spectrum " << (
int)doLaySummary
911 <<
" sector prof " << (
int)doChamAvg
912 <<
" chamber overview " << (
int)doChamChan
913 <<
" chamber spectrum " << (
int)doChamSummary
921 const std::vector<Identifier> &
ids =
m_idHelperSvc->cscIdHelper().idVector();
922 for(
const auto & thisChamberId:
ids)
925 m_idHelperSvc->cscIdHelper().get_module_hash(thisChamberId,chamHash);
926 ATH_MSG_DEBUG(
"Copying data to histograms for chamber with hash" << (
int)chamHash );
928 unsigned int stationSize =
m_idHelperSvc->cscIdHelper().stationName(thisChamberId);
937 std::vector<Identifier> stripVect;
938 m_idHelperSvc->cscIdHelper().idChannels(thisChamberId,stripVect);
940 for(
const auto & thisStrip:stripVect)
942 unsigned int chamberLayer =
m_idHelperSvc->cscIdHelper().chamberLayer(thisStrip);
943 if(chamberLayer != 2)
945 int measuresPhi =
m_idHelperSvc->cscIdHelper().measuresPhi(thisStrip);
950 m_idHelperSvc->cscIdHelper().get_channel_hash(thisStrip,stripHash);
954 float datum =
data.at(stripHash);
958 <<
"\tsecLayer: " << secLayer
959 <<
"\tdata: " << datum );
974 <<
"\tsecLayer: " << secLayer
975 <<
"\tdata: " << datum );
978 double modifiedStripNum =
981 + ((
strip-1) * .25 /(48))
987 modifiedStripNum, datum);
989 double modifiedStripNum =
992 + ((
strip-1) * .25 /(192 ))
997 modifiedStripNum, datum);
1005 <<
"\tsecLayer: " << secLayer
1006 <<
"\tdata: " << datum );
1009 int modifiedStripNum =
static_cast<int>(
strip) * (measuresPhi ? -1 : 1);
1011 modifiedStripNum, secLayer, std::abs(datum));
1041 int shiftedStrip =
strip + (
layer-1)*( measuresPhi ? 50 : 200);
1043 (*(
histCollection->chamHistVect))[chamIndex]->SetBinContent(shiftedStrip,datum);
1052 return StatusCode::SUCCESS;
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ deregGraph()
StatusCode ManagedMonitorToolBase::deregGraph |
( |
TGraph * |
g | ) |
|
|
virtualinherited |
◆ deregHist()
StatusCode ManagedMonitorToolBase::deregHist |
( |
TH1 * |
h | ) |
|
|
virtualinherited |
◆ deregObject() [1/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1643 of file ManagedMonitorToolBase.cxx.
◆ deregObject() [2/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1633 of file ManagedMonitorToolBase.cxx.
◆ detStore()
◆ endOfEventsBlockFlag()
bool ManagedMonitorToolBase::endOfEventsBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ endOfLowStatFlag()
bool ManagedMonitorToolBase::endOfLowStatFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ endOfLumiBlockFlag()
bool ManagedMonitorToolBase::endOfLumiBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ endOfRunFlag()
bool ManagedMonitorToolBase::endOfRunFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ fillHistograms()
StatusCode CscCalibMonToolBase::fillHistograms |
( |
| ) |
|
|
virtualinherited |
◆ fillHists()
StatusCode ManagedMonitorToolBase::fillHists |
( |
| ) |
|
|
virtualinherited |
Calls fillHists( bool, bool, bool ); if an eventBlock,lumiBlock, or run has turned over, calls procHists( bool, bool, bool ) and bookHists( bool, bool, bool ).
Implements IMonitorToolBase.
Reimplemented in TileRawChannelMonTool, and TileDigitsMonTool.
Definition at line 740 of file ManagedMonitorToolBase.cxx.
746 msg(MSG::WARNING) <<
"ManagedMonitorToolBase::initialize() never called from reimplementation!" <<
endmsg;
757 newLumiBlock =
false;
763 newLowStatInterval =
false;
764 newMedStatInterval =
false;
765 newHigStatInterval =
false;
778 isNewEventsBlock =
true;
793 if( LBsLowStat*LBsMedStat*LBsHigStat == 0) {
794 msg(MSG::WARNING) <<
"zero LBs requested for interval" <<
endmsg;
846 std::vector<Interval_t> intervals_to_process;
851 for (
const auto interval: intervals_to_process) {
863 it.m_templateHist->LabelsInflate(
"X");
870 TH1* passedHist =
it.m_templateHist->GetCopyPassedHisto();
871 TH1* totalHist =
it.m_templateHist->GetCopyTotalHisto();
874 passedHist->LabelsInflate(
"X");
875 totalHist->LabelsInflate(
"X");
880 it.m_templateHist->SetPassedHistogram(*passedHist,
"f");
881 it.m_templateHist->SetTotalHistogram(*totalHist,
" ");
889 streamname->updateRunLB();
899 bool filterresult(
true);
902 for (; filterresult && (ifilter != filterend);
904 filterresult = (filterresult && (*ifilter)->accept());
934 if( LBsLowStat*LBsMedStat*LBsHigStat > 0) {
942 return StatusCode::SUCCESS;
◆ finalHists()
StatusCode ManagedMonitorToolBase::finalHists |
( |
| ) |
|
|
virtualinherited |
◆ finalize()
StatusCode CscCalibMonToolPed::finalize |
( |
| ) |
|
|
virtual |
◆ genThreshold()
Definition at line 511 of file CscCalibMonToolPed.cxx.
512 for(
unsigned int chanItr = 0 ; chanItr <=
m_maxHashId; chanItr++) {
513 tholdColl->data[chanItr] = pedColl->data[chanItr] + multiplier*noiseColl->data[chanItr];
◆ get_nEvents()
unsigned int ManagedMonitorToolBase::get_nEvents |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ get_procNEventsProp()
long ManagedMonitorToolBase::get_procNEventsProp |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ getChamIndex()
int CscCalibMonToolBase::getChamIndex |
( |
int |
measuresPhi, |
|
|
int |
stationEta, |
|
|
int |
sector |
|
) |
| |
|
protectedvirtualinherited |
Produces a unique number for every secber in the detector.
Definition at line 1064 of file CscCalibMonToolBase.cxx.
1066 int chamIndex = measuresPhi*32
◆ getEndCap()
std::string CscCalibMonToolBase::getEndCap |
( |
int |
eta | ) |
|
|
protectedinherited |
◆ getFullPath()
std::string CscCalibMonToolBase::getFullPath |
( |
const std::string & |
geoPath, |
|
|
const std::string & |
histTypeDir, |
|
|
const std::string & |
parTypeDir |
|
) |
| |
|
protectedinherited |
Geo path creates a directory structure for a histogram based upon its geoPath, the hist type dir (spectrum of values, per-channel values, etc), and the parTypeDir (pedestal, etc).
This provides a centralized, consistent way of generating the paths
Definition at line 1184 of file CscCalibMonToolBase.cxx.
1186 std::stringstream
ss;
1190 if(histTypeDir !=
"")
1191 ss <<
"/" << histTypeDir;
1193 if(parTypeDir !=
"")
1194 ss <<
"/" << parTypeDir;
◆ getGeoPath()
std::string CscCalibMonToolBase::getGeoPath |
( |
int |
eta = -9999 , |
|
|
int |
sector = -9999 , |
|
|
int |
wireLayer = -9999 , |
|
|
int |
measuresPhi = -9999 , |
|
|
int |
channel = -9999 |
|
) |
| |
|
protectedinherited |
getGeoPath creates a directory structure for a histogram based upon where it is in the CSC geometry.
The user fills the data down as far as they like. For example, just filling in eta and sector will provide a path for a sector-wide histogram. This provides a centralized location to change the layout of the root output file.
Definition at line 1097 of file CscCalibMonToolBase.cxx.
1099 std::stringstream
ss;
1101 static const std::string histStr =
"/_hists";
1102 static const std::string errorDir =
"/ERROR";
1104 ss << std::setfill(
'0');
1109 ss <<
"/CscOverview";
1114 if(endCap ==
"ERROR")
1120 ss <<
"/EndCap" << endCap;
1128 if(sector <1 || sector > 16)
1134 ss <<
"/Sector" << std::setw(2) << sector;
1136 if(wireLayer == -9999)
1142 if(wireLayer < 1 || wireLayer > 4)
1144 ATH_MSG_ERROR(
"WireLayer " << wireLayer <<
" is invalid." );
1148 ss <<
"/Layer" << wireLayer;
1150 if(measuresPhi == -9999)
1156 if(measuresPhi < 0 || measuresPhi > 1)
1158 ATH_MSG_ERROR(
"MeasuresPhi " << measuresPhi <<
" is invalid." );
1162 ss << (measuresPhi ?
"/Phi" :
"/Eta");
1172 ATH_MSG_ERROR(
"Channel " <<
channel <<
" is invalid for a " << (measuresPhi ?
"phi layers" :
"eta layer") );
1177 ss <<
"/Channel" << std::setw( measuresPhi ? 2 : 3 ) <<
channel;
◆ getHist() [1/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1419 of file ManagedMonitorToolBase.cxx.
◆ getHist() [2/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1409 of file ManagedMonitorToolBase.cxx.
◆ getHist() [3/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1438 of file ManagedMonitorToolBase.cxx.
◆ getHist() [4/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1428 of file ManagedMonitorToolBase.cxx.
◆ getLayIndex()
int CscCalibMonToolBase::getLayIndex |
( |
int |
measuresPhi, |
|
|
int |
stationEta, |
|
|
int |
sector, |
|
|
int |
layer |
|
) |
| |
|
protectedvirtualinherited |
produces a unique number for every layer in the detector
Definition at line 1055 of file CscCalibMonToolBase.cxx.
1057 int layIndex = measuresPhi*32*4
◆ getNewStreamNameFcn()
|
protectedvirtualinherited |
Definition at line 2157 of file ManagedMonitorToolBase.cxx.
2160 StreamNameFcn* fcn(0);
2164 fcn =
new NoOutputStream();
2167 fcn =
new OnlineStream();
◆ getSector()
int CscCalibMonToolBase::getSector |
( |
int |
stationPhi, |
|
|
int |
stationSize |
|
) |
| |
|
protectedvirtualinherited |
◆ handleParameter()
handleParameter sets things up for the base class procParameter.
It makes decisions based on the parameter being passed in parVals on how to handle the data It then copies the arrays generated from procParameter to all the appropriate histograms
- Parameters
-
parVals | Values for a particular parameter |
Reimplemented from CscCalibMonToolBase.
Definition at line 362 of file CscCalibMonToolPed.cxx.
369 ProcSetupInfo ProcParameterInput;
381 return StatusCode::FAILURE;
386 ProcParameterInput.dbName = parVals->
parName();
392 ProcParameterInput.doChi2 =
true;
402 ProcParameterInput.dbName = parVals->
parName();
408 ProcParameterInput.doChi2 =
false;
417 ProcParameterInput.dbName = parVals->
parName();
423 ProcParameterInput.doChi2 =
false;
432 ProcParameterInput.dbName = parVals->
parName();
438 ProcParameterInput.doChi2 =
false;
445 else if (
parName ==
"OnlTHoldBreaches"){
451 ProcParameterInput.expectedVal = 0;
455 ProcParameterInput.doChi2 =
false;
464 ATH_MSG_INFO(
"CscCalibMonToolPed : Did not recognize parameter name "
465 <<
parName <<
". This is usually ok." );
466 return StatusCode::SUCCESS;
475 ATH_MSG_FATAL(
"CscCalibMonToolPed : Failed to process parameter "
477 return StatusCode::FAILURE;
505 if(
parName ==
"OnlTHoldBreaches"){
508 return StatusCode::SUCCESS;
◆ initialize()
StatusCode CscCalibMonToolPed::initialize |
( |
| ) |
|
|
virtual |
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ interfaceID()
static const InterfaceID& IMonitorToolBase::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
◆ intervalEnumToString()
std::string ManagedMonitorToolBase::intervalEnumToString |
( |
Interval_t |
interval | ) |
|
|
staticinherited |
Converts a LevelOfDetail_t to a string of the same name.
Converts a string to the corresponding LevelOfDetail_t. Converts a Interval_t to a string of the same name.
Definition at line 536 of file ManagedMonitorToolBase.cxx.
539 std::string
str(
"file");
◆ intervalStringToEnum()
Converts a string to the corresponding Interval_t.
Definition at line 578 of file ManagedMonitorToolBase.cxx.
581 std::string lcstr( strToLower(
str) );
585 else if( lcstr ==
"fill" )
587 else if( lcstr ==
"run" )
589 else if( lcstr ==
"lowStat" )
591 else if( lcstr ==
"medStat" )
593 else if( lcstr ==
"higStat" )
595 else if( lcstr ==
"lumiBlock" )
597 else if( lcstr ==
"eventsBlock" )
599 else if( lcstr ==
"file" )
605 MsgStream
log(
ms,
"ManagedMonitorToolBase::intervalStringToEnum()" );
606 log << MSG::WARNING <<
"Unknown ManagedMonitorToolBase::Interval_t \""
607 <<
str <<
"\", returning \"file\"" <<
endmsg;
◆ lbAverageInteractionsPerCrossing()
float ManagedMonitorToolBase::lbAverageInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average mu, i.e.
<mu>
Definition at line 1693 of file ManagedMonitorToolBase.cxx.
1698 return lumi->lbAverageInteractionsPerCrossing();
1701 ATH_MSG_DEBUG(
"Warning: lbAverageInteractionsPerCrossing() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbAverageLivefraction()
float ManagedMonitorToolBase::lbAverageLivefraction |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average luminosity livefraction.
Definition at line 1762 of file ManagedMonitorToolBase.cxx.
1770 return live->lbAverageLiveFraction();
1773 ATH_MSG_DEBUG(
"Warning: lbAverageLivefraction() - luminosity not availble (i.e. EnableLumi = False)");
◆ lbAverageLuminosity()
float ManagedMonitorToolBase::lbAverageLuminosity |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1)
Definition at line 1729 of file ManagedMonitorToolBase.cxx.
1734 return lumi->lbAverageLuminosity();
1737 ATH_MSG_DEBUG(
"Warning: lbAverageLuminosity() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbDuration()
double ManagedMonitorToolBase::lbDuration |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Luminosity block time (in seconds)
Definition at line 1816 of file ManagedMonitorToolBase.cxx.
1824 return dur->lbDuration();
1827 ATH_MSG_DEBUG(
"Warning: lbDuration() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbInteractionsPerCrossing()
float ManagedMonitorToolBase::lbInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Instantaneous number of interactions, i.e.
mu
Definition at line 1709 of file ManagedMonitorToolBase.cxx.
1714 float muToLumi =
lumi->muToLumi();
1716 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id()) / muToLumi;
1721 ATH_MSG_DEBUG(
"Warning: lbInteractionsPerCrossing() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbLuminosityPerBCID()
float ManagedMonitorToolBase::lbLuminosityPerBCID |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Instantaneous luminosity.
Definition at line 1745 of file ManagedMonitorToolBase.cxx.
1750 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id());
1753 ATH_MSG_DEBUG(
"Warning: lbLuminosityPerBCID() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbLumiWeight()
double ManagedMonitorToolBase::lbLumiWeight |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average Integrated Luminosity Live Fraction.
Definition at line 1800 of file ManagedMonitorToolBase.cxx.
1807 ATH_MSG_DEBUG(
"Warning: lbLumiWeight() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ livefractionPerBCID()
float ManagedMonitorToolBase::livefractionPerBCID |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Livefraction per bunch crossing ID.
Definition at line 1781 of file ManagedMonitorToolBase.cxx.
1789 return live->l1LiveFractionVector().at (ctx.eventID().bunch_crossing_id());
1792 ATH_MSG_DEBUG(
"Warning: livefractionPerBCID() - luminosity retrieved available (i.e. EnableLumi = False)");
◆ makeErrorReport()
void CscCalibMonToolPed::makeErrorReport |
( |
| ) |
|
|
private |
Definition at line 784 of file CscCalibMonToolPed.cxx.
788 report <<
"Num channels with Delta Ped > " <<
m_pedMaxDiff <<
" : " << numBadPed << std::endl ;
791 report <<
"Num channels with Delta RMS > " <<
m_rmsMaxDiff <<
" : " << numBadRms << std::endl ;
794 report <<
"Num channels with Delta f001 > " <<
m_f001MaxDiff <<
" : " << numBadF001 << std::endl ;
797 report <<
"Num channels with Delta sigma > " <<
m_noiseMaxDiff <<
" : " << numBadNoise << std::endl ;
801 <<
": " << numBadNEntries <<std::endl ;
805 <<
": " << numBreachEntries <<std::endl ;
807 if(!(numBadPed >100 || numBadRms > 100 || numBadNEntries>0|| numBreachEntries > 0)){
809 allGoodFile <<
"All tests past.";
815 reportFile <<
"\n\n";
816 reportFile <<
report.str();
◆ MMTB_DEPRECATED() [1/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfEventsBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [2/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfLowStat |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [3/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfLumiBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [4/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfRun |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [5/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newEventsBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [6/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newHigStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [7/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLowStat |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [8/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLowStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [9/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLumiBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [10/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newMedStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [11/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newRun |
| ) |
|
|
inherited |
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ newEventsBlockFlag()
bool ManagedMonitorToolBase::newEventsBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newHigStatIntervalFlag()
bool ManagedMonitorToolBase::newHigStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLowStatFlag()
bool ManagedMonitorToolBase::newLowStatFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLowStatIntervalFlag()
bool ManagedMonitorToolBase::newLowStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLumiBlockFlag()
bool ManagedMonitorToolBase::newLumiBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newMedStatIntervalFlag()
bool ManagedMonitorToolBase::newMedStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newRunFlag()
bool ManagedMonitorToolBase::newRunFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ parseList()
StatusCode ManagedMonitorToolBase::parseList |
( |
const std::string & |
line, |
|
|
std::vector< std::string > & |
result |
|
) |
| |
|
protectedinherited |
◆ postProc()
StatusCode CscCalibMonToolPed::postProc |
( |
| ) |
|
|
privatevirtual |
postProc does some post processing work after the main parameter histograms are filled
Reimplemented from CscCalibMonToolBase.
Definition at line 518 of file CscCalibMonToolPed.cxx.
532 m_h2_rmsVnoiseEta =
new TH2I(
"rmsVsigma_eta",
"RMS versus sigma for #eta strips", 100, 0, 30, 100, 0,30) ;
537 m_h2_rmsVnoisePhi =
new TH2I(
"rmsVsigma_phi",
"RMS versus sigma for #phi strips", 100, 0, 30, 100, 0,30) ;
547 return StatusCode::FAILURE;
551 for(
unsigned int hashId = 0; hashId <
nEntries; hashId++){
555 int measuresPhi =
m_idHelperSvc->cscIdHelper().measuresPhi(chanId);
575 <<
m_histKey <<
" aborting retrieving hists " );
576 return StatusCode::RECOVERABLE;
579 if(repCont->
size() != 1)
582 <<
" does not have a size of one. Do not know how to proceed, so aborting"
583 <<
" retrieving calibration histograms." );
584 return StatusCode::RECOVERABLE;
589 if(pedReport->
getLabel() !=
"pedAmps")
592 <<
" Aborting hist retrieval." );
593 return StatusCode::RECOVERABLE;
599 <<
" Won't be in monitoring output file" );
603 ATH_MSG_INFO(
"No bit histogram vector found from calibration. "
604 <<
" Won't be in monitoring output file. " );
614 for(
unsigned int idItr = 0; idItr <=
m_maxHashId; idItr++)
619 <<
" is being retrieved." );
624 int stationSize =
m_idHelperSvc->cscIdHelper().stationName(chanId);
627 int wireLayer =
m_idHelperSvc->cscIdHelper().wireLayer(chanId);
628 int measuresPhi =
m_idHelperSvc->cscIdHelper().measuresPhi(chanId);
634 std::string pedAmpPath =
getFullPath(geoPath,
"PedAmpHists",
"");
635 std::string sampPath =
getFullPath(geoPath,
"SampHists",
"");
636 std::string bitHistPath =
getFullPath(geoPath,
"BitHists",
"");
637 std::string bitCorrelationPath(
"");
639 bitCorrelationPath =
getFullPath(geoPath,
"BitCorrelations",
"");
641 ATH_MSG_DEBUG(
"Hash Id: " << idItr <<
". Booking channel histograms in paths : " << pedAmpPath <<
" and " << bitHistPath );
648 sourceHist =
const_cast<TH1I*
>((*pedAmpHists)[idItr]);
651 ATH_MSG_ERROR(
"There is no pedestal amplitude histogram with hashId "
653 return StatusCode::RECOVERABLE;
656 double nEntries = sourceHist->GetEntries();
661 <<
" but maximum m_nEntriesColl.data.size() == "
663 return StatusCode::RECOVERABLE;
675 std::stringstream
name;
678 <<
"_sector_" << sector
679 <<
"_layer_" << wireLayer
680 <<
"_" << (measuresPhi ?
"trans" :
"prec")
682 << std::setfill (
'0') << std::setw (measuresPhi ? 2 : 3)
687 sourceHist->SetName(
name.str().c_str());
696 size_t hNum = histVect->
size();
697 for(
size_t hCnt = 0; hCnt < hNum; hCnt++) {
698 sourceHist =
const_cast<TH1I*
>((*histVect)[hCnt]);
699 std::stringstream
name;
702 <<
"_sector_" << sector
703 <<
"_layer_" << wireLayer
704 <<
"_" << (measuresPhi ?
"trans" :
"prec")
706 << std::setfill (
'0') << std::setw (measuresPhi ? 2 : 3)
710 sourceHist->SetName(
name.str().c_str());
720 sourceHist =
const_cast<TH1I*
>((*bitHists)[idItr]);
724 << idItr <<
" Quiting out of detailed histogram loop." );
725 return StatusCode::RECOVERABLE;
728 std::stringstream name2;
731 <<
"_sector_" << sector
732 <<
"_layer_" << wireLayer
733 <<
"_" << (measuresPhi ?
"trans" :
"prec")
735 << std::setfill (
'0') << std::setw (measuresPhi ? 2 : 3)
737 sourceHist->SetName(name2.str().c_str());
745 TH2F*
hist =
const_cast<TH2F*
>((*bitCorrelations)[idItr]);
750 size_t nx =
hist->GetXaxis()->GetNbins();
751 size_t ny =
hist->GetYaxis()->GetNbins();
752 size_t x_cut = nx -1;
753 size_t y_cut = ny -1;
754 for(
size_t xi = 1; xi < x_cut; xi++){
755 for(
size_t yi = 1; yi < y_cut; yi++){
758 float val =
hist->GetBinContent(xi,yi);
770 ATH_MSG_DEBUG(
"No channels flagged for debug info retrieval" );
780 return StatusCode::SUCCESS;
◆ preSelector()
bool ManagedMonitorToolBase::preSelector |
( |
| ) |
|
|
virtualinherited |
◆ procHistograms()
StatusCode CscCalibMonToolBase::procHistograms |
( |
| ) |
|
|
virtualinherited |
◆ procParameter()
|
protectedvirtualinherited |
Processors a parameter type.
Typically called by derived classes' handleParameter. It does several things
-Fills the histograms in simpleSet -Determines if a given channel deviates too much from an expected value (expected value is from COOL or specified in simpleSet). -Optionally tests the chi^2 value in parVals -Fills the std::vectors in simpleSet. These vectors contain info such as the per-channel values, difference from old COOL values, and the COOL values themselves. -Looks for any expected channels missing in parVals. If so, it mentions it.
- Parameters
-
parVals | Collection of values for a given parameter |
simpleSet | contains a set of histograms and vectors to be filled. |
Definition at line 770 of file CscCalibMonToolBase.cxx.
773 ATH_MSG_DEBUG(
"Entering proc parameter for " << parVals->
parName() <<
". Max diff " << procParameterInput->maxDiff <<
"." );
774 if (procParameterInput->doChi2)
775 ATH_MSG_DEBUG(
" Will retrieve chi2 with expected max of " << procParameterInput->chi2Max );
779 std::set<int> missingChannels = procParameterInput->expectedChannels;
785 int numFailures = 0, maxFailures = 10;
788 const int hashId =
chan->hashId();
789 const float val =
chan->value();
794 missingChannels.erase(hashId);
797 if(procParameterInput->dbName !=
"")
800 if(!(readCdo->readChannelParam(hashId, oldVal, procParameterInput->dbName)).isSuccess())
804 <<
" for channel " << hashId
805 <<
" from COOL database. Continuing with COOL value = 0"
807 if(numFailures==maxFailures)
810 << maxFailures <<
" failed retrievals. Quiting. " );
811 return StatusCode::FAILURE;
818 oldVal = procParameterInput->expectedVal;
824 if( std::abs(
diff) > procParameterInput->maxDiff)
826 ATH_MSG_INFO(
"CscCalibMonToolBase : Possible problem! " << parVals->parName()
827 <<
" measurement of " <<
val <<
" varies by " <<
diff
828 <<
" from expected value of " << oldVal <<
" on channel with hash Id "
829 << hashId <<
". Specified maximum variance is " << procParameterInput->maxDiff );
831 procParameterInput->badHist->Fill(procParameterInput->badBin);
835 if(procParameterInput->doChi2)
837 chi2_ndf =
chan->chi2()/
chan->ndf();
838 if(chi2_ndf > procParameterInput->chi2Max)
840 procParameterInput->badHist->Fill(procParameterInput->chi2BadBin);
855 (*procParameterInput->vals)[hashId] =
val;
856 if((procParameterInput->errors->size()))
857 (*procParameterInput->errors)[hashId] =
error;
858 if(procParameterInput->oldVals)
859 (*procParameterInput->oldVals)[hashId] = oldVal;
860 if(procParameterInput->diffs)
861 (*procParameterInput->diffs)[hashId] =
diff;
862 if(procParameterInput->doChi2)
863 (*procParameterInput->chi2s)[hashId] = chi2_ndf;
867 if(missingChannels.size() !=0)
869 for(
const auto & thisChan: missingChannels)
871 if(procParameterInput->missingChans !=
nullptr)
875 if(!procParameterInput->missingChans->GetBinContent(thisChan+1))
876 procParameterInput->badHist->Fill(procParameterInput->missingBadBin);
878 procParameterInput->missingChans->Fill(thisChan);
883 return StatusCode::SUCCESS;
◆ regEfficiency()
StatusCode ManagedMonitorToolBase::regEfficiency |
( |
TEfficiency * |
e, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TEfficiency to be included in the output stream using logical parameters that describe the plot.
Definition at line 1446 of file ManagedMonitorToolBase.cxx.
1448 return StatusCode::FAILURE;
1450 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1451 std::string
name =
e->GetName();
1457 ATH_MSG_WARNING(
"HEY! Attempting to register "<<
name<<
" as a per-LB histogram, but not setting the merge algorithm! Use \"merge\", at least.");
1464 return StatusCode::FAILURE;
1474 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1481 if (
smd != StatusCode::SUCCESS)
1482 return StatusCode::FAILURE;
◆ regGraph() [1/2]
StatusCode ManagedMonitorToolBase::regGraph |
( |
TGraph * |
g, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 1500 of file ManagedMonitorToolBase.cxx.
1504 return StatusCode::FAILURE;
1517 return StatusCode::FAILURE;
1520 std::string
name =
g->GetName();
1528 std::string gName =
g->GetName();
1531 std::string genericName = NoOutputStream().getStreamName(
this,
group, gName );
1539 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regGraph() [2/2]
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 1490 of file ManagedMonitorToolBase.cxx.
◆ regHist() [1/2]
StatusCode ManagedMonitorToolBase::regHist |
( |
TH1 * |
h, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram.
A histogram is passed via reference to a pointer.
Definition at line 1354 of file ManagedMonitorToolBase.cxx.
1360 return StatusCode::FAILURE;
1373 ATH_MSG_WARNING(
"HEY! You're attempting to register " <<
h->GetName() <<
" as a per-LB histogram, but you're not setting the merge algorithm! This is a SUPER-BAD idea! Use \"merge\", at least.");
1380 return StatusCode::FAILURE;
1383 std::string hName =
h->GetName();
1391 std::string hName =
h->GetName();
1394 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1402 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regHist() [2/2]
Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram.
Definition at line 1345 of file ManagedMonitorToolBase.cxx.
◆ registerMetadata()
StatusCode ManagedMonitorToolBase::registerMetadata |
( |
const std::string & |
streamName, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
protectedinherited |
Definition at line 946 of file ManagedMonitorToolBase.cxx.
952 size_t found=mdStreamName.rfind(
'/');
954 if (
found != std::string::npos )
955 mdStreamName.replace(
found, mdStreamName.length(),
"/metadata" );
959 metadata =
new TTree(
"metadata",
"Monitoring Metadata" );
960 if (!
metadata)
return StatusCode::FAILURE;
962 if (scmd == StatusCode::FAILURE)
return StatusCode::FAILURE;
963 MDMap_t::value_type valToInsert( mdStreamName,
new OutputMetadata(
metadata) );
969 return StatusCode::SUCCESS;
◆ regManagedEfficiencies()
StatusCode ManagedMonitorToolBase::regManagedEfficiencies |
( |
std::vector< MgmtParams< TEfficiency > > & |
templateEfficiencies | ) |
|
|
protectedinherited |
Definition at line 1141 of file ManagedMonitorToolBase.cxx.
1142 bool allIsOk =
true;
1143 for(
auto&
it : templateEfficiencies ) {
1146 TEfficiency* theEfficiency =
it.m_templateHist;
1147 TEfficiency*
e =
static_cast<TEfficiency*
>(theEfficiency->Clone());
1148 int nbins = theEfficiency->GetTotalHistogram()->GetNbinsX();
1149 int xlow = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmin();
1150 int xhigh = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmax();
1151 e->SetBins(
nbins,xlow,xhigh);
1152 std::string
name =
e->GetName();
1155 TGraph* theGraph =
reinterpret_cast<TGraph*
>(theEfficiency);
1156 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1164 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1166 bool doneCleaning =
false;
1168 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1173 if (sc2 == StatusCode::SUCCESS) doneCleaning =
true;
1176 if (!doneCleaning) {
1177 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1182 if (sc3 == StatusCode::FAILURE)
1189 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1192 if (sc4 == StatusCode::FAILURE) allIsOk =
false;
1195 if (!allIsOk)
return StatusCode::FAILURE;
1196 return StatusCode::SUCCESS;
◆ regManagedGraphs()
StatusCode ManagedMonitorToolBase::regManagedGraphs |
( |
std::vector< MgmtParams< TGraph > > & |
templateGraphs | ) |
|
|
protectedinherited |
Definition at line 1070 of file ManagedMonitorToolBase.cxx.
1074 bool allIsOk =
true;
1076 for( std::vector< MgmtParams<TGraph> >::
iterator it = templateGraphs.begin();
it != templateGraphs.end(); ++
it ) {
1077 MonGroup
group = (*it).m_group;
1080 TGraph* theGraph = (*it).m_templateHist;
1083 TGraph*
g =
static_cast<TGraph*
>(theGraph->Clone());
1087 std::string gName =
g->GetName();
1094 if (sc1 == StatusCode::FAILURE)
1099 bool doneCleaning =
false;
1101 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1106 if (sc2 == StatusCode::SUCCESS)
1107 doneCleaning =
true;
1111 if (!doneCleaning) {
1112 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1119 if (sc3 == StatusCode::FAILURE)
1126 if (
smd != StatusCode::SUCCESS)
1131 if (sc4 == StatusCode::FAILURE)
1136 if (!allIsOk)
return StatusCode::FAILURE;
1138 return StatusCode::SUCCESS;
◆ regManagedHistograms()
StatusCode ManagedMonitorToolBase::regManagedHistograms |
( |
std::vector< MgmtParams< TH1 > > & |
templateHistograms | ) |
|
|
protectedinherited |
Definition at line 973 of file ManagedMonitorToolBase.cxx.
990 for( std::vector< MgmtParams<TH1> >::
iterator it = templateHistograms.begin();
it != templateHistograms.end(); ++
it ) {
991 MonGroup&
group = (*it).m_group;
994 TH1* theHist = (*it).m_templateHist;
997 TH1*
h =
static_cast<TH1*
>(theHist->Clone());
1001 std::string hName =
h->GetName();
1008 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1012 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1015 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1024 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1028 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1032 if (!allIsOk)
return StatusCode::FAILURE;
1034 return StatusCode::SUCCESS;
◆ regManagedTrees()
StatusCode ManagedMonitorToolBase::regManagedTrees |
( |
std::vector< MgmtParams< TTree > > & |
templateTrees | ) |
|
|
protectedinherited |
Definition at line 1201 of file ManagedMonitorToolBase.cxx.
1205 bool allIsOk =
true;
1207 for( std::vector< MgmtParams<TTree> >::
iterator it = templateTrees.begin();
it != templateTrees.end(); ++
it ) {
1208 MonGroup
group = (*it).m_group;
1211 TTree* theTree = (*it).m_templateHist;
1214 TTree*
t =
static_cast<TTree*
>(theTree->Clone());
1218 std::string
name =
t->GetName();
1225 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1229 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1232 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1241 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1245 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1249 if (!allIsOk)
return StatusCode::FAILURE;
1251 return StatusCode::SUCCESS;
◆ regTree() [1/2]
StatusCode ManagedMonitorToolBase::regTree |
( |
TTree * |
t, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TTree to be included in the output stream using logical parameters that describe it.
Definition at line 1556 of file ManagedMonitorToolBase.cxx.
1571 return StatusCode::FAILURE;
1574 std::string
name =
t->GetName();
1575 std::string genericName = NoOutputStream().getStreamName(
this, group_unmanaged,
name );
1583 std::string tName =
t->GetName();
1586 std::string genericName = NoOutputStream().getStreamName(
this,
group, tName );
1594 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regTree() [2/2]
Registers a TTree to be included in the output stream using logical parameters that describe it.
Definition at line 1546 of file ManagedMonitorToolBase.cxx.
◆ renounce()
◆ renounceArray()
◆ runStat()
StatusCode ManagedMonitorToolBase::runStat |
( |
| ) |
|
|
virtualinherited |
This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ).
Implements IMonitorToolBase.
Definition at line 1663 of file ManagedMonitorToolBase.cxx.
1666 return StatusCode::SUCCESS;
◆ setMonManager()
◆ setupOutputStreams()
StatusCode ManagedMonitorToolBase::setupOutputStreams |
( |
std::vector< std::string > |
Mapping = std::vector<std::string>() | ) |
|
|
virtualinherited |
◆ streamNameFunction()
Returns the function object that converts logical paramters into a physical stream name.
Definition at line 451 of file ManagedMonitorToolBase.cxx.
455 msg(MSG::ERROR) <<
"!! streamNameFunction() has not been initialized !!" <<
endmsg;
456 msg(MSG::ERROR) <<
" --> neither ManagedMonitorToolBase::initialize() nor" <<
endmsg;
457 msg(MSG::ERROR) <<
" --> ManagedMonitorToolBase::setMonManager() has been called." <<
endmsg;
458 msg(MSG::ERROR) <<
" --> Correct configuration cannot be guaranteed from this point." <<
endmsg;
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ THistSvc_deReg_fixTGraph()
StatusCode ManagedMonitorToolBase::THistSvc_deReg_fixTGraph |
( |
TFile * |
file, |
|
|
TGraph * |
theGraph, |
|
|
std::string & |
directoryName |
|
) |
| |
|
protectedinherited |
Fixes THistSvc->deReg(obj) when obj is TGraph instance.
Read more in source file about this bug.
Definition at line 1038 of file ManagedMonitorToolBase.cxx.
1048 GlobalDirectoryRestore restore;
1051 bool graphRemoved =
false;
1054 TDirectory*
dir =
file->GetDirectory(directoryName.c_str());
1057 TObject*
obj =
dir->Remove(theGraph);
1059 graphRemoved =
true;
1062 if (!graphRemoved) {
1063 return StatusCode::FAILURE;
1066 return StatusCode::SUCCESS;
◆ trigChainsArePassed()
bool ManagedMonitorToolBase::trigChainsArePassed |
( |
std::vector< std::string > & |
vTrigNames | ) |
|
|
protectedvirtualinherited |
◆ updateTriggersForGroups()
void ManagedMonitorToolBase::updateTriggersForGroups |
( |
std::vector< std::string > & |
vTrigChainNames | ) |
|
|
protectedinherited |
Definition at line 2132 of file ManagedMonitorToolBase.cxx.
2134 for (
size_t i = 0;
i < vTrigChainNames.size(); ++
i) {
2135 std::string& thisName = vTrigChainNames[
i];
2136 if (thisName.compare(0, 9,
"CATEGORY_") ==0) {
2137 ATH_MSG_DEBUG(
"Found a trigger category: " << thisName <<
". We will unpack it.");
2139 std::ostringstream oss;
2141 for (
size_t itrig = 0; itrig <
triggers.size(); ++itrig) {
2149 std::string newval = oss.str();
2151 vTrigChainNames[
i] = newval;
◆ updateVHKA()
◆ writeAndDelete()
StatusCode ManagedMonitorToolBase::writeAndDelete |
( |
TH1 * |
h, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Write out histogram and delete it.
Definition at line 1601 of file ManagedMonitorToolBase.cxx.
1604 return StatusCode::FAILURE;
1606 std::string hName =
h->GetName();
1609 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1612 return StatusCode::SUCCESS;
◆ m_allChan1dName
std::string CscCalibMonToolBase::m_allChan1dName |
|
protectedinherited |
◆ m_allChan1dTitle
std::string CscCalibMonToolBase::m_allChan1dTitle |
|
protectedinherited |
◆ m_allChan2dName
std::string CscCalibMonToolBase::m_allChan2dName |
|
protectedinherited |
◆ m_allChan2dPath
std::string CscCalibMonToolBase::m_allChan2dPath |
|
protectedinherited |
◆ m_allChan2dTitle
std::string CscCalibMonToolBase::m_allChan2dTitle |
|
protectedinherited |
◆ m_allGoodFileName
std::string CscCalibMonToolPed::m_allGoodFileName |
|
private |
◆ m_bookHistogramsInitial
bool ManagedMonitorToolBase::m_bookHistogramsInitial |
|
privateinherited |
◆ m_calibResultKey
std::string CscCalibMonToolBase::m_calibResultKey |
|
protectedinherited |
◆ m_chamHistName
std::string CscCalibMonToolBase::m_chamHistName |
|
protectedinherited |
◆ m_chamHistTitle
std::string CscCalibMonToolBase::m_chamHistTitle |
|
protectedinherited |
◆ m_chamProfName
std::string CscCalibMonToolBase::m_chamProfName |
|
protectedinherited |
◆ m_chamProfPath
std::string CscCalibMonToolBase::m_chamProfPath |
|
protectedinherited |
◆ m_chamProfTitle
std::string CscCalibMonToolBase::m_chamProfTitle |
|
protectedinherited |
◆ m_chamSummHistName
std::string CscCalibMonToolBase::m_chamSummHistName |
|
protectedinherited |
◆ m_chamSummHistPath
std::string CscCalibMonToolBase::m_chamSummHistPath |
|
protectedinherited |
◆ m_chamSummHistTitle
std::string CscCalibMonToolBase::m_chamSummHistTitle |
|
protectedinherited |
◆ m_chi2BadBin
int CscCalibMonToolPed::m_chi2BadBin |
|
private |
◆ m_chi2Coll
◆ m_chi2Max
float CscCalibMonToolPed::m_chi2Max |
|
private |
◆ m_d
Imp* ManagedMonitorToolBase::m_d |
|
privateinherited |
◆ m_dataType
◆ m_dataTypeStr
std::string ManagedMonitorToolBase::m_dataTypeStr |
|
protectedinherited |
◆ m_defaultLBDuration
float ManagedMonitorToolBase::m_defaultLBDuration |
|
privateinherited |
◆ m_detailedHashIds
bool* CscCalibMonToolBase::m_detailedHashIds {} |
|
protectedinherited |
◆ m_detailLevel
unsigned int ManagedMonitorToolBase::m_detailLevel |
|
protectedinherited |
◆ m_detStore
◆ m_doAllDetailed
bool CscCalibMonToolBase::m_doAllDetailed {} |
|
protectedinherited |
◆ m_doBadDetailed
bool CscCalibMonToolBase::m_doBadDetailed {} |
|
protectedinherited |
◆ m_doBitCorrelations
bool CscCalibMonToolPed::m_doBitCorrelations |
|
private |
◆ m_doRmsVNoise
bool CscCalibMonToolPed::m_doRmsVNoise |
|
private |
◆ m_doStatDb
bool CscCalibMonToolBase::m_doStatDb {} |
|
protectedinherited |
◆ m_DQFilterTools
ToolHandleArray<IDQFilterTool> ManagedMonitorToolBase::m_DQFilterTools {this,"FilterTools",{}} |
|
protectedinherited |
◆ m_endOfEventsBlock
bool ManagedMonitorToolBase::m_endOfEventsBlock |
|
privateinherited |
◆ m_endOfLowStat
bool ManagedMonitorToolBase::m_endOfLowStat |
|
privateinherited |
◆ m_endOfLumiBlock
bool ManagedMonitorToolBase::m_endOfLumiBlock |
|
privateinherited |
◆ m_endOfRun
bool ManagedMonitorToolBase::m_endOfRun |
|
privateinherited |
◆ m_environment
◆ m_environmentStr
std::string ManagedMonitorToolBase::m_environmentStr |
|
protectedinherited |
◆ m_evtStore
◆ m_expectedChamberLayer
unsigned int CscCalibMonToolBase::m_expectedChamberLayer {} |
|
protectedinherited |
◆ m_expectedHashIdsAll
std::set<int> CscCalibMonToolBase::m_expectedHashIdsAll |
|
protectedinherited |
◆ m_expectedHashIdsPrec
std::set<int> CscCalibMonToolBase::m_expectedHashIdsPrec |
|
protectedinherited |
◆ m_f001BadBin
int CscCalibMonToolPed::m_f001BadBin |
|
private |
◆ m_f001DiffColl
◆ m_f001MaxDiff
float CscCalibMonToolPed::m_f001MaxDiff |
|
private |
◆ m_f001NewColl
◆ m_f001OldColl
◆ m_fileKey
std::string ManagedMonitorToolBase::m_fileKey |
|
protectedinherited |
◆ m_generic_path_csccalibmonitoring
std::string CscCalibMonToolBase::m_generic_path_csccalibmonitoring |
|
protectedinherited |
◆ m_h2_rmsVnoiseEta
TH2I* CscCalibMonToolPed::m_h2_rmsVnoiseEta |
|
private |
◆ m_h2_rmsVnoisePhi
TH2I * CscCalibMonToolPed::m_h2_rmsVnoisePhi |
|
private |
◆ m_h_numBad
TH1I* CscCalibMonToolPed::m_h_numBad |
|
private |
◆ m_h_pedMissingChannels
TH1F* CscCalibMonToolPed::m_h_pedMissingChannels |
|
private |
◆ m_hashName
std::string CscCalibMonToolBase::m_hashName |
|
protectedinherited |
◆ m_hashPath
std::string CscCalibMonToolBase::m_hashPath |
|
protectedinherited |
◆ m_hashTitle
std::string CscCalibMonToolBase::m_hashTitle |
|
protectedinherited |
◆ m_haveClearedLastEventBlock
bool ManagedMonitorToolBase::m_haveClearedLastEventBlock |
|
protectedinherited |
◆ m_histCol
int CscCalibMonToolBase::m_histCol {} |
|
protectedinherited |
◆ m_histColAlert
int CscCalibMonToolBase::m_histColAlert {} |
|
protectedinherited |
◆ m_histKey
std::string CscCalibMonToolPed::m_histKey |
|
private |
◆ m_idHelperSvc
◆ m_lastHigStatInterval
int ManagedMonitorToolBase::m_lastHigStatInterval |
|
protectedinherited |
◆ m_lastLowStatInterval
int ManagedMonitorToolBase::m_lastLowStatInterval |
|
protectedinherited |
◆ m_lastLumiBlock
unsigned int ManagedMonitorToolBase::m_lastLumiBlock |
|
protectedinherited |
◆ m_lastMedStatInterval
int ManagedMonitorToolBase::m_lastMedStatInterval |
|
protectedinherited |
◆ m_lastRun
unsigned int ManagedMonitorToolBase::m_lastRun |
|
protectedinherited |
◆ m_layHistName
std::string CscCalibMonToolBase::m_layHistName |
|
protectedinherited |
◆ m_layHistPath
std::string CscCalibMonToolBase::m_layHistPath |
|
protectedinherited |
◆ m_layHistTitle
std::string CscCalibMonToolBase::m_layHistTitle |
|
protectedinherited |
◆ m_laySummHistName
std::string CscCalibMonToolBase::m_laySummHistName |
|
protectedinherited |
◆ m_laySummHistPath
std::string CscCalibMonToolBase::m_laySummHistPath |
|
protectedinherited |
◆ m_laySummHistTitle
std::string CscCalibMonToolBase::m_laySummHistTitle |
|
protectedinherited |
◆ m_lbDurationDataKey
◆ m_lumiDataKey
◆ m_makeAllChan1dHists
bool CscCalibMonToolBase::m_makeAllChan1dHists {} |
|
protectedinherited |
◆ m_makeAllChan2dHists
bool CscCalibMonToolBase::m_makeAllChan2dHists {} |
|
protectedinherited |
◆ m_makeChamHists
bool CscCalibMonToolBase::m_makeChamHists {} |
|
protectedinherited |
◆ m_makeChamProfs
bool CscCalibMonToolBase::m_makeChamProfs {} |
|
protectedinherited |
◆ m_makeChamSummHists
bool CscCalibMonToolBase::m_makeChamSummHists {} |
|
protectedinherited |
◆ m_makeHashHists
bool CscCalibMonToolBase::m_makeHashHists {} |
|
protectedinherited |
◆ m_makeLayHists
bool CscCalibMonToolBase::m_makeLayHists {} |
|
protectedinherited |
◆ m_makeLaySummHists
bool CscCalibMonToolBase::m_makeLaySummHists {} |
|
protectedinherited |
◆ m_manager
◆ m_managerNameProp
std::string ManagedMonitorToolBase::m_managerNameProp |
|
protectedinherited |
◆ m_maxBitCorrColl
◆ m_maxChamId
unsigned int CscCalibMonToolBase::m_maxChamId {} |
|
protectedinherited |
◆ m_maxDetailedChannels
int CscCalibMonToolBase::m_maxDetailedChannels {} |
|
protectedinherited |
To keep track of channels that should have more data printed to root file.
Definition at line 128 of file CscCalibMonToolBase.h.
◆ m_maxHashId
unsigned int CscCalibMonToolBase::m_maxHashId {} |
|
protectedinherited |
◆ m_metadataMap
MDMap_t ManagedMonitorToolBase::m_metadataMap |
|
protectedinherited |
◆ m_minAmpHistEntries
int CscCalibMonToolPed::m_minAmpHistEntries |
|
private |
◆ m_missingBadBin
int CscCalibMonToolPed::m_missingBadBin |
|
private |
◆ m_monGroupMap
std::map<std::string, MonGroup*> CscCalibMonToolBase::m_monGroupMap |
|
protectedinherited |
◆ m_monGroupVec
◆ m_nEntriesBadBin
int CscCalibMonToolPed::m_nEntriesBadBin |
|
private |
◆ m_nEntriesColl
◆ m_nEvents
unsigned int ManagedMonitorToolBase::m_nEvents |
|
protectedinherited |
◆ m_nEventsIgnoreTrigger
unsigned int ManagedMonitorToolBase::m_nEventsIgnoreTrigger |
|
protectedinherited |
◆ m_newEventsBlock
bool ManagedMonitorToolBase::m_newEventsBlock |
|
privateinherited |
◆ m_newHigStatInterval
bool ManagedMonitorToolBase::m_newHigStatInterval |
|
privateinherited |
◆ m_newLowStat
bool ManagedMonitorToolBase::m_newLowStat |
|
privateinherited |
◆ m_newLowStatInterval
bool ManagedMonitorToolBase::m_newLowStatInterval |
|
privateinherited |
◆ m_newLumiBlock
bool ManagedMonitorToolBase::m_newLumiBlock |
|
privateinherited |
◆ m_newMedStatInterval
bool ManagedMonitorToolBase::m_newMedStatInterval |
|
privateinherited |
◆ m_newRun
bool ManagedMonitorToolBase::m_newRun |
|
privateinherited |
◆ m_nLumiBlocks
unsigned int ManagedMonitorToolBase::m_nLumiBlocks |
|
protectedinherited |
◆ m_noiseBadBin
int CscCalibMonToolPed::m_noiseBadBin |
|
private |
◆ m_noiseDiffColl
◆ m_noiseMaxDiff
float CscCalibMonToolPed::m_noiseMaxDiff |
|
private |
◆ m_noiseNewColl
◆ m_noiseOldColl
◆ m_numBad
unsigned int CscCalibMonToolBase::m_numBad {} |
|
protectedinherited |
◆ m_onlTHoldBreachBadBin
int CscCalibMonToolPed::m_onlTHoldBreachBadBin |
|
private |
◆ m_onlTHoldBreachColl
◆ m_onlTHoldBreachMax
float CscCalibMonToolPed::m_onlTHoldBreachMax |
|
private |
◆ m_onlyExpectPrecisionHashIds
bool CscCalibMonToolBase::m_onlyExpectPrecisionHashIds {} |
|
protectedinherited |
◆ m_path
std::string ManagedMonitorToolBase::m_path |
|
protectedinherited |
◆ m_pedBadBin
int CscCalibMonToolPed::m_pedBadBin |
|
private |
◆ m_pedDiffColl
◆ m_pedMaxDiff
float CscCalibMonToolPed::m_pedMaxDiff |
|
private |
◆ m_pedNewColl
◆ m_pedOldColl
◆ m_preScaleProp
long ManagedMonitorToolBase::m_preScaleProp |
|
protectedinherited |
◆ m_procNEventsProp
long ManagedMonitorToolBase::m_procNEventsProp |
|
protectedinherited |
◆ m_readKey
◆ m_rmsBadBin
int CscCalibMonToolPed::m_rmsBadBin |
|
private |
◆ m_rmsDiffColl
◆ m_rmsMaxDiff
float CscCalibMonToolPed::m_rmsMaxDiff |
|
private |
◆ m_rmsNewColl
◆ m_rmsOldColl
◆ m_statDbColl
◆ m_statusReportName
std::string CscCalibMonToolPed::m_statusReportName |
|
private |
◆ m_statusReportPrefix
std::string CscCalibMonToolPed::m_statusReportPrefix |
|
private |
◆ m_streamNameFcn
◆ m_supportedIntervalsForRebooking
std::set<Interval_t> ManagedMonitorToolBase::m_supportedIntervalsForRebooking |
|
privateinherited |
◆ m_templateEfficiencies
std::map< Interval_t, std::vector< MgmtParams<TEfficiency> > > ManagedMonitorToolBase::m_templateEfficiencies |
|
protectedinherited |
◆ m_templateGraphs
◆ m_templateHistograms
◆ m_templateTrees
◆ m_THistSvc
◆ m_tholdDiffColl
◆ m_trigDecTool
◆ m_triggerChainProp
std::string ManagedMonitorToolBase::m_triggerChainProp |
|
protectedinherited |
◆ m_triggerGroupProp
std::string ManagedMonitorToolBase::m_triggerGroupProp |
|
protectedinherited |
◆ m_trigLiveFractionDataKey
◆ m_trigTranslator
PublicToolHandle<ITriggerTranslatorTool> ManagedMonitorToolBase::m_trigTranslator {this,"TriggerTranslatorTool",""} |
|
protectedinherited |
◆ m_useLumi
bool ManagedMonitorToolBase::m_useLumi |
|
privateinherited |
◆ m_useTrigger
bool ManagedMonitorToolBase::m_useTrigger |
|
protectedinherited |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_vTrigChainNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigChainNames |
|
protectedinherited |
◆ m_vTrigGroupNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigGroupNames |
|
protectedinherited |
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
char data[hepevt_bytes_allocation_ATLAS]
constexpr uint8_t stationPhi
station Phi 1 to 8
path
python interpreter configuration --------------------------------------—
Scalar eta() const
pseudorapidity method
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
static unsigned int runNumber()
virtual std::string fileKey() const
virtual void passOwnership(TObject *h, const std::string &key)
Pass ownership of a TObject to this manager so that it will be deleted appropriately.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool msgLvl(const MSG::Level lvl) const
const DataVector< TH2F > * getBitCorrelation() const
#define ATH_MSG_VERBOSE(x)
const DataVector< TH1I > * getPedAmpHists() const
Retrieve pedestal amplitude histogram vector.
bool empty() const
Test if the key is blank.
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
static unsigned int getLBsLowStat()
virtual void setOwner(IDataHandleHolder *o)=0
static Environment_t environment()
Returns the running environment of the monitoring application to help ManagedMonitorToolBase objects ...
static unsigned int getLBsMedStat()
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
static DataType_t dataType()
Returns the data type that the monitoring application is running over to help ManagedMonitorToolBase ...
def TProfile(*args, **kwargs)
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual void writeAndDelete(const std::string &key)
If the TObject is owned by this manager, its Write() method is called and it is deleted.
const T * front() const
Access the first element in the collection as an rvalue.
const DataVector< TH1I > * getBitHists() const
Retrive bit histogram vector.
const std::string & parName() const
the identify of this collection
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
bool allGood
Loop over the SDOs & Digits.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
static unsigned int getLBsHigStat()
const std::string & getLabel() const
#define ATH_MSG_WARNING(x)
filelist
print ("Checking files %s..." % fullfile)
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
static unsigned int lumiBlockNumber()
constexpr uint8_t stationEta
1 to 3
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
size_type size() const noexcept
Returns the number of elements in the collection.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
const DataVector< DataVector< TH1I > > * getSampHists() const
Retrieve pedestal sample amplitude histogram vector.