![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Concrete monitoring tool derived from MonitorToolBase.
More...
#include <SCTErrMonTool.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...
|
|
|
| SCTErrMonTool (const std::string &type, const std::string &name, const IInterface *parent) |
| Constructor, calls base class constructor with parameters. More...
|
|
virtual | ~SCTErrMonTool ()=default |
|
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 | convertLWHists () |
| Deal with the LW histograms. 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 | regHist (LWHist *h, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Support for lightweight histograms: More...
|
|
virtual StatusCode | regHist (LWHist *h, const MonGroup &group) |
|
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 | getHist (LWHist *&h, const std::string &hName, const std::string &system, Interval_t interval) |
|
virtual StatusCode | getHist (LWHist *&h, const std::string &hName, const MonGroup &group) |
|
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 | deregHist (LWHist *h) |
|
virtual StatusCode | deregHist (TH1 *h) |
| De-registers a TH1 from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | writeAndDelete (TH1 *h, const MonGroup &group) |
| Write out histogram and delete it. 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 StatusCode | checkHists (bool calledFromFinalize) |
| This implementation does nothing; equivalent functionality may be provided by procHists(...) with appropriate arguments. 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 |
|
|
StatusCode | regManagedHistograms (std::vector< MgmtParams< TH1 > > &templateHistograms) |
|
StatusCode | regManagedGraphs (std::vector< MgmtParams< TGraph > > &templateGraphs) |
|
StatusCode | regManagedTrees (std::vector< MgmtParams< TTree > > &templateTrees) |
|
StatusCode | regManagedLWHistograms (std::vector< MgmtParams< LWHist > > &templateLWHistograms) |
|
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...
|
|
|
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< LWHist > > > | m_templateLWHistograms |
|
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 |
|
std::set< LWHist * > | m_lwhists |
|
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 |
|
|
typedef std::pair< std::pair< double, double >, std::pair< double, double > > | moduleGeo_t |
|
static const unsigned int | s_nBinsEta = 100 |
|
static const double | s_rangeEta = 2.5 |
|
static const unsigned int | s_nBinsPhi = 100 |
|
static const double | s_WafersThreshold = 3.0 |
|
int | m_numberOfEventsLumi {0} |
|
int | m_numberOfEvents {0} |
|
bool | m_initialize {false} |
|
int | m_current_lb {0} |
|
int | m_last_reset_lb {0} |
|
std::string | m_gpath {} |
|
std::vector< moduleGeo_t > | m_geo {} |
|
IntegerProperty | m_checkrate {this, "CheckRate", 1000} |
| CheckHists() frequency. More...
|
|
IntegerProperty | m_checkrecent {this, "CheckRecent", 20} |
|
BooleanProperty | m_runOnline {this, "runOnline", false} |
| flag to run online More...
|
|
BooleanProperty | m_doPositiveEndcap {this, "doPositiveEndcap", true} |
|
BooleanProperty | m_doNegativeEndcap {this, "doNegativeEndcap", true} |
|
BooleanProperty | m_makeConfHisto {this, "MakeConfHisto", true} |
|
BooleanProperty | m_doPerLumiErrors {this, "DoPerLumiErrors", true} |
|
FloatProperty | m_min_stat_ineff_mod {this, "MinStatsForInEffModules", 500.0} |
|
BooleanProperty | m_CoverageCheck {this, "CoverageCheck", true} |
|
BooleanProperty | m_useDCS {this, "UseDCS", true} |
|
FloatProperty | m_errThreshold {this, "error_threshold", 0.7} |
|
FloatProperty | m_effThreshold {this, "efficiency_threshold", 0.9} |
|
IntegerProperty | m_noiseThreshold {this, "noise_threshold", 150} |
|
SG::ReadHandleKey< xAOD::EventInfo > | m_eventInfoKey {this, "EventInfoKey", "EventInfo"} |
|
ServiceHandle< ITHistSvc > | m_thistSvc {this, "THistSvc", "THistSvc"} |
| a handle on the Hist/TTree registration service More...
|
|
ToolHandle< ISCT_ConfigurationConditionsTool > | m_ConfigurationTool |
|
ToolHandle< ISCT_ByteStreamErrorsTool > | m_byteStreamErrTool {this, "SCT_ByteStreamErrorsTool", "SCT_ByteStreamErrorsTool", "Tool to retrieve SCT ByteStream Errors"} |
|
ToolHandle< ISCT_DCSConditionsTool > | m_dcsTool {this, "SCT_DCSConditionsTool", "InDetSCT_DCSConditionsTool", "Tool to retrieve SCT DCS information"} |
|
ToolHandle< IInDetConditionsTool > | m_pSummaryTool {this, "SCT_ConditionsSummaryTool", "SCT_ConditionsSummaryTool/InDetSCT_ConditionsSummaryTool", "Tool to retrieve SCT Conditions summary"} |
|
ToolHandle< ISCT_FlaggedConditionTool > | m_flaggedTool {this, "SCT_FlaggedConditionTool", "SCT_FlaggedConditionTool/InDetSCT_FlaggedConditionTool", "Tool to retrieve bad wafers with many fired strips"} |
|
const SCT_ID * | m_pSCTHelper {nullptr} |
| SCT Helper class. More...
|
|
TProfile_LW * | m_ConfOutModules {} |
| Profiles/histograms not requiring postprocessing Under run directories. More...
|
|
TProfile_LW * | m_ByteStreamVsLB [SCT_ByteStreamErrors::NUM_ERROR_TYPES] {} |
|
TProfile_LW * | m_DetailedConfiguration {} |
|
TProfile_LW * | m_FractionOfSCTFlagErrorsPerLB {} |
|
TH1F_LW * | m_NumberOfSCTFlagErrorsVsLB {} |
|
TH1F_LW * | m_NumberOfEventsVsLB {} |
|
TH1I * | m_MaskedAllLinks {} |
|
TProfile * | m_flaggedWafers {} |
|
TH2F_LW * | m_pallErrsCate [SCT_Monitoring::CategoryErrors::N_ERRCATEGORY][SCT_Monitoring::N_REGIONS][SCT_Monitoring::N_ENDCAPSx2] {} |
| Under LB directories. More...
|
|
TH2F_LW * | m_numErrorsPerLumi [SCT_Monitoring::N_REGIONS_INC_GENERAL] {} |
|
TH2F * | m_mapSCT [SCT_Monitoring::numberOfProblemForCoverage] {nullptr} |
| Detector coverage. More...
|
|
TProfile * | m_PSTripModulesVsLbs {} |
|
TProfile_LW * | m_ConfNew {} |
| Profiles requiring postprocessing Under run directories. More...
|
|
TProfile_LW * | m_LinksWithCategorisedErrorsVsLB [SCT_Monitoring::CategoryErrors::N_ERRCATEGORY] {} |
|
TProfile2D_LW * | m_allErrsCate [SCT_Monitoring::CategoryErrors::N_ERRCATEGORY][SCT_Monitoring::N_REGIONS][SCT_Monitoring::N_ENDCAPSx2] {} |
| Under LB directories. More...
|
|
TProfile2D_LW * | m_rateErrorsPerLumi [SCT_Monitoring::N_REGIONS] {} |
|
TProfile_LW * | m_ConfOnline [SCT_Monitoring::N_REGIONS_INC_GENERAL] {} |
| Only online. More...
|
|
TProfile_LW * | m_ConfNoiseOnline {} |
|
TProfile_LW * | m_ConfNoiseOnlineRecent {} |
|
TProfile2D_LW * | m_summaryErrsRecent [SCT_Monitoring::N_REGIONS][SCT_Monitoring::N_ENDCAPSx2] {} |
|
TProfile * | m_ConfEffOnline {} |
|
TProfile * | m_detectorCoverageVsLbs [SCT_Monitoring::numberOfProblemForCoverage] {nullptr} |
| Detector coverage. More...
|
|
virtual StatusCode | initialize () override final |
|
virtual StatusCode | bookHistograms () override final |
| An inheriting class should either override this function or bookHists(). More...
|
|
virtual StatusCode | bookHistogramsRecurrent () override final |
| An inheriting class should either override this function, bookHists() or bookHistograms(). More...
|
|
virtual StatusCode | fillHistograms () override final |
| An inheriting class should either override this function or fillHists(). More...
|
|
virtual StatusCode | procHistograms () override final |
| An inheriting class should either override this function or finalHists(). More...
|
|
StatusCode | bookConfMapsGen () |
| Used in bookHistograms() More...
|
|
StatusCode | bookErrHistosGen () |
|
StatusCode | bookErrHistos (int iregion) |
|
TString | errorsString (int errtype) const |
| Used in bookErrHistosGen() and bookErrHistos. More...
|
|
StatusCode | bookErrHistosHelper (MonGroup &mg, TString name, TString title, TString titlehitmap, TProfile2D_LW *&tprof, TH2F_LW *&th, const int layer, const bool barrel=true) const |
| Used in bookErrHistos() More...
|
|
StatusCode | bookErrHistosHelper (MonGroup &mg, TString name, TString title, TProfile2D_LW *&tprof, const int layer, const bool barrel=true) const |
|
StatusCode | fillByteStreamErrors () |
| Used in fillHistograms() More...
|
|
int | fillByteStreamErrorsHelper (const std::set< IdentifierHash > &errors, bool lumi2DHist, int err_type) |
| Used in fillByteStreamErrors() More...
|
|
void | numByteStreamErrors (const std::set< IdentifierHash > &errors, int &ntot) const |
|
bool | syncDisabledSCT (std::set< IdentifierHash > &sctHashDisabled) const |
|
bool | syncErrorSCT (std::set< IdentifierHash > &sctHashBadLinkError, std::set< IdentifierHash > &sctHashBadRODError, std::set< IdentifierHash > &sctHashBadError) const |
|
bool | summarySCT (std::set< IdentifierHash > &sctHashAll, std::set< IdentifierHash > &sctHashSummary) const |
|
bool | psTripDCSSCT (std::set< IdentifierHash > &sctHashPSTripDCS, float &PSTripModules) const |
|
void | fillWafer (moduleGeo_t module, TH2F *histo) const |
|
double | calculateDetectorCoverage (const TH2F *histo) const |
|
StatusCode | checkRateHists () |
| Used in procHistograms() More...
|
|
StatusCode | resetCondDBMaps () |
| Used in fillHistograms() and checkRateHists() More...
|
|
StatusCode | fillCondDBMaps () |
|
StatusCode | resetConfigurationDetails () |
|
StatusCode | fillConfigurationDetails () |
|
bool | getHisto (const int lyr, const int reg, const int type, TH2 *histo[2]) const |
| Used in fillCondDBMaps() More...
|
|
bool | getHistoRecent (const int lyr, const int reg, const int type, TH2 *histo[2]) const |
|
Concrete monitoring tool derived from MonitorToolBase.
Definition at line 50 of file SCTErrMonTool.h.
◆ MDMap_t
◆ moduleGeo_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 114 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 131 of file ManagedMonitorToolBase.h.
◆ SCTErrMonTool()
SCTErrMonTool::SCTErrMonTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
Constructor, calls base class constructor with parameters.
several properties are "declared" here, allowing selection of the filepath for histograms, the first and second plane numbers to be used, and the timebin.
Definition at line 103 of file SCTErrMonTool.cxx.
◆ ~SCTErrMonTool()
virtual SCTErrMonTool::~SCTErrMonTool |
( |
| ) |
|
|
virtualdefault |
◆ bookConfMapsGen()
StatusCode SCTErrMonTool::bookConfMapsGen |
( |
| ) |
|
|
private |
Used in bookHistograms()
Definition at line 852 of file SCTErrMonTool.cxx.
854 "Mod Out",
"Flagged Links",
"Masked Links",
"Errors",
"Inefficient",
"Noisy"
857 "Modules",
"Link 0",
"Link 1",
"Chips",
"Strips (10^{2})"
860 "Mod Out",
"Flagged Links",
"Masked Links",
"Errors"
863 "EndcapC",
"Barrel",
"EndcapA",
""
866 "EndcapC",
"Barrel",
"EndcapA",
"All Region"
909 "Ave. " + SCT_ByteStreamErrors::ErrorTypeDescription[errType] +
" per LB in " + regTitle[
GENERAL_INDEX],
910 NBINS_LBs, 0.5, NBINS_LBs + 0.5);
915 ATH_MSG_WARNING(
"Cannot book Histogram:" + SCT_ByteStreamErrors::ErrorTypeDescription[errType]);
923 NBINS_LBs, 0.5, NBINS_LBs+0.5);
986 return StatusCode::SUCCESS;
◆ bookErrHistos()
StatusCode SCTErrMonTool::bookErrHistos |
( |
int |
iregion = -1 | ) |
|
|
private |
Definition at line 755 of file SCTErrMonTool.cxx.
757 if (
reg==-1)
return StatusCode::FAILURE;
759 const int nLayers{n_layers[
reg]*2};
760 std::string regName{(
"SCT" + subDetNameShort[
reg]).
Data()};
761 std::string layerTitle{layerName[
reg].Data()};
762 layerTitle.at(0)=toupper(layerTitle.at(0));
769 TH2F_LW::create(
"NumErrsPerLumi", (
"Total Number of Error Types for "+layerTitle+
" per Lumi-Block").c_str(),
771 nLayers, -0.5, nLayers-0.5);
777 TProfile2D_LW::create(
"RateErrorsPerLumi", (
"Rate of Error Types for "+layerTitle+
" per Lumi-Block").c_str(),
779 nLayers, -0.5, nLayers-0.5);
796 bool somethingFailed{
false};
803 std::string name2{(
"SCT_T" +
errorsString(errType) + subDetNameShort[
reg].Data() +
"_").
Data()};
810 (
"summaryErrsRecent"+subDetNameShort[
reg]+
"_").
Data(),
811 "summary recent Layer ",
816 if (somethingFailed) {
817 ATH_MSG_DEBUG(
"Something went wrong in bookErrHistos "<< regName);
821 return StatusCode::SUCCESS;
◆ bookErrHistosGen()
StatusCode SCTErrMonTool::bookErrHistosGen |
( |
| ) |
|
|
private |
◆ bookErrHistosHelper() [1/2]
StatusCode SCTErrMonTool::bookErrHistosHelper |
( |
MonGroup & |
mg, |
|
|
TString |
name, |
|
|
TString |
title, |
|
|
TProfile2D_LW *& |
tprof, |
|
|
const int |
layer, |
|
|
const bool |
barrel = true |
|
) |
| const |
|
private |
Definition at line 727 of file SCTErrMonTool.cxx.
729 std::ostringstream streamhitmap;
731 streamhitmap <<
layer / 2 <<
"_" <<
layer % 2;
733 name += streamhitmap.str();
734 title += streamhitmap.str();
744 if (
sc.isFailure()) {
745 return StatusCode::FAILURE;
747 return StatusCode::SUCCESS;
◆ bookErrHistosHelper() [2/2]
StatusCode SCTErrMonTool::bookErrHistosHelper |
( |
MonGroup & |
mg, |
|
|
TString |
name, |
|
|
TString |
title, |
|
|
TString |
titlehitmap, |
|
|
TProfile2D_LW *& |
tprof, |
|
|
TH2F_LW *& |
th, |
|
|
const int |
layer, |
|
|
const bool |
barrel = true |
|
) |
| const |
|
private |
Used in bookErrHistos()
Definition at line 689 of file SCTErrMonTool.cxx.
691 std::ostringstream streamhitmap;
693 streamhitmap <<
layer / 2 <<
"_" <<
layer % 2;
695 name += streamhitmap.str();
696 title += streamhitmap.str();
697 titlehitmap += streamhitmap.str();
716 if (sc0.isFailure() or sc1.isFailure()) {
717 return StatusCode::FAILURE;
719 return StatusCode::SUCCESS;
◆ bookHistograms()
StatusCode SCTErrMonTool::bookHistograms |
( |
| ) |
|
|
finaloverridevirtual |
◆ bookHistogramsRecurrent()
StatusCode SCTErrMonTool::bookHistogramsRecurrent |
( |
| ) |
|
|
finaloverridevirtual |
An inheriting class should either override this function, bookHists() or bookHistograms().
Reimplemented from ManagedMonitorToolBase.
Definition at line 213 of file SCTErrMonTool.cxx.
216 "SCT_CoverageOfEnabledLinksVsLbs",
217 "SCT_CoverageWithNoBadLinkLevelErrorVsLbs",
218 "SCT_CoverageWithNoBadRODLevelErrorVsLbs",
219 "SCT_CoverageWithNoBadErrorVsLbs",
220 "SCT_CoverageWithNoPSTripVsLbs",
221 "SCT_CoverageOfLinksWithNoBadProblemVsLbs"
225 "Ave. Coverage of Enabled Links per LB",
226 "Ave. Coverage of Links with No Bad LinkLevelError per LB",
227 "Ave. Coverage of Links with No Bad RODLevelError per LB",
228 "Ave. Coverage of Links with No Bad Error per LB",
229 "Ave. Coverage of links Not Affected by PS Trip",
230 "Ave. Coverage of Links With No Bad Problem per LB"
235 return StatusCode::SUCCESS;
251 m_mapSCT[
badRODError] =
new TH2F(
"SCT_MapOfLinksWithBadRODLevelErrors",
"Map of Links with Bad RODLevelErrors",
260 m_mapSCT[
summary] =
new TH2F(
"SCT_MapOfLinksWithAnyProbelm",
"Map of Links with Any Bad Problem",
265 m_mapSCT[iProblem]->GetXaxis()->SetTitle(
"#eta");
266 m_mapSCT[iProblem]->GetYaxis()->SetTitle(
"#phi");
278 ATH_MSG_WARNING(
"Cannot book " << profNames[iProblem] <<
", " << profTitles[iProblem]);
284 "Ave. Num of Modules Affected by PS Trip per LB in All Region",
285 NBINS_LBs,0.5,NBINS_LBs+0.5);
293 return (
status ) ? StatusCode::SUCCESS : StatusCode::FAILURE;
◆ bookHists()
StatusCode ManagedMonitorToolBase::bookHists |
( |
| ) |
|
|
virtualinherited |
◆ calculateDetectorCoverage()
double SCTErrMonTool::calculateDetectorCoverage |
( |
const TH2F * |
histo | ) |
const |
|
private |
Definition at line 1490 of file SCTErrMonTool.cxx.
1491 double occupancy{0.};
1494 for (
unsigned int j{0}; j <
s_nBinsPhi; j++) {
1507 double detector_coverage{100. *
static_cast<double>( occupancy )/(
static_cast<double>(
s_nBinsEta ) *
static_cast<double>(
s_nBinsPhi ) )};
1508 return detector_coverage;
◆ checkHists()
StatusCode ManagedMonitorToolBase::checkHists |
( |
bool |
calledFromFinalize | ) |
|
|
virtualinherited |
This implementation does nothing; equivalent functionality may be provided by procHists(...) with appropriate arguments.
Implements IMonitorToolBase.
Reimplemented in SCTHitsNoiseMonTool, SCTTracksMonTool, SCTLorentzMonTool, TileRawChannelMonTool, TileDigitsMonTool, DQTDataFlowMonTool, DQTNonCollBkg_ZDC, DQTGlobalWZFinderTool, DataQualityFatherMonTool, DQTDetSynchMonTool, DQTMuonIDTrackTool, TileCellNoiseMonTool, CscCalibMonToolBase, CscPrdValAlg, and CscRdoValAlg.
Definition at line 1901 of file ManagedMonitorToolBase.cxx.
1906 return StatusCode::SUCCESS;
◆ checkRateHists()
StatusCode SCTErrMonTool::checkRateHists |
( |
| ) |
|
|
private |
Used in procHistograms()
TO BE REPLACED WHEN NEW VERSION OF BASE CLASS IS AVAILABLE:
Definition at line 375 of file SCTErrMonTool.cxx.
391 for (
unsigned int yb{1}; yb <
ybins; ++yb) {
395 if (num_modules > 0) {
404 if (isEndOfEventsBlock) {
421 return StatusCode::SUCCESS;
◆ convertLWHists()
StatusCode ManagedMonitorToolBase::convertLWHists |
( |
| ) |
|
|
virtualinherited |
◆ 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);
◆ 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.
◆ 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.
◆ 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() [1/2]
StatusCode ManagedMonitorToolBase::deregHist |
( |
LWHist * |
h | ) |
|
|
virtualinherited |
Definition at line 1826 of file ManagedMonitorToolBase.cxx.
1830 return StatusCode::FAILURE;
1833 if (
h->usingROOTBackend()) {
1834 h->setOwnsROOTHisto(
true);
1838 return StatusCode::SUCCESS;
◆ deregHist() [2/2]
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 1861 of file ManagedMonitorToolBase.cxx.
1874 return StatusCode::SUCCESS;
◆ 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 1851 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 |
◆ errorsString()
TString SCTErrMonTool::errorsString |
( |
int |
errtype | ) |
const |
|
private |
Used in bookErrHistosGen() and bookErrHistos.
Definition at line 141 of file SCTErrMonTool.cxx.
143 return "MaskedLinkALL";
152 return "LinkLevelErrors";
155 return "RODLevelErrors";
158 return "MaskedChipALL";
◆ 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
◆ fillByteStreamErrors()
StatusCode SCTErrMonTool::fillByteStreamErrors |
( |
| ) |
|
|
private |
Used in fillHistograms()
Definition at line 541 of file SCTErrMonTool.cxx.
545 if (not pEvent.isValid()) {
547 return StatusCode::RECOVERABLE;
555 const EventContext& ctx{Gaudi::Hive::currentContext()};
567 return StatusCode::SUCCESS;
575 tot_mod_bytestreamCate_errs[errType] = 0;
579 const int nLayers{n_layers[
reg]*2};
580 for (
int lyr{0}; lyr < nLayers; ++lyr) {
610 float PSTripModules{0.};
615 for (
const IdentifierHash&
hash: sctHash[iProblem]) {
635 const int nLayers{n_layers[
reg]*2};
636 for (
int lyr{0}; lyr < nLayers; ++lyr) {
639 for (
unsigned int xb{1};
xb < nBinsX; ++
xb) {
641 for (
unsigned int yb{1}; yb < nBinsY; ++yb) {
649 tot_mod_bytestreamCate_errs[errType]++;
681 return StatusCode::SUCCESS;
◆ fillByteStreamErrorsHelper()
int SCTErrMonTool::fillByteStreamErrorsHelper |
( |
const std::set< IdentifierHash > & |
errors, |
|
|
bool |
lumi2DHist, |
|
|
int |
err_type |
|
) |
| |
|
private |
Used in fillByteStreamErrors()
Definition at line 445 of file SCTErrMonTool.cxx.
452 (err_type == SCT_ByteStreamErrors::MaskedLink) or (err_type == SCT_ByteStreamErrors::MaskedROD);
458 if (err_type == tmpBadError) {
467 if (err_type == linkLevelError) {
475 if (err_type == rodLevelError) {
482 (err_type == SCT_ByteStreamErrors::TempMaskedChip0) or (err_type == SCT_ByteStreamErrors::TempMaskedChip1) or
483 (err_type == SCT_ByteStreamErrors::TempMaskedChip2) or (err_type == SCT_ByteStreamErrors::TempMaskedChip3) or
484 (err_type == SCT_ByteStreamErrors::TempMaskedChip4) or (err_type == SCT_ByteStreamErrors::TempMaskedChip5);
490 if (not
hash.is_valid())
continue;
511 if (not lumi2DHist) {
◆ fillCondDBMaps()
StatusCode SCTErrMonTool::fillCondDBMaps |
( |
| ) |
|
|
private |
Definition at line 993 of file SCTErrMonTool.cxx.
1022 bool failedbooking{
false};
1023 TH2* hitsHisto_tmp[2];
1027 std::string regName{(
"SCT" + subDetNameShort[
reg]).
Data()};
1028 const int nLayers{n_layers[
reg]*2};
1031 TH2F hitsHisto_tmp2{
TH2F(mapName.c_str(),
1032 (std::string{
"Module Out of Configuration : "}+subDetName[
reg].Data()+
", "+
1035 n_etabins[
reg], f_etabin[
reg] - 0.5, l_etabin[
reg] + 0.5,
1036 n_phibins[
reg], f_phibin[
reg] - 0.5, l_phibin[
reg] + 0.5)};
1037 hitsHisto_tmp2.GetXaxis()->SetTitle(
"Index in the direction of #eta");
1038 hitsHisto_tmp2.GetYaxis()->SetTitle(
"Index in the direction of #phi");
1039 p2DmapHistoVectorAll[
reg].push_back(hitsHisto_tmp2);
1046 for (; planeIterator not_eq planeEnd; ++planeIterator) {
1047 Identifier planeId{*planeIterator};
1065 p2DmapHistoVectorAll[
reg][element].SetBinContent(
x,
y, IN);
1070 const int nLayers{n_layers[
reg]};
1071 for (
int lyr{0}; lyr < nLayers; ++lyr) {
1077 for (
unsigned int yb{1}; yb <
ybins; ++yb) {
1087 failedbooking =
getHisto(lyr,
reg, 0, hitsHisto_tmp);
1088 if (failedbooking ==
false) {
1094 if (failedbooking ==
false) {
1100 failedbooking =
getHisto(lyr,
reg, 1, hitsHisto_tmp);
1101 if (failedbooking ==
false) {
1105 const int xbins{hitsHisto_tmp[0]->GetNbinsX() + 1};
1106 const int ybins{hitsHisto_tmp[0]->GetNbinsY() + 1};
1109 for (
int yb{1}; yb <
ybins; ++yb) {
1110 float outOfConfig{
static_cast<float>(p2DmapHistoVectorAll[
reg][2 * lyr].GetBinContent(
xb, yb))};
1111 if (outOfConfig < 1.) {
1112 int nSides{numberOfInefficientSides(hitsHisto_tmp,
xb, yb, 1 -
m_effThreshold)};
1114 InEffModules[
reg] += nSides;
1141 const float f{
static_cast<float>(
reg)};
1149 return StatusCode::SUCCESS;
◆ fillConfigurationDetails()
StatusCode SCTErrMonTool::fillConfigurationDetails |
( |
| ) |
|
|
private |
Definition at line 1157 of file SCTErrMonTool.cxx.
1159 unsigned int nBadMods{
static_cast<unsigned int>(
m_ConfigurationTool->badModules()->size())};
1160 const std::map<IdentifierHash, std::pair<bool, bool>>* badLinks{
m_ConfigurationTool->badLinks()};
1161 unsigned int nBadLink0{0}, nBadLink1{0}, nBadLinkBoth{0};
1162 for (
const std::pair<
const IdentifierHash, std::pair<bool, bool>>& link: *badLinks) {
1163 std::pair<bool, bool>
status{link.second};
1164 if ((
status.first ==
false) and (
status.second ==
true)) {
1167 if ((
status.first ==
true) and (
status.second ==
false)) {
1170 if ((
status.first ==
false) and (
status.second ==
false)) {
1176 unsigned int nBadChips{0};
1177 for (
const std::pair<const Identifier, unsigned int>& chip : *badChips) {
1178 unsigned int status{chip.second};
1180 nBadChips += ((
status & (1 <<
i)) == 0 ? 0 : 1);
1184 std::set<Identifier> badStripsAll;
1186 unsigned int nBadStrips{
static_cast<unsigned int>(badStripsAll.size())};
1188 std::set<Identifier> badStripsExclusive;
1190 int nBadStripsExclusive{
static_cast<int>(badStripsExclusive.size())};
1191 int nBadStripsExclusiveBEC[
N_REGIONS] = {
1194 for (
const Identifier&
strip: badStripsExclusive) {
1205 ATH_MSG_DEBUG(
"-----------------------------------------------------------------------");
1209 ATH_MSG_DEBUG(
"Number of bad link both = " << nBadLinkBoth);
1212 ATH_MSG_DEBUG(
"Number of bad strips exclusive = " << nBadStripsExclusive);
1213 ATH_MSG_DEBUG(
"Number of bad strips exclusive (ECC, B, ECA) = "
1217 ATH_MSG_DEBUG(
"-----------------------------------------------------------------------");
1219 return StatusCode::SUCCESS;
◆ fillHistograms()
StatusCode SCTErrMonTool::fillHistograms |
( |
| ) |
|
|
finaloverridevirtual |
An inheriting class should either override this function or fillHists().
Reimplemented from ManagedMonitorToolBase.
Definition at line 301 of file SCTErrMonTool.cxx.
304 if (not pEvent.isValid()) {
306 return StatusCode::SUCCESS;
322 std::array<int, N_REGIONS_INC_GENERAL> nFlaggedWafers{};
323 nFlaggedWafers.fill(0);
325 for (
unsigned int iHash{0}; iHash<wafer_hash_max; iHash++) {
326 const IdentifierHash
hash{iHash};
330 nFlaggedWafers[barrel_ec]++;
339 return StatusCode::SUCCESS;
365 return StatusCode::SUCCESS;
◆ 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 792 of file ManagedMonitorToolBase.cxx.
798 msg(MSG::WARNING) <<
"ManagedMonitorToolBase::initialize() never called from reimplementation!" <<
endmsg;
809 newLumiBlock =
false;
815 newLowStatInterval =
false;
816 newMedStatInterval =
false;
817 newHigStatInterval =
false;
830 isNewEventsBlock =
true;
845 if( LBsLowStat*LBsMedStat*LBsHigStat == 0) {
846 msg(MSG::WARNING) <<
"zero LBs requested for interval" <<
endmsg;
898 std::vector<Interval_t> intervals_to_process;
903 for (
const auto interval: intervals_to_process) {
916 it.m_templateHist->LabelsInflate(
"X");
923 TH1* passedHist =
it.m_templateHist->GetCopyPassedHisto();
924 TH1* totalHist =
it.m_templateHist->GetCopyTotalHisto();
927 passedHist->LabelsInflate(
"X");
928 totalHist->LabelsInflate(
"X");
933 it.m_templateHist->SetPassedHistogram(*passedHist,
"f");
934 it.m_templateHist->SetTotalHistogram(*totalHist,
" ");
942 streamname->updateRunLB();
958 bool filterresult(
true);
961 for (; filterresult && (ifilter != filterend);
963 filterresult = (filterresult && (*ifilter)->accept());
993 if( LBsLowStat*LBsMedStat*LBsHigStat > 0) {
1001 return StatusCode::SUCCESS;
◆ fillWafer()
Definition at line 1352 of file SCTErrMonTool.cxx.
1354 double phiMin{
module.second.first}, phiMax{
module.second.second};
1355 unsigned int nRep{1};
1358 if (phiMin>phiMax) {
1362 for (
unsigned int iRep{0}; iRep<nRep; iRep++) {
1364 phiMin =
module.second.first;
1369 const int iyMin{
static_cast<int>((phiMin/
M_PI+1.)*
s_nBinsPhi/2)+1};
1370 const int iyMax{
static_cast<int>((phiMax/
M_PI+1.)*
s_nBinsPhi/2)};
1373 const double yMin{(
static_cast<double>(iyMin)/
s_nBinsPhi*2-1.)*
M_PI};
1374 const double yMax{(
static_cast<double>(iyMax)/
s_nBinsPhi*2-1.)*
M_PI};
1381 for (
int ix{ixMin}; ix<=ixMax+1; ix++) {
1383 if (ixMin==ixMax+1) weightx = wxOne;
1384 else if (ix==ixMin) weightx = wxMin;
1385 else if (ix==ixMax+1) weightx = wxMax;
1386 for (
int iy{iyMin}; iy<=iyMax+1; iy++) {
1388 if (iyMin==iyMax+1)
weight *= wyOne;
1389 else if (iy==iyMin)
weight *= wyMin;
1390 else if (iy==iyMax+1)
weight *= wyMax;
◆ finalHists()
StatusCode ManagedMonitorToolBase::finalHists |
( |
| ) |
|
|
virtualinherited |
◆ get_nEvents()
unsigned int ManagedMonitorToolBase::get_nEvents |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ get_procNEventsProp()
long ManagedMonitorToolBase::get_procNEventsProp |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ getHist() [1/6]
◆ getHist() [2/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
LWHist *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
◆ getHist() [3/6]
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 1598 of file ManagedMonitorToolBase.cxx.
◆ getHist() [4/6]
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 1588 of file ManagedMonitorToolBase.cxx.
◆ getHist() [5/6]
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 1640 of file ManagedMonitorToolBase.cxx.
◆ getHist() [6/6]
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 1630 of file ManagedMonitorToolBase.cxx.
◆ getHisto()
bool SCTErrMonTool::getHisto |
( |
const int |
lyr, |
|
|
const int |
reg, |
|
|
const int |
type, |
|
|
TH2 * |
histo[2] |
|
) |
| const |
|
private |
Used in fillCondDBMaps()
Definition at line 1259 of file SCTErrMonTool.cxx.
1260 static const std::string trm[2][
N_REGIONS] = {
1261 {
"SCT/SCTEC/Noise/noiseoccupancymapECm_",
"SCT/SCTB/Noise/noiseoccupancymap_",
"SCT/SCTEA/Noise/noiseoccupancymapECp_"},
1262 {
"SCT/SCTEC/eff/ineffm_",
"SCT/SCTB/eff/ineff_",
"SCT/SCTEA/eff/ineffp_"}
1264 static const std::string trm_trig[2][
N_REGIONS] = {
1265 {
"SCT/SCTEC/Noise/noiseoccupancymaptriggerECm_",
"SCT/SCTB/Noise/noiseoccupancymaptrigger_",
"SCT/SCTEA/Noise/noiseoccupancymaptriggerECp_"},
1266 {
"SCT/SCTEC/eff/ineffm_",
"SCT/SCTB/eff/ineff_",
"SCT/SCTEA/eff/ineffp_"}
1283 bool failedBooking{
false};
1290 failedBooking =
true;
1294 failedBooking =
true;
1301 failedBooking =
true;
1305 failedBooking =
true;
1308 return failedBooking;
◆ getHistoRecent()
bool SCTErrMonTool::getHistoRecent |
( |
const int |
lyr, |
|
|
const int |
reg, |
|
|
const int |
type, |
|
|
TH2 * |
histo[2] |
|
) |
| const |
|
private |
Definition at line 1315 of file SCTErrMonTool.cxx.
1316 static const std::string trm[1][
N_REGIONS] = {
1317 {
"SCT/SCTEC/Noise/noiseoccupancymaprecentECm_",
"SCT/SCTB/Noise/noiseoccupancymaprecent_",
"SCT/SCTEA/Noise/noiseoccupancymaprecentECp_"}
1322 bool failedBooking{
false};
1329 failedBooking =
true;
1333 failedBooking =
true;
1339 failedBooking =
true;
1343 failedBooking =
true;
1346 return failedBooking;
◆ getNewStreamNameFcn()
|
protectedvirtualinherited |
◆ initialize()
StatusCode SCTErrMonTool::initialize |
( |
| ) |
|
|
finaloverridevirtual |
Reimplemented from ManagedMonitorToolBase.
Definition at line 109 of file SCTErrMonTool.cxx.
116 m_geo.resize(maxHash, moduleGeo);
124 for (
unsigned int i{0};
i<maxHash;
i++) {
125 IdentifierHash
hash{
i};
128 moduleGeo.first.first, moduleGeo.first.second,
129 moduleGeo.second.first, moduleGeo.second.second,
◆ 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 587 of file ManagedMonitorToolBase.cxx.
590 std::string
str(
"file");
◆ intervalStringToEnum()
Converts a string to the corresponding Interval_t.
Definition at line 629 of file ManagedMonitorToolBase.cxx.
632 std::string lcstr( strToLower(
str) );
636 else if( lcstr ==
"fill" )
638 else if( lcstr ==
"run" )
640 else if( lcstr ==
"lowStat" )
642 else if( lcstr ==
"medStat" )
644 else if( lcstr ==
"higStat" )
646 else if( lcstr ==
"lumiBlock" )
648 else if( lcstr ==
"eventsBlock" )
650 else if( lcstr ==
"file" )
656 if(
sc.isSuccess() ) {
657 MsgStream
log(
ms,
"ManagedMonitorToolBase::intervalStringToEnum()" );
658 log << MSG::WARNING <<
"Unknown ManagedMonitorToolBase::Interval_t \""
659 <<
str <<
"\", returning \"file\"" <<
endmsg;
◆ lbAverageInteractionsPerCrossing()
float ManagedMonitorToolBase::lbAverageInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average mu, i.e.
<mu>
Definition at line 1923 of file ManagedMonitorToolBase.cxx.
1928 return lumi->lbAverageInteractionsPerCrossing();
1931 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 1992 of file ManagedMonitorToolBase.cxx.
2000 return live->lbAverageLiveFraction();
2003 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 1959 of file ManagedMonitorToolBase.cxx.
1964 return lumi->lbAverageLuminosity();
1967 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 2046 of file ManagedMonitorToolBase.cxx.
2054 return dur->lbDuration();
2057 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 1939 of file ManagedMonitorToolBase.cxx.
1944 float muToLumi =
lumi->muToLumi();
1946 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id()) / muToLumi;
1951 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 1975 of file ManagedMonitorToolBase.cxx.
1980 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id());
1983 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 2030 of file ManagedMonitorToolBase.cxx.
2037 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 2011 of file ManagedMonitorToolBase.cxx.
2019 return live->l1LiveFractionVector().at (ctx.eventID().bunch_crossing_id());
2022 ATH_MSG_DEBUG(
"Warning: livefractionPerBCID() - luminosity retrieved available (i.e. EnableLumi = False)");
◆ 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 |
◆ numByteStreamErrors()
void SCTErrMonTool::numByteStreamErrors |
( |
const std::set< IdentifierHash > & |
errors, |
|
|
int & |
ntot |
|
) |
| const |
|
private |
◆ 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 |
◆ preSelector()
bool ManagedMonitorToolBase::preSelector |
( |
| ) |
|
|
virtualinherited |
◆ procHistograms()
StatusCode SCTErrMonTool::procHistograms |
( |
| ) |
|
|
finaloverridevirtual |
◆ psTripDCSSCT()
bool SCTErrMonTool::psTripDCSSCT |
( |
std::set< IdentifierHash > & |
sctHashPSTripDCS, |
|
|
float & |
PSTripModules |
|
) |
| const |
|
private |
Definition at line 1469 of file SCTErrMonTool.cxx.
1470 bool altered{
false};
1471 sctHashPSTripDCS.clear();
1475 for (
unsigned int i{0};
i<maxHash;
i++) {
1476 IdentifierHash
hash{
i};
1480 sctHashPSTripDCS.insert(
hash);
1483 PSTripModules = npsw/2.;
◆ 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 1648 of file ManagedMonitorToolBase.cxx.
1650 return StatusCode::FAILURE;
1652 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1653 std::string
name =
e->GetName();
1659 ATH_MSG_WARNING(
"HEY! Attempting to register "<<
name<<
" as a per-LB histogram, but not setting the merge algorithm! Use \"merge\", at least.");
1666 return StatusCode::FAILURE;
1676 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1683 if (
smd != StatusCode::SUCCESS)
1684 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 1702 of file ManagedMonitorToolBase.cxx.
1706 return StatusCode::FAILURE;
1719 return StatusCode::FAILURE;
1722 std::string
name =
g->GetName();
1730 std::string gName =
g->GetName();
1733 std::string genericName = NoOutputStream().getStreamName(
this,
group, gName );
1741 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 1692 of file ManagedMonitorToolBase.cxx.
◆ regHist() [1/4]
Definition at line 1522 of file ManagedMonitorToolBase.cxx.
1528 return StatusCode::FAILURE;
1540 return StatusCode::FAILURE;
1547 std::string hName =
h->GetName();
1551 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1577 if (
h->usingROOTBackend())
1579 h->setOwnsROOTHisto(
false);
1583 return StatusCode::SUCCESS;
◆ regHist() [2/4]
◆ regHist() [3/4]
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 1462 of file ManagedMonitorToolBase.cxx.
1468 return StatusCode::FAILURE;
1481 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.");
1488 return StatusCode::FAILURE;
1491 std::string hName =
h->GetName();
1499 std::string hName =
h->GetName();
1502 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1510 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regHist() [4/4]
◆ registerMetadata()
StatusCode ManagedMonitorToolBase::registerMetadata |
( |
const std::string & |
streamName, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
protectedinherited |
Definition at line 1005 of file ManagedMonitorToolBase.cxx.
1011 size_t found=mdStreamName.rfind(
'/');
1013 if (
found != std::string::npos )
1014 mdStreamName.replace(
found, mdStreamName.length(),
"/metadata" );
1018 metadata =
new TTree(
"metadata",
"Monitoring Metadata" );
1019 if (!
metadata)
return StatusCode::FAILURE;
1021 if (scmd == StatusCode::FAILURE)
return StatusCode::FAILURE;
1022 MDMap_t::value_type valToInsert( mdStreamName,
new OutputMetadata(
metadata) );
1028 return StatusCode::SUCCESS;
◆ regManagedEfficiencies()
StatusCode ManagedMonitorToolBase::regManagedEfficiencies |
( |
std::vector< MgmtParams< TEfficiency > > & |
templateEfficiencies | ) |
|
|
protectedinherited |
Definition at line 1200 of file ManagedMonitorToolBase.cxx.
1201 bool allIsOk =
true;
1202 for(
auto&
it : templateEfficiencies ) {
1205 TEfficiency* theEfficiency =
it.m_templateHist;
1206 TEfficiency*
e =
static_cast<TEfficiency*
>(theEfficiency->Clone());
1207 int nbins = theEfficiency->GetTotalHistogram()->GetNbinsX();
1208 int xlow = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmin();
1209 int xhigh = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmax();
1210 e->SetBins(
nbins,xlow,xhigh);
1211 std::string
name =
e->GetName();
1214 TGraph* theGraph =
reinterpret_cast<TGraph*
>(theEfficiency);
1215 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1223 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1225 bool doneCleaning =
false;
1227 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1232 if (sc2 == StatusCode::SUCCESS) doneCleaning =
true;
1235 if (!doneCleaning) {
1236 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1241 if (sc3 == StatusCode::FAILURE)
1248 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1251 if (sc4 == StatusCode::FAILURE) allIsOk =
false;
1254 if (!allIsOk)
return StatusCode::FAILURE;
1255 return StatusCode::SUCCESS;
◆ regManagedGraphs()
StatusCode ManagedMonitorToolBase::regManagedGraphs |
( |
std::vector< MgmtParams< TGraph > > & |
templateGraphs | ) |
|
|
protectedinherited |
Definition at line 1129 of file ManagedMonitorToolBase.cxx.
1133 bool allIsOk =
true;
1135 for( std::vector< MgmtParams<TGraph> >::
iterator it = templateGraphs.begin();
it != templateGraphs.end(); ++
it ) {
1136 MonGroup
group = (*it).m_group;
1139 TGraph* theGraph = (*it).m_templateHist;
1142 TGraph*
g =
static_cast<TGraph*
>(theGraph->Clone());
1146 std::string gName =
g->GetName();
1153 if (sc1 == StatusCode::FAILURE)
1158 bool doneCleaning =
false;
1160 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1165 if (sc2 == StatusCode::SUCCESS)
1166 doneCleaning =
true;
1170 if (!doneCleaning) {
1171 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1178 if (sc3 == StatusCode::FAILURE)
1185 if (
smd != StatusCode::SUCCESS)
1190 if (sc4 == StatusCode::FAILURE)
1195 if (!allIsOk)
return StatusCode::FAILURE;
1197 return StatusCode::SUCCESS;
◆ regManagedHistograms()
StatusCode ManagedMonitorToolBase::regManagedHistograms |
( |
std::vector< MgmtParams< TH1 > > & |
templateHistograms | ) |
|
|
protectedinherited |
Definition at line 1032 of file ManagedMonitorToolBase.cxx.
1047 bool allIsOk =
true;
1049 for( std::vector< MgmtParams<TH1> >::
iterator it = templateHistograms.begin();
it != templateHistograms.end(); ++
it ) {
1050 MonGroup&
group = (*it).m_group;
1053 TH1* theHist = (*it).m_templateHist;
1056 TH1*
h =
static_cast<TH1*
>(theHist->Clone());
1060 std::string hName =
h->GetName();
1067 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1071 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1074 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1083 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1087 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1091 if (!allIsOk)
return StatusCode::FAILURE;
1093 return StatusCode::SUCCESS;
◆ regManagedLWHistograms()
StatusCode ManagedMonitorToolBase::regManagedLWHistograms |
( |
std::vector< MgmtParams< LWHist > > & |
templateLWHistograms | ) |
|
|
protectedinherited |
◆ regManagedTrees()
StatusCode ManagedMonitorToolBase::regManagedTrees |
( |
std::vector< MgmtParams< TTree > > & |
templateTrees | ) |
|
|
protectedinherited |
Definition at line 1260 of file ManagedMonitorToolBase.cxx.
1264 bool allIsOk =
true;
1266 for( std::vector< MgmtParams<TTree> >::
iterator it = templateTrees.begin();
it != templateTrees.end(); ++
it ) {
1267 MonGroup
group = (*it).m_group;
1270 TTree* theTree = (*it).m_templateHist;
1273 TTree*
t =
static_cast<TTree*
>(theTree->Clone());
1277 std::string
name =
t->GetName();
1284 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1288 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1291 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1300 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1304 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1308 if (!allIsOk)
return StatusCode::FAILURE;
1310 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 1758 of file ManagedMonitorToolBase.cxx.
1773 return StatusCode::FAILURE;
1776 std::string
name =
t->GetName();
1777 std::string genericName = NoOutputStream().getStreamName(
this, group_unmanaged,
name );
1785 std::string tName =
t->GetName();
1788 std::string genericName = NoOutputStream().getStreamName(
this,
group, tName );
1796 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 1748 of file ManagedMonitorToolBase.cxx.
◆ renounce()
◆ renounceArray()
◆ resetCondDBMaps()
StatusCode SCTErrMonTool::resetCondDBMaps |
( |
| ) |
|
|
private |
◆ resetConfigurationDetails()
StatusCode SCTErrMonTool::resetConfigurationDetails |
( |
| ) |
|
|
private |
Definition at line 1245 of file SCTErrMonTool.cxx.
1247 return StatusCode::SUCCESS;
1252 return StatusCode::SUCCESS;
◆ runStat()
StatusCode ManagedMonitorToolBase::runStat |
( |
| ) |
|
|
virtualinherited |
This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ).
Implements IMonitorToolBase.
Definition at line 1893 of file ManagedMonitorToolBase.cxx.
1896 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 502 of file ManagedMonitorToolBase.cxx.
506 msg(MSG::ERROR) <<
"!! streamNameFunction() has not been initialized !!" <<
endmsg;
507 msg(MSG::ERROR) <<
" --> neither ManagedMonitorToolBase::initialize() nor" <<
endmsg;
508 msg(MSG::ERROR) <<
" --> ManagedMonitorToolBase::setMonManager() has been called." <<
endmsg;
509 msg(MSG::ERROR) <<
" --> Correct configuration cannot be guaranteed from this point." <<
endmsg;
◆ summarySCT()
Definition at line 1452 of file SCTErrMonTool.cxx.
1453 bool altered{
false};
1455 sctHashSummary.clear();
1456 const EventContext& ctx = Gaudi::Hive::currentContext();
1458 for (
unsigned int i{0};
i<maxHash;
i++) {
1459 IdentifierHash
hash{
i};
1460 sctHashAll.insert(
hash);
1462 sctHashSummary.insert(
hash);
◆ syncDisabledSCT()
bool SCTErrMonTool::syncDisabledSCT |
( |
std::set< IdentifierHash > & |
sctHashDisabled | ) |
const |
|
private |
Definition at line 1435 of file SCTErrMonTool.cxx.
1436 bool altered{
false};
1437 sctHashDisabled.clear();
1440 for (
const Identifier& badModule: *badModules) {
1443 IdentifierHash hashSide1;
1445 sctHashDisabled.insert(hashSide0);
1446 sctHashDisabled.insert(hashSide1);
◆ syncErrorSCT()
Definition at line 1401 of file SCTErrMonTool.cxx.
1404 sctHashBadLinkError.clear();
1405 sctHashBadRODError.clear();
1406 sctHashBadError.clear();
1407 const EventContext& ctx{Gaudi::Hive::currentContext()};
1410 const std::set<IdentifierHash> sctErrors{
m_byteStreamErrTool->getErrorSet( linkLevelBadErrors, ctx )};
1411 for (
const IdentifierHash& waferHash : sctErrors) {
1412 sctHashBadLinkError.insert(waferHash);
1418 const std::set<IdentifierHash> sctErrors{
m_byteStreamErrTool->getErrorSet( RodLevelBadErrors, ctx )};
1419 for (
const IdentifierHash& waferHash: sctErrors) {
1420 sctHashBadRODError.insert(waferHash);
1426 const std::set<IdentifierHash> sctErrors{
m_byteStreamErrTool->getErrorSet( tmpBadError, ctx )};
1427 for (
const IdentifierHash& waferHash: sctErrors) {
1428 sctHashBadError.insert(waferHash);
◆ 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 1097 of file ManagedMonitorToolBase.cxx.
1107 GlobalDirectoryRestore restore;
1110 bool graphRemoved =
false;
1113 TDirectory*
dir =
file->GetDirectory(directoryName.c_str());
1116 TObject*
obj =
dir->Remove(theGraph);
1118 graphRemoved =
true;
1121 if (!graphRemoved) {
1122 return StatusCode::FAILURE;
1125 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 2362 of file ManagedMonitorToolBase.cxx.
2364 for (
size_t i = 0;
i < vTrigChainNames.size(); ++
i) {
2365 std::string& thisName = vTrigChainNames[
i];
2366 if (thisName.compare(0, 9,
"CATEGORY_") ==0) {
2367 ATH_MSG_DEBUG(
"Found a trigger category: " << thisName <<
". We will unpack it.");
2369 std::ostringstream oss;
2371 for (
size_t itrig = 0; itrig <
triggers.size(); ++itrig) {
2379 std::string newval = oss.str();
2381 vTrigChainNames[
i] = newval;
◆ updateVHKA()
◆ writeAndDelete()
StatusCode ManagedMonitorToolBase::writeAndDelete |
( |
TH1 * |
h, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Write out histogram and delete it.
Definition at line 1803 of file ManagedMonitorToolBase.cxx.
1806 return StatusCode::FAILURE;
1808 std::string hName =
h->GetName();
1811 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1814 return StatusCode::SUCCESS;
◆ m_allErrsCate
◆ m_bookHistogramsInitial
bool ManagedMonitorToolBase::m_bookHistogramsInitial |
|
privateinherited |
◆ m_byteStreamErrTool
◆ m_ByteStreamVsLB
TProfile_LW* SCTErrMonTool::m_ByteStreamVsLB[SCT_ByteStreamErrors::NUM_ERROR_TYPES] {} |
|
private |
◆ m_checkrate
IntegerProperty SCTErrMonTool::m_checkrate {this, "CheckRate", 1000} |
|
private |
◆ m_checkrecent
IntegerProperty SCTErrMonTool::m_checkrecent {this, "CheckRecent", 20} |
|
private |
◆ m_ConfEffOnline
TProfile* SCTErrMonTool::m_ConfEffOnline {} |
|
private |
◆ m_ConfigurationTool
Initial value:{this, "conditionsTool",
"SCT_ConfigurationConditionsTool/InDetSCT_ConfigurationConditionsTool", "Tool to retrieve SCT Configuration Tool"}
Definition at line 126 of file SCTErrMonTool.h.
◆ m_ConfNew
Profiles requiring postprocessing Under run directories.
Definition at line 161 of file SCTErrMonTool.h.
◆ m_ConfNoiseOnline
◆ m_ConfNoiseOnlineRecent
◆ m_ConfOnline
◆ m_ConfOutModules
Profiles/histograms not requiring postprocessing Under run directories.
Definition at line 140 of file SCTErrMonTool.h.
◆ m_CoverageCheck
BooleanProperty SCTErrMonTool::m_CoverageCheck {this, "CoverageCheck", true} |
|
private |
◆ m_current_lb
int SCTErrMonTool::m_current_lb {0} |
|
private |
◆ m_d
Imp* ManagedMonitorToolBase::m_d |
|
privateinherited |
◆ m_dataType
◆ m_dataTypeStr
std::string ManagedMonitorToolBase::m_dataTypeStr |
|
protectedinherited |
◆ m_dcsTool
ToolHandle<ISCT_DCSConditionsTool> SCTErrMonTool::m_dcsTool {this, "SCT_DCSConditionsTool", "InDetSCT_DCSConditionsTool", "Tool to retrieve SCT DCS information"} |
|
private |
◆ m_defaultLBDuration
float ManagedMonitorToolBase::m_defaultLBDuration |
|
privateinherited |
◆ m_DetailedConfiguration
◆ m_detailLevel
unsigned int ManagedMonitorToolBase::m_detailLevel |
|
protectedinherited |
◆ m_detectorCoverageVsLbs
◆ m_detStore
◆ m_doNegativeEndcap
BooleanProperty SCTErrMonTool::m_doNegativeEndcap {this, "doNegativeEndcap", true} |
|
private |
◆ m_doPerLumiErrors
BooleanProperty SCTErrMonTool::m_doPerLumiErrors {this, "DoPerLumiErrors", true} |
|
private |
◆ m_doPositiveEndcap
BooleanProperty SCTErrMonTool::m_doPositiveEndcap {this, "doPositiveEndcap", true} |
|
private |
◆ m_DQFilterTools
ToolHandleArray<IDQFilterTool> ManagedMonitorToolBase::m_DQFilterTools {this,"FilterTools",{}} |
|
protectedinherited |
◆ m_effThreshold
FloatProperty SCTErrMonTool::m_effThreshold {this, "efficiency_threshold", 0.9} |
|
private |
◆ 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_errThreshold
FloatProperty SCTErrMonTool::m_errThreshold {this, "error_threshold", 0.7} |
|
private |
◆ m_eventInfoKey
◆ m_evtStore
◆ m_fileKey
std::string ManagedMonitorToolBase::m_fileKey |
|
protectedinherited |
◆ m_flaggedTool
◆ m_flaggedWafers
TProfile* SCTErrMonTool::m_flaggedWafers {} |
|
private |
◆ m_FractionOfSCTFlagErrorsPerLB
TProfile_LW* SCTErrMonTool::m_FractionOfSCTFlagErrorsPerLB {} |
|
private |
◆ m_geo
◆ m_gpath
std::string SCTErrMonTool::m_gpath {} |
|
private |
◆ m_haveClearedLastEventBlock
bool ManagedMonitorToolBase::m_haveClearedLastEventBlock |
|
protectedinherited |
◆ m_initialize
bool SCTErrMonTool::m_initialize {false} |
|
private |
◆ m_last_reset_lb
int SCTErrMonTool::m_last_reset_lb {0} |
|
private |
◆ 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_lbDurationDataKey
◆ m_LinksWithCategorisedErrorsVsLB
TProfile_LW* SCTErrMonTool::m_LinksWithCategorisedErrorsVsLB[SCT_Monitoring::CategoryErrors::N_ERRCATEGORY] {} |
|
private |
◆ m_lumiDataKey
◆ m_lwhists
std::set<LWHist*> ManagedMonitorToolBase::m_lwhists |
|
protectedinherited |
◆ m_makeConfHisto
BooleanProperty SCTErrMonTool::m_makeConfHisto {this, "MakeConfHisto", true} |
|
private |
◆ m_manager
◆ m_managerNameProp
std::string ManagedMonitorToolBase::m_managerNameProp |
|
protectedinherited |
◆ m_mapSCT
◆ m_MaskedAllLinks
TH1I* SCTErrMonTool::m_MaskedAllLinks {} |
|
private |
◆ m_metadataMap
MDMap_t ManagedMonitorToolBase::m_metadataMap |
|
protectedinherited |
◆ m_min_stat_ineff_mod
FloatProperty SCTErrMonTool::m_min_stat_ineff_mod {this, "MinStatsForInEffModules", 500.0} |
|
private |
◆ 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_noiseThreshold
IntegerProperty SCTErrMonTool::m_noiseThreshold {this, "noise_threshold", 150} |
|
private |
◆ m_numberOfEvents
int SCTErrMonTool::m_numberOfEvents {0} |
|
private |
◆ m_numberOfEventsLumi
int SCTErrMonTool::m_numberOfEventsLumi {0} |
|
private |
◆ m_NumberOfEventsVsLB
TH1F_LW* SCTErrMonTool::m_NumberOfEventsVsLB {} |
|
private |
◆ m_NumberOfSCTFlagErrorsVsLB
TH1F_LW* SCTErrMonTool::m_NumberOfSCTFlagErrorsVsLB {} |
|
private |
◆ m_numErrorsPerLumi
◆ m_pallErrsCate
◆ m_path
std::string ManagedMonitorToolBase::m_path |
|
protectedinherited |
◆ m_preScaleProp
long ManagedMonitorToolBase::m_preScaleProp |
|
protectedinherited |
◆ m_procNEventsProp
long ManagedMonitorToolBase::m_procNEventsProp |
|
protectedinherited |
◆ m_pSCTHelper
◆ m_PSTripModulesVsLbs
TProfile* SCTErrMonTool::m_PSTripModulesVsLbs {} |
|
private |
◆ m_pSummaryTool
◆ m_rateErrorsPerLumi
◆ m_runOnline
BooleanProperty SCTErrMonTool::m_runOnline {this, "runOnline", false} |
|
private |
◆ m_streamNameFcn
◆ m_summaryErrsRecent
◆ 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_templateLWHistograms
◆ m_templateTrees
◆ m_thistSvc
ServiceHandle<ITHistSvc> SCTErrMonTool::m_thistSvc {this, "THistSvc", "THistSvc"} |
|
private |
a handle on the Hist/TTree registration service
Definition at line 124 of file SCTErrMonTool.h.
◆ m_THistSvc
◆ 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_useDCS
BooleanProperty SCTErrMonTool::m_useDCS {this, "UseDCS", true} |
|
private |
◆ 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 |
◆ s_nBinsEta
const unsigned int SCTErrMonTool::s_nBinsEta = 100 |
|
staticprivate |
◆ s_nBinsPhi
const unsigned int SCTErrMonTool::s_nBinsPhi = 100 |
|
staticprivate |
◆ s_rangeEta
const double SCTErrMonTool::s_rangeEta = 2.5 |
|
staticprivate |
◆ s_WafersThreshold
const double SCTErrMonTool::s_WafersThreshold = 3.0 |
|
staticprivate |
The documentation for this class was generated from the following files:
virtual LWHist * ownedLWHistOfKey(const std::string &key) const
virtual void Fill(const double &x, const double &y) override
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
unsigned int bec2Index(const int bec)
virtual LWHist * writeAndDeleteLWHist(const std::string &key, const std::string &streamName)
virtual unsigned GetNbinsX() const override
Scalar phi() const
phi method
virtual void Fill(const double &x) override
static TH1F_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup)
Scalar eta() const
pseudorapidity method
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual LWHist * writeAndResetLWHist(const std::string &key, const std::string &streamName)
static unsigned int runNumber()
virtual std::string fileKey() const
virtual double GetBinContent(unsigned binx, unsigned biny) const override
virtual void passOwnership(TObject *h, const std::string &key)
Pass ownership of a TObject/LWHist to this manager so that it will be deleted appropriately.
const_id_iterator wafer_begin(void) const
Iterators over full set of ids. Wafer iterator is sorted.
double GetBinContent(unsigned binx, unsigned biny) const
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool msgLvl(const MSG::Level lvl) const
static void setStreamName(LWHist *, const std::string &streamName)
std::vector< Identifier >::const_iterator const_id_iterator
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
int phi_module(const Identifier &id) const
static TProfile2D_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup, unsigned nbinsy, const double &ylow, const double &yup, const char *option=" ")
bool empty() const
Test if the key is blank.
void getEtaPhiRegion(double deltaZ, double &etaMin, double &etaMax, double &phiMin, double &phiMax, double &rz) const
Method for building up region of interest table.
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
reg
globals -----------------------------------------------------------------—
void Fill(const double &x, const double &y, const double &z)
static unsigned int getLBsLowStat()
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
@ Error
The sub-detector issued an error.
static Environment_t environment()
Returns the running environment of the monitoring application to help ManagedMonitorToolBase objects ...
virtual void Reset() override
static const std::string & streamName(LWHist *)
virtual void Reset() override
Bec index2Bec(const unsigned int i)
Conversion index->bec.
static unsigned int getLBsMedStat()
bool usingROOTBackend() const
static void removeCustomData(LWHist *)
@ numberOfProblemForCoverage
static DataType_t dataType()
Returns the data type that the monitoring application is running over to help ManagedMonitorToolBase ...
static const std::string & key(LWHist *)
void SetTitle(const char *)
static TProfile_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup, const char *option=" ")
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.
IdentifierHash wafer_hash(const Identifier &wafer_id) const
wafer hash from id - optimized
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
int get_other_side(const IdentifierHash &id, IdentifierHash &other) const
Wafer hash on other side.
void fcn(int &, double *, double &result, double par[], int)
this is where we write out chi2
void Fill(const double &x, const double &y)
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
unsigned GetNbinsY() const
virtual unsigned GetNbinsY() const override
size_type wafer_hash_max(void) const
std::string to_string(const DetectorType &type)
static TH2F_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xmin, const double &xmax, unsigned nbinsy, const double &ymin, const double &ymax)
void SetBinLabel(unsigned bin, const char *label)
static unsigned int getLBsHigStat()
ErrorType
SCT byte stream error type enums used in SCT_RodDecoder, SCT_ByteStreamErrorsTool,...
static void setKey(LWHist *, const std::string &key)
int layer_disk(const Identifier &id) const
void setOwnsROOTHisto(bool b)
unsigned GetNbinsX() const
virtual void Reset() override
#define ATH_MSG_WARNING(x)
filelist
print ("Checking files %s..." % fullfile)
int eta_module(const Identifier &id) const
double GetBinCenter(int bin) const
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
int side(const Identifier &id) const
const_id_iterator wafer_end(void) const
int getNumModules(const int reg, const int layer)
static unsigned int lumiBlockNumber()
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const
For a single side of module.
virtual TH1 * getROOTHistBase()=0
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>