|
ATLAS Offline Software
|
#include <LArCellMonTool.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...
|
|
|
| LArCellMonTool (const std::string &type, const std::string &name, const IInterface *parent) |
|
virtual | ~LArCellMonTool () |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | finalize () override |
|
virtual StatusCode | bookHistograms () override |
| An inheriting class should either override this function or bookHists(). More...
|
|
virtual StatusCode | procHistograms () override |
| An inheriting class should either override this function or finalHists(). More...
|
|
virtual StatusCode | fillHistograms () override |
| An inheriting class should either override this function or fillHists(). More...
|
|
virtual StatusCode | bookBaseHists (MonGroup *group) |
|
StatusCode | checkFilters (bool &ifPass) |
|
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 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 | 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...
|
|
|
int | m_lb |
|
bool | m_passBeamBackgroundRemoval |
|
TH1I * | m_h_EvtRejSumm |
|
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 |
|
|
enum | LayerEnum {
EMBPA =0,
EMBPC,
EMB1A,
EMB1C,
EMB2A,
EMB2C,
EMB3A,
EMB3C,
HEC0A,
HEC0C,
HEC1A,
HEC1C,
HEC2A,
HEC2C,
HEC3A,
HEC3C,
EMECPA,
EMECPC,
EMEC1A,
EMEC1C,
EMEC2A,
EMEC2C,
EMEC3A,
EMEC3C,
FCAL1A,
FCAL1C,
FCAL2A,
FCAL2C,
FCAL3A,
FCAL3C,
MAXLAYER
} |
|
enum | LayerEnumNoSides {
EMBPNS =0,
EMB1NS,
EMB2NS,
EMB3NS,
HEC0NS,
HEC1NS,
HEC2NS,
HEC3NS,
EMECPNS,
EMEC1NS,
EMEC2NS,
EMEC3NS,
FCAL1NS,
FCAL2NS,
FCAL3NS,
MAXLYRNS
} |
|
enum | PartitionEnum {
EMBA,
EMBC,
EMECA,
EMECC,
HECA,
HECC,
FCALA,
FCALC,
MAXPARTITIONS
} |
|
enum | Direction { OVER,
UNDER,
NONE,
BOTH
} |
|
enum | TriggerType {
RNDM,
CALO,
MINBIAS,
MET,
MISC,
NOTA,
MAXTRIGTYPE
} |
|
typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
|
|
StatusCode | initThreshHists () |
|
void | setLArCellBinning () |
|
void | resetInternals () |
|
StatusCode | bookLarMultThreHists () |
|
StatusCode | bookSporHists () |
|
StatusCode | bookLarNonThreHists () |
|
void | regTempHist (TH1 *h, MonGroup &mg) const |
|
StatusCode | createPerJobHistograms (const EventContext &ctx, const CaloCellContainer *cellcont) |
|
void | checkTriggerAndBeamBackground () |
|
void | sporadicNoiseCandidate (const CaloCell *cell, const LArCellMonTool::LayerEnum iLyr, const float threshold, const LArOnOffIdMapping *cabling) |
|
void | getHistoCoordinates (const CaloDetDescrElement *dde, float &celleta, float &cellphi, unsigned &iLyr, unsigned &iLyrNS) const |
|
StatusCode | fillOccupancyHist (LArCellMonTool::thresholdHist_t &thr, const CaloDetDescrManager *detDescMgr) |
|
void | bookNoisyCellHistos (SporadicNoiseCell_t &result, const CaloDetDescrElement *dde, const PartitionEnum part, const float threshold, const LArOnOffIdMapping *cabling) |
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
|
const std::array< std::string, MAXLAYER > | m_layerNames |
|
const std::array< std::string, MAXLYRNS > | m_lyrNSNames |
|
const std::array< std::string, MAXPARTITIONS > | m_partitionNames {{"EMBA","EMBC","EMECA","EMECC","HECA","HECC","FCALA","FCALC"}} |
|
const std::map< unsigned, LayerEnumNoSides > | m_caloSamplingToLyrNS |
|
const std::array< PartitionEnum, MAXLAYER > | m_layerEnumtoPartitionEnum |
|
const std::string | m_lArPath {"/CaloMonitoring/LArCellMon_NoTrigSel_OldTool/"} |
|
const std::array< float,MAXLYRNS > | m_eCutForTiming |
|
bool | m_oncePerJobHistosDone =false |
|
SG::ReadHandleKey< CaloCellContainer > | m_cellContainerName { this, "CaloCellContainer", "AllCalo", "SG key of the input cell container" } |
|
SG::ReadCondHandleKey< CaloNoise > | m_noiseKey { this, "NoiseKey", "totalNoise", "SG key for noise" } |
|
SG::ReadCondHandleKey< CaloDetDescrManager > | m_caloMgrKey |
|
bool | m_useTriggerCaloMon |
|
ToolHandle< Trig::TrigDecisionTool > | m_trigDec |
| TDT handle. More...
|
|
std::array< std::string, NOTA > | m_triggerNames |
|
std::array< const Trig::ChainGroup *, NOTA > | m_chainGroups {{}} |
|
LArBadChannelMask | m_bcMask |
|
Gaudi::Property< std::vector< std::string > > | m_problemsToMask {this,"ProblemsToMask",{}, "Bad-Channel categories to mask"} |
|
bool | m_maskKnownBadChannels |
|
bool | m_maskNoCondChannels |
|
bool | m_doSaveTempHists |
|
bool | m_doKnownBadChannelsVsEtaPhi |
|
bool | m_doDatabaseNoiseVsEtaPhi |
|
bool | m_doEnergyVsTime |
|
bool | m_doUnnormalized1DEnergy |
|
bool | m_useLogarithmicEnergyBinning |
|
bool | m_useWeightedEffMerging |
|
bool | m_sporadic_switch |
|
float | m_threshold_em_S0S1 |
|
float | m_threshold_HECFCALEMS2S3 |
|
unsigned | m_sporadicPlotLimit |
|
unsigned | m_sporadic_protc |
|
unsigned | m_minSporadicNoiseEventsPerCell |
|
StringArrayProperty | m_thresholdNameProp |
|
StringArrayProperty | m_thresholdDirectionProp |
|
StringArrayProperty | m_triggersToIncludeProp |
|
StringArrayProperty | m_triggersToExcludeProp |
|
StringArrayProperty | m_thresholdTitleTemplates |
|
FloatArrayProperty | m_defaultThresholds |
|
BooleanArrayProperty | m_inSigNoise |
|
BooleanArrayProperty | m_doPercentageOccupancyProp |
|
BooleanArrayProperty | m_doEtaPhiOccupancyProp |
|
BooleanArrayProperty | m_doEtaOccupancyProp |
|
BooleanArrayProperty | m_doPhiOccupancyProp |
|
BooleanArrayProperty | m_doEtaPhiTotalEnergyProp |
|
BooleanArrayProperty | m_doEtaPhiAverageEnergyProp |
|
BooleanArrayProperty | m_doEtaPhiAverageQualityProp |
|
BooleanArrayProperty | m_doEtaPhiFractionOverQthProp |
|
FloatArrayProperty | m_qualityFactorThresholdProp |
|
BooleanArrayProperty | m_doEtaPhiAverageTimeProp |
|
BooleanArrayProperty | m_doEtaPhiFractionPastTthProp |
|
FloatArrayProperty | m_timeThresholdProp |
|
BooleanArrayProperty | m_doBeamBackgroundRemovalProp |
|
StringArrayProperty | m_thresholdColumnType |
|
FloatArrayProperty | m_thresholdsProp [MAXLYRNS] |
|
std::vector< thresholdHist_t > | m_thresholdHists |
|
const LArOnlineID * | m_LArOnlineIDHelper |
|
const CaloCell_ID * | m_calo_id |
|
SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingKey {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"} |
|
SG::ReadCondHandleKey< LArBadChannelCont > | m_BCKey {this, "BadChanKey", "LArBadChannel", "SG key for LArBadChan object"} |
|
std::array< CaloMonitoring::LArCellBinning, MAXLAYER > | m_binning |
|
std::string | m_sporadicDir |
|
unsigned | m_counter_sporadic_protc =0 |
|
std::unordered_map< Identifier, SporadicNoiseCell_t, idHasher > | m_sporadicNoiseCells |
|
std::array< TH1F *, MAXPARTITIONS > | m_h_sporadicHists |
|
std::array< unsigned, MAXPARTITIONS > | m_sporadicPerPartCounter {} |
|
TH1F * | m_h_n_trigEvent =nullptr |
|
std::array< TH1F *, MAXLAYER > | m_h_energy {{}} |
|
std::array< TH2F *, MAXLAYER > | m_h_energyVsTime {{}} |
|
std::array< TH1F *, MAXLAYER > | m_h_cellTime {{}} |
|
std::array< TH1F *, MAXLAYER > | m_h_energyVsTime_DifferThresholds {{}} |
|
std::array< TH2F *, MAXLAYER > | m_h_badChannels_etaphi {{}} |
|
std::array< TH2F *, MAXLAYER > | m_h_dbnoise_etaphi {{}} |
|
std::array< TH1F *, MAXLAYER > | m_h_nActiveCellsFirstEvent_eta {{}} |
|
std::array< TH1F *, MAXLAYER > | m_h_nActiveCellsFirstEvent_phi {{}} |
|
bool | m_useBadLBTool |
|
ToolHandle< IDQFilterTool > | m_BadLBTool |
|
bool | m_useReadyFilterTool |
|
ToolHandle< IDQFilterTool > | m_ReadyFilterTool |
|
bool | m_useLArNoisyAlg |
|
bool | m_useCollisionFilterTool |
|
bool | m_useBeamBackgroundRemoval |
|
SG::ReadHandleKey< xAOD::EventInfo > | m_EventInfoKey {this, "EventInfoKey", "EventInfo"} |
|
SG::ReadHandleKey< LArCollisionTime > | m_LArCollisionTimeKey {this, "LArCollisionTimeKey", "LArCollisionTime"} |
|
SG::ReadHandleKey< BeamBackgroundData > | m_beamBackgroundKey {this, "BeamBackgroundKey", "CSCBackgroundForCaloMon"} |
|
bool | m_newLowStatInterval |
|
bool | m_newMedStatInterval |
|
bool | m_newHigStatInterval |
|
bool | m_newLowStat |
|
bool | m_newLumiBlock |
|
bool | m_newRun |
|
bool | m_newEventsBlock |
|
bool | m_endOfEventsBlock |
|
bool | m_endOfLowStat |
|
bool | m_endOfLumiBlock |
|
bool | m_endOfRun |
|
SG::ReadCondHandleKey< LuminosityCondData > | m_lumiDataKey {this,"LuminosityCondDataKey","LuminosityCondData","SG Key of LuminosityCondData object"} |
|
SG::ReadCondHandleKey< LBDurationCondData > | m_lbDurationDataKey {this,"LBDurationCondDataKey","LBDurationCondData","SG Key of LBDurationCondData object"} |
|
SG::ReadCondHandleKey< TrigLiveFractionCondData > | m_trigLiveFractionDataKey {this,"TrigLiveFractionCondDataKey","TrigLiveFractionCondData","SG Key of TrigLiveFractionCondData object"} |
|
bool | m_bookHistogramsInitial |
|
bool | m_useLumi |
|
float | m_defaultLBDuration |
|
std::set< Interval_t > | m_supportedIntervalsForRebooking |
|
Imp * | m_d |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Definition at line 52 of file LArCellMonTool.h.
◆ MDMap_t
◆ StoreGateSvc_t
◆ Direction
◆ 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.
◆ LayerEnum
Enumerator |
---|
EMBPA | |
EMBPC | |
EMB1A | |
EMB1C | |
EMB2A | |
EMB2C | |
EMB3A | |
EMB3C | |
HEC0A | |
HEC0C | |
HEC1A | |
HEC1C | |
HEC2A | |
HEC2C | |
HEC3A | |
HEC3C | |
EMECPA | |
EMECPC | |
EMEC1A | |
EMEC1C | |
EMEC2A | |
EMEC2C | |
EMEC3A | |
EMEC3C | |
FCAL1A | |
FCAL1C | |
FCAL2A | |
FCAL2C | |
FCAL3A | |
FCAL3C | |
MAXLAYER | |
Definition at line 72 of file LArCellMonTool.h.
◆ LayerEnumNoSides
Enumerator |
---|
EMBPNS | |
EMB1NS | |
EMB2NS | |
EMB3NS | |
HEC0NS | |
HEC1NS | |
HEC2NS | |
HEC3NS | |
EMECPNS | |
EMEC1NS | |
EMEC2NS | |
EMEC3NS | |
FCAL1NS | |
FCAL2NS | |
FCAL3NS | |
MAXLYRNS | |
Definition at line 78 of file LArCellMonTool.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.
◆ PartitionEnum
Enumerator |
---|
EMBA | |
EMBC | |
EMECA | |
EMECC | |
HECA | |
HECC | |
FCALA | |
FCALC | |
MAXPARTITIONS | |
Definition at line 82 of file LArCellMonTool.h.
◆ TriggerType
Enumerator |
---|
RNDM | |
CALO | |
MINBIAS | |
MET | |
MISC | |
NOTA | |
MAXTRIGTYPE | |
Definition at line 119 of file LArCellMonTool.h.
◆ LArCellMonTool()
LArCellMonTool::LArCellMonTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
Definition at line 40 of file LArCellMonTool.cxx.
42 m_trigDec(
"Trig::TrigDecisionTool/TrigDecisionTool"),
48 declareInterface<IMonitorToolBase>(
this);
◆ ~LArCellMonTool()
LArCellMonTool::~LArCellMonTool |
( |
| ) |
|
|
virtualdefault |
◆ bookBaseHists()
StatusCode CaloMonToolBase::bookBaseHists |
( |
MonGroup * |
group | ) |
|
|
virtualinherited |
Definition at line 66 of file CaloMonToolBase.cxx.
67 m_h_EvtRejSumm =
new TH1I(
"nEvtsRejectByDifferentTool",
"Total Events: bin 1, ATLAS Ready: 2, && Good LAr LB: 3, && No LAr collision: 4, && No Beam Background: 5, && No Trigger Filer: 6, && No LArError: 7 ",7,1.,8.);
70 const std::array<const char*,7> binLabels={{
"TotalEvents",
"ATLAS Ready",
"with Good LAr LB",
"with No LAr Collision",
"with No Beam Background",
"with No Trigger Filter",
"with No LArError"}};
72 for (
unsigned i=0;
i<binLabels.size();++
i) {
◆ bookHistograms()
StatusCode LArCellMonTool::bookHistograms |
( |
| ) |
|
|
overridevirtual |
◆ bookHistogramsRecurrent()
StatusCode ManagedMonitorToolBase::bookHistogramsRecurrent |
( |
| ) |
|
|
virtualinherited |
An inheriting class should either override this function, bookHists() or bookHistograms().
Reimplemented in SCTHitEffMonTool, SCTHitsNoiseMonTool, SCTErrMonTool, SCTTracksMonTool, SCTLorentzMonTool, AFPHitsMonitorTool, InDetGlobalBCMTool, DQTDataFlowMonTool, RpcLv1RawDataEfficiency, LVL1::CalorimeterL1CaloMon, LVL1::L1CaloCTPMon, LVL1::L1CaloLevel2Mon, LVL1::L1CaloPMTScoresMon, MdtRawDataValAlg, InDetGlobalTrackMonTool, InDetGlobalHitsMonTool, TRT_Monitoring_Tool, LVL1::L1CaloL1TopoMon, CaloTowerVecMon, DQTGlobalWZFinderTool, InDetGlobalTopBottomMonTool, DataQualityFatherMonTool, InDetGlobalNoiseOccupancyMonTool, RpcLv1RawDataValAlg, CaloClusterVecMon, RpcLv1RawDataSectorLogic, CaloTransverseBalanceVecMon, InDetGlobalBeamSpotMonTool, MdtVsTgcRawDataValAlg, MdtVsRpcRawDataValAlg, InDetGlobalErrorMonTool, ManagedMonitorToolTest, InDetGlobalPrimaryVertexMonTool, HIMonitoringEventShapeTool, AFPTechnicalMonitorTool, HIMonitoringZdcTool, HIMonitoringElectronsTool, HIMonitoringPhotonsTool, and HIMonitoringMuonsTool.
Definition at line 1394 of file ManagedMonitorToolBase.cxx.
1401 return StatusCode::SUCCESS;
◆ bookHists()
StatusCode ManagedMonitorToolBase::bookHists |
( |
| ) |
|
|
virtualinherited |
◆ bookLarMultThreHists()
StatusCode LArCellMonTool::bookLarMultThreHists |
( |
| ) |
|
|
private |
Definition at line 1047 of file LArCellMonTool.cxx.
1066 const std::string cscVetoTitle(thr.m_doBeamBackgroundRemoval ?
" with CSC veto" :
" w/o CSC veto");
1067 const std::string cscVetoName(thr.m_doBeamBackgroundRemoval ?
"_CSCveto" :
"");
1069 for (
unsigned iLyr=0;iLyr<
MAXLAYER;++iLyr) {
1070 const unsigned iLyrNS=iLyr/2;
1074 if (thr.m_doEtaPhiOccupancy || thr.m_doEtaPhiAverageEnergy || thr.m_doEtaPhiAverageTime || thr.m_doEtaPhiFractionPastTth) {
1075 ATH_MSG_DEBUG(
"Booking 2D occupancy histograms for threshold " << thr.m_threshName <<
", layer " <<
m_layerNames[iLyr]);
1076 if (thr.m_doPercentageOccupancy) {
1078 thr.m_h_occupancy_etaphi[iLyr]=
newEtaPhiHist(std::string(
"PercentCellOccupancyVsEtaPhi_")+
m_layerNames[iLyr]+
"_"+thr.m_threshName+cscVetoName,
1079 "Percentage of events in (#eta,#phi) for "+
m_layerNames[iLyr]+
" - "+thr.m_threshTitles[iLyrNS]+cscVetoTitle,
1083 thr.m_h_occupancy_etaphi[iLyr]=
newEtaPhiHist(std::string(
"CellOccupancyVsEtaPhi_")+
m_layerNames[iLyr]+
"_"+thr.m_threshName,
1084 "No. of events in (#eta,#phi) for "+
m_layerNames[iLyr]+
" - "+thr.m_threshTitles[iLyrNS]+cscVetoTitle,
1087 if (thr.m_doEtaPhiOccupancy)
1088 ATH_CHECK(monGroup2DOcc.regHist(thr.m_h_occupancy_etaphi[iLyr]));
1090 regTempHist(thr.m_h_occupancy_etaphi[iLyr],monGroupTemp);
1096 if (thr.m_doEtaOccupancy) {
1097 ATH_MSG_DEBUG(
"Booking eta occupancy histograms for threshold " << thr.m_threshName <<
", layer " <<
m_layerNames[iLyr]);
1098 std::string
histName=std::string(
"CellOccupancyVsEta_") +
m_layerNames[iLyr] +
"_" + thr.m_threshName;
1099 std::string histTitle;
1100 if (thr.m_doPercentageOccupancy)
1101 histTitle=
"Percentage of events in (#eta) for ";
1103 histTitle=
"No. of events in (#eta) for ";
1105 histTitle+=(
m_layerNames[iLyr] +
" - " + thr.m_threshTitles[iLyrNS] + cscVetoTitle);
1108 thr.m_h_occupancy_eta[iLyr]->GetXaxis()->SetTitle(
"#eta");
1109 ATH_CHECK(monGroup1DOcc.regHist(thr.m_h_occupancy_eta[iLyr]));
1113 if (thr.m_doPhiOccupancy) {
1114 ATH_MSG_DEBUG(
"Booking phi occupancy histograms for threshold " << thr.m_threshName <<
", layer " <<
m_layerNames[iLyr]);
1115 std::string
histName=std::string(
"CellOccupancyVsPhi_") +
m_layerNames[iLyr] +
"_" + thr.m_threshName;
1116 std::string histTitle;
1117 if (thr.m_doPercentageOccupancy)
1118 histTitle=
"Percentage of events in (#phi) for ";
1120 histTitle=
"No. of events in (#phi) for ";
1122 histTitle+=(
m_layerNames[iLyr] +
" - " + thr.m_threshTitles[iLyrNS] + cscVetoTitle);
1125 thr.m_h_occupancy_phi[iLyr]->GetXaxis()->SetTitle(
"#phi");
1126 ATH_CHECK(monGroup1DOcc.regHist(thr.m_h_occupancy_phi[iLyr]));
1131 if (thr.m_doEtaPhiTotalEnergy || thr.m_doEtaPhiAverageEnergy) {
1132 ATH_MSG_DEBUG(
"Booking 2D total energy histograms for threshold " << thr.m_threshName <<
", layer " <<
m_layerNames[iLyr]);
1133 thr.m_h_totalEnergy_etaphi[iLyr]=
newEtaPhiHist(
"TotalEnergyVsEtaPhi_"+
m_layerNames[iLyr]+
"_"+thr.m_threshName+cscVetoName,
1134 "Total Cell Energy vs (#eta,#phi) in "+
m_layerNames[iLyr]+
" - "+thr.m_threshTitles[iLyrNS]+cscVetoTitle,
1136 ATH_CHECK(monGroupTotalE.regHist(thr.m_h_totalEnergy_etaphi[iLyr]));
1139 if (thr.m_doEtaPhiAverageEnergy) {
1140 ATH_MSG_DEBUG(
"Booking 2D average energy histograms for threshold " << thr.m_threshName <<
", layer " <<
m_layerNames[iLyr]);
1142 "Average Cell Energy vs (#eta,#phi) for "+
m_layerNames[iLyr]+
" - "+thr.m_threshTitles[iLyrNS]+cscVetoTitle,
1144 ATH_CHECK(monGroupAvgE.regHist(thr.m_h_averageEnergy_etaphi[iLyr]));
1148 if (thr.m_doEtaPhiAverageTime) {
1149 ATH_MSG_DEBUG(
"Booking 2D average time histograms for threshold " << thr.m_threshName <<
", layer " <<
m_layerNames[iLyr]);
1151 thr.m_h_totalTime_etaphi[iLyr]=
newEtaPhiHist(
"TempTotalTimeVsEtaPhi_"+
m_layerNames[iLyr]+
"_"+thr.m_threshName+cscVetoName,
1152 "Total Cell Time vs (#eta,#phi) for "+
m_layerNames[iLyr]+
" - "+thr.m_threshTitles[iLyrNS]+cscVetoTitle,
1155 regTempHist(thr.m_h_totalTime_etaphi[iLyr],monGroupTemp);
1159 "Average Cell Time vs (#eta,#phi) for "+
m_layerNames[iLyr]+
" - "+thr.m_threshTitles[iLyrNS]+cscVetoTitle,
1161 ATH_CHECK(monGroupAvgT.regHist(thr.m_h_averageTime_etaphi[iLyr]));
1165 if (thr.m_doEtaPhiFractionPastTth) {
1166 ATH_MSG_DEBUG(
"Booking 2D poor time histograms for threshold " << thr.m_threshName <<
", layer " <<
m_layerNames[iLyr]);
1168 "Occupancy of Cells beyond quality threshold vs (#eta,#phi) for "+
m_layerNames[iLyr]+
" - "+thr.m_threshTitles[iLyrNS]+cscVetoTitle,
1171 regTempHist(thr.m_h_poorTimeOccupancy_etaphi[iLyr],monGroupTemp);
1173 std::stringstream sHistTitle;
1174 sHistTitle.precision(0);
1175 sHistTitle <<
"Fraction of Events in " <<
m_layerNames[iLyr] <<
" with " << thr.m_threshName
1176 <<
" for which the Time is further than " << thr.m_timeThreshold <<
" from Zero";
1180 ATH_CHECK(monGroupOutOfTime.regHist(thr.m_h_fractionPastTth_etaphi[iLyr]));
1183 if (thr.m_doEtaPhiFractionOverQth) {
1184 thr.m_h_poorQualityOccupancy_etaphi[iLyr]=
newEtaPhiHist(
"TempPoorQualityOccupancy"+
m_layerNames[iLyr]+
"_"+thr.m_threshName+cscVetoName,
1185 "Occupancy of Cells beyond quality threshold vs (#eta,#phi) in" +
m_layerNames[iLyr]+
" - "+thr.m_threshTitles[iLyrNS]+cscVetoTitle,
1187 regTempHist(thr.m_h_poorQualityOccupancy_etaphi[iLyr],monGroupTemp);
1191 std::stringstream sHistTitle;
1192 sHistTitle.precision(0);
1193 sHistTitle <<
"Fraction of Events in " <<
m_layerNames[iLyr] <<
" with " << thr.m_threshName
1194 <<
" for which the Quality Factor Exceeds " << thr.m_qualityFactorThreshold;
1199 ATH_CHECK(monGroupPoorQ.regHist(thr.m_h_fractionOverQth_etaphi[iLyr]));
1202 if (thr.m_doEtaPhiAverageQuality) {
1203 thr.m_h_totalQuality_etaphi[iLyr]=
newEtaPhiHist(
"TempTotalQuality_"+
m_layerNames[iLyr]+
"_"+thr.m_threshName+cscVetoName,
1204 "Total quality factor of Cells vs (#eta,#phi) in " +
m_layerNames[iLyr]+
" - "+thr.m_threshTitles[iLyrNS]+cscVetoTitle,
1206 regTempHist(thr.m_h_totalQuality_etaphi[iLyr],monGroupTemp);
1209 thr.m_h_averageQuality_etaphi[iLyr]=
newEtaPhiHist(
"AverageQualityVsEtaPhi_"+
m_layerNames[iLyr]+
"_"+thr.m_threshName+cscVetoName,
1210 "Average Cell Quality in " +
m_layerNames[iLyr] +
" with " + thr.m_threshTitles[iLyrNS]+cscVetoTitle,
1213 ATH_CHECK(monGroupAvgQ.regHist(thr.m_h_averageQuality_etaphi[iLyr]));
1218 return StatusCode::SUCCESS;
◆ bookLarNonThreHists()
StatusCode LArCellMonTool::bookLarNonThreHists |
( |
| ) |
|
|
private |
Definition at line 414 of file LArCellMonTool.cxx.
418 m_h_n_trigEvent =
new TH1F(
"nEvtsByTrigger",
"Total Events: bin 0, RNDM Trigger: 1, Calo Trigger: 2, MinBias Trigger: 3, MET Trigger: 4, Misc Trigger: 5, Events Selected for Noise Plots: 6 ",7,1.,8.);
446 const std::string histTitle=std::string(
"Cell Energy in ") +
m_layerNames[ilyr]+
" with CSC veto";
449 m_h_energy[ilyr]->GetYaxis()->SetTitle(
"Cell Events");
450 m_h_energy[ilyr]->GetYaxis()->SetTitleOffset(2);
462 ytitle <<
"Cell Events/" <<
m_h_energy[ilyr]->GetYaxis()->GetBinWidth(1) <<
"MeV";
464 m_h_energy[ilyr]->GetYaxis()->SetTitleOffset(2);
467 m_h_energy[ilyr]->GetXaxis()->SetTitle(
"Cell Energy (MeV)");
468 m_h_energy[ilyr]->GetXaxis()->SetLabelSize(0.02);
469 m_h_energy[ilyr]->GetXaxis()->SetLabelOffset(0.01);
470 m_h_energy[ilyr]->GetXaxis()->SetTitleSize(0.03);
471 m_h_energy[ilyr]->GetXaxis()->SetTitleOffset(1.5);
478 const int nbintime = 92;
479 const double timescale[93] = {-200,-195,-190,-185,-180,-175,-170,-165,-160,-155,-150,-145,-140,-135,-130,-125,-120,-115,-110,-105,-100,-95,-90,-85,-80,-75,-70,-65,-60,-55,-50,-45,-40,-35,-30,-25,-20,-15,-10,-8,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,8,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195,200};
480 const int nbinenergy = 11;
481 const double energyscale[12] = {250,500,1000,2500,5000,10000,25000,50000,100000,250000,500000,1000000};
484 const std::string histTitle=std::string(
"Cell Energy vs Cell Time in ") +
m_layerNames[ilyr]+
" with CSC veto";
491 std::stringstream shistName;
492 shistName <<
"CellEnergyVsTime_" <<
m_layerNames[ilyr] <<
"_" << eThr;
493 std::stringstream shistTitle;
494 shistTitle <<
m_layerNames[ilyr] <<
" - Cell Time (E>" << eThr <<
" MeV) with CSC veto";
502 return StatusCode::SUCCESS;
◆ bookNoisyCellHistos()
Definition at line 569 of file LArCellMonTool.cxx.
573 const HWIdentifier onlID=
cabling->createSignalChannelID(dde->
identify());
579 std::stringstream hName;
583 std::stringstream titleSuffix;
584 titleSuffix.precision(0);
585 titleSuffix <<
"::" <<
threshold*1
e-3 <<
"GeV with CSC veto";
590 result.m_h_energy=
new TH1F((hName.str()+
"_EN").c_str(),
591 (hName.str()+
"_EN"+titleSuffix.str()).c_str(),
593 result.m_h_energy->GetXaxis()->SetTitle(
"MeV");
594 result.m_h_energy->GetYaxis()->SetTitle(
"Number of Events");
600 result.m_h_quality=
new TH1F((hName.str()+
"_Quality").c_str(),
601 (hName.str()+
"_Quality"+titleSuffix.str()).c_str(),
603 result.m_h_quality->GetXaxis()->SetTitle(
"Quality Factor");
604 result.m_h_quality->GetYaxis()->SetTitle(
"Number of Events");
610 (hName.str()+
"_LB"+titleSuffix.str()).c_str(),
612 result.m_h_energyVsLB->GetXaxis()->SetTitle(
"LumiBlocks");
613 result.m_h_energyVsLB->GetYaxis()->SetTitle(
"MeV");
◆ bookSporHists()
StatusCode LArCellMonTool::bookSporHists |
( |
| ) |
|
|
private |
Definition at line 392 of file LArCellMonTool.cxx.
394 std::stringstream
dir;
396 dir.setf(std::ios_base::fixed, std::ios_base::floatfield);
404 std::string hTitle=
"Number of sporadic-cell plots in "+
partitionName+
" with CSC veto";
409 return StatusCode::SUCCESS;
◆ checkFilters()
StatusCode CaloMonToolBase::checkFilters |
( |
bool & |
ifPass | ) |
|
|
inherited |
Definition at line 95 of file CaloMonToolBase.cxx.
114 if (!eventInfo.isValid()) {
116 return StatusCode::SUCCESS;
119 m_lb = eventInfo->lumiBlock();
122 ifPass = ifPass && 1;
137 if(!larTime.isValid()){
142 if (larTime->timeC()!=0 && larTime->timeA()!=0 && std::fabs(larTime->timeC() - larTime->timeA())<10) {
146 ifPass = ifPass && 1;
159 if(!beamBackgroundData.isValid()){
163 if( beamBackgroundData->GetNumSegment() > 0 ) {
170 ifPass = ifPass && 1;
176 ifPass = ifPass && 1;
181 std::string TheTrigger;
183 TheTrigger=
"NoTrigSel";
184 ifPass = ifPass && 1;
196 ifPass = ifPass && 1;
201 return StatusCode::SUCCESS;
◆ 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;
◆ checkTriggerAndBeamBackground()
void LArCellMonTool::checkTriggerAndBeamBackground |
( |
| ) |
|
|
private |
Definition at line 506 of file LArCellMonTool.cxx.
511 std::bitset<MAXTRIGTYPE> triggersPassed(0
x1<<
NOTA);
512 constexpr std::bitset<MAXTRIGTYPE> NOTAmask=~(0x1<<
NOTA);
517 for (
unsigned i=0;
i<
NOTA;++
i) {
522 thr.m_threshTriggerDecision=(thr.m_triggersToInclude & triggersPassed).any() && (thr.m_triggersToExclude & triggersPassed & NOTAmask).
none();
534 thr.m_eventsPassed++;
◆ convertLWHists()
StatusCode ManagedMonitorToolBase::convertLWHists |
( |
| ) |
|
|
virtualinherited |
◆ createPerJobHistograms()
Definition at line 921 of file LArCellMonTool.cxx.
935 for (
unsigned iLyr=0;iLyr<
MAXLAYER;++iLyr) {
938 std::string histTitle=std::string(
"Map of known bad channels in (#eta,#phi) for ") +
m_layerNames[iLyr];
952 for (
unsigned iLyr=0;iLyr<
MAXLAYER;++iLyr) {
955 std::string histTitle=std::string(
"Map of Noise Values from the Database vs (#eta,#phi) for ") +
m_layerNames[iLyr];
970 if (thr.m_doEtaOccupancy) {
972 for (
unsigned iLyr=0;iLyr<
MAXLAYER;++iLyr) {
975 const std::string histTitle=std::string(
"No. of Active Cells in #eta for ") +
m_layerNames[iLyr];
985 if (thr.m_doPhiOccupancy) {
987 for (
unsigned iLyr=0;iLyr<
MAXLAYER;++iLyr) {
990 const std::string histTitle=std::string(
"No. of Active Cells in #phi for ") +
m_layerNames[iLyr];
1003 return StatusCode::FAILURE;
1011 for ( ;
it!=it_e;++
it) {
1013 Identifier
id =
cell->ID();
1015 if(!is_lar)
continue;
1017 float celleta, cellphi;
1018 unsigned iLyr, iLyrNS;
1022 const LArBadChannel larBadChannel = bcCont->offlineStatus(
id);
1023 if (!larBadChannel.good()) {
1024 const uint32_t badCellWord = larBadChannel.packedData();
1030 const float cellnoisedb =
noise->getNoise(
id,
cell->gain());
1044 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);
◆ 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()
◆ divideByOccupancy()
Definition at line 1333 of file LArCellMonTool.cxx.
1340 const size_t nCells=total->GetNcells();
1341 assert(
static_cast<int>(
nCells)==fraction->GetNcells());
1342 assert(
static_cast<int>(
nCells)==occupancy->GetNcells());
1345 const double t = total->GetBinContent(
i);
1346 const double o = occupancy->GetBinContent(
i);
1349 fraction->SetBinContent(
i,
t/o);
1350 fraction->SetBinError(
i,std::sqrt(1./o));
◆ 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 LArCellMonTool::fillHistograms |
( |
| ) |
|
|
overridevirtual |
An inheriting class should either override this function or fillHists().
Reimplemented from ManagedMonitorToolBase.
Definition at line 621 of file LArCellMonTool.cxx.
625 const EventContext& ctx = Gaudi::Hive::currentContext();
628 const LArOnOffIdMapping*
cabling{*cablingHdl};
631 return StatusCode::FAILURE;
641 return StatusCode::FAILURE;
646 if (! cellContHandle.isValid()) {
return StatusCode::FAILURE; }
656 if(!ifPass)
return StatusCode::SUCCESS;
663 for ( ;
it!=it_e;++
it) {
666 Identifier
id =
cell->ID();
669 if(!is_lar)
continue;
675 const float cellen =
cell->energy();
676 const float celltime =
cell->time();
679 const bool celltqavailable = ( cellprovenance & 0x2000 );
687 float celleta, cellphi;
688 unsigned iLyr, iLyrNS;
705 float thresholdVal=thr.m_threshValue[iLyrNS];
706 if (thresholdVal==0) {
710 if (thr.m_inSigNoise) thresholdVal*=
noise->getNoise(
id,
gain);
712 if (thr.m_threshDirection==
OVER && cellen <= thresholdVal)
continue;
713 if (thr.m_threshDirection==
UNDER && cellen > thresholdVal)
continue;
714 if (thr.m_threshDirection==
BOTH && (cellen > -thresholdVal && cellen <= thresholdVal))
continue;
717 (thr.m_occupancyCounter[
cellHash])++;
719 if (thr.m_h_totalEnergy_etaphi[iLyr]) thr.m_h_totalEnergy_etaphi[iLyr]->Fill(celleta,cellphi,cellen);
721 if(thr.m_h_poorQualityOccupancy_etaphi[iLyr] && (cellquality > thr.m_qualityFactorThreshold)) {
722 thr.m_h_poorQualityOccupancy_etaphi[iLyr]->Fill(celleta,cellphi);
724 if (thr.m_h_totalQuality_etaphi[iLyr]) thr.m_h_totalQuality_etaphi[iLyr]->Fill(celleta,cellphi,cellquality);
727 if(thr.m_h_totalTime_etaphi[iLyr]) {
728 thr.m_h_totalTime_etaphi[iLyr]->Fill(celleta,cellphi,celltime);
731 if (thr.m_h_poorTimeOccupancy_etaphi[iLyr] && (fabs(celltime) > thr.m_timeThreshold)) {
732 thr.m_h_poorTimeOccupancy_etaphi[iLyr]->Fill(celleta,cellphi);
751 float energyThreshold;
759 if (
cell->energy()> energyThreshold) {
767 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;
◆ fillOccupancyHist()
Definition at line 1267 of file LArCellMonTool.cxx.
1270 for (
size_t iLyr=0;iLyr<
MAXLAYER;++iLyr) {
1279 for (;
it!=it_e;++
it) {
1289 float celleta, cellphi;
1290 unsigned iLyr, iLyrNS;
1301 return StatusCode::SUCCESS;
◆ finalHists()
StatusCode ManagedMonitorToolBase::finalHists |
( |
| ) |
|
|
virtualinherited |
◆ finalize()
StatusCode LArCellMonTool::finalize |
( |
| ) |
|
|
overridevirtual |
Definition at line 872 of file LArCellMonTool.cxx.
875 ATH_MSG_INFO(
"Total number of single-cell sporadic-noise histograms produced: "
885 for (
size_t iLyr=0;iLyr<
MAXLAYER;++iLyr) {
891 for (
size_t iLyr=0;iLyr<
MAXLAYER;++iLyr) {
892 for (TH1*
h : {thr.m_h_totalTime_etaphi[iLyr], thr.m_h_poorTimeOccupancy_etaphi[iLyr],
893 thr.m_h_poorQualityOccupancy_etaphi[iLyr],thr.m_h_totalQuality_etaphi[iLyr]}) {
896 if (!thr.m_doEtaPhiOccupancy && thr.m_h_occupancy_etaphi[iLyr]) {
897 delete thr.m_h_occupancy_etaphi[iLyr]; thr.m_h_occupancy_etaphi[iLyr]=
nullptr;
903 return StatusCode::SUCCESS;
◆ 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.
◆ getHistoCoordinates()
void LArCellMonTool::getHistoCoordinates |
( |
const CaloDetDescrElement * |
dde, |
|
|
float & |
celleta, |
|
|
float & |
cellphi, |
|
|
unsigned & |
iLyr, |
|
|
unsigned & |
iLyrNS |
|
) |
| const |
|
private |
◆ getNewStreamNameFcn()
|
protectedvirtualinherited |
◆ initialize()
StatusCode LArCellMonTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ initThreshHists()
StatusCode LArCellMonTool::initThreshHists |
( |
| ) |
|
|
private |
Definition at line 193 of file LArCellMonTool.cxx.
201 std::set<std::string> uniqunesCheck;
203 auto r=uniqunesCheck.insert(
s);
205 ATH_MSG_ERROR(
"Configuration error: Threshold type " <<
s <<
" appears more than once" );
206 return StatusCode::FAILURE;
209 uniqunesCheck.clear();
214 #define CONSISTENCY(ARRAYPROP) if (ARRAYPROP.value().size()!= nThr) {\
215 ATH_MSG_ERROR( "Configuration problem: Property 'ThresholdType' has size " << nThr \
216 << " but '" << ARRAYPROP.name() << "' has size " << ARRAYPROP.value().size() );\
217 sc=StatusCode::FAILURE; \
241 if (
sc.isFailure())
return sc;
243 const std::map<const std::string, const Direction> stringToDirection {{
"over",
OVER},{
"under",
UNDER},{
"both",
BOTH},{
"none",
NONE}};
244 const std::map<const std::string, const TriggerType> stringToTrigType {{
"nota",
NOTA},{
"rndm",
RNDM},{
"calo",
CALO},{
"minbias",
MINBIAS},
248 for (
size_t iThr=0;iThr<nThr;++iThr) {
256 if (itD!=stringToDirection.end()) {
260 ATH_MSG_ERROR(
"Configuration problem. Unknown threshold direction '"
263 return StatusCode::FAILURE;
267 if (itT!=stringToTrigType.end()) {
268 threshold.m_triggersToExclude.set(itT->second);
269 if (itT->first==
"all") {
ATH_MSG_WARNING(
"Setting TriggersToExclude to 'all' has no effect!" );}
272 ATH_MSG_ERROR(
"Configuration problem. Unknown trigger type '"
274 <<
"' given in propety 'TriggersToExlude'" );
275 return StatusCode::FAILURE;
279 if (itT!=stringToTrigType.end()) {
280 threshold.m_triggersToInclude.set(itT->second);
281 if (itT->first==
"none") {
ATH_MSG_WARNING(
"Setting TriggersToInclude to 'none' has no effect!" );}
284 ATH_MSG_ERROR(
"Configuration problem. Unknown trigger type '"
286 <<
"' given in propety 'TriggersToInclude'" );
287 return StatusCode::FAILURE;
310 [&](
const thresholdHist_t&
x) {return (x.m_threshName==nameToOverwrite);}
314 ATH_MSG_ERROR(
"Configuration error reading 'ThresholdColumnType': Threshold type '" << nameToOverwrite <<
"' is not defined in 'ThresholdType'" );
315 return StatusCode::FAILURE;
318 for (
unsigned iLyr=0;iLyr<
MAXLYRNS;++iLyr) {
320 ATH_MSG_ERROR(
"Configuration error: Not enough values in threshold vector for layer " << iLyr );
321 return StatusCode::FAILURE;
332 const thresholdHist_t& thr=*thrIt;
333 if (!(thr.m_doPercentageOccupancy || thr.m_doEtaPhiOccupancy || thr.m_doEtaOccupancy || thr.m_doPhiOccupancy || thr.m_doEtaPhiTotalEnergy ||
334 thr.m_doEtaPhiAverageEnergy || thr.m_doEtaPhiAverageQuality ||
335 thr.m_doEtaPhiFractionOverQth || thr.m_doEtaPhiAverageTime || thr.m_doEtaPhiFractionPastTth)) {
336 ATH_MSG_INFO(
"Config issue: Threshold type '" << thr.m_threshName <<
"' defined but no histograms requested. Deleting." );
340 ATH_MSG_INFO(
"Threshold histograms requested for threshold '" << thrIt->m_threshName <<
"'");
348 if (thr.m_threshDirection!=
NONE &&
349 std::count(thr.m_threshTitleTemplate.begin(),thr.m_threshTitleTemplate.end(),
'%')==1) {
350 const size_t maxTitleLenght=thr.m_threshTitleTemplate.size()+32;
351 std::unique_ptr<char[]> toBeFilled(
new char[maxTitleLenght]);
353 for (
unsigned iLyrns=0;iLyrns<
MAXLYRNS;++iLyrns) {
355 snprintf(toBeFilled.get(),maxTitleLenght,thr.m_threshTitleTemplate.c_str(),thr.m_threshValue[iLyrns]);
356 toBeFilled[maxTitleLenght-1]=
'\0';
357 thr.m_threshTitles[iLyrns]=toBeFilled.get();
363 for (
unsigned iLyrns=0;iLyrns<
MAXLYRNS;++iLyrns) {
364 thr.m_threshTitles[iLyrns]=thr.m_threshTitleTemplate;
369 return StatusCode::SUCCESS;
◆ 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()
◆ newEtaPhiHist()
◆ 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 |
◆ preSelector()
bool ManagedMonitorToolBase::preSelector |
( |
| ) |
|
|
virtualinherited |
◆ procHistograms()
StatusCode LArCellMonTool::procHistograms |
( |
| ) |
|
|
overridevirtual |
An inheriting class should either override this function or finalHists().
Reimplemented from ManagedMonitorToolBase.
Definition at line 770 of file LArCellMonTool.cxx.
779 ATH_MSG_INFO(
"processHist for threshold '" << thr.m_threshName <<
"', nb of events passed Trigger and Background removal: " << thr.m_eventsPassed);
784 for (
size_t iLyr=0;iLyr<
MAXLAYER;++iLyr) {
788 if (thr.m_h_occupancy_eta[iLyr]) {
791 ATH_MSG_DEBUG(
"Adjusting number of entries in eta occupancy histogram from " << thr.m_h_occupancy_eta[iLyr]->GetEntries() <<
" to " << thr.m_eventsPassed);
792 thr.m_h_occupancy_eta[iLyr]->SetEntries(thr.m_eventsPassed);
793 if (thr.m_doPercentageOccupancy) thr.m_h_occupancy_eta[iLyr]->Scale(100.0/thr.m_eventsPassed);
796 if (thr.m_h_occupancy_phi[iLyr]) {
799 ATH_MSG_DEBUG(
"Adjusting number of entries from in phi occupancy histogram" << thr.m_h_occupancy_phi[iLyr]->GetEntries() <<
" to " << thr.m_eventsPassed);
800 if (thr.m_doPercentageOccupancy) thr.m_h_occupancy_phi[iLyr]->Scale(100.0/thr.m_eventsPassed);
801 thr.m_h_occupancy_phi[iLyr]->SetEntries(thr.m_eventsPassed);
805 if (thr.m_h_averageEnergy_etaphi[iLyr]) {
806 assert(thr.m_h_totalEnergy_etaphi[iLyr]);
807 assert(thr.m_h_occupancy_etaphi[iLyr]);
808 divideByOccupancy(thr.m_h_averageEnergy_etaphi[iLyr],thr.m_h_totalEnergy_etaphi[iLyr],thr.m_h_occupancy_etaphi[iLyr]);
809 thr.m_h_averageEnergy_etaphi[iLyr]->SetEntries(thr.m_h_totalEnergy_etaphi[iLyr]->GetEntries());
812 if (thr.m_h_averageTime_etaphi[iLyr]) {
813 assert(thr.m_h_totalTime_etaphi[iLyr]);
814 assert(thr.m_h_occupancy_etaphi[iLyr]);
815 divideByOccupancy(thr.m_h_averageTime_etaphi[iLyr],thr.m_h_totalTime_etaphi[iLyr],thr.m_h_occupancy_etaphi[iLyr]);
816 thr.m_h_averageTime_etaphi[iLyr]->SetEntries(thr.m_h_totalTime_etaphi[iLyr]->GetEntries());
819 if (thr.m_doEtaPhiFractionPastTth) {
820 assert(thr.m_h_poorTimeOccupancy_etaphi[iLyr]);
821 assert(thr.m_h_fractionPastTth_etaphi[iLyr]);
822 divideByOccupancy(thr.m_h_fractionPastTth_etaphi[iLyr],thr.m_h_poorTimeOccupancy_etaphi[iLyr],thr.m_h_occupancy_etaphi[iLyr]);
823 thr.m_h_fractionPastTth_etaphi[iLyr]->SetEntries(thr.m_h_poorTimeOccupancy_etaphi[iLyr]->GetEntries());
826 if (thr.m_h_averageQuality_etaphi[iLyr]) {
827 assert(thr.m_h_totalQuality_etaphi[iLyr]);
828 assert(thr.m_h_occupancy_etaphi[iLyr]);
829 divideByOccupancy(thr.m_h_averageQuality_etaphi[iLyr],thr.m_h_totalQuality_etaphi[iLyr],thr.m_h_occupancy_etaphi[iLyr]);
830 thr.m_h_averageQuality_etaphi[iLyr]->SetEntries(thr.m_h_totalQuality_etaphi[iLyr]->GetEntries());
833 if (thr.m_doEtaPhiFractionOverQth) {
834 assert(thr.m_h_poorQualityOccupancy_etaphi[iLyr]);
835 assert(thr.m_h_fractionOverQth_etaphi[iLyr]);
836 divideByOccupancy(thr.m_h_fractionOverQth_etaphi[iLyr],thr.m_h_poorQualityOccupancy_etaphi[iLyr],thr.m_h_occupancy_etaphi[iLyr]);
837 thr.m_h_fractionOverQth_etaphi[iLyr]->SetEntries(thr.m_h_poorQualityOccupancy_etaphi[iLyr]->GetEntries());
842 if (thr.m_h_occupancy_etaphi[iLyr] && thr.m_doPercentageOccupancy) {
843 thr.m_h_occupancy_phi[iLyr]->Scale(100.0/thr.m_eventsPassed);
852 ATH_MSG_INFO(
"New Lumi-Block. Resetting internal counters");
856 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 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;
◆ regTempHist()
void LArCellMonTool::regTempHist |
( |
TH1 * |
h, |
|
|
MonGroup & |
mg |
|
) |
| const |
|
private |
◆ 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()
◆ resetInternals()
void LArCellMonTool::resetInternals |
( |
| ) |
|
|
private |
Definition at line 1230 of file LArCellMonTool.cxx.
1232 ATH_MSG_DEBUG(
"Resetting internal counters and temporary histograms");
1242 thr.m_eventsPassed=0;
1243 for (
auto&
ctr : thr.m_occupancyCounter) {
ctr=0;}
1249 for (
size_t iLyr=0;iLyr<
MAXLAYER;++iLyr) {
1250 for (TH1*
h : {thr.m_h_totalTime_etaphi[iLyr], thr.m_h_poorTimeOccupancy_etaphi[iLyr],
1251 thr.m_h_poorQualityOccupancy_etaphi[iLyr],thr.m_h_totalQuality_etaphi[iLyr]}) {
1255 if (!thr.m_doEtaPhiOccupancy && thr.m_h_occupancy_etaphi[iLyr]) {
1256 thr.m_h_occupancy_etaphi[iLyr]->Reset();
◆ 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;
◆ setLArCellBinning()
void LArCellMonTool::setLArCellBinning |
( |
| ) |
|
|
private |
Definition at line 8 of file LArCellMonSetBinning.cxx.
11 const int embpaNEtaReg = 1;
12 double embpaEtaBreakPts[embpaNEtaReg+1]={0.,1.52};
13 int embpaEtaBins[embpaNEtaReg]={61};
14 m_binning[
EMBPA].doEtaBinning(embpaNEtaReg,embpaEtaBreakPts,embpaEtaBins);
19 const int emb1aNEtaReg = 1;
20 double emb1aEtaBreakPts[emb1aNEtaReg+1]={0.,1.4};
21 int emb1aEtaBins[emb1aNEtaReg]={448};
22 m_binning[
EMB1A].doEtaBinning(emb1aNEtaReg,emb1aEtaBreakPts,emb1aEtaBins);
27 const int emb2aNEtaReg = 1;
28 double emb2aEtaBreakPts[emb2aNEtaReg+1]={0.,1.475};
29 int emb2aEtaBins[emb2aNEtaReg]={59};
30 m_binning[
EMB2A].doEtaBinning(emb2aNEtaReg,emb2aEtaBreakPts,emb2aEtaBins);
35 const int emb3aNEtaReg = 2;
36 double emb3aEtaBreakPts[emb3aNEtaReg+1]={0.00,1.35,1.475};
37 int emb3aEtaBins[emb3aNEtaReg]={27,1};
38 m_binning[
EMB3A].doEtaBinning(emb3aNEtaReg,emb3aEtaBreakPts,emb3aEtaBins);
43 const int hec0aNEtaReg = 2;
44 double hec0aEtaBreakPts[hec0aNEtaReg+1]={1.5,2.5,3.3};
45 int hec0aEtaBins[hec0aNEtaReg]={10,4};
46 m_binning[
HEC0A].doEtaBinning(hec0aNEtaReg,hec0aEtaBreakPts,hec0aEtaBins);
51 const int hec1aNEtaReg = 2;
52 double hec1aEtaBreakPts[hec1aNEtaReg+1]={1.5,2.5,3.1};
53 int hec1aEtaBins[hec1aNEtaReg]={10,3};
54 m_binning[
HEC1A].doEtaBinning(hec1aNEtaReg,hec1aEtaBreakPts,hec1aEtaBins);
59 const int hec2aNEtaReg = 2;
60 double hec2aEtaBreakPts[hec2aNEtaReg+1]={1.6,2.5,3.1};
61 int hec2aEtaBins[hec2aNEtaReg]={9,3};
62 m_binning[
HEC2A].doEtaBinning(hec2aNEtaReg,hec2aEtaBreakPts,hec2aEtaBins);
67 const int hec3aNEtaReg = 2;
68 double hec3aEtaBreakPts[hec3aNEtaReg+1]={1.7,2.5,3.3};
69 int hec3aEtaBins[hec3aNEtaReg]={8,4};
70 m_binning[
HEC3A].doEtaBinning(hec3aNEtaReg,hec3aEtaBreakPts,hec3aEtaBins);
75 const int emecpaNEtaReg = 1;
76 double emecpaEtaBreakPts[emecpaNEtaReg+1]={1.5,1.8};
77 int emecpaEtaBins[emecpaNEtaReg]={12};
78 m_binning[
EMECPA].doEtaBinning(emecpaNEtaReg,emecpaEtaBreakPts,emecpaEtaBins);
83 const int emec1aNEtaReg = 7;
84 double emec1aEtaBreakPts[emec1aNEtaReg+1]={1.375,1.425,1.5,1.8,2.0,2.4,2.5,3.2};
85 int emec1aEtaBins[emec1aNEtaReg]={1,3,96,48,64,4,7};
86 m_binning[
EMEC1A].doEtaBinning(emec1aNEtaReg,emec1aEtaBreakPts,emec1aEtaBins);
91 const int emec2aNEtaReg = 3;
92 double emec2aEtaBreakPts[emec2aNEtaReg+1]={1.375,1.425,2.5,3.2};
93 int emec2aEtaBins[emec2aNEtaReg]={1,43,7};
94 m_binning[
EMEC2A].doEtaBinning(emec2aNEtaReg,emec2aEtaBreakPts,emec2aEtaBins);
99 const int emec3aNEtaReg = 1;
100 double emec3aEtaBreakPts[emec3aNEtaReg+1]={1.5,2.5};
101 int emec3aEtaBins[emec3aNEtaReg]={20};
102 m_binning[
EMEC3A].doEtaBinning(emec3aNEtaReg,emec3aEtaBreakPts,emec3aEtaBins);
107 const int fcal1aNEtaReg = 4;
108 double fcal1aEtaBreakPts[fcal1aNEtaReg+1]={3.08,3.2,3.8,4.6,4.82};
109 int fcal1aEtaBins[fcal1aNEtaReg]={3,6,4,2};
110 m_binning[
FCAL1A].doEtaBinning(fcal1aNEtaReg,fcal1aEtaBreakPts,fcal1aEtaBins);
112 const int fcal1aNPhiReg = 95;
113 double fcal1aPhiBreakPts[fcal1aNPhiReg+1]=
130 int fcal1aPhiBins[fcal1aNPhiReg+1] =
131 {2,1,1,1,1,1,1,2,6,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,3,1,1,2,1,2,1,2,4,3,1,1,2,1,1,3,1,2,2,1,2,3,
132 1,1,1,1,1,1,2,6,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,3,1,1,2,1,2,1,2,4,3,1,1,2,1,1,3,1,2,2,1,2,1};
133 m_binning[
FCAL1A].doPhiBinning(fcal1aNPhiReg,fcal1aPhiBreakPts,fcal1aPhiBins);
137 const int fcal2aNEtaReg = 15;
138 double fcal2aEtaBreakPts[fcal2aNEtaReg+1]=
139 {3.192,3.1987,3.206,3.22,3.26,3.34,3.37,3.39,3.52,3.57,3.835,4.1,4.365,4.5,4.65,4.81};
140 int fcal2aEtaBins[fcal2aNEtaReg]={1,1,1,2,2,1,1,3,1,4,2,1,1,1,1};
141 m_binning[
FCAL2A].doEtaBinning(fcal2aNEtaReg,fcal2aEtaBreakPts,fcal2aEtaBins);
143 const int fcal2aNPhiReg = 32;
144 double fcal2aPhiBreakPts[fcal2aNPhiReg+1]=
150 int fcal2aPhiBins[fcal2aNPhiReg+1] =
151 {1,1,1,1,1,1,1,1,1,8,1,3,1,1,1,1,1,1,1,1,1,1,1,1,1,8,1,3,1,1,1,1};
152 m_binning[
FCAL2A].doPhiBinning(fcal2aNPhiReg,fcal2aPhiBreakPts,fcal2aPhiBins);
156 const int fcal3aNEtaReg = 5;
157 double fcal3aEtaBreakPts[fcal3aNEtaReg+1]={3.27,3.43,3.7,3.91,4.33,4.75};
158 int fcal3aEtaBins[fcal3aNEtaReg]={2,2,1,1,2};
159 m_binning[
FCAL3A].doEtaBinning(fcal3aNEtaReg,fcal3aEtaBreakPts,fcal3aEtaBins);
161 const int fcal3aNPhiReg = 22;
162 double fcal3aPhiBreakPts[fcal3aNPhiReg+1]=
167 int fcal3aPhiBins[fcal3aNPhiReg+1] = {10,1,1,4,2,1,2,2,1,1,2,10,1,1,4,2,1,2,2,1,1,2};
168 m_binning[
FCAL3A].doPhiBinning(fcal3aNPhiReg,fcal3aPhiBreakPts,fcal3aPhiBins);
◆ setMonManager()
◆ setupOutputStreams()
StatusCode ManagedMonitorToolBase::setupOutputStreams |
( |
std::vector< std::string > |
Mapping = std::vector<std::string>() | ) |
|
|
virtualinherited |
◆ sporadicNoiseCandidate()
Definition at line 540 of file LArCellMonTool.cxx.
542 const Identifier
id=
cell->ID();
544 ATH_MSG_INFO(
"Found sporadic noise candidate cell with id 0x" << std::hex <<
id.get_identifier32().get_compact() << std::dec <<
" in " <<
m_partitionNames[
part] );
559 if (snc.m_h_energy) {
561 const float quality=
cell->quality();
562 snc.m_h_energy->Fill(
energy);
563 snc.m_h_quality->Fill(quality);
◆ 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;
◆ strToLower()
std::string LArCellMonTool::strToLower |
( |
const std::string & |
input | ) |
|
|
staticprivate |
◆ 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_BadLBTool
◆ m_BCKey
◆ m_bcMask
◆ m_beamBackgroundKey
◆ m_binning
◆ m_bookHistogramsInitial
bool ManagedMonitorToolBase::m_bookHistogramsInitial |
|
privateinherited |
◆ m_cablingKey
◆ m_calo_id
◆ m_caloMgrKey
Initial value:{ this
, "CaloDetDescrManager"
, "CaloDetDescrManager"
, "SG Key for CaloDetDescrManager in the Condition Store" }
Definition at line 165 of file LArCellMonTool.h.
◆ m_caloSamplingToLyrNS
◆ m_cellContainerName
◆ m_chainGroups
◆ m_counter_sporadic_protc
unsigned LArCellMonTool::m_counter_sporadic_protc =0 |
|
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_defaultThresholds
FloatArrayProperty LArCellMonTool::m_defaultThresholds |
|
private |
◆ m_detailLevel
unsigned int ManagedMonitorToolBase::m_detailLevel |
|
protectedinherited |
◆ m_detStore
◆ m_doBeamBackgroundRemovalProp
BooleanArrayProperty LArCellMonTool::m_doBeamBackgroundRemovalProp |
|
private |
◆ m_doDatabaseNoiseVsEtaPhi
bool LArCellMonTool::m_doDatabaseNoiseVsEtaPhi |
|
private |
◆ m_doEnergyVsTime
bool LArCellMonTool::m_doEnergyVsTime |
|
private |
◆ m_doEtaOccupancyProp
BooleanArrayProperty LArCellMonTool::m_doEtaOccupancyProp |
|
private |
◆ m_doEtaPhiAverageEnergyProp
BooleanArrayProperty LArCellMonTool::m_doEtaPhiAverageEnergyProp |
|
private |
◆ m_doEtaPhiAverageQualityProp
BooleanArrayProperty LArCellMonTool::m_doEtaPhiAverageQualityProp |
|
private |
◆ m_doEtaPhiAverageTimeProp
BooleanArrayProperty LArCellMonTool::m_doEtaPhiAverageTimeProp |
|
private |
◆ m_doEtaPhiFractionOverQthProp
BooleanArrayProperty LArCellMonTool::m_doEtaPhiFractionOverQthProp |
|
private |
◆ m_doEtaPhiFractionPastTthProp
BooleanArrayProperty LArCellMonTool::m_doEtaPhiFractionPastTthProp |
|
private |
◆ m_doEtaPhiOccupancyProp
BooleanArrayProperty LArCellMonTool::m_doEtaPhiOccupancyProp |
|
private |
◆ m_doEtaPhiTotalEnergyProp
BooleanArrayProperty LArCellMonTool::m_doEtaPhiTotalEnergyProp |
|
private |
◆ m_doKnownBadChannelsVsEtaPhi
bool LArCellMonTool::m_doKnownBadChannelsVsEtaPhi |
|
private |
◆ m_doPercentageOccupancyProp
BooleanArrayProperty LArCellMonTool::m_doPercentageOccupancyProp |
|
private |
◆ m_doPhiOccupancyProp
BooleanArrayProperty LArCellMonTool::m_doPhiOccupancyProp |
|
private |
◆ m_doSaveTempHists
bool LArCellMonTool::m_doSaveTempHists |
|
private |
◆ m_doUnnormalized1DEnergy
bool LArCellMonTool::m_doUnnormalized1DEnergy |
|
private |
◆ m_DQFilterTools
ToolHandleArray<IDQFilterTool> ManagedMonitorToolBase::m_DQFilterTools {this,"FilterTools",{}} |
|
protectedinherited |
◆ m_eCutForTiming
const std::array<float ,MAXLYRNS> LArCellMonTool::m_eCutForTiming |
|
private |
Initial value:{
{1000., 1000., 3000., 1500., 3500., 3500., 3500., 3500., 1500., 3000., 3000., 2000., 10000., 10000., 10000.}
}
Definition at line 128 of file LArCellMonTool.h.
◆ 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_EventInfoKey
◆ m_evtStore
◆ m_fileKey
std::string ManagedMonitorToolBase::m_fileKey |
|
protectedinherited |
◆ m_h_badChannels_etaphi
std::array<TH2F*,MAXLAYER> LArCellMonTool::m_h_badChannels_etaphi {{}} |
|
private |
◆ m_h_cellTime
std::array<TH1F*,MAXLAYER> LArCellMonTool::m_h_cellTime {{}} |
|
private |
◆ m_h_dbnoise_etaphi
std::array<TH2F*,MAXLAYER> LArCellMonTool::m_h_dbnoise_etaphi {{}} |
|
private |
◆ m_h_energy
◆ m_h_energyVsTime
std::array<TH2F*,MAXLAYER> LArCellMonTool::m_h_energyVsTime {{}} |
|
private |
◆ m_h_energyVsTime_DifferThresholds
std::array<TH1F*,MAXLAYER> LArCellMonTool::m_h_energyVsTime_DifferThresholds {{}} |
|
private |
◆ m_h_EvtRejSumm
TH1I* CaloMonToolBase::m_h_EvtRejSumm |
|
protectedinherited |
◆ m_h_n_trigEvent
TH1F* LArCellMonTool::m_h_n_trigEvent =nullptr |
|
private |
◆ m_h_nActiveCellsFirstEvent_eta
std::array<TH1F*,MAXLAYER> LArCellMonTool::m_h_nActiveCellsFirstEvent_eta {{}} |
|
private |
◆ m_h_nActiveCellsFirstEvent_phi
std::array<TH1F*,MAXLAYER> LArCellMonTool::m_h_nActiveCellsFirstEvent_phi {{}} |
|
private |
◆ m_h_sporadicHists
◆ m_haveClearedLastEventBlock
bool ManagedMonitorToolBase::m_haveClearedLastEventBlock |
|
protectedinherited |
◆ m_inSigNoise
BooleanArrayProperty LArCellMonTool::m_inSigNoise |
|
private |
◆ m_LArCollisionTimeKey
◆ m_LArOnlineIDHelper
◆ m_lArPath
const std::string LArCellMonTool::m_lArPath {"/CaloMonitoring/LArCellMon_NoTrigSel_OldTool/"} |
|
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_layerEnumtoPartitionEnum
◆ m_layerNames
const std::array<std::string,MAXLAYER> LArCellMonTool::m_layerNames |
|
private |
Initial value:={{"EMBPA", "EMBPC", "EMB1A", "EMB1C", "EMB2A", "EMB2C", "EMB3A", "EMB3C",
"HEC0A", "HEC0C", "HEC1A", "HEC1C", "HEC2A", "HEC2C", "HEC3A", "HEC3C",
"EMECPA", "EMECPC", "EMEC1A", "EMEC1C", "EMEC2A", "EMEC2C", "EMEC3A", "EMEC3C",
"FCAL1A", "FCAL1C", "FCAL2A", "FCAL2C", "FCAL3A", "FCAL3C"}}
Definition at line 86 of file LArCellMonTool.h.
◆ m_lb
int CaloMonToolBase::m_lb |
|
protectedinherited |
◆ m_lbDurationDataKey
◆ m_lumiDataKey
◆ m_lwhists
std::set<LWHist*> ManagedMonitorToolBase::m_lwhists |
|
protectedinherited |
◆ m_lyrNSNames
const std::array<std::string,MAXLYRNS> LArCellMonTool::m_lyrNSNames |
|
private |
Initial value:={{"EMBPS","EMB1" ,"EMB2" ,"EMB3" ,"HEC0" ,"HEC1" ,"HEC2","HEC3",
"EMECP","EMEC1","EMEC2","EMEC3","FCAL1","FCAL2","FCAL3"}}
Definition at line 92 of file LArCellMonTool.h.
◆ m_manager
◆ m_managerNameProp
std::string ManagedMonitorToolBase::m_managerNameProp |
|
protectedinherited |
◆ m_maskKnownBadChannels
bool LArCellMonTool::m_maskKnownBadChannels |
|
private |
◆ m_maskNoCondChannels
bool LArCellMonTool::m_maskNoCondChannels |
|
private |
◆ m_metadataMap
MDMap_t ManagedMonitorToolBase::m_metadataMap |
|
protectedinherited |
◆ m_minSporadicNoiseEventsPerCell
unsigned LArCellMonTool::m_minSporadicNoiseEventsPerCell |
|
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_noiseKey
◆ m_oncePerJobHistosDone
bool LArCellMonTool::m_oncePerJobHistosDone =false |
|
private |
◆ m_partitionNames
◆ m_passBeamBackgroundRemoval
bool CaloMonToolBase::m_passBeamBackgroundRemoval |
|
protectedinherited |
◆ m_path
std::string ManagedMonitorToolBase::m_path |
|
protectedinherited |
◆ m_preScaleProp
long ManagedMonitorToolBase::m_preScaleProp |
|
protectedinherited |
◆ m_problemsToMask
Gaudi::Property<std::vector<std::string> > LArCellMonTool::m_problemsToMask {this,"ProblemsToMask",{}, "Bad-Channel categories to mask"} |
|
private |
◆ m_procNEventsProp
long ManagedMonitorToolBase::m_procNEventsProp |
|
protectedinherited |
◆ m_qualityFactorThresholdProp
FloatArrayProperty LArCellMonTool::m_qualityFactorThresholdProp |
|
private |
◆ m_ReadyFilterTool
◆ m_sporadic_protc
unsigned LArCellMonTool::m_sporadic_protc |
|
private |
◆ m_sporadic_switch
bool LArCellMonTool::m_sporadic_switch |
|
private |
◆ m_sporadicDir
std::string LArCellMonTool::m_sporadicDir |
|
private |
◆ m_sporadicNoiseCells
◆ m_sporadicPerPartCounter
std::array<unsigned,MAXPARTITIONS> LArCellMonTool::m_sporadicPerPartCounter {} |
|
private |
◆ m_sporadicPlotLimit
unsigned LArCellMonTool::m_sporadicPlotLimit |
|
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_templateLWHistograms
◆ m_templateTrees
◆ m_THistSvc
◆ m_threshold_em_S0S1
float LArCellMonTool::m_threshold_em_S0S1 |
|
private |
◆ m_threshold_HECFCALEMS2S3
float LArCellMonTool::m_threshold_HECFCALEMS2S3 |
|
private |
◆ m_thresholdColumnType
StringArrayProperty LArCellMonTool::m_thresholdColumnType |
|
private |
◆ m_thresholdDirectionProp
StringArrayProperty LArCellMonTool::m_thresholdDirectionProp |
|
private |
◆ m_thresholdHists
◆ m_thresholdNameProp
StringArrayProperty LArCellMonTool::m_thresholdNameProp |
|
private |
◆ m_thresholdsProp
FloatArrayProperty LArCellMonTool::m_thresholdsProp[MAXLYRNS] |
|
private |
◆ m_thresholdTitleTemplates
StringArrayProperty LArCellMonTool::m_thresholdTitleTemplates |
|
private |
◆ m_timeThresholdProp
FloatArrayProperty LArCellMonTool::m_timeThresholdProp |
|
private |
◆ m_trigDec
◆ m_trigDecTool
◆ m_triggerChainProp
std::string ManagedMonitorToolBase::m_triggerChainProp |
|
protectedinherited |
◆ m_triggerGroupProp
std::string ManagedMonitorToolBase::m_triggerGroupProp |
|
protectedinherited |
◆ m_triggerNames
std::array<std::string,NOTA> LArCellMonTool::m_triggerNames |
|
private |
◆ m_triggersToExcludeProp
StringArrayProperty LArCellMonTool::m_triggersToExcludeProp |
|
private |
◆ m_triggersToIncludeProp
StringArrayProperty LArCellMonTool::m_triggersToIncludeProp |
|
private |
◆ m_trigLiveFractionDataKey
◆ m_trigTranslator
PublicToolHandle<ITriggerTranslatorTool> ManagedMonitorToolBase::m_trigTranslator {this,"TriggerTranslatorTool",""} |
|
protectedinherited |
◆ m_useBadLBTool
bool CaloMonToolBase::m_useBadLBTool |
|
privateinherited |
◆ m_useBeamBackgroundRemoval
bool CaloMonToolBase::m_useBeamBackgroundRemoval |
|
privateinherited |
◆ m_useCollisionFilterTool
bool CaloMonToolBase::m_useCollisionFilterTool |
|
privateinherited |
◆ m_useLArNoisyAlg
bool CaloMonToolBase::m_useLArNoisyAlg |
|
privateinherited |
◆ m_useLogarithmicEnergyBinning
bool LArCellMonTool::m_useLogarithmicEnergyBinning |
|
private |
◆ m_useLumi
bool ManagedMonitorToolBase::m_useLumi |
|
privateinherited |
◆ m_useReadyFilterTool
bool CaloMonToolBase::m_useReadyFilterTool |
|
privateinherited |
◆ m_useTrigger
bool ManagedMonitorToolBase::m_useTrigger |
|
protectedinherited |
◆ m_useTriggerCaloMon
bool LArCellMonTool::m_useTriggerCaloMon |
|
private |
◆ m_useWeightedEffMerging
bool LArCellMonTool::m_useWeightedEffMerging |
|
private |
◆ 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:
virtual LWHist * ownedLWHistOfKey(const std::string &key) const
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
virtual LWHist * writeAndDeleteLWHist(const std::string &key, const std::string &streamName)
bool is_lar_em_endcap_inner() const
cell belongs to the inner wheel of EM end cap
Const iterator class for DataVector/DataList.
calo_element_const_iterator element_end() const
end of element vector
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual LWHist * writeAndResetLWHist(const std::string &key, const std::string &streamName)
static unsigned int runNumber()
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
virtual std::string fileKey() const
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
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.
int slot(const HWIdentifier id) const
Return the slot number of a hardware cell identifier: slot = [1,15] Slot-ID in top part of the crat...
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
StatusCode buildBitMask(const std::vector< std::string > &problemsToMask, MsgStream &msg)
const T * get(size_type n) const
Access an element, as an rvalue.
bool msgLvl(const MSG::Level lvl) const
static void setStreamName(LWHist *, const std::string &streamName)
#define ATH_MSG_VERBOSE(x)
bool empty() const
Test if the key is blank.
bool cellShouldBeMasked(const LArBadChannelCont *bcCont, const HWIdentifier &hardwareId) const
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
@ LAr
The LAr calorimeter.
static unsigned int getLBsLowStat()
float eta_raw() const
cell eta_raw
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 ...
static const std::string & streamName(LWHist *)
static unsigned int getLBsMedStat()
bool usingROOTBackend() const
static void removeCustomData(LWHist *)
Identifier identify() const override final
cell identifier
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
IdentifierHash calo_hash() const
cell calo hash
static DataType_t dataType()
Returns the data type that the monitoring application is running over to help ManagedMonitorToolBase ...
static const std::string & key(LWHist *)
setRawEt setRawPhi nCells
def TProfile(*args, **kwargs)
::StatusCode StatusCode
StatusCode definition for legacy code.
void tolower(std::string &s)
virtual void writeAndDelete(const std::string &key)
If the TObject is owned by this manager, its Write() method is called and it is deleted.
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.
void fcn(int &, double *, double &result, double par[], int)
this is where we write out chi2
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
bool is_tile() const
cell belongs to Tile
static unsigned int getLBsHigStat()
static void setKey(LWHist *, const std::string &key)
StatusCode initialize(bool used=true)
Container class for CaloCell.
calo_element_const_iterator element_begin() const
first element
void setOwnsROOTHisto(bool b)
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
int feedthrough(const HWIdentifier id) const
Return the feedthrough of a hardware cell identifier : feedthrough = [0,31] Barrel - A/C side or H/...
virtual int getLayer() const
cell layer
Data object for each calorimeter readout cell.
CaloCell_ID::CaloSample getSampling() const
cell sampling
#define ATH_MSG_WARNING(x)
filelist
print ("Checking files %s..." % fullfile)
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
float eta() const
cell eta
float phi() const
cell phi
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
static unsigned int lumiBlockNumber()
virtual TH1 * getROOTHistBase()=0
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
float phi_raw() const
cell phi_raw