|
ATLAS Offline Software
|
Class for TileCal monitoring at digits level.
More...
#include <TileDigitsMonTool.h>
|
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...
|
|
|
| TileDigitsMonTool (const std::string &type, const std::string &name, const IInterface *parent) |
|
virtual | ~TileDigitsMonTool () |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | bookHists () override |
| Calls bookHists( true, true, true ) and initializes lumiBlock and run numbers. More...
|
|
virtual StatusCode | fillHists () override |
| 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 () override |
| Calls procHists( true, true, true ). More...
|
|
virtual StatusCode | checkHists (bool fromFinalize) override |
| This implementation does nothing; equivalent functionality may be provided by procHists(...) with appropriate arguments. More...
|
|
void | bookHists (int ros, int drawer) |
|
void | drawHists (int ros, int drawer, const std::string &moduleName) |
|
virtual const uint8_t * | stuckBitProb (int ros, int module, int channel, int gain) const override |
|
virtual void | saveStuckBitsProbabilities (TTree *tree) override |
|
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 | 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 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 |
|
|
int | stuckBits (TH1S *hist, int adc) |
| Method to find stuckbits in Read-Out ADC channel. More...
|
|
int | stuckBits_Amp (TH1S *hist, int adc) |
| A crude method to check Read-Out ADC channel stuckbits. More...
|
|
int | stuckBits_Amp2 (TH1S *hist, TH1C *modhist, int adc, TH2C *outhist=NULL, int ch=0, uint8_t *stuck_probs=NULL) |
|
void | CRCcheck (const TileDQstatus *dqStatus, uint32_t crc32, uint32_t crcMask, int headsize, int ros, int drawer) |
| Method to check global CRC and DMU CRC. More...
|
|
bool | DMUheaderCheck (std::vector< uint32_t > *headerVec, int ros, int drawer, int gain, int dmu) |
| DMU header format as defined in http://www.sysf.physto.se/~klere/tile-dmu/header.html Bits: 1pllllesdrvvvv0mmgggbbbbbbbbbbbb. More...
|
|
void | shiftHisto (TH1S *hist, int ros, int drawer, int ch, int gain) |
|
void | statTestHistos (int ros, int drawer, int gain) |
|
int | define_palette (int ncolors, int *colors=NULL) |
|
StatusCode | RODCRCcalc (const TileDQstatus *dqStatus) |
|
bool | DMUheaderFormatCheck (uint32_t header) |
| Function to check that the DMU header format is correct bit_31 of the DMU header must be 1 and bit_17 of the DMU header must be 0 Return true in case of error. More...
|
|
bool | DMUheaderParityCheck (uint32_t header) |
| Function to check that the DMU header parity is correct Parity of the DMU header should be odd Return true in case of error. More...
|
|
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...
|
|
Class for TileCal monitoring at digits level.
Definition at line 30 of file TileDigitsMonTool.h.
◆ MDMap_t
◆ StoreGateSvc_t
◆ Interval_t
An enumeration describing how detailed a particular monitoring object is.
summary: used to summarize the state of the system
runstat: same as summary
shift: used to flag potential problems
expert: essential for diagnosing problems identified by shift-level objects
debug: useful for standalone debugging, but not for routine monitoring; not essential for diagnosing problems during normal running
transient: too detailed to ever be written; always summarized by the user by means of another object An enumeration describing the interval over which a particular monitoring object is filled (i.e., interval over which the method Fill(...) is called). This information may be stored with the monitoring object if an application is only able to partially fill the object (i.e., a job sees only part of a run or fill). This information may be ignored in some running Environments. The 'fill' interval corresponds to a fill of the LHC. The 'all' interval corresponds to all available data. The 'lumiBlock' and 'fill' intervals are only valid for the 'collisions' DataType_t.
Enumerator |
---|
file | |
eventsBlock | |
lumiBlock | |
lowStat | |
medStat | |
higStat | |
run | |
fill | |
all | |
Definition at line 113 of file ManagedMonitorToolBase.h.
◆ MgmtAttr_t
An enumeration describing how the class handles the histogram.
attrib_unmanaged: histograms with this attribute will not be rebooked automatically and must be managed by the user code.
attrib_x_is_lb: indicates that the x-axis of the histogram is the luminosity block number and that the histogram should be rebooked as necessary if the current LB exceeds the range.
Enumerator |
---|
ATTRIB_MANAGED | |
ATTRIB_UNMANAGED | |
ATTRIB_X_VS_LB | |
Definition at line 130 of file ManagedMonitorToolBase.h.
◆ RunType
Enumerator |
---|
Unknown | |
PhysRun | |
LasRun | |
LedRun | |
PedRun | |
CisRun | |
MonoRun | |
CisRamp | |
Definition at line 109 of file TileDigitsMonTool.h.
◆ TileFragStatus
Enumerator |
---|
ALL_OK | |
CRC_ERR | |
ALL_FF | |
ALL_00 | |
NO_FRAG | |
NO_ROB | |
Definition at line 62 of file TilePaterMonTool.h.
◆ TileDigitsMonTool()
TileDigitsMonTool::TileDigitsMonTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
Definition at line 51 of file TileDigitsMonTool.cxx.
64 declareInterface<IMonitorToolBase>(
this);
65 declareInterface<ITileStuckBitsProbsTool>(
this);
◆ ~TileDigitsMonTool()
TileDigitsMonTool::~TileDigitsMonTool |
( |
| ) |
|
|
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, JetTagDQA::PhysValBTag, CscCalibMonToolSlope, PhysVal::PhysValExample, CscCalibMonToolPed, GeneratorPhysVal::GeneratorPhysValMonitoringTool, ZeeValidation::ZeeValidationMonitoringTool, InDetTrackPerfMonTool, 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() [1/2]
StatusCode TileDigitsMonTool::bookHists |
( |
| ) |
|
|
overridevirtual |
Calls bookHists( true, true, true ) and initializes lumiBlock and run numbers.
Reimplemented from ManagedMonitorToolBase.
Definition at line 134 of file TileDigitsMonTool.cxx.
151 m_data->m_outInHighGain.push_back(
book1D(
"Summary",
"OverFlowInHighGain",
"Injected charge with overflow in high gain", 10010, -0.5, 1000.5));
155 return StatusCode::SUCCESS;
◆ bookHists() [2/2]
void TileDigitsMonTool::bookHists |
( |
int |
ros, |
|
|
int |
drawer |
|
) |
| |
index of hists per one channel per gain 0 - digit[0] (first sample only) 1 - mean RMS over 7(9) samples in event 2 - all samples
index of hists per TileDMU (16 DMUs, first 16 channels used) 3 - BCID 4 - BCID errors 5 - CRC errors (only gain=0 used, so should be the last histogram in a vector)
for bigain run book 2 histograms per channel for monogain run book just one histogram per channel
Definition at line 159 of file TileDigitsMonTool.cxx.
162 const char *
part[5] = {
"AUX",
"LBA",
"LBC",
"EBA",
"EBC" };
163 const char *
gain[6] = {
"_lo",
"_hi",
"",
" low gain",
" high gain",
"" };
177 std::ostringstream sStr;
178 sStr <<
part[
ros] << std::setfill(
'0') << std::setw(2) <<
drawer + 1 << std::setfill(
' ');
179 std::string moduleName = sStr.str();
180 std::string subDir = moduleName;
190 for (
int gn = mingain;
gn < maxgain; ++
gn) {
195 sStr << moduleName <<
"_DMU_head_" <<
gain[
gn] <<
"_err";
199 sStr << moduleName <<
" DMU Header " <<
gain[3 +
gn] <<
" errors";
200 histTitle = sStr.str();
205 for (
int ch = 0;
ch < 48; ++
ch) {
210 sStr << std::setfill(
'0') << std::setw(2) <<
ch << std::setfill(
' ');
211 std::string sCh = sStr.str();
213 for (
int gn = mingain;
gn < maxgain; ++
gn) {
219 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_sample0";
223 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" sample[0]";
224 histTitle = sStr.str();
230 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_meanRMS";
234 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" mean RMS in event";
235 histTitle = sStr.str();
241 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_samples";
245 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" all samples";
246 histTitle = sStr.str();
252 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_evtn_mod32";
256 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" event number % 32";
257 histTitle = sStr.str();
263 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_prof";
267 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" average profile";
268 histTitle = sStr.str();
274 double shiftxmin = 0.;
279 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_samples_shifted";
283 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" all samples shifted";
284 histTitle = sStr.str();
291 sStr << std::setfill(
'0') << std::setw(2) <<
ch << std::setfill(
' ');
292 std::string sDmu = sStr.str();
295 sStr << moduleName <<
"_dmu_" << sDmu <<
gain[
gn] <<
"_BCID";
299 sStr << moduleName <<
" DMU0 " <<
ch <<
gain[3 +
gn] <<
" BCID";
300 histTitle = sStr.str();
305 sStr << moduleName <<
"_dmu_" << sDmu <<
gain[
gn] <<
"_BCID_err";
309 sStr << moduleName <<
" DMU0 " <<
ch <<
gain[3 +
gn] <<
" BCID errors";
310 histTitle = sStr.str();
317 sStr << moduleName <<
"_dmu_" << sDmu <<
"_CRC_err";
321 sStr << moduleName <<
" DMU0 " <<
ch <<
" CRC errors";
322 histTitle = sStr.str();
333 sStr << moduleName <<
"_CRC_global";
337 sStr << moduleName <<
" global CRC errors";
338 histTitle = sStr.str();
◆ 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 TileDigitsMonTool::checkHists |
( |
bool |
calledFromFinalize | ) |
|
|
overridevirtual |
This implementation does nothing; equivalent functionality may be provided by procHists(...) with appropriate arguments.
Reimplemented from ManagedMonitorToolBase.
Definition at line 935 of file TileDigitsMonTool.cxx.
941 return StatusCode::SUCCESS;
◆ CRCcheck()
void TileDigitsMonTool::CRCcheck |
( |
const TileDQstatus * |
dqStatus, |
|
|
uint32_t |
crc32, |
|
|
uint32_t |
crcMask, |
|
|
int |
headsize, |
|
|
int |
ros, |
|
|
int |
drawer |
|
) |
| |
|
private |
Method to check global CRC and DMU CRC.
Author: Luca. F. November 06 This method provides CRC checks for Global and TileDMU chips. Global CRC is taken from the trailer and it is correct if the first 16 bits and the last 16 bits of the word match. TileDMU CRC is taken from the DMU mask filled in the FPGA. At the moment it makes sense only for monogain runs (Physics, LED, MonoCIS). The least significant 16 bits are the result of the CRC check in the FE (0xFFFF means all OK). The most significant 16 bits are the result of the CRC check in the ROD (0xFFFF means all OK).
bigain: dummy information
monogain: meaningful information. Fill 0 if crc32 if 0 Fill 1 if both FE and ROD crc is 1 Fill 2 if DMU FE crc is 0 Fill 3 if DMU ROD crc is 0 Fill 4 is FE and ROD crc is 0
Definition at line 1609 of file TileDigitsMonTool.cxx.
1631 int chFE_ext[16] = { 0, 1, 2, 3, 4, 5, 6, 7, 12, 13, 8, 9, 10, 11, 14, 15 };
1632 int chFE_sp[16] = { 11, 0, 1, 2, 3, 4, 5, 6, 12, 13, 7, 8, 9, 10, 14, 15 };
1639 else if (crc0 == crc1)
1647 if (headsize < 16) {
1651 for (
int ch = 0;
ch < headsize; ++
ch) {
1654 else if (crc0 == crc1)
1667 for (
int ch = 0;
ch < headsize; ++
ch) {
1671 for (
int ch = 0;
ch < headsize; ++
ch) {
1675 uint32_t fe_crc = crcMask & 0xFFFF;
1677 for (
int ch = 0;
ch < headsize; ++
ch) {
1679 if (
ros == 1 ||
ros == 2)
1681 if ((fe_crc >>
ch & 0
x1) == 0x0)
flag++;
1682 }
else if (
ros == 3 ||
ros == 4)
1686 if ((fe_crc >> chFE_sp[
ch] & 0
x1) == 0x0)
flag++;
1688 if ((fe_crc >> chFE_ext[
ch] & 0
x1) == 0x0)
flag++;
1691 if ((rod_crc >>
ch & 0
x1) == 0x0)
flag += 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);
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]
◆ define_palette()
int TileDigitsMonTool::define_palette |
( |
int |
ncolors, |
|
|
int * |
colors = NULL |
|
) |
| |
|
private |
Definition at line 945 of file TileDigitsMonTool.cxx.
950 if (ncolors == 51 &&
colors == 0) {
951 TColor::InitializeColors();
953 Double_t
stops[nRGBs] = { 0.00, 0.34, 0.61, 0.84, 1.00 };
954 Double_t
red[nRGBs] = { 0.00, 0.09, 0.18, 0.09, 0.00 };
955 Double_t
green[nRGBs] = { 0.01, 0.02, 0.39, 0.68, 0.97 };
956 Double_t
blue[nRGBs] = { 0.17, 0.39, 0.62, 0.79, 0.97 };
961 else if (ncolors == 52 &&
colors == 0) {
962 TColor::InitializeColors();
964 Double_t
stops[nRGBs] = { 0.00, 0.50, 1.00 };
965 Double_t
red[nRGBs] = { 0.90, 0.50, 0.10 };
966 Double_t
green[nRGBs] = { 0.90, 0.50, 0.10 };
967 Double_t
blue[nRGBs] = { 0.90, 0.50, 0.10 };
◆ 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()
◆ DMUheaderCheck()
bool TileDigitsMonTool::DMUheaderCheck |
( |
std::vector< uint32_t > * |
headerVec, |
|
|
int |
ros, |
|
|
int |
drawer, |
|
|
int |
gain, |
|
|
int |
dmu |
|
) |
| |
|
private |
DMU header format as defined in http://www.sysf.physto.se/~klere/tile-dmu/header.html Bits: 1pllllesdrvvvv0mmgggbbbbbbbbbbbb.
The header starts with bit 31 set to indicate a header. The other bits as follows: p - Parity (odd) l - Derandomizer length (number of samples). e - Parity error. A parity error was detected from the memory in the last readout. s - SEstr Single Error Strobe recieved from the ttc. d - DEstr Double Error Strobe recieved from the ttc. r - Register parity. Parity from the registers in the chip. v - Variable parity. Parity from the variables in the chip. 0 - Not used. (Set to 0) m - Mode. 00 - Normal mode 01 - Calibration mode 10 - Test mode 11 - Not used g - High/low gain. Indicates high(1) or low(0) amplification from the 3-in-1 cards. b - Bunch Crossing.
Definition at line 1738 of file TileDigitsMonTool.cxx.
1753 if (((*headerVec)[dmu] >> 25) & 0
x1) {
1758 if (((*headerVec)[dmu] >> 24) & 0
x1) {
1763 if (((*headerVec)[dmu] >> 23) & 0
x1) {
◆ DMUheaderFormatCheck()
bool TileDigitsMonTool::DMUheaderFormatCheck |
( |
uint32_t |
header | ) |
|
|
inlineprivate |
Function to check that the DMU header format is correct bit_31 of the DMU header must be 1 and bit_17 of the DMU header must be 0 Return true in case of error.
Definition at line 85 of file TileDigitsMonTool.h.
◆ DMUheaderParityCheck()
bool TileDigitsMonTool::DMUheaderParityCheck |
( |
uint32_t |
header | ) |
|
|
inlineprivate |
Function to check that the DMU header parity is correct Parity of the DMU header should be odd Return true in case of error.
Definition at line 95 of file TileDigitsMonTool.h.
97 for (
int i = 0;
i < 32; ++
i)
100 if ((parity % 2) == 1)
return false;
◆ drawHists()
void TileDigitsMonTool::drawHists |
( |
int |
ros, |
|
|
int |
drawer, |
|
|
const std::string & |
moduleName |
|
) |
| |
Definition at line 975 of file TileDigitsMonTool.cxx.
984 static bool palette_init_done =
false;
987 static TExec *ex_pal51;
988 static TExec *ex_pal52;
991 if (palette_init_done ==
false) {
992 palette_init_done =
true;
1003 s.Form(
"gStyle->SetPalette(%d,(int*)%ld);",
m_NCont, (
long) pal51);
1004 ex_pal51 =
new TExec(
"ex_pal51",
s.Data());
1005 s.Form(
"gStyle->SetPalette(%d,(int*)%ld);",
m_NCont, (
long) pal52);
1006 ex_pal52 =
new TExec(
"ex_pal52",
s.Data());
1010 double line[8] = { 1.2, 2.5, 1.0, 1.0, 48.0, 48.0, 48.0, 16.0 };
1011 double miny[12] = { 20.0, 20.0, 0.0, 0.0, 0.0, 0.0, -0.1, -0.1, -0.1, -0.1, -0.1, -0.1 };
1012 double maxy[12] = { 80.0, 80.0, 1.5, 3.0, 1.5, 3.0, 2.2, 2.2, 2.2, 2.2, 3.2, 2.2 };
1015 miny[0] = miny[1] = -5.0;
1016 maxy[0] = maxy[1] = 5.0;
1019 TText *
t =
new TText();
1020 t->SetTextAlign(32);
1021 t->SetTextSize(0.06);
1034 maxline[
type]->SetLineColor(2 +
type / 2);
1037 TCanvas * Can = NULL;
1039 Can =
new TCanvas(
"dig_noise",
"dig_noise", 402 * maxgain, 588);
1040 Can->Divide(maxgain, 3);
1041 gStyle->SetOptStat(0);
1042 gStyle->SetTitleFontSize(0.1);
1049 TVirtualPad * pad = Can->cd(
type * maxgain +
gain + 1);
1050 pad->SetTopMargin(0.15);
1066 if (
type > 0) maxline[
gain]->Draw();
1072 Can->Print(TString(moduleName +
"_dig_noise.png"),
"png");
1075 Can->Print(TString(moduleName +
"_dig_noise.ps"),
"ps");
1078 Can->Print(TString(moduleName +
"_dig_noise.svg"),
"svg");
1083 Can =
new TCanvas(
"dig_errors",
"dig_errors", 402 * maxgain, 588);
1084 Can->Divide(maxgain, 4);
1085 gStyle->SetOptStat(1);
1086 gStyle->SetTitleFontSize(0.1);
1092 TVirtualPad * pad = NULL;
1094 pad = Can->cd((
type - 3) * maxgain +
gain + 1);
1095 pad->SetTopMargin(0.15);
1100 if (do_plots) pad->SetLogy();
1103 gStyle->SetStatFontSize(0.1);
1110 if (do_plots) pad->SetGridx();
1130 gStyle->SetNumberContours(
m_NCont);
1136 TPaletteAxis *palette = (TPaletteAxis*)
m_data->m_final_hist_stucks[
ros][
drawer][
gain]->GetListOfFunctions()->FindObject(
"palette");
1137 if (palette != NULL) palette->SetLabelSize(0.07);
1144 t->DrawText(-0.2, 1.,
"all OK");
1145 t->DrawText(-0.2, .0,
"wrong");
1147 t->DrawText(-0.2, 2.,
"mismatch");
1149 t->DrawText(-0.2, 2.,
"FE fail");
1150 t->DrawText(-0.2, 2.5,
"FE+ROD fail");
1151 t->DrawText(-0.2, 3.,
"ROD fail");
1158 if (
type != 3)
if (do_plots) maxline[3]->Draw();
1162 TVirtualPad * pad = NULL;
1164 pad = Can->cd(6 +
gain + 1);
1165 pad->SetTopMargin(0.15);
1184 gStyle->SetNumberContours(
m_NCont);
1189 TPaletteAxis *palette = (TPaletteAxis*)
m_data->m_hist2[
ros][
drawer][
gain][0]->GetListOfFunctions()->FindObject(
"palette");
1190 if (palette != NULL) palette->SetLabelSize(0.07);
1197 Can->Print(TString(moduleName +
"_dig_errors.png"),
"png");
1200 Can->Print(TString(moduleName +
"_dig_errors.ps"),
"ps");
1203 Can->Print(TString(moduleName +
"_dig_errors.svg"),
"svg");
1205 if (do_plots)
delete Can;
1208 delete maxline[
type];
1216 Can =
new TCanvas(
"correlation",
"correlation", 402 * maxgain, 588);
1217 Can->Divide(maxgain, 2);
1218 gStyle->SetOptStat(0);
1219 gStyle->SetPalette(1);
1220 gStyle->SetTitleFontSize(0.1);
1223 TPaveLabel covar_label[2];
1224 covar_label[0] = TPaveLabel(37., 49., 54., 56.,
"");
1225 covar_label[1] = TPaveLabel(37., 49., 54., 56.,
"");
1230 TVirtualPad * pad = Can->cd(
type * maxgain +
gain + 1);
1231 pad->SetTopMargin(0.15);
1238 std::ostringstream label_text;
1239 label_text <<
"<C_ij>/<C_ii>= " << std::setprecision(4) <<
m_data->m_cov_ratio[
ros][
drawer][
gain] << std::setprecision(4);
1240 covar_label[
gain].SetLabel(label_text.str().c_str());
1241 covar_label[
gain].SetTextSize(0.4);
1242 covar_label[
gain].Draw();
1249 Can->Print(TString(moduleName +
"_correlation.png"),
"png");
1252 Can->Print(TString(moduleName +
"_correlation.ps"),
"ps");
1254 if (do_plots)
delete Can;
1257 gStyle->SetOptStat(1111);
◆ 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 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, JetTagDQA::PhysValBTag, PhysVal::PhysValExample, GeneratorPhysVal::GeneratorPhysValMonitoringTool, ZeeValidation::ZeeValidationMonitoringTool, InDetTrackPerfMonTool, 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 TileDigitsMonTool::fillHists |
( |
| ) |
|
|
overridevirtual |
Calls fillHists( bool, bool, bool ); if an eventBlock,lumiBlock, or run has turned over, calls procHists( bool, bool, bool ) and bookHists( bool, bool, bool ).
Reimplemented from ManagedMonitorToolBase.
Definition at line 345 of file TileDigitsMonTool.cxx.
367 if (digitsCollection->empty())
continue;
369 HWIdentifier adc_id = digitsCollection->front()->adc_HWID();
375 m_nSamples = digitsCollection->front()->NtimeSamples();
382 if (
status & (TileFragStatus::ALL_FF | TileFragStatus::ALL_00)) {
384 }
else if (
status & (TileFragStatus::NO_FRAG | TileFragStatus::NO_ROB)) {
387 for (
int dmu = 0; dmu < 16; dmu++) {
396 std::vector<uint32_t> headerVec = digitsCollection->getFragChipHeaderWords();
398 int headsize = headerVec.size();
400 ATH_MSG_ERROR(
"length of BCID vector " << headsize <<
" - greater than 16 !");
404 for (
int dmu = 0; dmu < headsize; dmu++) {
409 for (
int dmu = headsize; dmu < 16; dmu++) {
417 if (digitsCollection->empty())
continue;
419 HWIdentifier adc_id = digitsCollection->front()->adc_HWID();
427 m_nSamples = digitsCollection->front()->NtimeSamples();
431 std::vector<uint32_t> headerVec = digitsCollection->getFragChipHeaderWords();
433 int headsize = headerVec.size();
439 double mean_tmp[48][2][16];
440 memset(mean_tmp, 0,
sizeof(mean_tmp));
452 for (
const TileDigits* tileDigits : *digitsCollection) {
454 adc_id = tileDigits->adc_HWID();
460 std::vector<float> vdigits = tileDigits->samples();
462 double meansamp = 0.0;
463 double rmssamp = 0.0;
464 unsigned int dsize = vdigits.size();
466 ATH_MSG_ERROR(
"length of digits vector " << dsize <<
" - greater than 16 !");
470 for (
unsigned int i = 0;
i < dsize; ++
i) {
471 double dig = vdigits[
i];
473 rmssamp += dig * dig;
491 double ped = vdigits[0];
501 rmssamp = rmssamp / dsize - meansamp * meansamp;
502 rmssamp = (rmssamp > 0.0) ? sqrt(rmssamp * dsize / (dsize - 1)) : 0.0;
513 for (
int ch_i = 0; ch_i < 48; ++ch_i)
517 for (
int ch_j = 0; ch_j < 48; ++ch_j)
529 for (
int ch = 0;
ch < headsize; ++
ch) {
532 if ((bcid_ch ==
bcid) || (bcid_ch ==
bcid - 1))
534 else if ((
bcid == 0) && ((bcid_ch == 3563) || (bcid_ch == 3564)))
546 if ((
m_bigain) && ((digitsCollection->getFragChipHeaderWordsHigh()).
size() > 0)) {
548 headerVec = digitsCollection->getFragChipHeaderWordsHigh();
549 headsize = headerVec.size();
551 ATH_MSG_ERROR(
"length of BCIDhigh vector " << headsize <<
" - greater than 16 !");
556 for (
int ch = 0;
ch < headsize; ++
ch) {
559 if ((bcid_ch ==
bcid) || (bcid_ch ==
bcid - 1))
561 else if ((
bcid == 0) && ((bcid_ch == 3563) || (bcid_ch == 3564)))
575 uint32_t crc32 = digitsCollection->getFragCRC();
576 uint32_t CRCmask = digitsCollection->getFragDMUMask();
587 return StatusCode::SUCCESS;
◆ finalHists()
StatusCode TileDigitsMonTool::finalHists |
( |
| ) |
|
|
overridevirtual |
Calls procHists( true, true, true ).
LF: when we have a monogain run, like Laser, it might happen that occasionally some entries have not the expected gain. In this case we cannot use m_nEventsTileMon to calculate average and RMS. The most simple minded solution would be to use the a counter for each single chan (5x64x48x2 counters!). I prefered the following 'escamotage': the pedestal histograms already have the correct number of entries and, unless there are some overflow, even the correct mean and RMS. So, if m_nEntries doesn't match the entries in the histo, I use the latter for calculation porpouse. I could even use the histogram mean and RMS, but it is not necessary and I avoid problems in case of overflows.
Reimplemented from ManagedMonitorToolBase.
Definition at line 591 of file TileDigitsMonTool.cxx.
599 const EventContext &ctx = Gaudi::Hive::currentContext();
601 const char *
part[5] = {
"AUX",
"LBA",
"LBC",
"EBA",
"EBC" };
602 const char *
gain[6] = {
"_lo",
"_hi",
"",
" low gain",
" high gain",
"" };
604 std::string pedestalTitile(
" Pedestal[0]");
607 const char *HistName[8] = {
"_ped",
"_rms_lfr",
"_rms_hfr",
"_bits"
608 , pedestalTitile.c_str(),
" RMS noise low frequency",
" RMS noise high frequency",
" Stuck bits and zero amp" };
610 const char *ErrName[4] = {
"_bcid",
"_crc",
" BCID errors",
" CRC errors" };
611 const char *HistName2[4] = {
"_covar",
"_corr",
" covariance",
" correlation" };
623 std::ostringstream sStr;
625 std::string subDir =
"Summary";
628 for (
int gn = mingain;
gn < maxgain; ++
gn) {
634 sStr << moduleName <<
gain[
gn] << HistName[
type];
637 sStr << moduleName <<
gain[3 +
gn] << HistName[4 +
type];
638 histTitle = sStr.str();
644 sStr << moduleName <<
gain[
gn] <<
"_stucks";
647 sStr << moduleName <<
gain[3 +
gn] <<
" Stuck bits and saturation";
648 histTitle = sStr.str();
655 m_data->m_final_hist_stucks[
ros][
drawer][
adc]->GetYaxis()->SetBinLabel(6,
"saturation");
662 double Ped = 0.0, PedRMS = 0.0, RMSHi = 0.0;
665 bool fillPedAndRms = (
nevents > 0);
681 <<
" doesnt match n. of events! Using the first one in mean and RMS calculation" );
697 PedRMS = (PedRMS > 0.0) ? sqrt(PedRMS *
nevents / (
nevents - 1)) : 0.0;
736 if (
hist->GetBinContent(1) > 0) {
755 sStr << moduleName <<
gain[
gn] << ErrName[0];
758 sStr << moduleName <<
gain[3 +
gn] << ErrName[2];
759 histTitle = sStr.str();
765 sStr << moduleName << ErrName[1];
768 sStr << moduleName << ErrName[3];
769 histTitle = sStr.str();
773 for (
int ch = 0;
ch < 16; ++
ch) {
778 for (
int id = 0;
id < 2; ++
id) {
787 if (bin0 +
bin3 +
bin4 + bin5 > 0) {
788 if ((
bin4 == 0) && (bin5 == 0)) {
790 }
else if ((
bin3 == 0) && (bin5 == 0)) {
799 }
else if (
bin1 == 0) {
817 sStr << moduleName <<
gain[
gn] << HistName2[
type];
820 sStr << moduleName <<
gain[3 +
gn] << HistName2[2 +
type];
821 histTitle = sStr.str();
827 for (
int ch_i = 0; ch_i < 48; ++ch_i) {
830 for (
int ch_j = 0; ch_j < 48; ++ch_j)
835 double covar[48][48];
838 double mean_cov_ii = 0.;
839 double mean_cov_ij = 0.;
841 for (
int ch_i = 0; ch_i < 48; ++ch_i) {
843 for (
int ch_j = 0; ch_j < 48; ++ch_j) {
848 mean_cov_ij += covar[ch_i][ch_j];
852 mean_cov_ii += covar[ch_i][ch_i];
854 if (covar[ch_i][ch_i] != 0.0)
855 mean_rms[ch_i] = covar[ch_i][ch_i] / sqrt(TMath::Abs(covar[ch_i][ch_i]));
860 if (mean_cov_ii != 0.) {
867 for (
int i = 0;
i < 48; ++
i) {
868 for (
int j = 0; j < 48; ++j) {
869 if ((mean_rms[
i] == 0.) || (mean_rms[j] == 0.)) {
872 corr[
i][j] = covar[
i][j] / mean_rms[
i] / mean_rms[j];
888 for (
int gn = mingain;
gn < maxgain; ++
gn) {
889 for (
int i = 0;
i < 48; ++
i) {
895 double shiftxmin = 0.;
899 std::ostringstream
s;
900 s <<
part[
ros] << std::setfill(
'0') << std::setw(2) <<
drawer + 1 << std::setfill(
' ');
901 std::string moduleName =
s.str();
902 std::string subDir = moduleName;
905 s << moduleName <<
gain[
gn] <<
"_samples_ref";
909 s << moduleName <<
gain[3 +
gn] <<
" all samples reference";
910 std::string histTitle =
s.str();
923 return StatusCode::SUCCESS;
◆ 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 |
◆ 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.
◆ getNewStreamNameFcn()
|
protectedvirtualinherited |
Definition at line 2157 of file ManagedMonitorToolBase.cxx.
2160 StreamNameFcn* fcn(0);
2164 fcn =
new NoOutputStream();
2167 fcn =
new OnlineStream();
◆ getTMDBCellName()
std::string TilePaterMonTool::getTMDBCellName |
( |
unsigned int |
ros, |
|
|
unsigned int |
channel |
|
) |
| |
|
inlineprotectedinherited |
◆ initialize()
StatusCode TileDigitsMonTool::initialize |
( |
| ) |
|
|
overridevirtual |
Reimplemented from TilePaterMonTool.
Definition at line 92 of file TileDigitsMonTool.cxx.
101 m_data = std::make_unique<Data>();
102 memset(
m_data->m_sumPed1, 0,
sizeof(
m_data->m_sumPed1));
103 memset(
m_data->m_sumPed2, 0,
sizeof(
m_data->m_sumPed2));
104 memset(
m_data->m_sumRms1, 0,
sizeof(
m_data->m_sumRms1));
105 memset(
m_data->m_sumRms2, 0,
sizeof(
m_data->m_sumRms2));
106 memset(
m_data->m_meanAmp, 0,
sizeof(
m_data->m_meanAmp));
107 memset(
m_data->m_meanAmp_ij, 0,
sizeof(
m_data->m_meanAmp_ij));
108 memset(
m_data->m_nEvents_i, 0,
sizeof(
m_data->m_nEvents_i));
109 memset(
m_data->m_nEvents_ij, 0,
sizeof(
m_data->m_nEvents_ij));
110 memset(
m_data->m_stuck_probs, 0,
sizeof(
m_data->m_stuck_probs));
◆ 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() [1/2]
static const InterfaceID& ITileStuckBitsProbsTool::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
Definition at line 18 of file ITileStuckBitsProbsTool.h.
19 static const InterfaceID IID_ITileStuckBitsProbsTool(
"ITileStuckBitsProbsTool", 1, 0);
20 return IID_ITileStuckBitsProbsTool;
◆ interfaceID() [2/2]
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, JetTagDQA::PhysValBTag, PhysVal::PhysValExample, GeneratorPhysVal::GeneratorPhysValMonitoringTool, ZeeValidation::ZeeValidationMonitoringTool, InDetTrackPerfMonTool, 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()
◆ RODCRCcalc()
Author: Luca. F. Mar 08 This method provides CRC checks for Global and TileDMU chips. They are taken from the the ROD RawChannel Container TileDMU CRC is taken from the DMU mask filled in the FPGA. It makes sense only for monogain runs (Physics, LED, MonoCIS). The least significant 16 bits are the result of the CRC check in the FE (0xFFFF means all OK). The most significant 16 bits are the result of the CRC check in the ROD (0xFFFF means all OK). Global CRC is taken also from the DQ Fragment. '0' means OK, '1' means mismatch.
Definition at line 1779 of file TileDigitsMonTool.cxx.
1796 if (rawChannelCollection->empty())
continue;
1798 HWIdentifier hwid = rawChannelCollection->front()->adc_HWID();
1802 uint32_t crc32 = rawChannelCollection->getFragGlobalCRC() & 1;
1810 uint32_t CRCmask = rawChannelCollection->getFragRODChipMask();
1811 CRCmask = CRCmask << 16;
1812 CRCmask += rawChannelCollection->getFragFEChipMask();
1818 return StatusCode::SUCCESS;
◆ runStat()
StatusCode ManagedMonitorToolBase::runStat |
( |
| ) |
|
|
virtualinherited |
This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ).
Implements IMonitorToolBase.
Definition at line 1663 of file ManagedMonitorToolBase.cxx.
1666 return StatusCode::SUCCESS;
◆ saveStuckBitsProbabilities()
void TileDigitsMonTool::saveStuckBitsProbabilities |
( |
TTree * |
tree | ) |
|
|
overridevirtual |
◆ setMonManager()
◆ setupOutputStreams()
StatusCode ManagedMonitorToolBase::setupOutputStreams |
( |
std::vector< std::string > |
Mapping = std::vector<std::string>() | ) |
|
|
virtualinherited |
◆ shiftHisto()
void TileDigitsMonTool::shiftHisto |
( |
TH1S * |
hist, |
|
|
int |
ros, |
|
|
int |
drawer, |
|
|
int |
ch, |
|
|
int |
gain |
|
) |
| |
|
private |
◆ statTestHistos()
void TileDigitsMonTool::statTestHistos |
( |
int |
ros, |
|
|
int |
drawer, |
|
|
int |
gain |
|
) |
| |
|
private |
Definition at line 1844 of file TileDigitsMonTool.cxx.
1848 std::vector<TH1S*> refbld;
1849 std::vector<TH1S*> newrefbld;
1851 ref->SetDirectory(0);
1853 ref1->SetDirectory(0);
1855 for (
int i = 0;
i < 48;
i++) {
1858 float integ =
h->Integral(200, 600);
1860 refbld.push_back(
h);
1865 int entr = refbld.size();
1866 const double inv_entr = (entr > 0 ? 1. /
static_cast<double>(entr) : 1);
1867 for (
int i = 0;
i < entr;
i++) {
1868 TH1S *
h = refbld.at(
i);
1869 ref->Add(
h, inv_entr);
1875 for (
int i = 0;
i < entr;
i++) {
1876 obj = (TH1S*) refbld.at(
i);
1877 float kol =
obj->KolmogorovTest(
ref);
1880 newrefbld.push_back(
obj);
1884 int ent = newrefbld.size();
1885 const double inv_ent = (ent > 0 ? 1. /
static_cast<double>(ent) : 1);
1886 for (
int i = 0;
i < ent;
i++) {
1887 obj = (TH1S*) newrefbld.at(
i);
1888 ref1->Add(
obj, inv_ent);
◆ 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;
◆ stuckBitProb()
const uint8_t * TileDigitsMonTool::stuckBitProb |
( |
int |
ros, |
|
|
int |
module, |
|
|
int |
channel, |
|
|
int |
gain |
|
) |
| const |
|
overridevirtual |
◆ stuckBits()
int TileDigitsMonTool::stuckBits |
( |
TH1S * |
hist, |
|
|
int |
adc |
|
) |
| |
|
private |
Method to find stuckbits in Read-Out ADC channel.
Definition at line 1260 of file TileDigitsMonTool.cxx.
1271 if (
hist->GetBinContent(MinBin) > 0) {
1278 for (; MaxBin > 0; --MaxBin) {
1279 if (
hist->GetBinContent(MaxBin) > 0) {
1297 for (
int hyp_pos = 0; hyp_pos < 2; ++hyp_pos) {
1298 for (
int hyp_bit = 0; hyp_bit < 10; ++hyp_bit) {
1300 int bin_counter = 0;
1302 int win_length = (1 << hyp_bit);
1303 int BeginBin = (1 - hyp_pos) * win_length;
1305 while (BeginBin + 1 < MaxBin) {
1306 int EndBin = BeginBin + win_length;
1308 if (EndBin > MinBin) {
1309 for (
int bin = BeginBin;
bin < EndBin; ++
bin) {
1311 if (MinBin < (
bin + 1) && (
bin + 1) < MaxBin) {
1317 BeginBin = EndBin + win_length;
1319 if (
sum == 0 && bin_counter > 0) {
◆ stuckBits_Amp()
int TileDigitsMonTool::stuckBits_Amp |
( |
TH1S * |
hist, |
|
|
int |
adc |
|
) |
| |
|
private |
A crude method to check Read-Out ADC channel stuckbits.
Definition at line 1369 of file TileDigitsMonTool.cxx.
1370 int i,
b,
c,
cc = 2;
1376 for (
b = 0;
b < 10;
b++) {
1381 cp =
hist->GetBinContent(1);
1388 if (
c > 0 &&
c < 0.125 * (
cp +
cm - std::sqrt((
double)
cp) - std::sqrt((
double)
cm))) {
1389 prob = 1. - (
double)
c / (0.125 * (
cp +
cm - std::sqrt((
double)
cp) - std::sqrt((
double)
cm)));
1393 for (
b = 0;
b < 10;
b++) {
1394 if ((
i & bv[
b]) != ((
i - 1) & bv[
b]))
1399 if (
f > 0 &&
c > 0)
continue;
1400 if (
f == 0 &&
c == 0)
continue;
1402 for (
b = 0;
b < 10;
b++) {
1403 if ((
i & bv[
b]) != ((
i - 1) & bv[
b]))
1412 for (
b = 0;
b < 10;
b++)
1414 if (((bc[
b] > 2) && (std::abs(bs[
b]) == bc[
b])) || ((std::abs(bs[
b]) > 7) && (std::abs(bs[
b]) * 3 > bc[
b]))) {
◆ stuckBits_Amp2()
int TileDigitsMonTool::stuckBits_Amp2 |
( |
TH1S * |
hist, |
|
|
TH1C * |
modhist, |
|
|
int |
adc, |
|
|
TH2C * |
outhist = NULL , |
|
|
int |
ch = 0 , |
|
|
uint8_t * |
stuck_probs = NULL |
|
) |
| |
|
private |
Definition at line 1423 of file TileDigitsMonTool.cxx.
1425 if (
hist->GetEntries() < 1000)
return 0;
1427 int i,
b,
c,
cc = 0;
1429 int last_non0, first_non0 = -1;
1430 int bc[10] = { 0 }, bv[10] = { 1, 2, 4, 8, 16, 32, 64, 128, 256, 512 };
1431 double bs[10] = { 0. };
1432 int bac[10] = { 0 }, ba0[10] = { 0 }, ba1[10] = { 0 }, bas[10] = { 0 };
1436 int zero_limit, saturation_limit;
1439 cp =
hist->GetBinContent(1);
1441 if (
f) first_non0 = 0;
1442 for (last_non0 =
m_i_ADCmax; last_non0 >= 0; last_non0--)
1443 if (
hist->GetBinContent(last_non0 + 1) > 0)
break;
1446 for (
i = 1;
i <= last_non0;
i++) {
1450 if (first_non0 < 0) {
1456 for (
b = 0;
b < 10;
b++) {
1457 if ((
i & bv[
b]) != ((
i - 1) & bv[
b])) {
1460 if ((
i - 1) & bv[
b])
1467 if (
cc > 0) bas[
b]++;
1470 cont = sqrt((
double) (
c +
cm));
1471 if ((
c == 0 ||
cm == 0) && (
c > 0 ||
cm > 0)) {
1472 prob = erf((cont - sqrt(cont)) / sqrt(2 * cont));
1475 if (
c > 0 &&
c < 0.25 * (
cp +
cm - std::sqrt((
double)
cp) - std::sqrt((
double)
cm))) {
1476 prob = 1. - (
double)
c / (0.25 * (
cp +
cm - std::sqrt((
double)
cp) - std::sqrt((
double)
cm)));
1480 for (
b = 0;
b < 10;
b++) {
1481 if ((
i & bv[
b]) != ((
i - 1) & bv[
b]))
1486 if (
f > 0 &&
c > 0)
continue;
1487 if (
f == 0 &&
c == 0)
continue;
1489 for (
b = 0;
b < 10;
b++) {
1490 if ((
i & bv[
b]) != ((
i - 1) & bv[
b]))
1498 for (
b = 0;
b < 10;
b++)
1499 if ((
i & bv[
b]) != ((
i - 1) & bv[
b])) {
1502 if ((
i - 1) & bv[
b])
1510 double sb_prob[4] = {0., 0., 0., 0.};
1511 static const int sb_map[10] = {0, 1, 1, 2, 2, 3, 3, 3, 3, 3};
1512 for (
b = 0;
b < 10;
b++) {
1513 if ((ba0[
b] == 0 || ba1[
b] == 0) && bac[
b] > 2 && (ba0[
b] + ba1[
b] >= bac[
b] / 2 || ba0[
b] + ba1[
b] > 2)) {
1516 sb_prob[sb_map[
b]] = 1.;
1518 if (stuck_probs != NULL)
1519 stuck_probs[
b] = ba0[
b] == 0 ? 100
u : 200
u;
1522 double bs1 = std::fabs(bs[
b]) - sqrt(std::fabs(bs[
b]));
1523 if (bs1 < 0.) bs1 = 0.;
1524 if ((bs1 > 0.5 * bc[
b]) || (bc[
b] > 7 && bs1 * 3 > bc[
b])) is_stack = 1;
1525 if (
outhist != NULL && bc[
b] > 0) {
1527 sb_prob[sb_map[
b]] = 1. - (1. - sb_prob[sb_map[
b]]) * (1. - 1. * bs1 / bc[
b]);
1529 if (stuck_probs != NULL)
1531 stuck_probs[
b] = (
uint8_t) (100. * bs1 / bc[
b]);
1534 stuck_probs[
b] += 100
u;
1535 if (stuck_probs[
b] == 100
u)
1536 stuck_probs[
b] = 0
u;
1541 || (last_non0 == (
m_i_ADCmax + 1) / 2 - 1 &&
hist->GetBinContent(last_non0) > 3)) {
1545 if (stuck_probs != NULL)
1546 stuck_probs[9] = first_non0 >= 512 ? 200
u : 100
u;
1549 outhist->Fill((
double)
ch, 0., 100. * sb_prob[0]);
1550 outhist->Fill((
double)
ch, 1., 100. * sb_prob[1]);
1551 outhist->Fill((
double)
ch, 2., 100. * sb_prob[2]);
1552 outhist->Fill((
double)
ch, 3., 100. * sb_prob[3]);
1554 if (first_non0 >= saturation_limit)
1556 else if (last_non0 >= saturation_limit) {
1558 int saturation_entries = 0;
1560 for (
i = saturation_limit + 1;
i <= maxADC; ++
i)
1561 saturation_entries +=
hist->GetBinContent(
i);
1567 if (last_non0 <= zero_limit)
1569 else if (first_non0 <= zero_limit) {
1571 int zero_entries = 0;
1572 for (
i = 1;
i <= zero_limit + 1; ++
i)
1573 zero_entries +=
hist->GetBinContent(
i);
1579 double entries, empty_cut, full_cut;
1582 bool enough =
false;
1586 if (full_cut > 126.)
1588 if (full_cut - empty_cut < 1.)
1589 full_cut = empty_cut + 1.;
1591 for (
i = 1;
i <= 32; ++
i) {
1592 if (modhist->GetBinContent(
i) <= empty_cut)
1594 else if (modhist->GetBinContent(
i) > full_cut)
1596 if (modhist->GetBinContent(
i) > 64)
1599 if (mod32empty + mod32full == 32 || enough)
1600 if (mod32empty != 0 && mod32full != 0)
1601 outhist->Fill((
double)
ch, 6., mod32empty);
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ THistSvc_deReg_fixTGraph()
StatusCode ManagedMonitorToolBase::THistSvc_deReg_fixTGraph |
( |
TFile * |
file, |
|
|
TGraph * |
theGraph, |
|
|
std::string & |
directoryName |
|
) |
| |
|
protectedinherited |
Fixes THistSvc->deReg(obj) when obj is TGraph instance.
Read more in source file about this bug.
Definition at line 1038 of file ManagedMonitorToolBase.cxx.
1048 GlobalDirectoryRestore restore;
1051 bool graphRemoved =
false;
1054 TDirectory*
dir =
file->GetDirectory(directoryName.c_str());
1057 TObject*
obj =
dir->Remove(theGraph);
1059 graphRemoved =
true;
1062 if (!graphRemoved) {
1063 return StatusCode::FAILURE;
1066 return StatusCode::SUCCESS;
◆ trigChainsArePassed()
bool ManagedMonitorToolBase::trigChainsArePassed |
( |
std::vector< std::string > & |
vTrigNames | ) |
|
|
protectedvirtualinherited |
◆ updateTriggersForGroups()
void ManagedMonitorToolBase::updateTriggersForGroups |
( |
std::vector< std::string > & |
vTrigChainNames | ) |
|
|
protectedinherited |
Definition at line 2132 of file ManagedMonitorToolBase.cxx.
2134 for (
size_t i = 0;
i < vTrigChainNames.size(); ++
i) {
2135 std::string& thisName = vTrigChainNames[
i];
2136 if (thisName.compare(0, 9,
"CATEGORY_") ==0) {
2137 ATH_MSG_DEBUG(
"Found a trigger category: " << thisName <<
". We will unpack it.");
2139 std::ostringstream oss;
2141 for (
size_t itrig = 0; itrig <
triggers.size(); ++itrig) {
2149 std::string newval = oss.str();
2151 vTrigChainNames[
i] = newval;
◆ updateVHKA()
◆ writeAndDelete()
StatusCode ManagedMonitorToolBase::writeAndDelete |
( |
TH1 * |
h, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Write out histogram and delete it.
Definition at line 1601 of file ManagedMonitorToolBase.cxx.
1604 return StatusCode::FAILURE;
1606 std::string hName =
h->GetName();
1609 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1612 return StatusCode::SUCCESS;
◆ m_ADCmaxMinusEps
float TileDigitsMonTool::m_ADCmaxMinusEps {} |
|
private |
◆ m_allHistsFilled
bool TileDigitsMonTool::m_allHistsFilled {} |
|
private |
◆ m_bigain
bool TileDigitsMonTool::m_bigain {} |
|
private |
◆ m_book2D
bool TileDigitsMonTool::m_book2D {} |
|
private |
◆ m_bookAll
bool TileDigitsMonTool::m_bookAll {} |
|
private |
◆ m_bookHistogramsInitial
bool ManagedMonitorToolBase::m_bookHistogramsInitial |
|
privateinherited |
◆ m_cabling
◆ 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_cispar
const uint32_t* TileDigitsMonTool::m_cispar {} |
|
private |
◆ m_contNameDSP
std::string TileDigitsMonTool::m_contNameDSP |
|
private |
◆ m_d
Imp* ManagedMonitorToolBase::m_d |
|
privateinherited |
◆ m_data
std::unique_ptr<Data> TileDigitsMonTool::m_data |
|
private |
◆ 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_digitsContainerName
std::string TileDigitsMonTool::m_digitsContainerName |
|
private |
◆ m_DQFilterTools
ToolHandleArray<IDQFilterTool> ManagedMonitorToolBase::m_DQFilterTools {this,"FilterTools",{}} |
|
protectedinherited |
◆ m_DQstatusKey
◆ 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_evtStore
◆ m_f_ADCmax
float TileDigitsMonTool::m_f_ADCmax {} |
|
private |
◆ m_fileKey
std::string ManagedMonitorToolBase::m_fileKey |
|
protectedinherited |
◆ m_fillPedestalDifference
bool TileDigitsMonTool::m_fillPedestalDifference {} |
|
private |
◆ m_fragIDsDemonstrators
std::vector<int> TilePaterMonTool::m_fragIDsDemonstrators |
|
protectedinherited |
◆ m_fragIDsToIgnoreDMUerrors
std::vector<int> TilePaterMonTool::m_fragIDsToIgnoreDMUerrors |
|
protectedinherited |
◆ m_haveClearedLastEventBlock
bool ManagedMonitorToolBase::m_haveClearedLastEventBlock |
|
protectedinherited |
◆ m_i_ADCmax
int TileDigitsMonTool::m_i_ADCmax {} |
|
private |
◆ m_infoName
std::string TileDigitsMonTool::m_infoName |
|
private |
◆ m_is12bit
bool TileDigitsMonTool::m_is12bit {} |
|
private |
◆ m_lastHigStatInterval
int ManagedMonitorToolBase::m_lastHigStatInterval |
|
protectedinherited |
◆ m_lastLowStatInterval
int ManagedMonitorToolBase::m_lastLowStatInterval |
|
protectedinherited |
◆ m_lastLumiBlock
unsigned int ManagedMonitorToolBase::m_lastLumiBlock |
|
protectedinherited |
◆ m_lastMedStatInterval
int ManagedMonitorToolBase::m_lastMedStatInterval |
|
protectedinherited |
◆ m_lastRun
unsigned int ManagedMonitorToolBase::m_lastRun |
|
protectedinherited |
◆ m_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_lumiDataKey
◆ m_manager
◆ m_managerNameProp
std::string ManagedMonitorToolBase::m_managerNameProp |
|
protectedinherited |
◆ m_metadataMap
MDMap_t ManagedMonitorToolBase::m_metadataMap |
|
protectedinherited |
◆ m_NCont
const int TileDigitsMonTool::m_NCont = 10 |
|
staticprivate |
◆ m_nEvents
unsigned int ManagedMonitorToolBase::m_nEvents |
|
protectedinherited |
◆ m_nEventsIgnoreTrigger
unsigned int ManagedMonitorToolBase::m_nEventsIgnoreTrigger |
|
protectedinherited |
◆ m_nEventsTileMon
int TileDigitsMonTool::m_nEventsTileMon {} |
|
private |
◆ 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_nSamples
int TileDigitsMonTool::m_nSamples {} |
|
private |
◆ m_path
std::string ManagedMonitorToolBase::m_path |
|
protectedinherited |
◆ m_preScaleProp
long ManagedMonitorToolBase::m_preScaleProp |
|
protectedinherited |
◆ m_procNEventsProp
long ManagedMonitorToolBase::m_procNEventsProp |
|
protectedinherited |
◆ m_runType
int TileDigitsMonTool::m_runType {} |
|
private |
◆ m_saturationLimitHG
int TileDigitsMonTool::m_saturationLimitHG {} |
|
private |
◆ m_savePng
bool TilePaterMonTool::m_savePng {} |
|
protectedinherited |
◆ m_savePs
bool TilePaterMonTool::m_savePs {} |
|
protectedinherited |
◆ m_saveSvg
bool TilePaterMonTool::m_saveSvg {} |
|
protectedinherited |
◆ m_shiftnbins
int TileDigitsMonTool::m_shiftnbins {} |
|
private |
◆ m_streamNameFcn
◆ m_supportedIntervalsForRebooking
std::set<Interval_t> ManagedMonitorToolBase::m_supportedIntervalsForRebooking |
|
privateinherited |
◆ m_templateEfficiencies
std::map< Interval_t, std::vector< MgmtParams<TEfficiency> > > ManagedMonitorToolBase::m_templateEfficiencies |
|
protectedinherited |
◆ m_templateGraphs
◆ m_templateHistograms
◆ m_templateTrees
◆ m_THistSvc
◆ m_tileHWID
◆ m_tileID
◆ m_tileInfo
◆ m_tileTBID
◆ m_tileToolNoiseSample
◆ 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_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 |
◆ m_zeroLimitHG
int TileDigitsMonTool::m_zeroLimitHG {} |
|
private |
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
path
python interpreter configuration --------------------------------------—
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual std::string fileKey() const
uint32_t calibMode() const
Calibration mode.
virtual void passOwnership(TObject *h, const std::string &key)
Pass ownership of a TObject to this manager so that it will be deleted appropriately.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool msgLvl(const MSG::Level lvl) const
int frag(const HWIdentifier &id) const
extract frag field from HW identifier
TGraphErrors * GetEntries(TH2F *histo)
#define ATH_MSG_VERBOSE(x)
bool empty() const
Test if the key is blank.
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
@ u
Enums for curvilinear frames.
int channel(const HWIdentifier &id) const
extract channel field from HW identifier
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
static const unsigned int MAX_DRAWER
Number of drawers in ROS 1-4.
virtual void setOwner(IDataHandleHolder *o)=0
int ros(const HWIdentifier &id) const
extract ros field from HW identifier
static Environment_t environment()
Returns the running environment of the monitoring application to help ManagedMonitorToolBase objects ...
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Class that holds Data Quality fragment information and provides functions to extract the data quality...
int adc(const HWIdentifier &id) const
extract adc field from HW identifier
static DataType_t dataType()
Returns the data type that the monitoring application is running over to help ManagedMonitorToolBase ...
msgSvc
Provide convenience handles for various services.
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.
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.
static const unsigned int MAX_ROS
Number of ROSs
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
double charge(const T &p)
setEventNumber setTimeStamp bcid
const uint32_t * cispar() const
CIS parameters.
static std::string getDrawerString(unsigned int ros, unsigned int drawer)
Return the drawer name, e.g.
int drawer(const HWIdentifier &id) const
extract drawer field from HW identifier
#define ATH_MSG_WARNING(x)
const boost::regex ref(r_ef)
filelist
print ("Checking files %s..." % fullfile)
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
static unsigned int getDrawerIdx(unsigned int ros, unsigned int drawer)
Returns a drawer hash.
static const unsigned int MAX_CHAN
Number of channels in drawer.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
int ADCmax() const
Returns the maximum ADC output (10 bits --> 1023)