|
ATLAS Offline Software
|
#include <L1CaloL1TopoMon.h>
|
enum | ERROR_BIT {
CALO_CONV =0,
NO_CMX,
DAQ_CONV,
NO_DAQ,
ROI_CONV,
NO_ROI,
F_CRC,
PAYL_CRC,
CMX_MATCH,
NUMBEROFBITS
} |
|
enum | TOB_TYPE {
JETL_TOB =0,
JETS_TOB,
TAU_TOB,
EM_TOB,
MU_TOB
} |
|
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...
|
|
|
| L1CaloL1TopoMon (const std::string &type, const std::string &name, const IInterface *parent) |
|
virtual | ~L1CaloL1TopoMon () |
|
virtual StatusCode | initialize () |
|
virtual StatusCode | bookHistogramsRecurrent () |
| An inheriting class should either override this function, bookHists() or bookHistograms(). More...
|
|
virtual StatusCode | fillHistograms () |
| An inheriting class should either override this function or fillHists(). More...
|
|
virtual StatusCode | procHistograms () |
| An inheriting class should either override this function or finalHists(). More...
|
|
virtual StreamNameFcn * | streamNameFunction () |
| Returns the function object that converts logical paramters into a physical stream name. More...
|
|
virtual StatusCode | bookHists () |
| Calls bookHists( true, true, true ) and initializes lumiBlock and run numbers. More...
|
|
virtual StatusCode | fillHists () |
| Calls fillHists( bool, bool, bool ); if an eventBlock,lumiBlock, or run has turned over, calls procHists( bool, bool, bool ) and bookHists( bool, bool, bool ). More...
|
|
virtual StatusCode | finalHists () |
| Calls procHists( true, true, true ). More...
|
|
virtual StatusCode | convertLWHists () |
| Deal with the LW histograms. More...
|
|
virtual StatusCode | bookHistograms () |
| An inheriting class should either override this function or bookHists(). More...
|
|
virtual void | setMonManager (AthenaMonManager *manager) |
| Takes a pointer to a managing object to get information from it when needed. More...
|
|
virtual StatusCode | regHist (TH1 *h, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram. More...
|
|
virtual StatusCode | regHist (TH1 *h, const MonGroup &group) |
| Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram. More...
|
|
virtual StatusCode | regHist (LWHist *h, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Support for lightweight histograms: More...
|
|
virtual StatusCode | regHist (LWHist *h, const MonGroup &group) |
|
virtual StatusCode | getHist (TH1 *&h, const std::string &hName, const std::string &system, Interval_t interval) |
| Returns a TH1 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH1 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH1 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH2 *&h, const std::string &hName, const std::string &system, Interval_t interval) |
| Returns a TH2 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH2 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH2 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (LWHist *&h, const std::string &hName, const std::string &system, Interval_t interval) |
|
virtual StatusCode | getHist (LWHist *&h, const std::string &hName, const MonGroup &group) |
|
virtual StatusCode | regEfficiency (TEfficiency *e, const MonGroup &group) |
| Registers a TEfficiency to be included in the output stream using logical parameters that describe the plot. More...
|
|
virtual StatusCode | regGraph (TGraph *g, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TGraph to be included in the output stream using logical parameters that describe the graph. More...
|
|
virtual StatusCode | regGraph (TGraph *g, const MonGroup &group) |
| Registers a TGraph to be included in the output stream using logical parameters that describe the graph. More...
|
|
virtual StatusCode | regTree (TTree *t, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TTree to be included in the output stream using logical parameters that describe it. More...
|
|
virtual StatusCode | regTree (TTree *t, const MonGroup &group) |
| Registers a TTree to be included in the output stream using logical parameters that describe it. More...
|
|
virtual StatusCode | deregHist (LWHist *h) |
|
virtual StatusCode | deregHist (TH1 *h) |
| De-registers a TH1 from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | writeAndDelete (TH1 *h, const MonGroup &group) |
| Write out histogram and delete it. More...
|
|
virtual StatusCode | deregGraph (TGraph *g) |
| De-registers a TGraph from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const std::string &system, Interval_t interval) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const MonGroup &group) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | setupOutputStreams (std::vector< std::string > Mapping=std::vector< std::string >()) |
| This implementation does nothing—streams in this class should be managed by the AthenaMonManager. More...
|
|
virtual StatusCode | runStat () |
| This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ). More...
|
|
virtual StatusCode | checkHists (bool calledFromFinalize) |
| This implementation does nothing; equivalent functionality may be provided by procHists(...) with appropriate arguments. More...
|
|
virtual bool | preSelector () |
|
virtual float | lbAverageInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average mu, i.e. More...
|
|
virtual float | lbInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Instantaneous number of interactions, i.e. More...
|
|
virtual float | lbAverageLuminosity (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1) More...
|
|
virtual float | lbLuminosityPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Instantaneous luminosity. More...
|
|
virtual double | lbDuration (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Luminosity block time (in seconds) More...
|
|
virtual float | lbAverageLivefraction (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average luminosity livefraction. More...
|
|
virtual float | livefractionPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Livefraction per bunch crossing ID. More...
|
|
virtual double | lbLumiWeight (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average Integrated Luminosity Live Fraction. More...
|
|
| MMTB_DEPRECATED (newLowStatInterval) |
|
| MMTB_DEPRECATED (newMedStatInterval) |
|
| MMTB_DEPRECATED (newHigStatInterval) |
|
| MMTB_DEPRECATED (newLowStat) |
|
| MMTB_DEPRECATED (newLumiBlock) |
|
| MMTB_DEPRECATED (newRun) |
|
| MMTB_DEPRECATED (newEventsBlock) |
|
| MMTB_DEPRECATED (endOfEventsBlock) |
|
| MMTB_DEPRECATED (endOfLowStat) |
|
| MMTB_DEPRECATED (endOfLumiBlock) |
|
| MMTB_DEPRECATED (endOfRun) |
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
StatusCode | regManagedHistograms (std::vector< MgmtParams< TH1 > > &templateHistograms) |
|
StatusCode | regManagedGraphs (std::vector< MgmtParams< TGraph > > &templateGraphs) |
|
StatusCode | regManagedTrees (std::vector< MgmtParams< TTree > > &templateTrees) |
|
StatusCode | regManagedLWHistograms (std::vector< MgmtParams< LWHist > > &templateLWHistograms) |
|
StatusCode | regManagedEfficiencies (std::vector< MgmtParams< TEfficiency > > &templateEfficiencies) |
|
StatusCode | parseList (const std::string &, std::vector< std::string > &) |
|
void | updateTriggersForGroups (std::vector< std::string > &) |
|
StatusCode | registerMetadata (const std::string &streamName, const std::string &hName, const MonGroup &group) |
|
StatusCode | THistSvc_deReg_fixTGraph (TFile *file, TGraph *theGraph, std::string &directoryName) |
| Fixes THistSvc->deReg(obj) when obj is TGraph instance. More...
|
|
unsigned int | get_nEvents () const |
|
long | get_procNEventsProp () const |
|
virtual bool | trigChainsArePassed (std::vector< std::string > &) |
|
virtual StreamNameFcn * | getNewStreamNameFcn () const |
|
bool | newLowStatIntervalFlag () const |
| Flag functions allowing clients to determine when to book new and process old histograms; values are updated by fillHists() based on counting lumiBlocks, and are correctly set when fillHistograms(), bookHistograms() and procHistograms() are called. More...
|
|
bool | newMedStatIntervalFlag () const |
|
bool | newHigStatIntervalFlag () const |
|
bool | newLowStatFlag () const |
|
bool | newLumiBlockFlag () const |
|
bool | newRunFlag () const |
|
bool | newEventsBlockFlag () const |
|
bool | endOfEventsBlockFlag () const |
|
bool | endOfLowStatFlag () const |
|
bool | endOfLumiBlockFlag () const |
|
bool | endOfRunFlag () const |
|
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution More...
|
|
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
|
void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. More...
|
|
|
std::map< Interval_t, std::vector< MgmtParams< TH1 > > > | m_templateHistograms |
|
std::map< Interval_t, std::vector< MgmtParams< TGraph > > > | m_templateGraphs |
|
std::map< Interval_t, std::vector< MgmtParams< TTree > > > | m_templateTrees |
|
std::map< Interval_t, std::vector< MgmtParams< LWHist > > > | m_templateLWHistograms |
|
std::map< Interval_t, std::vector< MgmtParams< TEfficiency > > > | m_templateEfficiencies |
|
std::vector< std::string > | m_vTrigChainNames |
|
std::vector< std::string > | m_vTrigGroupNames |
|
MDMap_t | m_metadataMap |
|
std::set< LWHist * > | m_lwhists |
|
AthenaMonManager * | m_manager |
|
std::string | m_managerNameProp |
|
std::string | m_fileKey |
|
std::string | m_dataTypeStr |
|
std::string | m_environmentStr |
|
unsigned int | m_detailLevel |
|
AthenaMonManager::DataType_t | m_dataType |
|
AthenaMonManager::Environment_t | m_environment |
|
StreamNameFcn * | m_streamNameFcn |
|
ServiceHandle< ITHistSvc > | m_THistSvc |
|
PublicToolHandle< Trig::ITrigDecisionTool > | m_trigDecTool {this, "TrigDecisionTool",""} |
|
PublicToolHandle< ITriggerTranslatorTool > | m_trigTranslator {this,"TriggerTranslatorTool",""} |
|
ToolHandleArray< IDQFilterTool > | m_DQFilterTools {this,"FilterTools",{}} |
|
long | m_procNEventsProp |
|
std::string | m_path |
|
long | m_preScaleProp |
|
std::string | m_triggerChainProp |
|
std::string | m_triggerGroupProp |
|
bool | m_useTrigger |
|
unsigned int | m_lastLumiBlock |
|
unsigned int | m_lastRun |
|
int | m_lastLowStatInterval |
|
int | m_lastMedStatInterval |
|
int | m_lastHigStatInterval |
|
unsigned int | m_nEvents |
|
unsigned int | m_nEventsIgnoreTrigger |
|
unsigned int | m_nLumiBlocks |
|
bool | m_haveClearedLastEventBlock |
|
|
void | jem2Coord (const int crate, const int jem, const int frame, const int location, int &x, int &y, double &eta, double &phi) |
|
void | cpm2Coord (const int crate, const int cpm, const int chip, const int location, int &x, int &y, double &eta, double &phi) |
|
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...
|
|
|
ServiceHandle< TrigConf::ITrigConfigSvc > | m_configSvc |
| Trigger configuration service. More...
|
|
ToolHandle< ITrigT1CaloMonErrorTool > | m_errorTool |
| Corrupt events tool. More...
|
|
ToolHandle< TrigT1CaloLWHistogramTool > | m_histTool |
| Histogram utilities tool. More...
|
|
StringProperty | m_CMXJetTobLocation |
| Output from L1Topo. More...
|
|
StringProperty | m_CMXCPTobLocation |
|
SG::ReadHandleKey< LVL1::FrontPanelCTP > | m_topoCTPLoc { this, "TopoCTPLocation", LVL1::DEFAULT_L1TopoCTPLocation, "StoreGate location of topo inputs" } |
|
std::string | m_PathInRootFile |
| Root directory. More...
|
|
bool | m_debug |
| Debug printout flag. More...
|
|
bool | m_histBooked |
| Histograms booked flag. More...
|
|
unsigned int | m_lumiNo |
| Current lumiblock. More...
|
|
TH1F_LW * | m_h_l1topo_1d_CMXTobs |
| Histos. More...
|
|
TH1F_LW * | m_h_l1topo_1d_Simulation |
|
TH1F_LW * | m_h_l1topo_1d_JetTobs_EnergyLg |
|
TH2F_LW * | m_h_l1topo_2d_Tobs_Hitmap_mismatch [TOB_TYPES] |
|
TH2F_LW * | m_h_l1topo_2d_Tobs_Hitmap_match [TOB_TYPES] |
|
TH2F_LW * | m_h_l1topo_2d_Tobs_etaPhi_mismatch [TOB_TYPES] |
|
TH2F_LW * | m_h_l1topo_2d_Tobs_etaPhi_match [TOB_TYPES] |
|
TH1F_LW * | m_h_l1topo_1d_Errors |
|
TH1F_LW * | m_h_l1topo_1d_Overflows |
|
TH1F_LW * | m_h_l1topo_1d_DAQTobs |
|
TH1F_LW * | m_h_l1topo_1d_DAQJetTobs |
|
TH1F_LW * | m_h_l1topo_1d_DAQTauTobs |
|
TH1F_LW * | m_h_l1topo_1d_DAQEMTobs |
|
TH1F_LW * | m_h_l1topo_1d_DAQMuonTobs |
|
TH1F_LW * | m_h_l1topo_1d_DAQTriggerBits |
|
TH1F_LW * | m_h_l1topo_1d_DAQMismatchTriggerBits |
|
TH1F_LW * | m_h_l1topo_1d_DAQOverflowBits |
|
TH1F_LW * | m_h_l1topo_1d_ROITobs |
|
TH1F_LW * | m_h_l1topo_1d_ErrorsByLumiblock |
|
TH2F * | m_h_l1topo_2d_ItemsBC [4] |
|
TH2F * | m_h_l1topo_2d_ItemsBC_ratio [4][2] |
|
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 48 of file L1CaloL1TopoMon.h.
◆ MDMap_t
◆ StoreGateSvc_t
◆ ERROR_BIT
Enumerator |
---|
CALO_CONV | |
NO_CMX | |
DAQ_CONV | |
NO_DAQ | |
ROI_CONV | |
NO_ROI | |
F_CRC | |
PAYL_CRC | |
CMX_MATCH | |
NUMBEROFBITS | |
Definition at line 63 of file L1CaloL1TopoMon.h.
◆ Interval_t
An enumeration describing how detailed a particular monitoring object is.
summary: used to summarize the state of the system
runstat: same as summary
shift: used to flag potential problems
expert: essential for diagnosing problems identified by shift-level objects
debug: useful for standalone debugging, but not for routine monitoring; not essential for diagnosing problems during normal running
transient: too detailed to ever be written; always summarized by the user by means of another object An enumeration describing the interval over which a particular monitoring object is filled (i.e., interval over which the method Fill(...) is called). This information may be stored with the monitoring object if an application is only able to partially fill the object (i.e., a job sees only part of a run or fill). This information may be ignored in some running Environments. The 'fill' interval corresponds to a fill of the LHC. The 'all' interval corresponds to all available data. The 'lumiBlock' and 'fill' intervals are only valid for the 'collisions' DataType_t.
Enumerator |
---|
file | |
eventsBlock | |
lumiBlock | |
lowStat | |
medStat | |
higStat | |
run | |
fill | |
all | |
Definition at line 114 of file ManagedMonitorToolBase.h.
◆ MgmtAttr_t
An enumeration describing how the class handles the histogram.
attrib_unmanaged: histograms with this attribute will not be rebooked automatically and must be managed by the user code.
attrib_x_is_lb: indicates that the x-axis of the histogram is the luminosity block number and that the histogram should be rebooked as necessary if the current LB exceeds the range.
Enumerator |
---|
ATTRIB_MANAGED | |
ATTRIB_UNMANAGED | |
ATTRIB_X_VS_LB | |
Definition at line 131 of file ManagedMonitorToolBase.h.
◆ TOB_TYPE
Enumerator |
---|
JETL_TOB | |
JETS_TOB | |
TAU_TOB | |
EM_TOB | |
MU_TOB | |
Definition at line 66 of file L1CaloL1TopoMon.h.
◆ L1CaloL1TopoMon()
LVL1::L1CaloL1TopoMon::L1CaloL1TopoMon |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~L1CaloL1TopoMon()
LVL1::L1CaloL1TopoMon::~L1CaloL1TopoMon |
( |
| ) |
|
|
virtual |
◆ bookHistograms()
StatusCode ManagedMonitorToolBase::bookHistograms |
( |
| ) |
|
|
virtualinherited |
An inheriting class should either override this function or bookHists().
Reimplemented in SCTHitEffMonTool, SCTHitsNoiseMonTool, SCTErrMonTool, SCTTracksMonTool, SCTLorentzMonTool, photonMonTool, egammaMonToolBase, electronMonTool, MuonPhysValMonitoring::MuonPhysValMonitoringTool, LArCellMonTool, AFPHitsMonitorTool, MuonDQA::MuonEventInfoMonTool, DQTDataFlowMonTool, TileCalCellMonTool, ActsTrk::PhysValTool, PhysValSecVtx, LUCID_HitsMoniTool, ZeeTaPMonTool, forwardElectronMonTool, DQTNonCollBkg_ZDC, TRT_Electron_Monitoring_Tool, InDetGlobalTrackMonTool, CscCalibMonToolBase, JetTagMonitoring, InDetPhysValMonitoringTool, EgammaPhysValMonitoring::EgammaPhysValMonitoringTool, InDetGlobalSynchMonTool, MissingEtDQA::PhysValMET, CaloTowerVecMon, JetTagDQA::PhysValBTag, CscCalibMonToolSlope, METMonTool, DQTGlobalWZFinderTool, CSCSegmValAlg, PhysVal::PhysValExample, TopPhysVal::TopPhysValMonitoring, DataQualityFatherMonTool, CscCalibMonToolPed, ZeeValidation::ZeeValidationMonitoringTool, CaloClusterVecMon, CaloTransverseBalanceVecMon, DQTDetSynchMonTool, InDetTrackPerfMonTool, IDPerfMonWenu, IDPerfMonZee, TrackCaloClusterRecValidationTool, DQTMuonIDTrackTool, InDetGlobalPixelTool, JetMonitoringTool, TileCellNoiseMonTool, CscClusterValAlg, PhysValTau, PhysValFE, AFPTechnicalMonitorTool, ManagedMonitorToolTest, DiMuMon, InDetVertexMonitoring, CscPrdValAlg, CscRdoValAlg, HIMonitoringEventShapeTool, IDPerfMonKshort, HIMonitoringZdcTool, HIMonitoringElectronsTool, HIMonitoringPhotonsTool, PhysValCluster, and HIMonitoringMuonsTool.
Definition at line 1406 of file ManagedMonitorToolBase.cxx.
1410 return StatusCode::SUCCESS;
◆ bookHistogramsRecurrent()
StatusCode LVL1::L1CaloL1TopoMon::bookHistogramsRecurrent |
( |
| ) |
|
|
virtual |
An inheriting class should either override this function, bookHists() or bookHistograms().
Reimplemented from ManagedMonitorToolBase.
Definition at line 162 of file L1CaloL1TopoMon.cxx.
178 const EventContext& ctx = Gaudi::Hive::currentContext();
179 m_lumiNo = ctx.eventID().lumi_block();
193 "L1Topo error summary;;Number of Events",
194 ERROR_BIT::NUMBEROFBITS, 0, ERROR_BIT::NUMBEROFBITS);
198 "L1Topo overflows;Overflow;Number of Events",1,0,1);
200 for (
int i=0;
i<ERROR_BIT::NUMBEROFBITS;++
i)
205 m_histTool->book1F(
"l1topo_1d_ErrorsByLumiblock",
206 "Events with Errors by Lumiblock;"
207 "Lumi Block;Number of Events",2500,0,2500);
211 "Number of CMX TOBs",
216 "Simulated L1Topo trigger bits", 128, 0, 128);
221 bookJEMRoIEtaVsPhi(
"l1topo_2d_JetSTobs_etaPhi_mismatch",
222 "CMX-L1Topo mismatched small jet TOBs hit map");
224 bookJEMRoIEtaVsPhi(
"l1topo_2d_JetSTobs_etaPhi_match",
225 "CMX-L1Topo matched small jet TOBs hit map");
227 bookJEMRoIEtaVsPhi(
"l1topo_2d_JetLTobs_etaPhi_mismatch",
228 "CMX-L1Topo mismatched large jet TOBs hit map");
230 bookJEMRoIEtaVsPhi(
"l1topo_2d_JetLTobs_etaPhi_match",
231 "CMX-L1Topo matched large jet TOBs hit map");
233 bookCPMEtaVsPhi(
"l1topo_2d_TauTobs_etaPhi_mismatch",
234 "CMX-L1Topo mismatched tau TOBs hit map");
236 bookCPMEtaVsPhi(
"l1topo_2d_TauTobs_etaPhi_match",
237 "CMX-L1Topo matched tau TOBs hit map");
239 bookCPMEtaVsPhi(
"l1topo_2d_EMTobs_etaPhi_mismatch",
240 "CMX-L1Topo mismatched EM TOBs hit map");
242 bookCPMEtaVsPhi(
"l1topo_2d_EMTobs_etaPhi_match",
243 "CMX-L1Topo matched EM TOBs hit map");
245 bookCPMEtaVsPhi(
"l1topo_2d_MuTobs_etaPhi_mismatch",
246 "CMX-L1Topo mismatched muon TOBs hit map");
248 bookCPMEtaVsPhi(
"l1topo_2d_MuTobs_etaPhi_match",
249 "CMX-L1Topo matched muon TOBs hit map");
254 bookJEMCrateModuleVsFrameLoc(
"l1topo_2d_JetSTobs_Hitmap_mismatch",
255 "CMX-L1Topo mismatched small jet TOBs hit map");
257 bookJEMCrateModuleVsFrameLoc(
"l1topo_2d_JetSTobs_Hitmap_match",
258 "CMX-L1Topo matched small jet TOBs hit map");
260 bookJEMCrateModuleVsFrameLoc(
"l1topo_2d_JetLTobs_Hitmap_mismatch",
261 "CMX-L1Topo mismatched large jet TOBs hit map");
263 bookJEMCrateModuleVsFrameLoc(
"l1topo_2d_JetLTobs_Hitmap_match",
264 "CMX-L1Topo matched large jet TOBs hit map");
266 bookCPMCrateModuleVsTobChipLocalCoord(
"l1topo_2d_TauTobs_Hitmap_mismatch",
267 "CMX-L1Topo mismatched tau TOBs hit map");
269 bookCPMCrateModuleVsTobChipLocalCoord(
"l1topo_2d_TauTobs_Hitmap_match",
270 "CMX-L1Topo matched tau TOBs hit map");
272 bookCPMCrateModuleVsTobChipLocalCoord(
"l1topo_2d_EMTobs_Hitmap_mismatch",
273 "CMX-L1Topo mismatched EM TOBs hit map");
275 bookCPMCrateModuleVsTobChipLocalCoord(
"l1topo_2d_EMTobs_Hitmap_match",
276 "CMX-L1Topo matched EM TOBs hit map");
278 bookCPMCrateModuleVsTobChipLocalCoord(
"l1topo_2d_MuTobs_Hitmap_mismatch",
279 "CMX-L1Topo mismatched muon TOBs hit map");
281 bookCPMCrateModuleVsTobChipLocalCoord(
"l1topo_2d_MuTobs_Hitmap_match",
282 "CMX-L1Topo matched muon TOBs hit map");
287 book1F(
"l1topo_1d_JetTobs_EnergyLg",
288 "L1Topo-Jet TOB Energy Large Window Size", 256, 0., 1024);
293 "Number of L1Topo DAQ L1Topo TOBs",
297 "Number of L1Topo DAQ Jet TOBs",
301 "Number of L1Topo DAQ Tau TOBs",
305 "Number of L1Topo DAQ EM TOBs",
309 "Number of L1Topo DAQ Muon TOBs",
312 m_histTool->book1F(
"l1topo_1d_DAQTriggerBits",
313 "L1Topo DAQ trigger bits",
316 m_histTool->book1F(
"l1topo_1d_DAQMismatchTriggerBits",
317 "L1Topo DAQ-Simulation trigger bits mismatch",
320 m_histTool->book1F(
"l1topo_1d_DAQOverflowBits",
321 "L1Topo DAQ overflow bits",
325 "Number of L1Topo ROI L1Topo TOBs",
327 for (
int i=0;
i<4; ++
i) {
328 const std::string textFPGA[4]=
329 {
"L1Topo_00_U1",
"L1Topo_00_U2",
"L1Topo_01_U1",
"L1Topo_01_U2"};
331 m_histTool->bookTH2F(std::string(
"l1topo_2d_ItemsBC")+
333 std::string(
"Timing vs "
334 "Algorithm Number ")+textFPGA[
i],
335 32,
i*32, (
i+1)*32, 5, -2.5, 2.5);
337 m_histTool->bookTH2F(std::string(
"l1topo_2d_ItemsBC_online_ratio")+
339 std::string(
"(online) Timing Ratio vs "
340 "Algorithm Number ")+textFPGA[
i],
341 32,
i*32, (
i+1)*32, 5, -2.5, 2.5);
343 m_histTool->bookTH2F(std::string(
"l1topo_2d_ItemsBC_ratio")+
345 std::string(
"Timing Ratio vs "
346 "Algorithm Number ")+textFPGA[
i],
347 32,
i*32, (
i+1)*32, 5, -2.5, 2.5);
351 std::map<unsigned int, std::string> topoCounterToName;
352 const std::vector<TrigConf::TriggerThreshold*>& thrVec =
355 ATH_MSG_DEBUG(
"L1Topo bits found in the LVL1 menu = " << thrVec.size());
356 if (thrVec.size()>0) {
357 for (
auto thr : thrVec) {
361 topoCounterToName.emplace(thr->mapping(),thr->name());
367 << topoCounterToName.size());
371 if (
it != topoCounterToName.end()){
372 const bool USE_ALPHANUM=
true;
373 if (USE_ALPHANUM &&
it->second.length()>2) {
377 SetBinContent(
binIndex%32+1,bc,0.0001);
389 return StatusCode::SUCCESS;
◆ bookHists()
StatusCode ManagedMonitorToolBase::bookHists |
( |
| ) |
|
|
virtualinherited |
◆ 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;
◆ convertLWHists()
StatusCode ManagedMonitorToolBase::convertLWHists |
( |
| ) |
|
|
virtualinherited |
◆ cpm2Coord()
void LVL1::L1CaloL1TopoMon::cpm2Coord |
( |
const int |
crate, |
|
|
const int |
cpm, |
|
|
const int |
chip, |
|
|
const int |
location, |
|
|
int & |
x, |
|
|
int & |
y, |
|
|
double & |
eta, |
|
|
double & |
phi |
|
) |
| |
|
private |
Definition at line 896 of file L1CaloL1TopoMon.cxx.
900 x = crate*14 + cpm - 1;
903 ((((((crate << 4) + cpm) << 4) + chip) << 2)
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ deregGraph()
StatusCode ManagedMonitorToolBase::deregGraph |
( |
TGraph * |
g | ) |
|
|
virtualinherited |
◆ deregHist() [1/2]
StatusCode ManagedMonitorToolBase::deregHist |
( |
LWHist * |
h | ) |
|
|
virtualinherited |
Definition at line 1826 of file ManagedMonitorToolBase.cxx.
1830 return StatusCode::FAILURE;
1833 if (
h->usingROOTBackend()) {
1834 h->setOwnsROOTHisto(
true);
1838 return StatusCode::SUCCESS;
◆ deregHist() [2/2]
StatusCode ManagedMonitorToolBase::deregHist |
( |
TH1 * |
h | ) |
|
|
virtualinherited |
◆ deregObject() [1/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1861 of file ManagedMonitorToolBase.cxx.
1874 return StatusCode::SUCCESS;
◆ deregObject() [2/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1851 of file ManagedMonitorToolBase.cxx.
◆ detStore()
◆ endOfEventsBlockFlag()
bool ManagedMonitorToolBase::endOfEventsBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ endOfLowStatFlag()
bool ManagedMonitorToolBase::endOfLowStatFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ endOfLumiBlockFlag()
bool ManagedMonitorToolBase::endOfLumiBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ endOfRunFlag()
bool ManagedMonitorToolBase::endOfRunFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ 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 LVL1::L1CaloL1TopoMon::fillHistograms |
( |
| ) |
|
|
virtual |
An inheriting class should either override this function or fillHists().
Reimplemented from ManagedMonitorToolBase.
Definition at line 393 of file L1CaloL1TopoMon.cxx.
402 return StatusCode::SUCCESS;
409 typedef std::tuple<int,int,int,int,int,int> TobKey;
422 if (
sc.isFailure()) {
436 if (
bx>=3 && l1aPos>0) {
437 for (
int bc=-dbx; bc<=dbx; ++bc) {
438 const CTP_BC& ctp_bc =
ctp.getBunchCrossings().at(l1aPos+bc);
439 std::bitset<512> tip = ctp_bc.
getTIP();
441 const unsigned int topoTipStart(384);
442 const unsigned int nTopoCTPOutputs(128);
443 for (
unsigned int item=0;
item<nTopoCTPOutputs;++
item) {
445 if (tip.test(
item+topoTipStart)) {
458 if (
sc.isFailure() || !cmxcptob) {
463 ATH_MSG_DEBUG(
"Found CMXCPTobCollection, looping on TOBs ..." );
468 cmxKeys[
TAU_TOB].insert(std::make_tuple(
t->crate(),
t->cpm(),
469 t->chip(),
t->location(),
472 cmxKeys[
EM_TOB].insert(std::make_tuple(
t->crate(),
t->cpm(),
473 t->chip(),
t->location(),
481 std::vector<const xAOD::CMXJetTob*> cmxtobs;
485 if (
sc.isFailure() || !cmxtob) {
491 ATH_MSG_DEBUG(
"Found CMXJetTobCollection, looping on TOBs ..." );
493 if (
t->energyLarge()) cmxtobs.push_back(
t);
495 if (
t->energyLarge())
496 cmxKeys[
JETL_TOB].insert(std::make_tuple(
t->crate(),
t->jem(),
497 t->frame(),
t->location(),
499 if (
t->energySmall())
500 cmxKeys[
JETS_TOB].insert(std::make_tuple(
t->crate(),
t->jem(),
501 t->frame(),
t->location(),
510 ATH_MSG_DEBUG(
"Could not retrieve LVL1::FrontPanelCTP with key "
516 ATH_MSG_INFO(
"Retrieve of LVL1::FrontPanelCTP failed." );
519 for(
unsigned int i=0;
i<32; ++
i) {
526 if( (topores0 & (0x1UL << (2*
i+0))))
528 if( (topores0 & (0x1UL << (2*
i+1))))
530 if( (topores1 & (0x1UL << (2*
i+0))))
532 if( (topores1 & (0x1UL << (2*
i+1))))
535 ATH_MSG_DEBUG(
"Simulated output from L1Topo from StoreGate with key "
538 << std::hex << std::setw( 8 ) << std::setfill(
'0' )
541 << std::hex << std::setw( 8 ) << std::setfill(
'0' )
544 << std::hex << std::setw( 8 ) << std::setfill(
'0' )
547 << std::hex << std::setw( 8 ) << std::setfill(
'0' )
556 if (
sc.isFailure() or 0 == rdos) {
559 ATH_MSG_DEBUG (
"Could not retrieve L1Topo DAQ RDO collection "
564 std::vector<L1Topo::L1TopoTOB> daqTobs;
565 std::vector<uint32_t> daqJetTobs;
566 std::vector<uint32_t> daqTauTobs;
567 std::vector<uint32_t> daqEMTobs;
568 std::vector<uint32_t> daqMuonTobs;
569 std::vector<uint32_t> vFibreSizes;
570 std::vector<uint32_t> vFibreStatus;
573 ATH_MSG_DEBUG(
"Trigger bits from L1Topo RDOs 0b" << triggerBits.first );
574 ATH_MSG_DEBUG(
"Overflow bits from L1Topo RDOs 0b" << triggerBits.second );
580 std::vector<L1Topo::Error>
errors = rdo->getErrors();
586 const std::vector<uint32_t> cDataWords = rdo->getDataWords();
588 if ( cDataWords.size() == 0 ) {
598 for (
const uint32_t word : cDataWords){
603 if (
header.payload_crc()!=0) {
607 i_fpga=(((rdo->getSourceID())>>3)&2)+
header.fpga();
613 for (
auto fsize: fibreBlock.count()){
614 vFibreSizes.push_back(fsize);
616 for (
auto fstatus: fibreBlock.status()){
617 vFibreStatus.push_back(fstatus);
625 <<
" fibre crc: " <<
status.crc() );
629 topo_error|=(1<<
F_CRC);
635 if (
header.bcn_offset()==0){
638 daqTobs.push_back(tob);
640 for (
unsigned int i=0;
i<8; ++
i){
641 if ((tob.trigger_bits() >>
i)&1)
643 if ((tob.overflow_bits()>>
i)&1)
652 if (
header.bcn_offset()==0) {
653 const int crate = (word >> 28) & 0
x1;
654 const int jem = (word >> 24) & 0xF;
655 const int frame = (word >> 21) & 0x7;
656 const int location = (word >> 19) & 0x3;
657 const int energyS = (word >> 10) & 0x1FF;
658 const int energyL = (word & 0x3FF);
660 topoKeys[
JETL_TOB].insert(std::make_tuple(crate,jem,frame,
664 daqJetTobs.push_back(tob);
668 topoKeys[
JETS_TOB].insert(std::make_tuple(crate,jem,frame,
676 if (
header.bcn_offset()==0) {
678 daqTauTobs.push_back(tob);
679 const int crate = (word >> 26) & 0x3;
680 const int cpm = (word >> 20) & 0xF;
681 const int chip = (word >> 15) & 0xF;
682 const int location = (word >> 13) & 0x3;
683 const int energy = (word & 0xFF);
692 if (
header.bcn_offset()==0) {
694 daqEMTobs.push_back(tob);
695 const int crate = (word >> 26) & 0x3;
696 const int cpm = (word >> 20) & 0xF;
697 const int chip = (word >> 15) & 0xF;
698 const int location = (word >> 13) & 0x3;
699 const int energy = (word & 0xFF);
701 topoKeys[
EM_TOB].insert(std::make_tuple(crate,cpm,chip,
708 if (
header.bcn_offset()==0){
710 daqMuonTobs.push_back(tob);
716 if (
header.bcn_offset()==0){
739 std::vector<L1Topo::L1TopoTOB> roiTobs;
742 const std::vector< ROIB::L1TopoResult > l1TopoResults =
744 ATH_MSG_DEBUG(
"Number of L1Topo ROI RODs found: " << l1TopoResults.size() );
745 for (
auto &
r : l1TopoResults) {
747 const auto& rdo =
r.rdo();
750 auto errors = rdo.getErrors();
756 const std::vector<uint32_t>& cDataWords = rdo.getDataWords();
757 if ( cDataWords.size() == 0 ) {
762 for (
const uint32_t word : cDataWords) {
768 roiTobs.push_back(tob);
770 for (
unsigned int i = 0;
i < 8; ++
i) {
790 for (
unsigned int i=1;
i<=128;++
i) {
799 set_symmetric_difference(cmxKeys[
t].
begin(),cmxKeys[
t].
end(),
801 inserter(keyDiff[
t],keyDiff[
t].
begin()));
802 if (keyDiff[
t].
size()>0) {
806 for (
auto& tob : keyDiff[
t]) {
810 jem2Coord(std::get<0>(tob),std::get<1>(tob),std::get<2>(tob),std::get<3>(tob),
815 cpm2Coord(std::get<0>(tob),std::get<1>(tob),std::get<2>(tob),std::get<3>(tob),
823 inserter(keyIntersect[
t],keyIntersect[
t].
begin()));
824 for (
auto& tob : keyIntersect[
t]) {
828 jem2Coord(std::get<0>(tob),std::get<1>(tob),std::get<2>(tob),std::get<3>(tob),
833 cpm2Coord(std::get<0>(tob),std::get<1>(tob),std::get<2>(tob),std::get<3>(tob),
845 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;
◆ finalHists()
StatusCode ManagedMonitorToolBase::finalHists |
( |
| ) |
|
|
virtualinherited |
◆ get_nEvents()
unsigned int ManagedMonitorToolBase::get_nEvents |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ get_procNEventsProp()
long ManagedMonitorToolBase::get_procNEventsProp |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ getHist() [1/6]
◆ getHist() [2/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
LWHist *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
◆ getHist() [3/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1598 of file ManagedMonitorToolBase.cxx.
◆ getHist() [4/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1588 of file ManagedMonitorToolBase.cxx.
◆ getHist() [5/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1640 of file ManagedMonitorToolBase.cxx.
◆ getHist() [6/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1630 of file ManagedMonitorToolBase.cxx.
◆ getNewStreamNameFcn()
|
protectedvirtualinherited |
◆ initialize()
StatusCode LVL1::L1CaloL1TopoMon::initialize |
( |
| ) |
|
|
virtual |
Reimplemented from ManagedMonitorToolBase.
Definition at line 124 of file L1CaloL1TopoMon.cxx.
131 if (
sc.isFailure())
return sc;
134 if (
sc.isFailure() ) {
135 msg(MSG::ERROR) <<
"Couldn't connect to " <<
m_configSvc.typeAndName()
143 if (
sc.isFailure() ) {
144 msg(MSG::ERROR) <<
"Unable to locate Tool TrigT1CaloMonErrorTool"
150 if (
sc.isFailure() ) {
151 msg(MSG::ERROR) <<
"Unable to locate Tool TrigT1CaloLWHistogramTool"
158 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;
◆ jem2Coord()
void LVL1::L1CaloL1TopoMon::jem2Coord |
( |
const int |
crate, |
|
|
const int |
jem, |
|
|
const int |
frame, |
|
|
const int |
location, |
|
|
int & |
x, |
|
|
int & |
y, |
|
|
double & |
eta, |
|
|
double & |
phi |
|
) |
| |
|
private |
◆ lbAverageInteractionsPerCrossing()
float ManagedMonitorToolBase::lbAverageInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average mu, i.e.
<mu>
Definition at line 1923 of file ManagedMonitorToolBase.cxx.
1928 return lumi->lbAverageInteractionsPerCrossing();
1931 ATH_MSG_DEBUG(
"Warning: lbAverageInteractionsPerCrossing() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbAverageLivefraction()
float ManagedMonitorToolBase::lbAverageLivefraction |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average luminosity livefraction.
Definition at line 1992 of file ManagedMonitorToolBase.cxx.
2000 return live->lbAverageLiveFraction();
2003 ATH_MSG_DEBUG(
"Warning: lbAverageLivefraction() - luminosity not availble (i.e. EnableLumi = False)");
◆ lbAverageLuminosity()
float ManagedMonitorToolBase::lbAverageLuminosity |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1)
Definition at line 1959 of file ManagedMonitorToolBase.cxx.
1964 return lumi->lbAverageLuminosity();
1967 ATH_MSG_DEBUG(
"Warning: lbAverageLuminosity() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbDuration()
double ManagedMonitorToolBase::lbDuration |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Luminosity block time (in seconds)
Definition at line 2046 of file ManagedMonitorToolBase.cxx.
2054 return dur->lbDuration();
2057 ATH_MSG_DEBUG(
"Warning: lbDuration() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbInteractionsPerCrossing()
float ManagedMonitorToolBase::lbInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Instantaneous number of interactions, i.e.
mu
Definition at line 1939 of file ManagedMonitorToolBase.cxx.
1944 float muToLumi =
lumi->muToLumi();
1946 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id()) / muToLumi;
1951 ATH_MSG_DEBUG(
"Warning: lbInteractionsPerCrossing() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbLuminosityPerBCID()
float ManagedMonitorToolBase::lbLuminosityPerBCID |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Instantaneous luminosity.
Definition at line 1975 of file ManagedMonitorToolBase.cxx.
1980 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id());
1983 ATH_MSG_DEBUG(
"Warning: lbLuminosityPerBCID() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbLumiWeight()
double ManagedMonitorToolBase::lbLumiWeight |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average Integrated Luminosity Live Fraction.
Definition at line 2030 of file ManagedMonitorToolBase.cxx.
2037 ATH_MSG_DEBUG(
"Warning: lbLumiWeight() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ livefractionPerBCID()
float ManagedMonitorToolBase::livefractionPerBCID |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Livefraction per bunch crossing ID.
Definition at line 2011 of file ManagedMonitorToolBase.cxx.
2019 return live->l1LiveFractionVector().at (ctx.eventID().bunch_crossing_id());
2022 ATH_MSG_DEBUG(
"Warning: livefractionPerBCID() - luminosity retrieved available (i.e. EnableLumi = False)");
◆ MMTB_DEPRECATED() [1/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfEventsBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [2/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfLowStat |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [3/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfLumiBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [4/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfRun |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [5/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newEventsBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [6/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newHigStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [7/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLowStat |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [8/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLowStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [9/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLumiBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [10/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newMedStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [11/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newRun |
| ) |
|
|
inherited |
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ newEventsBlockFlag()
bool ManagedMonitorToolBase::newEventsBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newHigStatIntervalFlag()
bool ManagedMonitorToolBase::newHigStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLowStatFlag()
bool ManagedMonitorToolBase::newLowStatFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLowStatIntervalFlag()
bool ManagedMonitorToolBase::newLowStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLumiBlockFlag()
bool ManagedMonitorToolBase::newLumiBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newMedStatIntervalFlag()
bool ManagedMonitorToolBase::newMedStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newRunFlag()
bool ManagedMonitorToolBase::newRunFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ 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 LVL1::L1CaloL1TopoMon::procHistograms |
( |
| ) |
|
|
virtual |
An inheriting class should either override this function or finalHists().
Reimplemented from ManagedMonitorToolBase.
Definition at line 849 of file L1CaloL1TopoMon.cxx.
858 for (
int cpu=0; cpu<=3; ++cpu) {
860 for (
int bc=1; bc<=5; ++bc) {
867 float ratio=(binval<1 || centerbin<1 ? 0 : binval/centerbin);
875 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;
◆ 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()
◆ runStat()
StatusCode ManagedMonitorToolBase::runStat |
( |
| ) |
|
|
virtualinherited |
This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ).
Implements IMonitorToolBase.
Definition at line 1893 of file ManagedMonitorToolBase.cxx.
1896 return StatusCode::SUCCESS;
◆ setMonManager()
◆ setupOutputStreams()
StatusCode ManagedMonitorToolBase::setupOutputStreams |
( |
std::vector< std::string > |
Mapping = std::vector<std::string>() | ) |
|
|
virtualinherited |
◆ streamNameFunction()
Returns the function object that converts logical paramters into a physical stream name.
Definition at line 502 of file ManagedMonitorToolBase.cxx.
506 msg(MSG::ERROR) <<
"!! streamNameFunction() has not been initialized !!" <<
endmsg;
507 msg(MSG::ERROR) <<
" --> neither ManagedMonitorToolBase::initialize() nor" <<
endmsg;
508 msg(MSG::ERROR) <<
" --> ManagedMonitorToolBase::setMonManager() has been called." <<
endmsg;
509 msg(MSG::ERROR) <<
" --> Correct configuration cannot be guaranteed from this point." <<
endmsg;
◆ 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;
◆ ERROR_LABELS
std::vector<std::string> LVL1::L1CaloL1TopoMon::ERROR_LABELS |
Initial value:{"Calo conv","No CMX","DAQ conv",
"No DAQ","ROI conv","No ROI","Fibre CRC","Payload CRC","CMX-Topo match"}
Definition at line 68 of file L1CaloL1TopoMon.h.
◆ m_bookHistogramsInitial
bool ManagedMonitorToolBase::m_bookHistogramsInitial |
|
privateinherited |
◆ m_CMXCPTobLocation
StringProperty LVL1::L1CaloL1TopoMon::m_CMXCPTobLocation |
|
private |
◆ m_CMXJetTobLocation
StringProperty LVL1::L1CaloL1TopoMon::m_CMXJetTobLocation |
|
private |
◆ m_configSvc
◆ m_d
Imp* ManagedMonitorToolBase::m_d |
|
privateinherited |
◆ m_dataType
◆ m_dataTypeStr
std::string ManagedMonitorToolBase::m_dataTypeStr |
|
protectedinherited |
◆ m_debug
bool LVL1::L1CaloL1TopoMon::m_debug |
|
private |
◆ m_defaultLBDuration
float ManagedMonitorToolBase::m_defaultLBDuration |
|
privateinherited |
◆ m_detailLevel
unsigned int ManagedMonitorToolBase::m_detailLevel |
|
protectedinherited |
◆ m_detStore
◆ m_DQFilterTools
ToolHandleArray<IDQFilterTool> ManagedMonitorToolBase::m_DQFilterTools {this,"FilterTools",{}} |
|
protectedinherited |
◆ m_endOfEventsBlock
bool ManagedMonitorToolBase::m_endOfEventsBlock |
|
privateinherited |
◆ m_endOfLowStat
bool ManagedMonitorToolBase::m_endOfLowStat |
|
privateinherited |
◆ m_endOfLumiBlock
bool ManagedMonitorToolBase::m_endOfLumiBlock |
|
privateinherited |
◆ m_endOfRun
bool ManagedMonitorToolBase::m_endOfRun |
|
privateinherited |
◆ m_environment
◆ m_environmentStr
std::string ManagedMonitorToolBase::m_environmentStr |
|
protectedinherited |
◆ m_errorTool
◆ m_evtStore
◆ m_fileKey
std::string ManagedMonitorToolBase::m_fileKey |
|
protectedinherited |
◆ m_h_l1topo_1d_CMXTobs
TH1F_LW* LVL1::L1CaloL1TopoMon::m_h_l1topo_1d_CMXTobs |
|
private |
◆ m_h_l1topo_1d_DAQEMTobs
TH1F_LW* LVL1::L1CaloL1TopoMon::m_h_l1topo_1d_DAQEMTobs |
|
private |
◆ m_h_l1topo_1d_DAQJetTobs
TH1F_LW* LVL1::L1CaloL1TopoMon::m_h_l1topo_1d_DAQJetTobs |
|
private |
◆ m_h_l1topo_1d_DAQMismatchTriggerBits
TH1F_LW* LVL1::L1CaloL1TopoMon::m_h_l1topo_1d_DAQMismatchTriggerBits |
|
private |
◆ m_h_l1topo_1d_DAQMuonTobs
TH1F_LW* LVL1::L1CaloL1TopoMon::m_h_l1topo_1d_DAQMuonTobs |
|
private |
◆ m_h_l1topo_1d_DAQOverflowBits
TH1F_LW* LVL1::L1CaloL1TopoMon::m_h_l1topo_1d_DAQOverflowBits |
|
private |
◆ m_h_l1topo_1d_DAQTauTobs
TH1F_LW* LVL1::L1CaloL1TopoMon::m_h_l1topo_1d_DAQTauTobs |
|
private |
◆ m_h_l1topo_1d_DAQTobs
TH1F_LW* LVL1::L1CaloL1TopoMon::m_h_l1topo_1d_DAQTobs |
|
private |
◆ m_h_l1topo_1d_DAQTriggerBits
TH1F_LW* LVL1::L1CaloL1TopoMon::m_h_l1topo_1d_DAQTriggerBits |
|
private |
◆ m_h_l1topo_1d_Errors
TH1F_LW* LVL1::L1CaloL1TopoMon::m_h_l1topo_1d_Errors |
|
private |
◆ m_h_l1topo_1d_ErrorsByLumiblock
TH1F_LW* LVL1::L1CaloL1TopoMon::m_h_l1topo_1d_ErrorsByLumiblock |
|
private |
◆ m_h_l1topo_1d_JetTobs_EnergyLg
TH1F_LW* LVL1::L1CaloL1TopoMon::m_h_l1topo_1d_JetTobs_EnergyLg |
|
private |
◆ m_h_l1topo_1d_Overflows
TH1F_LW* LVL1::L1CaloL1TopoMon::m_h_l1topo_1d_Overflows |
|
private |
◆ m_h_l1topo_1d_ROITobs
TH1F_LW* LVL1::L1CaloL1TopoMon::m_h_l1topo_1d_ROITobs |
|
private |
◆ m_h_l1topo_1d_Simulation
TH1F_LW* LVL1::L1CaloL1TopoMon::m_h_l1topo_1d_Simulation |
|
private |
◆ m_h_l1topo_2d_ItemsBC
TH2F* LVL1::L1CaloL1TopoMon::m_h_l1topo_2d_ItemsBC[4] |
|
private |
◆ m_h_l1topo_2d_ItemsBC_ratio
TH2F* LVL1::L1CaloL1TopoMon::m_h_l1topo_2d_ItemsBC_ratio[4][2] |
|
private |
◆ m_h_l1topo_2d_Tobs_etaPhi_match
◆ m_h_l1topo_2d_Tobs_etaPhi_mismatch
◆ m_h_l1topo_2d_Tobs_Hitmap_match
◆ m_h_l1topo_2d_Tobs_Hitmap_mismatch
◆ m_haveClearedLastEventBlock
bool ManagedMonitorToolBase::m_haveClearedLastEventBlock |
|
protectedinherited |
◆ m_histBooked
bool LVL1::L1CaloL1TopoMon::m_histBooked |
|
private |
◆ m_histTool
◆ m_lastHigStatInterval
int ManagedMonitorToolBase::m_lastHigStatInterval |
|
protectedinherited |
◆ m_lastLowStatInterval
int ManagedMonitorToolBase::m_lastLowStatInterval |
|
protectedinherited |
◆ m_lastLumiBlock
unsigned int ManagedMonitorToolBase::m_lastLumiBlock |
|
protectedinherited |
◆ m_lastMedStatInterval
int ManagedMonitorToolBase::m_lastMedStatInterval |
|
protectedinherited |
◆ m_lastRun
unsigned int ManagedMonitorToolBase::m_lastRun |
|
protectedinherited |
◆ m_lbDurationDataKey
◆ m_lumiDataKey
◆ m_lumiNo
unsigned int LVL1::L1CaloL1TopoMon::m_lumiNo |
|
private |
◆ m_lwhists
std::set<LWHist*> ManagedMonitorToolBase::m_lwhists |
|
protectedinherited |
◆ m_manager
◆ m_managerNameProp
std::string ManagedMonitorToolBase::m_managerNameProp |
|
protectedinherited |
◆ m_metadataMap
MDMap_t ManagedMonitorToolBase::m_metadataMap |
|
protectedinherited |
◆ 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_path
std::string ManagedMonitorToolBase::m_path |
|
protectedinherited |
◆ m_PathInRootFile
std::string LVL1::L1CaloL1TopoMon::m_PathInRootFile |
|
private |
◆ m_preScaleProp
long ManagedMonitorToolBase::m_preScaleProp |
|
protectedinherited |
◆ m_procNEventsProp
long ManagedMonitorToolBase::m_procNEventsProp |
|
protectedinherited |
◆ 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_topoCTPLoc
◆ m_trigDecTool
◆ m_triggerChainProp
std::string ManagedMonitorToolBase::m_triggerChainProp |
|
protectedinherited |
◆ m_triggerGroupProp
std::string ManagedMonitorToolBase::m_triggerGroupProp |
|
protectedinherited |
◆ m_trigLiveFractionDataKey
◆ m_trigTranslator
PublicToolHandle<ITriggerTranslatorTool> ManagedMonitorToolBase::m_trigTranslator {this,"TriggerTranslatorTool",""} |
|
protectedinherited |
◆ m_useLumi
bool ManagedMonitorToolBase::m_useLumi |
|
privateinherited |
◆ m_useTrigger
bool ManagedMonitorToolBase::m_useTrigger |
|
protectedinherited |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_vTrigChainNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigChainNames |
|
protectedinherited |
◆ m_vTrigGroupNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigGroupNames |
|
protectedinherited |
◆ MAXTOBS
const int LVL1::L1CaloL1TopoMon::MAXTOBS =30 |
|
staticprivate |
◆ TOB_TYPES
const int LVL1::L1CaloL1TopoMon::TOB_TYPES =5 |
|
staticprivate |
The documentation for this class was generated from the following files:
virtual LWHist * ownedLWHistOfKey(const std::string &key) const
virtual void Fill(const double &x, const double &y) override
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
uint32_t cableWord1(unsigned int clock) const
return the data that it sent on cable 1
The class that represents the raw data received from an L1Topo board.
virtual LWHist * writeAndDeleteLWHist(const std::string &key, const std::string &streamName)
TH1F_LW * m_h_l1topo_1d_DAQEMTobs
TH1F_LW * m_h_l1topo_1d_ROITobs
unsigned int m_lumiNo
Current lumiblock.
TH1F_LW * m_h_l1topo_1d_JetTobs_EnergyLg
Scalar phi() const
phi method
virtual void Fill(const double &x) override
Represents the L1Topo TOB word of the L1Topo ROI data, with decode and encoder.
std::pair< std::bitset< 128 >, std::bitset< 128 > > getDecisionAndOverflowBits(const L1TopoRDOCollection &)
Get the trigger decision and overflow bits from the L1Topo ROI data block 'L1Topo TOB' and order them...
TH1F_LW * m_h_l1topo_1d_DAQTobs
Class holding the LVL1 RoIB result build by the RoIBuilder.
decoder
def channelSelection(self, channelList, groupType): if groupType == self.SingleGroup: pass elif group...
Scalar eta() const
pseudorapidity method
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual LWHist * writeAndResetLWHist(const std::string &key, const std::string &streamName)
static unsigned int runNumber()
A level 1 calorimeter trigger conversion service: returns the Coordinate represented by a RoI word.
virtual std::string fileKey() const
static const std::string CMXJetTobLocation
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.
Represents the L1Topo status word of the L1Topo DAQ header, with decoder and encoder.
StringProperty m_CMXCPTobLocation
virtual void SetBinContent(unsigned bin, const double &) override
L1Topo::BlockTypes blockType(const uint32_t word, uint32_t offset=28, uint32_t size=0x0f)
Function to return the block type of a data word from L1Topo
ToolHandle< TrigT1CaloLWHistogramTool > m_histTool
Histogram utilities tool.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool msgLvl(const MSG::Level lvl) const
static const std::string CMXCPTobLocation
SG::ReadHandleKey< LVL1::FrontPanelCTP > m_topoCTPLoc
static void setStreamName(LWHist *, const std::string &streamName)
TH2F_LW * m_h_l1topo_2d_Tobs_Hitmap_mismatch[TOB_TYPES]
Description of CMXCPTob_v1.
std::vector< std::string > ERROR_LABELS
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
void SetOption(const char *option=" ")
bool empty() const
Test if the key is blank.
static const int TOB_TYPES
static unsigned int getLBsLowStat()
TH1F_LW * m_h_l1topo_1d_Simulation
virtual void setOwner(IDataHandleHolder *o)=0
static Environment_t environment()
Returns the running environment of the monitoring application to help ManagedMonitorToolBase objects ...
static const std::string & streamName(LWHist *)
const std::bitset< 512 > & getTIP() const
get bitset of TIP words
Front panel input class to the CTP simulation.
static unsigned int getLBsMedStat()
bool usingROOTBackend() const
TH1F_LW * m_h_l1topo_1d_Errors
TH2F_LW * m_h_l1topo_2d_Tobs_etaPhi_match[TOB_TYPES]
static void removeCustomData(LWHist *)
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
std::string m_PathInRootFile
Root directory.
TH2F_LW * m_h_l1topo_2d_Tobs_Hitmap_match[TOB_TYPES]
ToolHandle< ITrigT1CaloMonErrorTool > m_errorTool
Corrupt events tool.
TH2F * m_h_l1topo_2d_ItemsBC_ratio[4][2]
void jem2Coord(const int crate, const int jem, const int frame, const int location, int &x, int &y, double &eta, double &phi)
static DataType_t dataType()
Returns the data type that the monitoring application is running over to help ManagedMonitorToolBase ...
CoordinateRange class declaration.
static const std::string & key(LWHist *)
const std::vector< L1TopoResult > & l1TopoResult() const
Gets the L1Topo part of the L1 RDO.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual void writeAndDelete(const std::string &key)
If the TObject is owned by this manager, its Write() method is called and it is deleted.
TH1F_LW * m_h_l1topo_1d_ErrorsByLumiblock
void cpm2Coord(const int crate, const int cpm, const int chip, const int location, int &x, int &y, double &eta, double &phi)
TH1F_LW * m_h_l1topo_1d_CMXTobs
Histos.
TH1F_LW * m_h_l1topo_1d_DAQTauTobs
#define CHECK(...)
Evaluate an expression and check for errors.
uint32_t cableWord0(unsigned int clock) const
return the data that is sent on cable 0
unsigned int binIndex(const T &val, const std::vector< T > &partitions)
general utility function to return bin index given a value and the upper endpoints of each bin
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.
TH2F * m_h_l1topo_2d_ItemsBC[4]
void fcn(int &, double *, double &result, double par[], int)
this is where we write out chi2
Description of CMXJetTob_v1.
double GetBinContent(int) const
void SetBinContent(int, double)
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Container of L1TopoRDOs (standard Athena boilerplate)
virtual double GetBinContent(unsigned bin) const override
std::string formatHex8(uint32_t word)
Helper function to format a 32-bit integer as an 8-digit hex number for printing.
std::string to_string(const DetectorType &type)
static unsigned int getLBsHigStat()
static void setKey(LWHist *, const std::string &key)
void setOwnsROOTHisto(bool b)
uint32_t getL1AcceptBunchPosition() const
ctp
Retrieve trigger EDM objects.
Represents the L1Topo fibre word of the L1Topo DAQ header, with decoder and encoder.
A level 1 calorimeter trigger conversion service: returns the Coordinate represented by a RoI word.
TH1F_LW * m_h_l1topo_1d_DAQOverflowBits
TH1F_LW * m_h_l1topo_1d_DAQMuonTobs
#define ATH_MSG_WARNING(x)
TH1F_LW * m_h_l1topo_1d_DAQTriggerBits
unsigned int triggerBitIndex(uint32_t moduleId, const L1Topo::L1TopoTOB &)
OUT OF DATE DO NOT USE Helper to calculate the index needed to pack trigger bits into the full 128-bi...
filelist
print ("Checking files %s..." % fullfile)
ServiceHandle< TrigConf::ITrigConfigSvc > m_configSvc
Trigger configuration service.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
StringProperty m_CMXJetTobLocation
Output from L1Topo.
static unsigned int lumiBlockNumber()
TH1F_LW * m_h_l1topo_1d_DAQMismatchTriggerBits
const T * get(const ReadHandleKey< T > &key)
Convenience function to retrieve an object given a ReadHandleKey.
Set * set_intersection(Set *set1, Set *set2)
Perform an intersection of two sets.
virtual TH1 * getROOTHistBase()=0
bool m_debug
Debug printout flag.
TH1F_LW * m_h_l1topo_1d_DAQJetTobs
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
TH2F_LW * m_h_l1topo_2d_Tobs_etaPhi_mismatch[TOB_TYPES]
TH1F_LW * m_h_l1topo_1d_Overflows
bool m_histBooked
Histograms booked flag.