|
ATLAS Offline Software
|
Base class for TileCal online monitoring tools in physics runs.
More...
#include <TileFatherMonTool.h>
|
enum | Sampling {
SampA =0,
SampB =1,
SampD =2,
SampE =3,
AllSamp =4,
TotalSamp =5
} |
| enum defining TileCal cell samples More...
|
|
enum | Partitions {
PartEBA = 0,
PartLBA = 1,
PartLBC = 2,
PartEBC = 3,
NumPart = 4,
NPartHisto = 5
} |
| enum defining TileCal partitions More...
|
|
enum | L1Trig {
Trig_b0 = 0,
Trig_b1 = 1,
Trig_b2 = 2,
Trig_b3 = 3,
Trig_b4 = 4,
Trig_b5 = 5,
Trig_b6 = 6,
Trig_b7 = 7,
AnyTrig = 8,
NTrigHisto = 9
} |
| enum defining L1 trigger bits More...
|
|
enum | TileFragStatus {
ALL_OK =0,
CRC_ERR =1,
ALL_FF =0x10,
ALL_00 =0x20,
NO_FRAG =0x40,
NO_ROB =0x80
} |
|
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...
|
|
|
| TileFatherMonTool (const std::string &type, const std::string &name, const IInterface *parent) |
| Base class for TileCal monitoring tools. More...
|
|
virtual | ~TileFatherMonTool () |
|
virtual StatusCode | initialize () override |
| The initialize will set some navigation variables and retrieve basic services. More...
|
|
int | getPartition (const CaloCell *cell) |
| Method to navigate from a cell to its Tile partition EBA, LBA, LBC, EBC. More...
|
|
void | get_eventTrigs (uint32_t lvl1info) |
| Method to get the list of all Level1 trigger passed by the event. More...
|
|
template<class T > |
void | SetBinLabel (T *axis, const std::vector< std::string > &labels) |
|
template<class T > |
void | SetBinLabel (T *axis, const std::string *labels, int nLabels) |
|
void | ShiftTprofile (TProfile *, int) |
|
int | vecIndx (unsigned int i) |
| Method that returns the histogram index corresponding to trigger 'i'. More...
|
|
uint32_t | getL1info () |
| Method to get the Level1 Trigger word: 32bit long, but only 8 bit are used If no trigger word or empty it will return 0. More...
|
|
uint32_t | getEvtNum () |
| Method to get the event number: More...
|
|
uint32_t | getLumiBlock () |
| Method to get the lumi_block word: More...
|
|
uint32_t | getEvtBCID () |
| Method to get the event BCID: More...
|
|
uint32_t | getRunNum () |
| Method to get the run Number: More...
|
|
std::string | getRunNumStr () |
| Method to get the run Number in words: More...
|
|
uint32_t | gettileFlag () |
| Method to get the tile Flag: More...
|
|
uint32_t | gettileError_error () |
| Method to get the tile Error: More...
|
|
void | fillEvtInfo () |
| Method to fill the lvl1Info variable, evtNumber, evtBCID and lumi_block. 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 | 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 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 | bookHistograms () |
| An inheriting class should either override this function or bookHists(). More...
|
|
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 void | setMonManager (AthenaMonManager *manager) |
| Takes a pointer to a managing object to get information from it when needed. More...
|
|
virtual StatusCode | getHist (TH1 *&h, const std::string &hName, const std::string &system, Interval_t interval) |
| Returns a TH1 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH1 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH1 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH2 *&h, const std::string &hName, const std::string &system, Interval_t interval) |
| Returns a TH2 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH2 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH2 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | regEfficiency (TEfficiency *e, const MonGroup &group) |
| Registers a TEfficiency to be included in the output stream using logical parameters that describe the plot. More...
|
|
virtual StatusCode | regTree (TTree *t, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TTree to be included in the output stream using logical parameters that describe it. More...
|
|
virtual StatusCode | regTree (TTree *t, const MonGroup &group) |
| Registers a TTree to be included in the output stream using logical parameters that describe it. More...
|
|
virtual StatusCode | writeAndDelete (TH1 *h, const MonGroup &group) |
| Write out histogram and delete it. More...
|
|
virtual StatusCode | deregHist (TH1 *h) |
| De-registers a TH1 from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregGraph (TGraph *g) |
| De-registers a TGraph from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const std::string &system, Interval_t interval) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const MonGroup &group) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | setupOutputStreams (std::vector< std::string > Mapping=std::vector< std::string >()) |
| This implementation does nothing—streams in this class should be managed by the AthenaMonManager. More...
|
|
virtual StatusCode | runStat () |
| This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ). More...
|
|
virtual 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 |
|
|
TH1D * | book1D (const std::string &nam, const std::string &tit, int nx, double xmin, double xmax) |
| Implicit version of book1D. More...
|
|
TH1D * | book1D (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH2D * | book2D (const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax) |
| Implicit version of book2D. More...
|
|
TH2D * | book2D (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH1F * | book1F (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH1I * | book1I (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH1S * | book1S (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH1S * | book1Sx (const std::string &dir, const std::string &nam, const std::string &tit, int nx, const Double_t *xlgbins, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH1C * | book1C (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH2F * | book2F (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH2F * | book2F (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, const double *ybins, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH2I * | book2I (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH2S * | book2S (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH2C * | book2C (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TProfile * | bookProfile (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TProfile * | bookProfile (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TProfile * | bookProfile (const std::string &dir, const std::string &nam, const std::string &tit, int nx, const float *xbins, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TProfile2D * | bookProfile2D (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, double zmin, double zmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TGraph * | bookGraph (const std::string &dir, const std::string &nam, const std::string &tit, int N, float *X, float *Y) |
|
TGraphErrors * | bookGraphErrors (const std::string &dir, const std::string &nam, const std::string &tit, int N, float *X, float *Y, float *X_errors, float *Y_errors) |
|
TGraphAsymmErrors * | bookGraphAsymmErrors (const std::string &dir, const std::string &nam, const std::string &tit, int N, float *X, float *Y, float *X_errors1, float *X_errors2, float *Y_errors1, float *Y_errors2) |
|
TMultiGraph * | bookMultiGraph (const std::string &dir, const std::string &nam, const std::string &tit) |
|
StatusCode | removeTObj (TObject *obj) |
|
template<typename T > |
void | regHist (const std::string &subDir, T *hist, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
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...
|
|
template<typename T > |
void | regGraph (const std::string &subDir, T *graph, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
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...
|
|
std::string | getCellName (unsigned int ros, unsigned int channel) |
|
std::string | getTMDBCellName (unsigned int ros, unsigned int channel) |
|
bool | isDisconnected (int ros, int drawer, int ch) |
|
StatusCode | regManagedHistograms (std::vector< MgmtParams< TH1 > > &templateHistograms) |
|
StatusCode | regManagedGraphs (std::vector< MgmtParams< TGraph > > &templateGraphs) |
|
StatusCode | regManagedTrees (std::vector< MgmtParams< TTree > > &templateTrees) |
|
StatusCode | regManagedEfficiencies (std::vector< MgmtParams< TEfficiency > > &templateEfficiencies) |
|
StatusCode | parseList (const std::string &, std::vector< std::string > &) |
|
void | updateTriggersForGroups (std::vector< std::string > &) |
|
StatusCode | registerMetadata (const std::string &streamName, const std::string &hName, const MonGroup &group) |
|
StatusCode | THistSvc_deReg_fixTGraph (TFile *file, TGraph *theGraph, std::string &directoryName) |
| Fixes THistSvc->deReg(obj) when obj is TGraph instance. More...
|
|
unsigned int | get_nEvents () const |
|
long | get_procNEventsProp () const |
|
virtual bool | trigChainsArePassed (std::vector< std::string > &) |
|
virtual StreamNameFcn * | getNewStreamNameFcn () const |
|
bool | newLowStatIntervalFlag () const |
| Flag functions allowing clients to determine when to book new and process old histograms; values are updated by fillHists() based on counting lumiBlocks, and are correctly set when fillHistograms(), bookHistograms() and procHistograms() are called. More...
|
|
bool | newMedStatIntervalFlag () const |
|
bool | newHigStatIntervalFlag () const |
|
bool | newLowStatFlag () const |
|
bool | newLumiBlockFlag () const |
|
bool | newRunFlag () const |
|
bool | newEventsBlockFlag () const |
|
bool | endOfEventsBlockFlag () const |
|
bool | endOfLowStatFlag () const |
|
bool | endOfLumiBlockFlag () const |
|
bool | endOfRunFlag () const |
|
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution More...
|
|
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
|
void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. More...
|
|
|
const TileID * | m_tileID {} |
|
const TileHWID * | m_tileHWID {} |
|
const TileTBID * | m_tileTBID {} |
|
const TileCablingService * | m_cabling {} |
|
bool | m_savePng {} |
|
bool | m_savePs {} |
|
bool | m_saveSvg {} |
|
std::vector< int > | m_fragIDsToIgnoreDMUerrors |
|
std::vector< int > | m_fragIDsDemonstrators |
|
std::string | m_EBcellName [48] |
|
std::string | m_LBcellName [48] |
|
std::string | m_TMDB_LB_cell_names [8] = {"D0", "D1L", "D1R", "D2R", "D2L", "D3L", "D3R", ""} |
|
std::string | m_TMDB_EB_cell_names [4] = {"D5L", "D5R", "D6L", "D6R"} |
|
int | m_chMapLB [48] |
|
int | m_chMapEB [48] |
|
int | m_chMapEBsp [48] |
|
std::map< Interval_t, std::vector< MgmtParams< TH1 > > > | m_templateHistograms |
|
std::map< Interval_t, std::vector< MgmtParams< TGraph > > > | m_templateGraphs |
|
std::map< Interval_t, std::vector< MgmtParams< TTree > > > | m_templateTrees |
|
std::map< Interval_t, std::vector< MgmtParams< TEfficiency > > > | m_templateEfficiencies |
|
std::vector< std::string > | m_vTrigChainNames |
|
std::vector< std::string > | m_vTrigGroupNames |
|
MDMap_t | m_metadataMap |
|
AthenaMonManager * | m_manager |
|
std::string | m_managerNameProp |
|
std::string | m_fileKey |
|
std::string | m_dataTypeStr |
|
std::string | m_environmentStr |
|
unsigned int | m_detailLevel |
|
AthenaMonManager::DataType_t | m_dataType |
|
AthenaMonManager::Environment_t | m_environment |
|
StreamNameFcn * | m_streamNameFcn |
|
ServiceHandle< ITHistSvc > | m_THistSvc |
|
PublicToolHandle< Trig::ITrigDecisionTool > | m_trigDecTool {this, "TrigDecisionTool",""} |
|
PublicToolHandle< ITriggerTranslatorTool > | m_trigTranslator {this,"TriggerTranslatorTool",""} |
|
ToolHandleArray< IDQFilterTool > | m_DQFilterTools {this,"FilterTools",{}} |
|
long | m_procNEventsProp |
|
std::string | m_path |
|
long | m_preScaleProp |
|
std::string | m_triggerChainProp |
|
std::string | m_triggerGroupProp |
|
bool | m_useTrigger |
|
unsigned int | m_lastLumiBlock |
|
unsigned int | m_lastRun |
|
int | m_lastLowStatInterval |
|
int | m_lastMedStatInterval |
|
int | m_lastHigStatInterval |
|
unsigned int | m_nEvents |
|
unsigned int | m_nEventsIgnoreTrigger |
|
unsigned int | m_nLumiBlocks |
|
bool | m_haveClearedLastEventBlock |
|
Base class for TileCal online monitoring tools in physics runs.
Definition at line 32 of file TileFatherMonTool.h.
◆ MDMap_t
◆ StoreGateSvc_t
◆ Interval_t
An enumeration describing how detailed a particular monitoring object is.
summary: used to summarize the state of the system
runstat: same as summary
shift: used to flag potential problems
expert: essential for diagnosing problems identified by shift-level objects
debug: useful for standalone debugging, but not for routine monitoring; not essential for diagnosing problems during normal running
transient: too detailed to ever be written; always summarized by the user by means of another object An enumeration describing the interval over which a particular monitoring object is filled (i.e., interval over which the method Fill(...) is called). This information may be stored with the monitoring object if an application is only able to partially fill the object (i.e., a job sees only part of a run or fill). This information may be ignored in some running Environments. The 'fill' interval corresponds to a fill of the LHC. The 'all' interval corresponds to all available data. The 'lumiBlock' and 'fill' intervals are only valid for the 'collisions' DataType_t.
Enumerator |
---|
file | |
eventsBlock | |
lumiBlock | |
lowStat | |
medStat | |
higStat | |
run | |
fill | |
all | |
Definition at line 113 of file ManagedMonitorToolBase.h.
◆ L1Trig
enum defining L1 trigger bits
Enumerator |
---|
Trig_b0 | |
Trig_b1 | |
Trig_b2 | |
Trig_b3 | |
Trig_b4 | |
Trig_b5 | |
Trig_b6 | |
Trig_b7 | |
AnyTrig | |
NTrigHisto | |
Definition at line 119 of file TileFatherMonTool.h.
◆ MgmtAttr_t
An enumeration describing how the class handles the histogram.
attrib_unmanaged: histograms with this attribute will not be rebooked automatically and must be managed by the user code.
attrib_x_is_lb: indicates that the x-axis of the histogram is the luminosity block number and that the histogram should be rebooked as necessary if the current LB exceeds the range.
Enumerator |
---|
ATTRIB_MANAGED | |
ATTRIB_UNMANAGED | |
ATTRIB_X_VS_LB | |
Definition at line 130 of file ManagedMonitorToolBase.h.
◆ Partitions
enum defining TileCal partitions
Enumerator |
---|
PartEBA | |
PartLBA | |
PartLBC | |
PartEBC | |
NumPart | |
NPartHisto | |
Definition at line 109 of file TileFatherMonTool.h.
◆ Sampling
◆ TileFragStatus
Enumerator |
---|
ALL_OK | |
CRC_ERR | |
ALL_FF | |
ALL_00 | |
NO_FRAG | |
NO_ROB | |
Definition at line 62 of file TilePaterMonTool.h.
◆ TileFatherMonTool()
TileFatherMonTool::TileFatherMonTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~TileFatherMonTool()
TileFatherMonTool::~TileFatherMonTool |
( |
| ) |
|
|
virtual |
◆ book1C()
◆ book1D() [1/2]
◆ book1D() [2/2]
TH1D* TilePaterMonTool::book1D |
( |
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax |
|
) |
| |
|
inlineprotectedinherited |
◆ book1F()
◆ book1I()
◆ book1S()
◆ book1Sx()
◆ book2C()
TH2C * TilePaterMonTool::book2C |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2D() [1/2]
TH2D * TilePaterMonTool::book2D |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2D() [2/2]
TH2D* TilePaterMonTool::book2D |
( |
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax |
|
) |
| |
|
inlineprotectedinherited |
◆ book2F() [1/2]
TH2F * TilePaterMonTool::book2F |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
const double * |
ybins, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2F() [2/2]
TH2F * TilePaterMonTool::book2F |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2I()
TH2I * TilePaterMonTool::book2I |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2S()
TH2S * TilePaterMonTool::book2S |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ bookGraph()
TGraph * TilePaterMonTool::bookGraph |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
N, |
|
|
float * |
X, |
|
|
float * |
Y |
|
) |
| |
|
protectedinherited |
◆ bookGraphAsymmErrors()
TGraphAsymmErrors * TilePaterMonTool::bookGraphAsymmErrors |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
N, |
|
|
float * |
X, |
|
|
float * |
Y, |
|
|
float * |
X_errors1, |
|
|
float * |
X_errors2, |
|
|
float * |
Y_errors1, |
|
|
float * |
Y_errors2 |
|
) |
| |
|
protectedinherited |
Definition at line 476 of file TilePaterMonTool.cxx.
481 TGraphAsymmErrors *
hist =
new TGraphAsymmErrors(
N,
X,
Y, X_errors1, X_errors2, Y_errors1, Y_errors2);
482 hist->SetName(TString(nam));
486 return (TGraphAsymmErrors*)
hist;
◆ bookGraphErrors()
TGraphErrors * TilePaterMonTool::bookGraphErrors |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
N, |
|
|
float * |
X, |
|
|
float * |
Y, |
|
|
float * |
X_errors, |
|
|
float * |
Y_errors |
|
) |
| |
|
protectedinherited |
Definition at line 419 of file TilePaterMonTool.cxx.
421 TGraphErrors *
hist =
new TGraphErrors(
N,
X,
Y, X_errors, Y_errors);
422 hist->SetName(TString(nam));
426 return (TGraphErrors *)
hist;
◆ bookHistograms()
StatusCode ManagedMonitorToolBase::bookHistograms |
( |
| ) |
|
|
virtualinherited |
An inheriting class should either override this function or bookHists().
Reimplemented in photonMonTool, egammaMonToolBase, electronMonTool, MuonPhysValMonitoring::MuonPhysValMonitoringTool, ActsTrk::PhysValTool, PhysValSecVtx, ZeeTaPMonTool, forwardElectronMonTool, CscCalibMonToolBase, InDetPhysValMonitoringTool, EgammaPhysValMonitoring::EgammaPhysValMonitoringTool, MissingEtDQA::PhysValMET, CscCalibMonToolSlope, InDetTrackPerfMonTool, JetTagDQA::PhysValBTag, PhysVal::PhysValExample, CscCalibMonToolPed, GeneratorPhysVal::GeneratorPhysValMonitoringTool, ZeeValidation::ZeeValidationMonitoringTool, IDPerfMonWenu, IDPerfMonZee, TrackCaloClusterRecValidationTool, JetMonitoringTool, TileCellNoiseMonTool, PhysValTau, PhysValFE, DiMuMon, ManagedMonitorToolTest, IDPerfMonKshort, and PhysValCluster.
Definition at line 1298 of file ManagedMonitorToolBase.cxx.
1302 return StatusCode::SUCCESS;
◆ bookHistogramsRecurrent()
StatusCode ManagedMonitorToolBase::bookHistogramsRecurrent |
( |
| ) |
|
|
virtualinherited |
◆ bookHists()
StatusCode ManagedMonitorToolBase::bookHists |
( |
| ) |
|
|
virtualinherited |
◆ bookMultiGraph()
TMultiGraph * TilePaterMonTool::bookMultiGraph |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit |
|
) |
| |
|
protectedinherited |
◆ bookProfile() [1/3]
◆ bookProfile() [2/3]
TProfile * TilePaterMonTool::bookProfile |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ bookProfile() [3/3]
◆ bookProfile2D()
TProfile2D * TilePaterMonTool::bookProfile2D |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
double |
zmin, |
|
|
double |
zmax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ checkHists()
StatusCode ManagedMonitorToolBase::checkHists |
( |
bool |
calledFromFinalize | ) |
|
|
virtualinherited |
◆ checkIsCollision()
void TileFatherMonTool::checkIsCollision |
( |
| ) |
|
|
private |
Definition at line 281 of file TileFatherMonTool.cxx.
293 <<
" in TES. No checking if it is collision possible!" );
295 ATH_MSG_INFO(
"Will not try to read this container anymore!" );
306 for (
const TileCell* mbts_cell : *mbts_container) {
307 if (mbts_cell->energy() < 0.27 || TMath::Abs(mbts_cell->time()) < 1.e-5)
continue;
311 timeA += mbts_cell->time();
314 timeC += mbts_cell->time();
319 if (nHitsA > 1 && nHitsC > 1) {
334 <<
" failed! No checking if it is collision possible!" );
335 ATH_MSG_INFO(
"Will not try to read this container anymore!" );
352 if (!tile_cell)
continue;
358 if (
energy < 500.0 || TMath::Abs(
time) < 1.e-5)
continue;
372 if (nHitsA > 1 && nHitsC > 1) {
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ deregGraph()
StatusCode ManagedMonitorToolBase::deregGraph |
( |
TGraph * |
g | ) |
|
|
virtualinherited |
◆ deregHist()
StatusCode ManagedMonitorToolBase::deregHist |
( |
TH1 * |
h | ) |
|
|
virtualinherited |
◆ deregObject() [1/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1643 of file ManagedMonitorToolBase.cxx.
◆ deregObject() [2/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1633 of file ManagedMonitorToolBase.cxx.
◆ detStore()
◆ endOfEventsBlockFlag()
bool ManagedMonitorToolBase::endOfEventsBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ endOfLowStatFlag()
bool ManagedMonitorToolBase::endOfLowStatFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ endOfLumiBlockFlag()
bool ManagedMonitorToolBase::endOfLumiBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ endOfRunFlag()
bool ManagedMonitorToolBase::endOfRunFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ fillEvtInfo()
void TileFatherMonTool::fillEvtInfo |
( |
| ) |
|
Method to fill the lvl1Info variable, evtNumber, evtBCID and lumi_block.
Method to get the Level1 Trigger word: 32bit long, but only 8 bit are used If no trigger word or empty it will return 0.
Definition at line 191 of file TileFatherMonTool.cxx.
◆ fillHistograms()
StatusCode ManagedMonitorToolBase::fillHistograms |
( |
| ) |
|
|
virtualinherited |
An inheriting class should either override this function or fillHists().
Reimplemented in photonMonTool, egammaMonToolBase, electronMonTool, MuonPhysValMonitoring::MuonPhysValMonitoringTool, ActsTrk::PhysValTool, PhysValSecVtx, ZeeTaPMonTool, forwardElectronMonTool, CscCalibMonToolBase, InDetPhysValMonitoringTool, EgammaPhysValMonitoring::EgammaPhysValMonitoringTool, MissingEtDQA::PhysValMET, InDetTrackPerfMonTool, JetTagDQA::PhysValBTag, PhysVal::PhysValExample, GeneratorPhysVal::GeneratorPhysValMonitoringTool, ZeeValidation::ZeeValidationMonitoringTool, IDPerfMonWenu, IDPerfMonZee, TrackCaloClusterRecValidationTool, MdtVsTgcRawDataValAlg, MdtVsRpcRawDataValAlg, JetMonitoringTool, TileCellNoiseMonTool, PhysValTau, PhysValFE, DiMuMon, ManagedMonitorToolTest, IDPerfMonKshort, and PhysValCluster.
Definition at line 1306 of file ManagedMonitorToolBase.cxx.
1309 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 740 of file ManagedMonitorToolBase.cxx.
746 msg(MSG::WARNING) <<
"ManagedMonitorToolBase::initialize() never called from reimplementation!" <<
endmsg;
757 newLumiBlock =
false;
763 newLowStatInterval =
false;
764 newMedStatInterval =
false;
765 newHigStatInterval =
false;
778 isNewEventsBlock =
true;
793 if( LBsLowStat*LBsMedStat*LBsHigStat == 0) {
794 msg(MSG::WARNING) <<
"zero LBs requested for interval" <<
endmsg;
846 std::vector<Interval_t> intervals_to_process;
851 for (
const auto interval: intervals_to_process) {
863 it.m_templateHist->LabelsInflate(
"X");
870 TH1* passedHist =
it.m_templateHist->GetCopyPassedHisto();
871 TH1* totalHist =
it.m_templateHist->GetCopyTotalHisto();
874 passedHist->LabelsInflate(
"X");
875 totalHist->LabelsInflate(
"X");
880 it.m_templateHist->SetPassedHistogram(*passedHist,
"f");
881 it.m_templateHist->SetTotalHistogram(*totalHist,
" ");
889 streamname->updateRunLB();
899 bool filterresult(
true);
902 for (; filterresult && (ifilter != filterend);
904 filterresult = (filterresult && (*ifilter)->accept());
934 if( LBsLowStat*LBsMedStat*LBsHigStat > 0) {
942 return StatusCode::SUCCESS;
◆ finalHists()
StatusCode ManagedMonitorToolBase::finalHists |
( |
| ) |
|
|
virtualinherited |
◆ get_eventTrigs()
void TileFatherMonTool::get_eventTrigs |
( |
uint32_t |
lvl1info | ) |
|
Method to get the list of all Level1 trigger passed by the event.
Results are stored in m_eventTrigs Beware: vector contains always at least 1 element: AnyPhystrig or calib Argument lvl1info is the 32 bit Level 1 trigger word
Definition at line 255 of file TileFatherMonTool.cxx.
262 if ((lvl1info >>
Trig_b7) & 1) {
◆ get_nEvents()
unsigned int ManagedMonitorToolBase::get_nEvents |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ get_procNEventsProp()
long ManagedMonitorToolBase::get_procNEventsProp |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ getCellName()
std::string TilePaterMonTool::getCellName |
( |
unsigned int |
ros, |
|
|
unsigned int |
channel |
|
) |
| |
|
inlineprotectedinherited |
◆ getEvtBCID()
uint32_t TileFatherMonTool::getEvtBCID |
( |
| ) |
|
|
inline |
◆ getEvtNum()
uint32_t TileFatherMonTool::getEvtNum |
( |
| ) |
|
|
inline |
◆ getHist() [1/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1419 of file ManagedMonitorToolBase.cxx.
◆ getHist() [2/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1409 of file ManagedMonitorToolBase.cxx.
◆ getHist() [3/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1438 of file ManagedMonitorToolBase.cxx.
◆ getHist() [4/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1428 of file ManagedMonitorToolBase.cxx.
◆ getL1info()
uint32_t TileFatherMonTool::getL1info |
( |
| ) |
|
|
inline |
Method to get the Level1 Trigger word: 32bit long, but only 8 bit are used If no trigger word or empty it will return 0.
Definition at line 71 of file TileFatherMonTool.h.
◆ getLumiBlock()
uint32_t TileFatherMonTool::getLumiBlock |
( |
| ) |
|
|
inline |
◆ getNewStreamNameFcn()
|
protectedvirtualinherited |
Definition at line 2157 of file ManagedMonitorToolBase.cxx.
2160 StreamNameFcn* fcn(0);
2164 fcn =
new NoOutputStream();
2167 fcn =
new OnlineStream();
◆ getPartition()
Method to navigate from a cell to its Tile partition EBA, LBA, LBC, EBC.
Other kind of cell or non Tile cells will return a conventional number NumPart Argument cell is a pointer to a CaloCell
Definition at line 157 of file TileFatherMonTool.cxx.
◆ getRunNum()
uint32_t TileFatherMonTool::getRunNum |
( |
| ) |
|
|
inline |
◆ getRunNumStr()
std::string TileFatherMonTool::getRunNumStr |
( |
| ) |
|
◆ gettileError_error()
uint32_t TileFatherMonTool::gettileError_error |
( |
| ) |
|
|
inline |
◆ gettileFlag()
uint32_t TileFatherMonTool::gettileFlag |
( |
| ) |
|
|
inline |
◆ getTMDBCellName()
std::string TilePaterMonTool::getTMDBCellName |
( |
unsigned int |
ros, |
|
|
unsigned int |
channel |
|
) |
| |
|
inlineprotectedinherited |
◆ initialize()
StatusCode TileFatherMonTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ interfaceID()
static const InterfaceID& IMonitorToolBase::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
◆ intervalEnumToString()
std::string ManagedMonitorToolBase::intervalEnumToString |
( |
Interval_t |
interval | ) |
|
|
staticinherited |
Converts a LevelOfDetail_t to a string of the same name.
Converts a string to the corresponding LevelOfDetail_t. Converts a Interval_t to a string of the same name.
Definition at line 536 of file ManagedMonitorToolBase.cxx.
539 std::string
str(
"file");
◆ intervalStringToEnum()
Converts a string to the corresponding Interval_t.
Definition at line 578 of file ManagedMonitorToolBase.cxx.
581 std::string lcstr( strToLower(
str) );
585 else if( lcstr ==
"fill" )
587 else if( lcstr ==
"run" )
589 else if( lcstr ==
"lowStat" )
591 else if( lcstr ==
"medStat" )
593 else if( lcstr ==
"higStat" )
595 else if( lcstr ==
"lumiBlock" )
597 else if( lcstr ==
"eventsBlock" )
599 else if( lcstr ==
"file" )
605 MsgStream
log(
ms,
"ManagedMonitorToolBase::intervalStringToEnum()" );
606 log << MSG::WARNING <<
"Unknown ManagedMonitorToolBase::Interval_t \""
607 <<
str <<
"\", returning \"file\"" <<
endmsg;
◆ isDisconnected()
bool TilePaterMonTool::isDisconnected |
( |
int |
ros, |
|
|
int |
drawer, |
|
|
int |
ch |
|
) |
| |
|
inlineprotectedinherited |
◆ lbAverageInteractionsPerCrossing()
float ManagedMonitorToolBase::lbAverageInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average mu, i.e.
<mu>
Definition at line 1693 of file ManagedMonitorToolBase.cxx.
1698 return lumi->lbAverageInteractionsPerCrossing();
1701 ATH_MSG_DEBUG(
"Warning: lbAverageInteractionsPerCrossing() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbAverageLivefraction()
float ManagedMonitorToolBase::lbAverageLivefraction |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average luminosity livefraction.
Definition at line 1762 of file ManagedMonitorToolBase.cxx.
1770 return live->lbAverageLiveFraction();
1773 ATH_MSG_DEBUG(
"Warning: lbAverageLivefraction() - luminosity not availble (i.e. EnableLumi = False)");
◆ lbAverageLuminosity()
float ManagedMonitorToolBase::lbAverageLuminosity |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1)
Definition at line 1729 of file ManagedMonitorToolBase.cxx.
1734 return lumi->lbAverageLuminosity();
1737 ATH_MSG_DEBUG(
"Warning: lbAverageLuminosity() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbDuration()
double ManagedMonitorToolBase::lbDuration |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Luminosity block time (in seconds)
Definition at line 1816 of file ManagedMonitorToolBase.cxx.
1824 return dur->lbDuration();
1827 ATH_MSG_DEBUG(
"Warning: lbDuration() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbInteractionsPerCrossing()
float ManagedMonitorToolBase::lbInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Instantaneous number of interactions, i.e.
mu
Definition at line 1709 of file ManagedMonitorToolBase.cxx.
1714 float muToLumi =
lumi->muToLumi();
1716 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id()) / muToLumi;
1721 ATH_MSG_DEBUG(
"Warning: lbInteractionsPerCrossing() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbLuminosityPerBCID()
float ManagedMonitorToolBase::lbLuminosityPerBCID |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Instantaneous luminosity.
Definition at line 1745 of file ManagedMonitorToolBase.cxx.
1750 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id());
1753 ATH_MSG_DEBUG(
"Warning: lbLuminosityPerBCID() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbLumiWeight()
double ManagedMonitorToolBase::lbLumiWeight |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average Integrated Luminosity Live Fraction.
Definition at line 1800 of file ManagedMonitorToolBase.cxx.
1807 ATH_MSG_DEBUG(
"Warning: lbLumiWeight() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ livefractionPerBCID()
float ManagedMonitorToolBase::livefractionPerBCID |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Livefraction per bunch crossing ID.
Definition at line 1781 of file ManagedMonitorToolBase.cxx.
1789 return live->l1LiveFractionVector().at (ctx.eventID().bunch_crossing_id());
1792 ATH_MSG_DEBUG(
"Warning: livefractionPerBCID() - luminosity retrieved available (i.e. EnableLumi = False)");
◆ 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 ManagedMonitorToolBase::procHistograms |
( |
| ) |
|
|
virtualinherited |
An inheriting class should either override this function or finalHists().
Reimplemented in egammaMonToolBase, MuonPhysValMonitoring::MuonPhysValMonitoringTool, ActsTrk::PhysValTool, PhysValSecVtx, ZeeTaPMonTool, CscCalibMonToolBase, InDetPhysValMonitoringTool, EgammaPhysValMonitoring::EgammaPhysValMonitoringTool, MissingEtDQA::PhysValMET, InDetTrackPerfMonTool, JetTagDQA::PhysValBTag, PhysVal::PhysValExample, GeneratorPhysVal::GeneratorPhysValMonitoringTool, ZeeValidation::ZeeValidationMonitoringTool, IDPerfMonWenu, IDPerfMonZee, TrackCaloClusterRecValidationTool, MdtVsTgcRawDataValAlg, JetMonitoringTool, TileCellNoiseMonTool, PhysValTau, PhysValFE, DiMuMon, ManagedMonitorToolTest, and IDPerfMonKshort.
Definition at line 1314 of file ManagedMonitorToolBase.cxx.
1322 return StatusCode::SUCCESS;
◆ regEfficiency()
StatusCode ManagedMonitorToolBase::regEfficiency |
( |
TEfficiency * |
e, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TEfficiency to be included in the output stream using logical parameters that describe the plot.
Definition at line 1446 of file ManagedMonitorToolBase.cxx.
1448 return StatusCode::FAILURE;
1450 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1451 std::string
name =
e->GetName();
1457 ATH_MSG_WARNING(
"HEY! Attempting to register "<<
name<<
" as a per-LB histogram, but not setting the merge algorithm! Use \"merge\", at least.");
1464 return StatusCode::FAILURE;
1474 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1481 if (
smd != StatusCode::SUCCESS)
1482 return StatusCode::FAILURE;
◆ regGraph() [1/5]
◆ regGraph() [2/5]
StatusCode ManagedMonitorToolBase::regGraph |
|
protectedinherited |
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 530 of file ManagedMonitorToolBase.cxx.
1504 return StatusCode::FAILURE;
1517 return StatusCode::FAILURE;
1520 std::string
name =
g->GetName();
1528 std::string gName =
g->GetName();
1531 std::string genericName = NoOutputStream().getStreamName(
this,
group, gName );
1539 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regGraph() [3/5]
StatusCode ManagedMonitorToolBase::regGraph |
( |
TGraph * |
g, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 1500 of file ManagedMonitorToolBase.cxx.
1504 return StatusCode::FAILURE;
1517 return StatusCode::FAILURE;
1520 std::string
name =
g->GetName();
1528 std::string gName =
g->GetName();
1531 std::string genericName = NoOutputStream().getStreamName(
this,
group, gName );
1539 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regGraph() [4/5]
StatusCode ManagedMonitorToolBase::regGraph |
|
protectedinherited |
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 522 of file ManagedMonitorToolBase.cxx.
◆ regGraph() [5/5]
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 1490 of file ManagedMonitorToolBase.cxx.
◆ regHist() [1/5]
◆ regHist() [2/5]
StatusCode ManagedMonitorToolBase::regHist |
|
protectedinherited |
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 470 of file ManagedMonitorToolBase.cxx.
1360 return StatusCode::FAILURE;
1373 ATH_MSG_WARNING(
"HEY! You're attempting to register " <<
h->GetName() <<
" as a per-LB histogram, but you're not setting the merge algorithm! This is a SUPER-BAD idea! Use \"merge\", at least.");
1380 return StatusCode::FAILURE;
1383 std::string hName =
h->GetName();
1391 std::string hName =
h->GetName();
1394 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1402 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regHist() [3/5]
StatusCode ManagedMonitorToolBase::regHist |
( |
TH1 * |
h, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram.
A histogram is passed via reference to a pointer.
Definition at line 1354 of file ManagedMonitorToolBase.cxx.
1360 return StatusCode::FAILURE;
1373 ATH_MSG_WARNING(
"HEY! You're attempting to register " <<
h->GetName() <<
" as a per-LB histogram, but you're not setting the merge algorithm! This is a SUPER-BAD idea! Use \"merge\", at least.");
1380 return StatusCode::FAILURE;
1383 std::string hName =
h->GetName();
1391 std::string hName =
h->GetName();
1394 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1402 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regHist() [4/5]
StatusCode ManagedMonitorToolBase::regHist |
|
protectedinherited |
Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram.
Definition at line 462 of file ManagedMonitorToolBase.cxx.
◆ regHist() [5/5]
Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram.
Definition at line 1345 of file ManagedMonitorToolBase.cxx.
◆ registerMetadata()
StatusCode ManagedMonitorToolBase::registerMetadata |
( |
const std::string & |
streamName, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
protectedinherited |
Definition at line 946 of file ManagedMonitorToolBase.cxx.
952 size_t found=mdStreamName.rfind(
'/');
954 if (
found != std::string::npos )
955 mdStreamName.replace(
found, mdStreamName.length(),
"/metadata" );
959 metadata =
new TTree(
"metadata",
"Monitoring Metadata" );
960 if (!
metadata)
return StatusCode::FAILURE;
962 if (scmd == StatusCode::FAILURE)
return StatusCode::FAILURE;
963 MDMap_t::value_type valToInsert( mdStreamName,
new OutputMetadata(
metadata) );
969 return StatusCode::SUCCESS;
◆ regManagedEfficiencies()
StatusCode ManagedMonitorToolBase::regManagedEfficiencies |
( |
std::vector< MgmtParams< TEfficiency > > & |
templateEfficiencies | ) |
|
|
protectedinherited |
Definition at line 1141 of file ManagedMonitorToolBase.cxx.
1142 bool allIsOk =
true;
1143 for(
auto&
it : templateEfficiencies ) {
1146 TEfficiency* theEfficiency =
it.m_templateHist;
1147 TEfficiency*
e =
static_cast<TEfficiency*
>(theEfficiency->Clone());
1148 int nbins = theEfficiency->GetTotalHistogram()->GetNbinsX();
1149 int xlow = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmin();
1150 int xhigh = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmax();
1151 e->SetBins(
nbins,xlow,xhigh);
1152 std::string
name =
e->GetName();
1155 TGraph* theGraph =
reinterpret_cast<TGraph*
>(theEfficiency);
1156 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1164 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1166 bool doneCleaning =
false;
1168 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1173 if (sc2 == StatusCode::SUCCESS) doneCleaning =
true;
1176 if (!doneCleaning) {
1177 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1182 if (sc3 == StatusCode::FAILURE)
1189 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1192 if (sc4 == StatusCode::FAILURE) allIsOk =
false;
1195 if (!allIsOk)
return StatusCode::FAILURE;
1196 return StatusCode::SUCCESS;
◆ regManagedGraphs()
StatusCode ManagedMonitorToolBase::regManagedGraphs |
( |
std::vector< MgmtParams< TGraph > > & |
templateGraphs | ) |
|
|
protectedinherited |
Definition at line 1070 of file ManagedMonitorToolBase.cxx.
1074 bool allIsOk =
true;
1076 for( std::vector< MgmtParams<TGraph> >::
iterator it = templateGraphs.begin();
it != templateGraphs.end(); ++
it ) {
1077 MonGroup
group = (*it).m_group;
1080 TGraph* theGraph = (*it).m_templateHist;
1083 TGraph*
g =
static_cast<TGraph*
>(theGraph->Clone());
1087 std::string gName =
g->GetName();
1094 if (sc1 == StatusCode::FAILURE)
1099 bool doneCleaning =
false;
1101 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1106 if (sc2 == StatusCode::SUCCESS)
1107 doneCleaning =
true;
1111 if (!doneCleaning) {
1112 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1119 if (sc3 == StatusCode::FAILURE)
1126 if (
smd != StatusCode::SUCCESS)
1131 if (sc4 == StatusCode::FAILURE)
1136 if (!allIsOk)
return StatusCode::FAILURE;
1138 return StatusCode::SUCCESS;
◆ regManagedHistograms()
StatusCode ManagedMonitorToolBase::regManagedHistograms |
( |
std::vector< MgmtParams< TH1 > > & |
templateHistograms | ) |
|
|
protectedinherited |
Definition at line 973 of file ManagedMonitorToolBase.cxx.
990 for( std::vector< MgmtParams<TH1> >::
iterator it = templateHistograms.begin();
it != templateHistograms.end(); ++
it ) {
991 MonGroup&
group = (*it).m_group;
994 TH1* theHist = (*it).m_templateHist;
997 TH1*
h =
static_cast<TH1*
>(theHist->Clone());
1001 std::string hName =
h->GetName();
1008 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1012 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1015 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1024 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1028 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1032 if (!allIsOk)
return StatusCode::FAILURE;
1034 return StatusCode::SUCCESS;
◆ regManagedTrees()
StatusCode ManagedMonitorToolBase::regManagedTrees |
( |
std::vector< MgmtParams< TTree > > & |
templateTrees | ) |
|
|
protectedinherited |
Definition at line 1201 of file ManagedMonitorToolBase.cxx.
1205 bool allIsOk =
true;
1207 for( std::vector< MgmtParams<TTree> >::
iterator it = templateTrees.begin();
it != templateTrees.end(); ++
it ) {
1208 MonGroup
group = (*it).m_group;
1211 TTree* theTree = (*it).m_templateHist;
1214 TTree*
t =
static_cast<TTree*
>(theTree->Clone());
1218 std::string
name =
t->GetName();
1225 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1229 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1232 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1241 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1245 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1249 if (!allIsOk)
return StatusCode::FAILURE;
1251 return StatusCode::SUCCESS;
◆ regTree() [1/2]
StatusCode ManagedMonitorToolBase::regTree |
( |
TTree * |
t, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TTree to be included in the output stream using logical parameters that describe it.
Definition at line 1556 of file ManagedMonitorToolBase.cxx.
1571 return StatusCode::FAILURE;
1574 std::string
name =
t->GetName();
1575 std::string genericName = NoOutputStream().getStreamName(
this, group_unmanaged,
name );
1583 std::string tName =
t->GetName();
1586 std::string genericName = NoOutputStream().getStreamName(
this,
group, tName );
1594 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regTree() [2/2]
Registers a TTree to be included in the output stream using logical parameters that describe it.
Definition at line 1546 of file ManagedMonitorToolBase.cxx.
◆ removeTObj()
StatusCode TilePaterMonTool::removeTObj |
( |
TObject * |
obj | ) |
|
|
protectedinherited |
Definition at line 429 of file TilePaterMonTool.cxx.
431 if (
obj->IsA()->InheritsFrom(
"TH1")) {
434 return StatusCode::FAILURE;
438 }
else if (
obj->IsA()->InheritsFrom(
"TGraph")) {
441 return StatusCode::FAILURE;
446 ATH_MSG_WARNING(
"Asked to remove object " <<
obj->GetName() <<
"of unsupported type " <<
obj->IsA() );
447 return StatusCode::FAILURE;
451 return StatusCode::FAILURE;
453 return StatusCode::SUCCESS;
◆ renounce()
◆ renounceArray()
◆ runStat()
StatusCode ManagedMonitorToolBase::runStat |
( |
| ) |
|
|
virtualinherited |
This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ).
Implements IMonitorToolBase.
Definition at line 1663 of file ManagedMonitorToolBase.cxx.
1666 return StatusCode::SUCCESS;
◆ SetBinLabel() [1/2]
template<class T >
void TileFatherMonTool::SetBinLabel |
( |
T * |
axis, |
|
|
const std::string * |
labels, |
|
|
int |
nLabels |
|
) |
| |
◆ SetBinLabel() [2/2]
template<class T >
void TileFatherMonTool::SetBinLabel |
( |
T * |
axis, |
|
|
const std::vector< std::string > & |
labels |
|
) |
| |
◆ setMonManager()
◆ setupOutputStreams()
StatusCode ManagedMonitorToolBase::setupOutputStreams |
( |
std::vector< std::string > |
Mapping = std::vector<std::string>() | ) |
|
|
virtualinherited |
◆ ShiftTprofile()
void TileFatherMonTool::ShiftTprofile |
( |
TProfile * |
histo, |
|
|
int |
delta_lb |
|
) |
| |
Definition at line 405 of file TileFatherMonTool.cxx.
407 if (delta_lb < 1)
return;
408 int Nbins =
histo->GetNbinsX();
409 double total_entries = 0.;
411 for (
i = 1;
i <= Nbins - delta_lb;
i++) {
420 for (;
i <= 100;
i++) {
422 histo->SetBinEntries(
i, 0.);
423 histo->SetBinContent(
i, 0.);
424 histo->SetBinError(
i, 0.);
428 histo->SetEntries(total_entries);
◆ streamNameFunction()
Returns the function object that converts logical paramters into a physical stream name.
Definition at line 451 of file ManagedMonitorToolBase.cxx.
455 msg(MSG::ERROR) <<
"!! streamNameFunction() has not been initialized !!" <<
endmsg;
456 msg(MSG::ERROR) <<
" --> neither ManagedMonitorToolBase::initialize() nor" <<
endmsg;
457 msg(MSG::ERROR) <<
" --> ManagedMonitorToolBase::setMonManager() has been called." <<
endmsg;
458 msg(MSG::ERROR) <<
" --> Correct configuration cannot be guaranteed from this point." <<
endmsg;
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ THistSvc_deReg_fixTGraph()
StatusCode ManagedMonitorToolBase::THistSvc_deReg_fixTGraph |
( |
TFile * |
file, |
|
|
TGraph * |
theGraph, |
|
|
std::string & |
directoryName |
|
) |
| |
|
protectedinherited |
Fixes THistSvc->deReg(obj) when obj is TGraph instance.
Read more in source file about this bug.
Definition at line 1038 of file ManagedMonitorToolBase.cxx.
1048 GlobalDirectoryRestore restore;
1051 bool graphRemoved =
false;
1054 TDirectory*
dir =
file->GetDirectory(directoryName.c_str());
1057 TObject*
obj =
dir->Remove(theGraph);
1059 graphRemoved =
true;
1062 if (!graphRemoved) {
1063 return StatusCode::FAILURE;
1066 return StatusCode::SUCCESS;
◆ trigChainsArePassed()
bool ManagedMonitorToolBase::trigChainsArePassed |
( |
std::vector< std::string > & |
vTrigNames | ) |
|
|
protectedvirtualinherited |
◆ updateTriggersForGroups()
void ManagedMonitorToolBase::updateTriggersForGroups |
( |
std::vector< std::string > & |
vTrigChainNames | ) |
|
|
protectedinherited |
Definition at line 2132 of file ManagedMonitorToolBase.cxx.
2134 for (
size_t i = 0;
i < vTrigChainNames.size(); ++
i) {
2135 std::string& thisName = vTrigChainNames[
i];
2136 if (thisName.compare(0, 9,
"CATEGORY_") ==0) {
2137 ATH_MSG_DEBUG(
"Found a trigger category: " << thisName <<
". We will unpack it.");
2139 std::ostringstream oss;
2141 for (
size_t itrig = 0; itrig <
triggers.size(); ++itrig) {
2149 std::string newval = oss.str();
2151 vTrigChainNames[
i] = newval;
◆ updateVHKA()
◆ vecIndx()
int TileFatherMonTool::vecIndx |
( |
unsigned int |
i | ) |
|
|
inline |
Method that returns the histogram index corresponding to trigger 'i'.
Definition at line 63 of file TileFatherMonTool.h.
◆ writeAndDelete()
StatusCode ManagedMonitorToolBase::writeAndDelete |
( |
TH1 * |
h, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Write out histogram and delete it.
Definition at line 1601 of file ManagedMonitorToolBase.cxx.
1604 return StatusCode::FAILURE;
1606 std::string hName =
h->GetName();
1609 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1612 return StatusCode::SUCCESS;
◆ m_activeTrigs
int TileFatherMonTool::m_activeTrigs[9] ={0} |
this array doesn't simply say if the trigger has ever fired for this run, but it also contains the position of the trigger in the histogram vector.
Non-active trigger have -1 value. 0 value is reserved for AnyTrig: m_activeTrigs[AnyTrig] = 0 , set in bookHistogram Example: if m_activeTrigs[4] is 3. It means that trigger bit4 histograms can be accessed by vec_of_histos.at( m_activeTrigs[4] ) or vec_of_histos.at( 3 ) or better vec_of_histos.at( m_activeTrigs[Trig_b4] )
Definition at line 152 of file TileFatherMonTool.h.
◆ m_allowedL1TriggerBits
std::vector<bool> TileFatherMonTool::m_allowedL1TriggerBits |
|
private |
◆ m_bookHistogramsInitial
bool ManagedMonitorToolBase::m_bookHistogramsInitial |
|
privateinherited |
◆ m_cabling
◆ m_cellsContainerID
std::string TileFatherMonTool::m_cellsContainerID |
|
private |
◆ m_chMapEB
int TilePaterMonTool::m_chMapEB[48] |
|
protectedinherited |
Initial value:= { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0
, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0
, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1 }
Definition at line 248 of file TilePaterMonTool.h.
◆ m_chMapEBsp
int TilePaterMonTool::m_chMapEBsp[48] |
|
protectedinherited |
Initial value:= { 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0
, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0
, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1 }
Definition at line 253 of file TilePaterMonTool.h.
◆ m_chMapLB
int TilePaterMonTool::m_chMapLB[48] |
|
protectedinherited |
Initial value:= { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0
, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 }
Definition at line 243 of file TilePaterMonTool.h.
◆ 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_detailLevel
unsigned int ManagedMonitorToolBase::m_detailLevel |
|
protectedinherited |
◆ m_detStore
◆ m_DQFilterTools
ToolHandleArray<IDQFilterTool> ManagedMonitorToolBase::m_DQFilterTools {this,"FilterTools",{}} |
|
protectedinherited |
◆ m_EBcellName
std::string TilePaterMonTool::m_EBcellName[48] |
|
protectedinherited |
Initial value:= { "E3", "E4", "D4", "D4", "C10", "C10", "A12", "A12", "B11", "B11", "A13", "A13"
, "E1", "E2", "B12", "B12", "D5", "D5", "E3*", "E4*", "A14", "A14", "B13", "B13"
, "", "", "", "", "", "", "B14", "A15", "A15", "", "", "B14"
, "B15", "D6", "D6", "B15", "A16", "A16", "", "", "", "", "", "" }
Definition at line 213 of file TilePaterMonTool.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_eventTrigs
std::vector<int> TileFatherMonTool::m_eventTrigs |
Vector containing the list of triggers passed by the event.
Definition at line 164 of file TileFatherMonTool.h.
◆ m_evtBCID
uint32_t TileFatherMonTool::m_evtBCID {} |
◆ m_evtNum
uint32_t TileFatherMonTool::m_evtNum {} |
◆ m_evtStore
◆ m_fileKey
std::string ManagedMonitorToolBase::m_fileKey |
|
protectedinherited |
◆ m_fillHistogramsForL1Triggers
std::vector<unsigned int> TileFatherMonTool::m_fillHistogramsForL1Triggers |
|
private |
◆ m_fragIDsDemonstrators
std::vector<int> TilePaterMonTool::m_fragIDsDemonstrators |
|
protectedinherited |
◆ m_fragIDsToIgnoreDMUerrors
std::vector<int> TilePaterMonTool::m_fragIDsToIgnoreDMUerrors |
|
protectedinherited |
◆ m_GainNames
std::string TileFatherMonTool::m_GainNames[2] |
◆ m_haveClearedLastEventBlock
bool ManagedMonitorToolBase::m_haveClearedLastEventBlock |
|
protectedinherited |
◆ m_is_collision
bool TileFatherMonTool::m_is_collision = false |
|
static |
◆ m_lastevent
unsigned int TileFatherMonTool::m_lastevent = 0 |
|
static |
◆ 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_LBcellName
std::string TilePaterMonTool::m_LBcellName[48] |
|
protectedinherited |
Initial value:= { "D0", "A1", "B1", "B1", "A1", "A2", "B2", "B2", "A2", "A3", "A3", "B3"
, "B3", "D1", "D1", "A4", "B4", "B4", "A4", "A5", "A5", "B5", "B5", "A6"
, "D2", "D2", "A6", "B6", "B6", "A7", "", "", "A7", "B7", "B7", "A8"
, "A9", "A9", "A8", "B8", "B8", "D3", "B9", "", "D3", "A10", "A10", "B9" }
Definition at line 218 of file TilePaterMonTool.h.
◆ m_lbDurationDataKey
◆ m_lumiBlock
uint32_t TileFatherMonTool::m_lumiBlock {} |
◆ m_lumiDataKey
◆ m_lvl1info
uint32_t TileFatherMonTool::m_lvl1info {} |
◆ m_manager
◆ m_managerNameProp
std::string ManagedMonitorToolBase::m_managerNameProp |
|
protectedinherited |
◆ m_MBTSCellContainerID
std::string TileFatherMonTool::m_MBTSCellContainerID |
|
private |
◆ 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_partition2ros
int TileFatherMonTool::m_partition2ros[NPartHisto] |
◆ m_PartNames
std::string TileFatherMonTool::m_PartNames[NPartHisto] |
◆ m_path
std::string ManagedMonitorToolBase::m_path |
|
protectedinherited |
◆ m_preScaleProp
long ManagedMonitorToolBase::m_preScaleProp |
|
protectedinherited |
◆ m_procNEventsProp
long ManagedMonitorToolBase::m_procNEventsProp |
|
protectedinherited |
◆ m_ros2partition
int TileFatherMonTool::m_ros2partition[NPartHisto] |
◆ m_runNum
uint32_t TileFatherMonTool::m_runNum {} |
◆ m_SampStrNames
std::string TileFatherMonTool::m_SampStrNames[TotalSamp] |
◆ m_savePng
bool TilePaterMonTool::m_savePng {} |
|
protectedinherited |
◆ m_savePs
bool TilePaterMonTool::m_savePs {} |
|
protectedinherited |
◆ m_saveSvg
bool TilePaterMonTool::m_saveSvg {} |
|
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_templateTrees
◆ m_THistSvc
◆ m_tileError_error
uint32_t TileFatherMonTool::m_tileError_error {} |
◆ m_tileFlag
uint32_t TileFatherMonTool::m_tileFlag {} |
◆ m_tileHWID
◆ m_tileID
◆ m_tileTBID
◆ m_time_difference
float TileFatherMonTool::m_time_difference = 999. |
|
static |
◆ m_TMDB_EB_cell_names
std::string TilePaterMonTool::m_TMDB_EB_cell_names[4] = {"D5L", "D5R", "D6L", "D6R"} |
|
protectedinherited |
◆ m_TMDB_LB_cell_names
std::string TilePaterMonTool::m_TMDB_LB_cell_names[8] = {"D0", "D1L", "D1R", "D2R", "D2L", "D3L", "D3R", ""} |
|
protectedinherited |
◆ m_trigDec
◆ m_trigDecTool
◆ m_triggerChainProp
std::string ManagedMonitorToolBase::m_triggerChainProp |
|
protectedinherited |
◆ m_triggerGroupProp
std::string ManagedMonitorToolBase::m_triggerGroupProp |
|
protectedinherited |
◆ m_trigLiveFractionDataKey
◆ m_TrigNames
std::string TileFatherMonTool::m_TrigNames[NTrigHisto] |
◆ m_trigTranslator
PublicToolHandle<ITriggerTranslatorTool> ManagedMonitorToolBase::m_trigTranslator {this,"TriggerTranslatorTool",""} |
|
protectedinherited |
◆ m_useLumi
bool ManagedMonitorToolBase::m_useLumi |
|
privateinherited |
◆ m_useTrigger
bool ManagedMonitorToolBase::m_useTrigger |
|
protectedinherited |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_vTrigChainNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigChainNames |
|
protectedinherited |
◆ m_vTrigGroupNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigGroupNames |
|
protectedinherited |
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
path
python interpreter configuration --------------------------------------—
uint64_t eventNumber() const
The current event's event number.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
static unsigned int runNumber()
virtual std::string fileKey() const
virtual void passOwnership(TObject *h, const std::string &key)
Pass ownership of a TObject to this manager so that it will be deleted appropriately.
int side(const Identifier &id) const
int sample(const Identifier &id) const
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool msgLvl(const MSG::Level lvl) const
bool empty() const
Test if the key is blank.
float time() const
get time (data member)
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
static unsigned int getLBsLowStat()
uint32_t runNumber() const
The current event's run number.
virtual void setOwner(IDataHandleHolder *o)=0
double energy() const
get energy (data member)
@ Error
The sub-detector issued an error.
static Environment_t environment()
Returns the running environment of the monitoring application to help ManagedMonitorToolBase objects ...
static unsigned int getLBsMedStat()
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
static DataType_t dataType()
Returns the data type that the monitoring application is running over to help ManagedMonitorToolBase ...
def TProfile(*args, **kwargs)
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual void writeAndDelete(const std::string &key)
If the TObject is owned by this manager, its Write() method is called and it is deleted.
#define CHECK(...)
Evaluate an expression and check for errors.
bool is_tile(Identifier id) const
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
uint32_t lumiBlock() const
The current event's luminosity block number.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
static unsigned int getLBsHigStat()
Container class for CaloCell.
Class describing the basic event information.
uint32_t eventFlags(EventFlagSubDet subDet) const
Get the event flags for a particular sub-detector.
@ Tile
The Tile calorimeter.
Data object for each calorimeter readout cell.
def time(flags, cells_name, *args, **kw)
#define ATH_MSG_WARNING(x)
filelist
print ("Checking files %s..." % fullfile)
uint16_t level1TriggerType() const
The Level-1 trigger type.
EventFlagErrorState errorState(EventFlagSubDet subDet) const
Get the error state for a particular sub-detector.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
static unsigned int lumiBlockNumber()
int section(const Identifier &id) const
uint32_t bcid() const
The bunch crossing ID of the event.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
int side(const Identifier &id) const
define synonyms for minimum bias scintillators