![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Class for TileCal monitoring at channel level.
More...
#include <TileRawChannelMonTool.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...
|
|
|
| TileRawChannelMonTool (const std::string &type, const std::string &name, const IInterface *parent) |
|
virtual | ~TileRawChannelMonTool () |
|
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) |
|
void | ratioErrorBar (TH1S *hist, double &xmin, double &xmax, double mean) |
|
void | rangeErrorBar (double &xmin, double &max, double mean) |
|
void | bookDsp (int ros, int drawer) |
|
StatusCode | fillDsp (std::map< int, std::vector< double > > &efitMap, std::map< int, std::vector< double > > &tfitMap) |
|
StatusCode | finalDsp (int ros, int drawer) |
|
void | drawDsp (int ros, int drawer, const std::string &moduleName) |
|
void | drawOptFilt (int ros, int drawer, const std::string &moduleName) |
|
TF1 * | GetTimeFitFunc (TH2S *hist2d) |
| Time Slope parameters for CIS runs. More...
|
|
void | LaserFancyPlotting (int ros, int drawer, int maxgain, const std::string &moduleName) |
|
virtual StatusCode | regHist (TH1 *h, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram. More...
|
|
virtual StatusCode | regHist (TH1 *h, const MonGroup &group) |
| Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram. More...
|
|
virtual StatusCode | regHist (LWHist *h, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Support for lightweight histograms: More...
|
|
virtual StatusCode | regHist (LWHist *h, const MonGroup &group) |
|
virtual StatusCode | 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 | convertLWHists () |
| Deal with the LW histograms. 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 | getHist (LWHist *&h, const std::string &hName, const std::string &system, Interval_t interval) |
|
virtual StatusCode | getHist (LWHist *&h, const std::string &hName, const MonGroup &group) |
|
virtual StatusCode | regEfficiency (TEfficiency *e, const MonGroup &group) |
| Registers a TEfficiency to be included in the output stream using logical parameters that describe the plot. More...
|
|
virtual StatusCode | regTree (TTree *t, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TTree to be included in the output stream using logical parameters that describe it. More...
|
|
virtual StatusCode | regTree (TTree *t, const MonGroup &group) |
| Registers a TTree to be included in the output stream using logical parameters that describe it. More...
|
|
virtual StatusCode | deregHist (LWHist *h) |
|
virtual StatusCode | deregHist (TH1 *h) |
| De-registers a TH1 from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | writeAndDelete (TH1 *h, const MonGroup &group) |
| Write out histogram and delete it. More...
|
|
virtual StatusCode | deregGraph (TGraph *g) |
| De-registers a TGraph from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const std::string &system, Interval_t interval) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const MonGroup &group) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | setupOutputStreams (std::vector< std::string > Mapping=std::vector< std::string >()) |
| This implementation does nothing—streams in this class should be managed by the AthenaMonManager. More...
|
|
virtual StatusCode | runStat () |
| This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ). More...
|
|
virtual 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 (std::string dir, std::string nam, std::string tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, std::string trigChain="", 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 (std::string dir, std::string nam, std::string tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, std::string trigChain="", std::string mergeAlgo="") |
|
TH1F * | book1F (std::string dir, std::string nam, std::string tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, std::string trigChain="", std::string mergeAlgo="") |
|
TH1I * | book1I (std::string dir, std::string nam, std::string tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, std::string trigChain="", std::string mergeAlgo="") |
|
TH1S * | book1S (std::string dir, std::string nam, std::string tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, std::string trigChain="", std::string mergeAlgo="") |
|
TH1S * | book1Sx (std::string dir, std::string nam, std::string tit, int nx, const Double_t *xlgbins, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, std::string trigChain="", std::string mergeAlgo="") |
|
TH1C * | book1C (std::string dir, std::string nam, std::string tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, std::string trigChain="", std::string mergeAlgo="") |
|
TH2F * | book2F (std::string dir, std::string nam, std::string tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, std::string trigChain="", std::string mergeAlgo="") |
|
TH2F * | book2F (std::string dir, std::string nam, std::string tit, int nx, double xmin, double xmax, int ny, const double *ybins, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, std::string trigChain="", std::string mergeAlgo="") |
|
TH2I * | book2I (std::string dir, std::string nam, std::string tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, std::string trigChain="", std::string mergeAlgo="") |
|
TH2S * | book2S (std::string dir, std::string nam, std::string tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, std::string trigChain="", std::string mergeAlgo="") |
|
TH2C * | book2C (std::string dir, std::string nam, std::string tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, std::string trigChain="", std::string mergeAlgo="") |
|
TProfile * | bookProfile (std::string dir, std::string nam, std::string tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, std::string trigChain="", std::string mergeAlgo="") |
|
TProfile * | bookProfile (std::string dir, std::string nam, std::string tit, int nx, double xmin, double xmax, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, std::string trigChain="", std::string mergeAlgo="") |
|
TProfile * | bookProfile (std::string dir, std::string nam, std::string tit, int nx, const float *xbins, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, std::string trigChain="", std::string mergeAlgo="") |
|
TProfile2D * | bookProfile2D (std::string dir, std::string nam, 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, std::string trigChain="", 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) |
|
TH1I_LW * | book1ILW (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, std::string trigChain="", std::string mergeAlgo="") |
|
TH2I_LW * | book2ILW (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, std::string trigChain="", std::string mergeAlgo="") |
|
TProfile_LW * | bookProfileLW (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, std::string trigChain="", std::string mergeAlgo="") |
|
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...
|
|
virtual StatusCode | regHist (LWHist *h, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Support for lightweight histograms: More...
|
|
virtual StatusCode | regHist (LWHist *h, const MonGroup &group) |
|
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 | regManagedLWHistograms (std::vector< MgmtParams< LWHist > > &templateLWHistograms) |
|
StatusCode | regManagedEfficiencies (std::vector< MgmtParams< TEfficiency > > &templateEfficiencies) |
|
StatusCode | parseList (const std::string &, std::vector< std::string > &) |
|
void | updateTriggersForGroups (std::vector< std::string > &) |
|
StatusCode | registerMetadata (const std::string &streamName, const std::string &hName, const MonGroup &group) |
|
StatusCode | THistSvc_deReg_fixTGraph (TFile *file, TGraph *theGraph, std::string &directoryName) |
| Fixes THistSvc->deReg(obj) when obj is TGraph instance. More...
|
|
unsigned int | get_nEvents () const |
|
long | get_procNEventsProp () const |
|
virtual bool | trigChainsArePassed (std::vector< std::string > &) |
|
virtual StreamNameFcn * | getNewStreamNameFcn () const |
|
bool | newLowStatIntervalFlag () const |
| Flag functions allowing clients to determine when to book new and process old histograms; values are updated by fillHists() based on counting lumiBlocks, and are correctly set when fillHistograms(), bookHistograms() and procHistograms() are called. More...
|
|
bool | newMedStatIntervalFlag () const |
|
bool | newHigStatIntervalFlag () const |
|
bool | newLowStatFlag () const |
|
bool | newLumiBlockFlag () const |
|
bool | newRunFlag () const |
|
bool | newEventsBlockFlag () const |
|
bool | endOfEventsBlockFlag () const |
|
bool | endOfLowStatFlag () const |
|
bool | endOfLumiBlockFlag () const |
|
bool | endOfRunFlag () const |
|
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution More...
|
|
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
|
void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. More...
|
|
|
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< LWHist > > > | m_templateLWHistograms |
|
std::map< Interval_t, std::vector< MgmtParams< TEfficiency > > > | m_templateEfficiencies |
|
std::vector< std::string > | m_vTrigChainNames |
|
std::vector< std::string > | m_vTrigGroupNames |
|
MDMap_t | m_metadataMap |
|
std::set< LWHist * > | m_lwhists |
|
AthenaMonManager * | m_manager |
|
std::string | m_managerNameProp |
|
std::string | m_fileKey |
|
std::string | m_dataTypeStr |
|
std::string | m_environmentStr |
|
unsigned int | m_detailLevel |
|
AthenaMonManager::DataType_t | m_dataType |
|
AthenaMonManager::Environment_t | m_environment |
|
StreamNameFcn * | m_streamNameFcn |
|
ServiceHandle< ITHistSvc > | m_THistSvc |
|
PublicToolHandle< Trig::ITrigDecisionTool > | m_trigDecTool {this, "TrigDecisionTool",""} |
|
PublicToolHandle< ITriggerTranslatorTool > | m_trigTranslator {this,"TriggerTranslatorTool",""} |
|
ToolHandleArray< IDQFilterTool > | m_DQFilterTools {this,"FilterTools",{}} |
|
long | m_procNEventsProp |
|
std::string | m_path |
|
long | m_preScaleProp |
|
std::string | m_triggerChainProp |
|
std::string | m_triggerGroupProp |
|
bool | m_useTrigger |
|
unsigned int | m_lastLumiBlock |
|
unsigned int | m_lastRun |
|
int | m_lastLowStatInterval |
|
int | m_lastMedStatInterval |
|
int | m_lastHigStatInterval |
|
unsigned int | m_nEvents |
|
unsigned int | m_nEventsIgnoreTrigger |
|
unsigned int | m_nLumiBlocks |
|
bool | m_haveClearedLastEventBlock |
|
|
enum | RunType {
Unknown = 0,
PhysRun = 1,
LasRun = 2,
LedRun = 3,
PedRun = 4,
CisRun = 8,
MonoRun = 9,
CisRamp = 10
} |
|
enum | DspPlot {
Edsp = 0,
Tdsp = 1,
chi2dsp = 2,
Edsp_fit = 3,
Tdsp_fit = 4
} |
|
enum | sumDspPlot { sumEdsp_fit = 0,
sumTdsp_fit = 1,
sumEdsp = 2,
NsumDsp = 3
} |
|
typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
|
|
bool | m_bookAll {} |
|
bool | m_book2D {} |
|
bool | m_overlaphists {} |
|
int | m_runType {} |
|
std::string | m_contName |
|
std::string | m_contNameDSP |
|
std::string | m_contNameOF |
|
double | m_DownLimit {} |
|
double | m_UpLimit {} |
|
double | m_lo_IntegralLimit {} |
|
double | m_med_IntegralLimit {} |
|
double | m_hi_IntegralLimit {} |
|
bool | m_useratioerror {} |
|
bool | m_plotDsp {} |
|
bool | m_storeGraph {} |
|
std::map< int, std::vector< double > > | m_efitMap |
|
std::map< int, std::vector< double > > | m_tfitMap |
|
ToolHandle< TileCondToolEmscale > | m_tileToolEmscale |
|
double | m_efitThresh {} |
|
bool | m_corrup [5][64][2][16] ={} |
|
const uint32_t * | m_cispar |
|
bool | m_bigain {} |
|
int | m_nEventsTileMon {} |
|
std::unique_ptr< Data > | m_data |
|
TileRawChannelUnit::UNIT | m_calibUnit {} |
|
int | m_summaryUpdateFrequency {} |
|
bool | m_resetAfterSummaryUpdate {} |
|
bool | m_doLaserSummaryVsPMT {} |
|
bool | m_drawHists {} |
|
float | m_minAmpForCorrectedTime {} |
|
std::string | m_infoName {} |
|
const TileInfo * | m_tileInfo {} |
|
bool | m_is12bit {} |
|
SG::ReadHandleKey< TileDQstatus > | m_DQstatusKey |
|
int | m_intCalibUnit {} |
|
double | m_dac2Charge [3] ={} |
|
bool | m_newLowStatInterval |
|
bool | m_newMedStatInterval |
|
bool | m_newHigStatInterval |
|
bool | m_newLowStat |
|
bool | m_newLumiBlock |
|
bool | m_newRun |
|
bool | m_newEventsBlock |
|
bool | m_endOfEventsBlock |
|
bool | m_endOfLowStat |
|
bool | m_endOfLumiBlock |
|
bool | m_endOfRun |
|
SG::ReadCondHandleKey< LuminosityCondData > | m_lumiDataKey {this,"LuminosityCondDataKey","LuminosityCondData","SG Key of LuminosityCondData object"} |
|
SG::ReadCondHandleKey< LBDurationCondData > | m_lbDurationDataKey {this,"LBDurationCondDataKey","LBDurationCondData","SG Key of LBDurationCondData object"} |
|
SG::ReadCondHandleKey< TrigLiveFractionCondData > | m_trigLiveFractionDataKey {this,"TrigLiveFractionCondDataKey","TrigLiveFractionCondData","SG Key of TrigLiveFractionCondData object"} |
|
bool | m_bookHistogramsInitial |
|
bool | m_useLumi |
|
float | m_defaultLBDuration |
|
std::set< Interval_t > | m_supportedIntervalsForRebooking |
|
Imp * | m_d |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Class for TileCal monitoring at channel level.
Definition at line 34 of file TileRawChannelMonTool.h.
◆ MDMap_t
◆ StoreGateSvc_t
◆ DspPlot
◆ Interval_t
An enumeration describing how detailed a particular monitoring object is.
summary: used to summarize the state of the system
runstat: same as summary
shift: used to flag potential problems
expert: essential for diagnosing problems identified by shift-level objects
debug: useful for standalone debugging, but not for routine monitoring; not essential for diagnosing problems during normal running
transient: too detailed to ever be written; always summarized by the user by means of another object An enumeration describing the interval over which a particular monitoring object is filled (i.e., interval over which the method Fill(...) is called). This information may be stored with the monitoring object if an application is only able to partially fill the object (i.e., a job sees only part of a run or fill). This information may be ignored in some running Environments. The 'fill' interval corresponds to a fill of the LHC. The 'all' interval corresponds to all available data. The 'lumiBlock' and 'fill' intervals are only valid for the 'collisions' DataType_t.
Enumerator |
---|
file | |
eventsBlock | |
lumiBlock | |
lowStat | |
medStat | |
higStat | |
run | |
fill | |
all | |
Definition at line 114 of file ManagedMonitorToolBase.h.
◆ MgmtAttr_t
An enumeration describing how the class handles the histogram.
attrib_unmanaged: histograms with this attribute will not be rebooked automatically and must be managed by the user code.
attrib_x_is_lb: indicates that the x-axis of the histogram is the luminosity block number and that the histogram should be rebooked as necessary if the current LB exceeds the range.
Enumerator |
---|
ATTRIB_MANAGED | |
ATTRIB_UNMANAGED | |
ATTRIB_X_VS_LB | |
Definition at line 131 of file ManagedMonitorToolBase.h.
◆ RunType
◆ sumDspPlot
◆ TileFragStatus
Enumerator |
---|
ALL_OK | |
CRC_ERR | |
ALL_FF | |
ALL_00 | |
NO_FRAG | |
NO_ROB | |
Definition at line 65 of file TilePaterMonTool.h.
◆ TileRawChannelMonTool()
TileRawChannelMonTool::TileRawChannelMonTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~TileRawChannelMonTool()
TileRawChannelMonTool::~TileRawChannelMonTool |
( |
| ) |
|
|
virtual |
◆ book1C()
TH1C * TilePaterMonTool::book1C |
( |
std::string |
dir, |
|
|
std::string |
nam, |
|
|
std::string |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book1D() [1/2]
TH1D* TilePaterMonTool::book1D |
( |
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax |
|
) |
| |
|
inlineprotectedinherited |
◆ book1D() [2/2]
TH1D * TilePaterMonTool::book1D |
( |
std::string |
dir, |
|
|
std::string |
nam, |
|
|
std::string |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book1F()
TH1F * TilePaterMonTool::book1F |
( |
std::string |
dir, |
|
|
std::string |
nam, |
|
|
std::string |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book1I()
TH1I * TilePaterMonTool::book1I |
( |
std::string |
dir, |
|
|
std::string |
nam, |
|
|
std::string |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book1ILW()
◆ book1S()
TH1S * TilePaterMonTool::book1S |
( |
std::string |
dir, |
|
|
std::string |
nam, |
|
|
std::string |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book1Sx()
TH1S * TilePaterMonTool::book1Sx |
( |
std::string |
dir, |
|
|
std::string |
nam, |
|
|
std::string |
tit, |
|
|
int |
nx, |
|
|
const Double_t * |
xlgbins, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2C()
TH2C * TilePaterMonTool::book2C |
( |
std::string |
dir, |
|
|
std::string |
nam, |
|
|
std::string |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2D() [1/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 |
◆ book2D() [2/2]
TH2D * TilePaterMonTool::book2D |
( |
std::string |
dir, |
|
|
std::string |
nam, |
|
|
std::string |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2F() [1/2]
TH2F * TilePaterMonTool::book2F |
( |
std::string |
dir, |
|
|
std::string |
nam, |
|
|
std::string |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
const double * |
ybins, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2F() [2/2]
TH2F * TilePaterMonTool::book2F |
( |
std::string |
dir, |
|
|
std::string |
nam, |
|
|
std::string |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2I()
TH2I * TilePaterMonTool::book2I |
( |
std::string |
dir, |
|
|
std::string |
nam, |
|
|
std::string |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2ILW()
TH2I_LW * TilePaterMonTool::book2ILW |
( |
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 , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2S()
TH2S * TilePaterMonTool::book2S |
( |
std::string |
dir, |
|
|
std::string |
nam, |
|
|
std::string |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ bookDsp()
void TileRawChannelMonTool::bookDsp |
( |
int |
ros, |
|
|
int |
drawer |
|
) |
| |
Definition at line 360 of file TileRawChannelMonTool.cxx.
363 const char *
gain[6] = {
"_lo",
"_hi",
"",
" low gain",
" high gain",
"" };
366 std::ostringstream sStr;
369 std::string subDir = moduleName;
379 for (
int gn = mingain;
gn < maxgain; ++
gn) {
380 std::string finalsubDir =
"Summary";
382 sStr << moduleName <<
gain[
gn] <<
"_summary_chi2_amp";
383 std::string finalhistName = sStr.str();
386 sStr << moduleName <<
gain[3 +
gn] <<
" Summary chi2 versus amp";
387 std::string finalhistTitle = sStr.str();
391 m_data->m_finalHistDsp2[
ros][
drawer][
gn].push_back(
book2F(finalsubDir, finalhistName, finalhistTitle, 200, -45.1, 855.1, 16, 0., 16.));
394 m_data->m_finalHistDsp2[
ros][
drawer][
gn].push_back(
book2F(finalsubDir, finalhistName, finalhistTitle, 150, -7.0, 12.0, 16, 0., 16.));
398 m_data->m_finalHistDsp2[
ros][
drawer][
gn & 1].push_back(
book2F(subDir, finalhistName, finalhistTitle, 150, -7.005, 7.005, 16, 0., 16.));
401 m_data->m_finalHistDsp2[
ros][
drawer][
gn & 1].push_back(
book2F(subDir, finalhistName, finalhistTitle, 200, -45.1, 855.1, 16, 0., 16.));
407 for (
int ch = 0;
ch < 48; ++
ch) {
413 sStr << std::setfill(
'0') << std::setw(2) <<
ch << std::setfill(
' ');
414 std::string sCh = sStr.str();
416 for (
int gn = mingain;
gn < maxgain; ++
gn) {
419 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_dsp_amp";
423 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" Dsp Amp";
424 histTitle = sStr.str();
442 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_dsp_time";
446 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" Dsp Time";
447 histTitle = sStr.str();
452 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_dsp_chi2";
456 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" Dsp Chi2";
457 histTitle = sStr.str();
462 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_dsp-fit_amp_diff";
466 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" Dsp-OF Amp difference";
467 histTitle = sStr.str();
469 auto ix = (
gn < 2) ?
gn : (
gn & 1);
473 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_dsp-fit_time_diff";
477 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" Dsp-OF Time diff";
478 histTitle = sStr.str();
483 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_chi2_amp";
487 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" Dsp Chi2 versus Amp";
488 histTitle = sStr.str();
◆ 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 515 of file TilePaterMonTool.cxx.
520 TGraphAsymmErrors *
hist =
new TGraphAsymmErrors(
N,
X,
Y, X_errors1, X_errors2, Y_errors1, Y_errors2);
521 hist->SetName(TString(nam));
525 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 458 of file TilePaterMonTool.cxx.
460 TGraphErrors *
hist =
new TGraphErrors(
N,
X,
Y, X_errors, Y_errors);
461 hist->SetName(TString(nam));
465 return (TGraphErrors *)
hist;
◆ bookHistograms()
StatusCode ManagedMonitorToolBase::bookHistograms |
( |
| ) |
|
|
virtualinherited |
An inheriting class should either override this function or bookHists().
Reimplemented in SCTHitEffMonTool, SCTHitsNoiseMonTool, SCTErrMonTool, SCTTracksMonTool, SCTLorentzMonTool, photonMonTool, egammaMonToolBase, electronMonTool, MuonPhysValMonitoring::MuonPhysValMonitoringTool, LArCellMonTool, AFPHitsMonitorTool, MuonDQA::MuonEventInfoMonTool, DQTDataFlowMonTool, TileCalCellMonTool, ActsTrk::PhysValTool, PhysValSecVtx, LUCID_HitsMoniTool, ZeeTaPMonTool, forwardElectronMonTool, DQTNonCollBkg_ZDC, TRT_Electron_Monitoring_Tool, InDetGlobalTrackMonTool, CscCalibMonToolBase, JetTagMonitoring, InDetPhysValMonitoringTool, EgammaPhysValMonitoring::EgammaPhysValMonitoringTool, InDetGlobalSynchMonTool, MissingEtDQA::PhysValMET, CaloTowerVecMon, JetTagDQA::PhysValBTag, CscCalibMonToolSlope, METMonTool, DQTGlobalWZFinderTool, CSCSegmValAlg, PhysVal::PhysValExample, TopPhysVal::TopPhysValMonitoring, DataQualityFatherMonTool, CscCalibMonToolPed, ZeeValidation::ZeeValidationMonitoringTool, CaloClusterVecMon, CaloTransverseBalanceVecMon, DQTDetSynchMonTool, InDetTrackPerfMonTool, IDPerfMonWenu, IDPerfMonZee, TrackCaloClusterRecValidationTool, DQTMuonIDTrackTool, InDetGlobalPixelTool, JetMonitoringTool, TileCellNoiseMonTool, CscClusterValAlg, PhysValTau, PhysValFE, AFPTechnicalMonitorTool, ManagedMonitorToolTest, DiMuMon, InDetVertexMonitoring, CscPrdValAlg, CscRdoValAlg, HIMonitoringEventShapeTool, IDPerfMonKshort, HIMonitoringZdcTool, HIMonitoringElectronsTool, HIMonitoringPhotonsTool, PhysValCluster, and HIMonitoringMuonsTool.
Definition at line 1406 of file ManagedMonitorToolBase.cxx.
1410 return StatusCode::SUCCESS;
◆ bookHistogramsRecurrent()
StatusCode ManagedMonitorToolBase::bookHistogramsRecurrent |
( |
| ) |
|
|
virtualinherited |
An inheriting class should either override this function, bookHists() or bookHistograms().
Reimplemented in SCTHitEffMonTool, SCTHitsNoiseMonTool, SCTErrMonTool, SCTTracksMonTool, SCTLorentzMonTool, AFPHitsMonitorTool, InDetGlobalBCMTool, DQTDataFlowMonTool, RpcLv1RawDataEfficiency, LVL1::CalorimeterL1CaloMon, LVL1::L1CaloCTPMon, LVL1::L1CaloLevel2Mon, LVL1::L1CaloPMTScoresMon, MdtRawDataValAlg, InDetGlobalTrackMonTool, InDetGlobalHitsMonTool, TRT_Monitoring_Tool, LVL1::L1CaloL1TopoMon, CaloTowerVecMon, DQTGlobalWZFinderTool, InDetGlobalTopBottomMonTool, DataQualityFatherMonTool, InDetGlobalNoiseOccupancyMonTool, RpcLv1RawDataValAlg, CaloClusterVecMon, RpcLv1RawDataSectorLogic, CaloTransverseBalanceVecMon, InDetGlobalBeamSpotMonTool, MdtVsTgcRawDataValAlg, MdtVsRpcRawDataValAlg, InDetGlobalErrorMonTool, ManagedMonitorToolTest, InDetGlobalPrimaryVertexMonTool, HIMonitoringEventShapeTool, AFPTechnicalMonitorTool, HIMonitoringZdcTool, HIMonitoringElectronsTool, HIMonitoringPhotonsTool, and HIMonitoringMuonsTool.
Definition at line 1394 of file ManagedMonitorToolBase.cxx.
1401 return StatusCode::SUCCESS;
◆ bookHists() [1/2]
StatusCode TileRawChannelMonTool::bookHists |
( |
| ) |
|
|
overridevirtual |
◆ bookHists() [2/2]
void TileRawChannelMonTool::bookHists |
( |
int |
ros, |
|
|
int |
drawer |
|
) |
| |
Definition at line 178 of file TileRawChannelMonTool.cxx.
181 const char *
gain[6] = {
"_lo",
"_hi",
"",
" low gain",
" high gain",
"" };
183 std::ostringstream sStr;
185 std::string subDir = moduleName;
195 for (
int ch = 0;
ch < 48; ++
ch) {
200 sStr << std::setfill(
'0') << std::setw(2) <<
ch << std::setfill(
' ');
202 std::string sCh = sStr.str();
204 for (
int gn = mingain;
gn < maxgain; ++
gn) {
208 std::string HistName[4] = {
"_amp_ratio_100",
"_amp_ratio_5",
"_time_100",
"_time_5" };
209 std::string HistTitle[4] = {
" amp to charge ratio for 100 pF",
" amp to charge ratio for 5 pF",
" time for 100 pF",
" time for 5 pF" };
213 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] << HistName[
type];
217 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] << HistTitle[
type];
218 histTitle = sStr.str();
227 std::string Hist2DName[4] = {
"_amp_vs_q_100",
"_amp_vs_q_5",
"_time_vs_time_100",
"_time_vs_time_5" };
228 std::string Hist2DTitle[4] = {
" amp vs charge 100 pF",
" amp vs charge 5 pF",
" time vs time 100 pF",
" time vs time 5 pF" };
229 float factor_charge =
m_is12bit ? 2. : 1.;
232 float LowX_low2D[4] = { -4., -0.5, -0.25, -0.25 };
233 float HighX_low2D[4] = { 804., 50.5, 25.25, 25.25 };
234 float LowX_hi2D[4] = {
static_cast<float>(-0.0625 * factor_charge),
static_cast<float>(-0.0625 * factor_charge), -0.25, -0.25 };
235 float HighX_hi2D[4] = {
static_cast<float>(12.5625 * factor_charge),
static_cast<float>(12.5625 * factor_charge), 25.25, 25.25 };
236 float LowY_low2D[4] = { -25., -5.3125, -64.0, -64.0 };
237 float HighY_low2D[4] = { 1025., 60.3125, 32.0, 32.0 };
238 float LowY_hi2D[4] = {
static_cast<float>(-25. * factor_adc),
static_cast<float>(-25. * factor_adc), -64.0, -64.0 };
239 float HighY_hi2D[4] = {
static_cast<float>(1025. * factor_adc),
static_cast<float>(1025. * factor_adc), 32.0, 32.0 };
240 float LowY_hi2D_pC[4] = {
static_cast<float>(-.391 * factor_adc),
static_cast<float>(-.391 * factor_adc), -64.0, -64.0 };
241 float HighY_hi2D_pC[4] = {
static_cast<float>(16.02 * factor_adc),
static_cast<float>(16.02 * factor_adc), 32.0, 32.0 };
246 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] << Hist2DName[
type];
250 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] << Hist2DTitle[
type];
251 histTitle = sStr.str();
280 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_amp";
284 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" amp";
285 histTitle = sStr.str();
302 const Int_t nlg1 = 49;
303 const Int_t nlg2 = 500;
304 const Int_t nlg3 = 1027;
305 Double_t xlgbin[nlg1 + nlg2 + nlg3 + 1];
306 for(Int_t
i = 0;
i <= nlg1; ++
i)
307 xlgbin[
i] = -50.5+1.0*
i;
308 for(Int_t
i = 1;
i <= nlg2; ++
i)
309 xlgbin[
i + nlg1] = -1.5 + 0.05 *
i;
310 for(Int_t
i = 1;
i <= nlg3; ++
i)
311 xlgbin[
i + nlg1 + nlg2] = 23.5 + 1.0 *
i;
333 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_time";
337 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" time";
338 histTitle = sStr.str();
343 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_time_corr";
347 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" time_corr";
348 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 |
( |
std::string |
dir, |
|
|
std::string |
nam, |
|
|
std::string |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ bookProfile() [3/3]
TProfile * TilePaterMonTool::bookProfile |
( |
std::string |
dir, |
|
|
std::string |
nam, |
|
|
std::string |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ bookProfile2D()
TProfile2D * TilePaterMonTool::bookProfile2D |
( |
std::string |
dir, |
|
|
std::string |
nam, |
|
|
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 , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ bookProfileLW()
TProfile_LW * TilePaterMonTool::bookProfileLW |
( |
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 , |
|
|
std::string |
trigChain = "" , |
|
|
std::string |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ bookSummaryHistograms()
void TileRawChannelMonTool::bookSummaryHistograms |
( |
int |
ros, |
|
|
int |
drawer |
|
) |
| |
|
private |
Definition at line 901 of file TileRawChannelMonTool.cxx.
906 const char *
gain[6] = {
"_lo",
"_hi",
"",
" low gain",
" high gain",
"" };
913 std::ostringstream sStr;
917 const char *HistName[6] = {
"_tslope",
"_toffset",
"_qratio",
" Time slope",
" Time offset",
" Amp/Q ratio" };
918 const char *CapName[4] = {
"_100",
"_5",
" 100 pF",
" 5 pF" };
922 std::string subDir =
"Summary";
925 for (
int gn = mingain;
gn < maxgain; ++
gn) {
927 for (
int cap = 0; cap < 2; ++cap) {
931 sStr << moduleName <<
gain[
gn] << HistName[
type] << CapName[cap];
934 sStr << moduleName <<
gain[3 +
gn] << HistName[3 +
type] << CapName[2 + cap];
935 histTitle = sStr.str();
942 const char *HistName[10] = {
"_amp",
"_rms",
"_sigma",
"_time",
"_time_corr",
" Amplitude",
" RMS of amplitude",
" Sigma amp from Gaussian fit",
943 " Average time and RMS",
" Average time corr. and RMS" };
947 std::string subDir =
"Summary";
950 for (
int gn = mingain;
gn < maxgain; ++
gn) {
958 sStr << moduleName <<
gain[
gn] << HistName[
type];
962 sStr << moduleName <<
gain[3 +
gn] << HistName[5 +
type];
963 histTitle = sStr.str();
966 std::string hTitle(histTitle);
970 hTitle +=
" (Even PMTs)";
977 hTitle +=
" (Odd PMTs)";
983 if (ros < 3 && m_data->m_summaryPmts[0][
drawer][
adc][0].
size() < (
unsigned int)(
type + 1)) {
986 histTitle.replace(histTitle.begin(), histTitle.begin() + 3,
"LB");
989 hTitle +=
" (LBA even PMTs + LBC odd PMTs: negative)";
996 hTitle +=
" (LBA odd PMTs + LBC even PMTs: negative)";
◆ checkDmuHeader()
bool TileRawChannelMonTool::checkDmuHeader |
( |
std::vector< uint32_t > * |
headerVec, |
|
|
int |
dmu |
|
) |
| |
|
private |
The following three functions are implemented to filter data corruption, copied from TileDigitsMonTool.h.
Function to check for data corruption. Modified from TileDigitsMonTool implementation
Definition at line 1942 of file TileRawChannelMonTool.cxx.
1955 if (((*headerVec)[dmu] >> 25) & 0
x1) {
1960 if (((*headerVec)[dmu] >> 24) & 0
x1) {
1965 if (((*headerVec)[dmu] >> 23) & 0
x1) {
◆ checkDmuHeaderFormat()
bool TileRawChannelMonTool::checkDmuHeaderFormat |
( |
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 the case of error.
Definition at line 103 of file TileRawChannelMonTool.h.
◆ checkDmuHeaderParity()
bool TileRawChannelMonTool::checkDmuHeaderParity |
( |
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 113 of file TileRawChannelMonTool.h.
115 for (
int i = 0;
i < 32; ++
i)
118 if ((parity % 2) == 1)
return false;
◆ checkHists()
StatusCode TileRawChannelMonTool::checkHists |
( |
bool |
calledFromFinalize | ) |
|
|
overridevirtual |
This implementation does nothing; equivalent functionality may be provided by procHists(...) with appropriate arguments.
Reimplemented from ManagedMonitorToolBase.
Definition at line 1419 of file TileRawChannelMonTool.cxx.
1425 return StatusCode::SUCCESS;
◆ convertLWHists()
StatusCode ManagedMonitorToolBase::convertLWHists |
( |
| ) |
|
|
virtualinherited |
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ deregGraph()
StatusCode ManagedMonitorToolBase::deregGraph |
( |
TGraph * |
g | ) |
|
|
virtualinherited |
◆ deregHist() [1/2]
StatusCode ManagedMonitorToolBase::deregHist |
( |
LWHist * |
h | ) |
|
|
virtualinherited |
Definition at line 1826 of file ManagedMonitorToolBase.cxx.
1830 return StatusCode::FAILURE;
1833 if (
h->usingROOTBackend()) {
1834 h->setOwnsROOTHisto(
true);
1838 return StatusCode::SUCCESS;
◆ deregHist() [2/2]
StatusCode ManagedMonitorToolBase::deregHist |
( |
TH1 * |
h | ) |
|
|
virtualinherited |
◆ deregObject() [1/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1861 of file ManagedMonitorToolBase.cxx.
1874 return StatusCode::SUCCESS;
◆ deregObject() [2/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1851 of file ManagedMonitorToolBase.cxx.
◆ detStore()
◆ drawDsp()
void TileRawChannelMonTool::drawDsp |
( |
int |
ros, |
|
|
int |
drawer, |
|
|
const std::string & |
moduleName |
|
) |
| |
Definition at line 1709 of file TileRawChannelMonTool.cxx.
1717 TCanvas * Can = NULL;
1719 Can =
new TCanvas(
"dsp_amp",
"dsp_amp", 402 * maxgain, 588);
1720 Can->Divide(maxgain, 3);
1721 gStyle->SetOptStat(0);
1722 gStyle->SetTitleFontSize(0.1);
1725 TLine
line(0., 0., 48., 0.);
1726 line.SetLineColor(3);
1728 double maxy[6] = { 0.05, 0.05, 0.5, 0.5, 10.0, 10.0 };
1729 double miny[6] = { -0.05, -0.05, -0.5, -0.5, -0.05, -0.05 };
1730 double norm[2] = { 1., 1 };
1731 for (
int adc = 0;
adc < maxgain; ++
adc) {
1742 pad = Can->cd(
adc + 1);
1743 pad->SetTopMargin(0.15);
1770 pad = Can->cd(maxgain +
adc + 1);
1771 pad->SetTopMargin(0.15);
1797 pad = Can->cd(2 * maxgain +
adc + 1);
1798 pad->SetTopMargin(0.15);
1804 if (minchidsp > miny[4 +
adc] + 0.1 * TMath::Abs(miny[4 +
adc]))
m_data->m_finalHistDsp2[
ros][
drawer][
adc][0]->SetMinimum(miny[4 +
adc]);
1809 gStyle->SetPalette(1);
1816 Can->Print(TString(moduleName +
"_dsp_amp.png"),
"png");
1819 Can->Print(TString(moduleName +
"_dsp_amp.ps"),
"ps");
1822 Can->Print(TString(moduleName +
"_dsp_amp.svg"),
"svg");
1824 if (do_plots)
delete Can;
1826 for (
int adc = 0;
adc < maxgain; ++
adc) {
◆ drawHists()
void TileRawChannelMonTool::drawHists |
( |
int |
ros, |
|
|
int |
drawer, |
|
|
const std::string & |
moduleName |
|
) |
| |
Definition at line 1429 of file TileRawChannelMonTool.cxx.
1444 for (
int i = 0;
i < 48;
i++) {
1445 X_axis[
i] =
i + 0.5;
1449 const char *
gain[6] = {
"_lo",
"_hi",
"",
" low gain",
" high gain",
"" };
1450 const char *CapName[4] = {
"_100",
"_5",
" 100 pF",
" 5 pF" };
1458 TCanvas * Can = NULL;
1460 Can =
new TCanvas(
"amp_ratio",
"amp_ratio", 402 * maxgain, 588);
1461 Can->Divide(maxgain, 2);
1462 gStyle->SetOptStat(0);
1463 gStyle->SetTitleFontSize(0.1);
1466 TLine
line(0., 1., 48., 1.);
1467 line.SetLineColor(3);
1469 std::string subDir =
"Summary";
1470 std::vector<TGraphAsymmErrors*> grapherrVec;
1472 for (
int adc = 0;
adc < maxgain; ++
adc) {
1473 for (
int cap = 0; cap < 2; ++cap) {
1475 std::ostringstream sStr;
1476 sStr << moduleName <<
gain[
adc] <<
"_tails" << CapName[cap];
1477 std::string graphName = sStr.str();
1479 sStr << moduleName <<
gain[
adc + 3] <<
" Mean Amp/Q ratio and up/down tails " << CapName[2 + cap];
1480 std::string graphTitle = sStr.str();
1484 pad = Can->cd(cap * maxgain +
adc + 1);
1485 pad->SetTopMargin(0.15);
1489 TGraphAsymmErrors * final_Egraph =
bookGraphAsymmErrors(subDir, graphName, graphTitle, 48, X_axis,
m_data->m_rangeQ[
adc][cap][0], X_errors, X_errors,
1491 grapherrVec.push_back(final_Egraph);
1502 final_Egraph->SetMarkerStyle(21);
1503 final_Egraph->SetMarkerSize(
ms);
1504 final_Egraph->SetMaximum(2.2);
1505 final_Egraph->SetMinimum(-0.2);
1506 final_Egraph->GetXaxis()->SetRangeUser(0, 48);
1508 final_Egraph->Draw(
"P0");
1516 Can->Print(TString(moduleName +
"_amp_ratio.png"),
"png");
1519 Can->Print(TString(moduleName +
"_amp_ratio.ps"),
"ps");
1522 Can->Print(TString(moduleName +
"_amp_ratio.svg"),
"svg");
1524 if (do_plots)
delete Can;
1528 std::vector<TGraphAsymmErrors*>::const_iterator
it = grapherrVec.begin();
1529 std::vector<TGraphAsymmErrors *>::const_iterator itend = grapherrVec.end();
1530 for (;
it != itend; ++
it) {
1536 Can =
new TCanvas(
"fit_time",
"fit_time", 402 * maxgain, 588);
1537 Can->Divide(maxgain, 4);
1538 gStyle->SetOptStat(0);
1539 gStyle->SetTitleFontSize(0.1);
1542 double maxy[2] = { 1.4, 15.0 };
1543 double miny[2] = { -0.1, -15.0 };
1545 for (
int adc = 0;
adc < maxgain; ++
adc) {
1546 for (
int cap = 0; cap < 2; ++cap) {
1551 pad = Can->cd((
type + cap * 2) * maxgain +
adc + 1);
1552 pad->SetTopMargin(0.15);
1568 line.SetLineColor(3);
1576 Can->Print(TString(moduleName +
"_fit_time.png"),
"png");
1579 Can->Print(TString(moduleName +
"_fit_time.ps"),
"ps");
1582 Can->Print(TString(moduleName +
"_fit_time.svg"),
"svg");
1584 if (do_plots)
delete Can;
1591 TCanvas * Can = NULL;
1593 Can =
new TCanvas(
"fit_amp",
"fit_amp", 402 * maxgain, 588);
1594 Can->Divide(maxgain, 3);
1595 gStyle->SetOptStat(0);
1596 gStyle->SetTitleFontSize(0.1);
1599 double maxy[6] = { 1.0, 0.05, 1.0, 0.05, 25.0, 25.0 };
1600 double miny[6] = { -1.0, -0.05, 0.0, 0.0, -25.0, -25.0 };
1602 for (
int adc = 0;
adc < maxgain; ++
adc) {
1615 pad = Can->cd(
adc + 1);
1616 pad->SetTopMargin(0.15);
1632 pad = Can->cd(maxgain +
adc + 1);
1633 pad->SetTopMargin(0.15);
1639 if (max2 < maxy[2 +
adc])
1647 if (min1 > miny[2 +
adc]) {
1648 if (min2 > miny[2 +
adc])
1676 pad = Can->cd(2 * maxgain +
adc + 1);
1677 pad->SetTopMargin(0.15);
1682 if (min3 > (miny[4 +
adc] + 0.1 * TMath::Abs(miny[4 +
adc])))
m_data->m_finalHist1[
ros][
drawer][
adc][0][3]->SetMinimum(miny[4 +
adc]);
1695 Can->Print(TString(moduleName +
"_fit_amp.png"),
"png");
1698 Can->Print(TString(moduleName +
"_fit_amp.ps"),
"ps");
1701 Can->Print(TString(moduleName +
"_fit_amp.svg"),
"svg");
1703 if (do_plots)
delete Can;
◆ drawOptFilt()
void TileRawChannelMonTool::drawOptFilt |
( |
int |
ros, |
|
|
int |
drawer, |
|
|
const std::string & |
moduleName |
|
) |
| |
◆ 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
◆ fillDsp()
StatusCode TileRawChannelMonTool::fillDsp |
( |
std::map< int, std::vector< double > > & |
efitMap, |
|
|
std::map< int, std::vector< double > > & |
tfitMap |
|
) |
| |
Definition at line 797 of file TileRawChannelMonTool.cxx.
811 for (; collItr != lastColl; ++collItr) {
816 if (chItr != lastCh) {
827 for (; chItr != lastCh; ++chItr) {
874 if (
it != efitMap.end()) {
875 double efit = (*it).second.at(
chan +
gain * 48);
877 double tfit = (*it).second.at(
chan +
gain * 48);
894 return StatusCode::SUCCESS;
◆ fillHistograms()
StatusCode ManagedMonitorToolBase::fillHistograms |
( |
| ) |
|
|
virtualinherited |
An inheriting class should either override this function or fillHists().
Reimplemented in SCTHitEffMonTool, SCTHitsNoiseMonTool, SCTErrMonTool, SCTTracksMonTool, SCTLorentzMonTool, photonMonTool, egammaMonToolBase, electronMonTool, MuonPhysValMonitoring::MuonPhysValMonitoringTool, AFPHitsMonitorTool, LArCellMonTool, InDetGlobalBCMTool, MuonDQA::MuonEventInfoMonTool, DQTDataFlowMonTool, TileCalCellMonTool, ActsTrk::PhysValTool, PhysValSecVtx, LUCID_HitsMoniTool, ZeeTaPMonTool, forwardElectronMonTool, RpcLv1RawDataEfficiency, LVL1::CalorimeterL1CaloMon, LVL1::L1CaloCTPMon, LVL1::L1CaloLevel2Mon, LVL1::L1CaloPMTScoresMon, MdtRawDataValAlg, DQTNonCollBkg_ZDC, InDetGlobalTrackMonTool, TRT_Electron_Monitoring_Tool, CscCalibMonToolBase, InDetGlobalHitsMonTool, JetTagMonitoring, InDetPhysValMonitoringTool, EgammaPhysValMonitoring::EgammaPhysValMonitoringTool, TRT_Monitoring_Tool, InDetGlobalSynchMonTool, MissingEtDQA::PhysValMET, METMonTool, CaloTowerVecMon, LVL1::L1CaloL1TopoMon, JetTagDQA::PhysValBTag, DQTGlobalWZFinderTool, InDetGlobalTopBottomMonTool, CSCSegmValAlg, InDetGlobalNoiseOccupancyMonTool, PhysVal::PhysValExample, TopPhysVal::TopPhysValMonitoring, DataQualityFatherMonTool, ZeeValidation::ZeeValidationMonitoringTool, CaloClusterVecMon, RpcLv1RawDataValAlg, CaloTransverseBalanceVecMon, DQTDetSynchMonTool, RpcLv1RawDataSectorLogic, InDetTrackPerfMonTool, DQTMuonIDTrackTool, InDetGlobalBeamSpotMonTool, InDetGlobalPixelTool, IDPerfMonWenu, IDPerfMonZee, TrackCaloClusterRecValidationTool, MdtVsTgcRawDataValAlg, MdtVsRpcRawDataValAlg, CscClusterValAlg, JetMonitoringTool, TileCellNoiseMonTool, InDetGlobalErrorMonTool, PhysValTau, AFPTechnicalMonitorTool, PhysValFE, ManagedMonitorToolTest, DiMuMon, InDetGlobalPrimaryVertexMonTool, InDetVertexMonitoring, CscPrdValAlg, CscRdoValAlg, HIMonitoringEventShapeTool, IDPerfMonKshort, HIMonitoringZdcTool, HIMonitoringElectronsTool, HIMonitoringPhotonsTool, PhysValCluster, and HIMonitoringMuonsTool.
Definition at line 1414 of file ManagedMonitorToolBase.cxx.
1417 return StatusCode::SUCCESS;
◆ fillHists()
StatusCode TileRawChannelMonTool::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 510 of file TileRawChannelMonTool.cxx.
532 for (; collItr2 != lastColl2; ++collItr2) {
536 if (digitsItr != lastDigits) {
541 std::vector<uint32_t> headerVec = (*collItr2)->getFragChipHeaderWords();
542 int headsize = headerVec.size();
543 if (headsize > 16) headsize = 16;
545 int fragId = (*collItr2)->identify();
548 for (
int dmu = 0; dmu < headsize; dmu++) {
554 for (
int dmu = 0; dmu < headsize; dmu++) {
560 for (
int dmu = headsize; dmu < 16; dmu++) {
577 double avgTimePerPart[5], sumTimeCh[5];
579 for (
int iros = 0; iros < 5; iros++) {
580 avgTimePerPart[iros] = 0;
586 for (
int k = 0;
k < 2;
k++) {
591 for (; collItr != lastColl; ++collItr) {
593 int cap = (
m_cispar[7] > 10) ? 0 : 1;
596 double hg_small_charge = 1.;
597 double lg_small_charge = (cap) ? 10. : 15.;
598 double hg_charge_cut = 11.5;
599 double lg_charge_cut = 750.;
601 int fragId = (*collItr)->identify();
604 hg_small_charge *= 2.;
609 double timeInj =
m_cispar[5] * 0.104;
614 if (chItr != lastCh) {
628 std::vector<double> efitVec(
m_bigain ? 96 : 48, 0.), tfitVec(
m_bigain ? 96 : 48, 0.);
630 for (; chItr != lastCh; ++chItr) {
683 if ( ( (
adc == 1) && (
charge < hg_charge_cut) && (
charge > hg_small_charge) ) ||
684 ( (
adc == 0) && (
charge < lg_charge_cut) && (
charge > lg_small_charge) ) ) {
728 if ((
ros == 3 ||
ros == 4)
741 timeCorr =
time - avgTimePerPart[
ros];
766 for (
int iros = 0; iros < 5; iros++) {
767 if (nCh[iros] != 0) {
768 avgTimePerPart[iros] = sumTimeCh[iros] / nCh[iros];
770 avgTimePerPart[iros] = 0;
793 return StatusCode::SUCCESS;
◆ fillSummaryHistograms()
StatusCode TileRawChannelMonTool::fillSummaryHistograms |
( |
| ) |
|
|
private |
Definition at line 1038 of file TileRawChannelMonTool.cxx.
1046 TF1 * fit_gaus =
new TF1(
"g",
"gaus");
1057 for (
int gn = mingain;
gn < maxgain; ++
gn) {
1060 for (
int cap = 0; cap < 2; ++cap) {
1061 for (
int ch = 0;
ch < 48; ++
ch) {
1068 m_data->m_finalHist1[
ros][
drawer][
adc][cap][0]->SetBinContent(
ch + 1, polyfunc->GetParameter(1));
1069 if (polyfunc->GetParError(1) > 5) {
1074 m_data->m_finalHist1[
ros][
drawer][
adc][cap][1]->SetBinContent(
ch + 1, polyfunc->GetParameter(0));
1075 if (polyfunc->GetParError(0) > 5) {
1094 for (; minbin <
nbins; ++minbin) {
1095 if (
hist->GetBinContent(minbin) > 0.0) {
1100 for (; maxbin > 1; --maxbin) {
1101 if (
hist->GetBinContent(maxbin) > 0.0) {
1107 double xmin =
hist->GetBinCenter(minbin);
1108 double xmax =
hist->GetBinCenter(maxbin);
1140 for (
int gn = mingain;
gn < maxgain; ++
gn) {
1143 for (
int ch = 0;
ch < 48; ++
ch) {
1147 double Amp = 0.0, ErrA = 0.0,
RMS = 0.0, ErrR = 0.0;
1148 double Time = 0.0, RMST = 0.0, Sigma = 0.0, ErrS = 0.0;
1151 double TimeCorr = 0.0, RMSTCorr = 0.0;
1154 if (NEvents > 0.0) {
1160 ErrA =
RMS / sqrt(NEvents);
1161 ErrR =
RMS / sqrt(2 * NEvents);
1176 if (NEventsCorr > 0.0) {
1178 RMSTCorr =
m_data->m_timeCovCorr[
ros][
drawer][
ch][
adc][0][1] / NEventsCorr - TimeCorr * TimeCorr;
1179 if (RMSTCorr > 0.0) {
1180 RMSTCorr = sqrt(RMSTCorr);
1190 h4fit->Scale(1,
"width");
1191 h4fit->Fit(
"g",
"NQ");
1196 Sigma = fit_gaus->GetParameter(2);
1197 ErrS = fit_gaus->GetParError(2);
1214 if (
pmt < 0)
continue;
1216 int fiber = (
pmt % 2);
1282 return StatusCode::SUCCESS;
◆ finalDsp()
StatusCode TileRawChannelMonTool::finalDsp |
( |
int |
ros, |
|
|
int |
drawer |
|
) |
| |
get algorithm and number of iterations from bsflags
Definition at line 1312 of file TileRawChannelMonTool.cxx.
1321 unsigned int iteration = 0
u;
1325 iteration =
info & 3
u;
1332 const char *
alg_name[2] = {
"OF1",
"OF2" };
1333 const char * iter_name[4] = {
"NI",
"I1",
"I2",
"I3" };
1335 const char *
part[5] = {
"AUX",
"LBA",
"LBC",
"EBA",
"EBC" };
1336 const char *
gain[4] = {
"_lo",
"_hi",
" low gain",
" high gain" };
1344 const char *HistName[9] = {
"_dspfit_ampdiff",
"_dspfit_timediff",
"_dspamp",
" Avg. (DSP-",
" Average DSP-",
" Average DSP-",
1345 " - OFF-OF2-I) / OFF Amplitudes and RMS",
" - OFF-OF2-I Time and RMS",
" Amplitudes and RMS" };
1347 std::ostringstream sStr;
1348 sStr <<
part[
ros] << std::setfill(
'0') << std::setw(2) <<
drawer + 1 << std::setfill(
' ');
1349 std::string moduleName = sStr.str();
1350 std::string subDir =
"Summary";
1353 for (
int gn = mingain;
gn < maxgain; ++
gn) {
1359 sStr << moduleName <<
gain[
gn] << HistName[
type];
1363 histTitle = sStr.str();
1369 sStr << moduleName <<
gain[
gn] <<
"_dspfit_amphbar";
1373 <<
" - OFF-OF2-I) divided by OFF Amplitudes for all chans";
1374 histTitle = sStr.str();
1378 sStr << moduleName <<
gain[
gn] <<
"_dspfit_timehbar";
1381 sStr << moduleName <<
gain[2 +
gn] <<
" (DSP-" <<
alg_name[
algorithm] <<
"-" << iter_name[iteration] <<
" - OFF-OF2-I) Time for all chans";
1382 histTitle = sStr.str();
1385 for (
int ch = 0;
ch < 48; ++
ch) {
1415 return StatusCode::SUCCESS;
◆ finalHists()
StatusCode TileRawChannelMonTool::finalHists |
( |
| ) |
|
|
overridevirtual |
◆ 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/6]
◆ getHist() [2/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
LWHist *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
◆ getHist() [3/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1598 of file ManagedMonitorToolBase.cxx.
◆ getHist() [4/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1588 of file ManagedMonitorToolBase.cxx.
◆ getHist() [5/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1640 of file ManagedMonitorToolBase.cxx.
◆ getHist() [6/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1630 of file ManagedMonitorToolBase.cxx.
◆ getNewStreamNameFcn()
|
protectedvirtualinherited |
◆ GetTimeFitFunc()
TF1 * TileRawChannelMonTool::GetTimeFitFunc |
( |
TH2S * |
hist2d | ) |
|
Time Slope parameters for CIS runs.
Was done once using correlation between X and Y, but this is not capable of coping with
Definition at line 1909 of file TileRawChannelMonTool.cxx.
1913 TProfile* prof = hist2d->ProfileX();
1916 TH1S hist(
"hist",
"TMP Histo", prof->GetNbinsX(), prof->GetBinLowEdge(1), prof->GetBinLowEdge(prof->GetNbinsX() + 1));
1917 float lastbin = -99.;
1920 for (
int i = 1;
i < prof->GetNbinsX() + 1;
i++) {
1921 if (prof->GetBinError(
i) > 1
e-7) {
1922 if ((shift < 1.) && ((prof->
GetBinContent(
i) - (lastbin + (
i - lasti))) < -10.)) {
1928 hist.SetBinError(
i, prof->GetBinError(
i));
1931 TF1* polfun =
new TF1(
"polfun",
"pol1", 0., 25.);
1932 hist.Fit(
"polfun",
"NQ");
1934 polfun->SetParameter(0, polfun->GetParameter(0) - 25.);
◆ getTMDBCellName()
std::string TilePaterMonTool::getTMDBCellName |
( |
unsigned int |
ros, |
|
|
unsigned int |
channel |
|
) |
| |
|
inlineprotectedinherited |
◆ initialize()
StatusCode TileRawChannelMonTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ interfaceID()
static const InterfaceID& IMonitorToolBase::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
◆ intervalEnumToString()
std::string ManagedMonitorToolBase::intervalEnumToString |
( |
Interval_t |
interval | ) |
|
|
staticinherited |
Converts a LevelOfDetail_t to a string of the same name.
Converts a string to the corresponding LevelOfDetail_t. Converts a Interval_t to a string of the same name.
Definition at line 587 of file ManagedMonitorToolBase.cxx.
590 std::string
str(
"file");
◆ intervalStringToEnum()
Converts a string to the corresponding Interval_t.
Definition at line 629 of file ManagedMonitorToolBase.cxx.
632 std::string lcstr( strToLower(
str) );
636 else if( lcstr ==
"fill" )
638 else if( lcstr ==
"run" )
640 else if( lcstr ==
"lowStat" )
642 else if( lcstr ==
"medStat" )
644 else if( lcstr ==
"higStat" )
646 else if( lcstr ==
"lumiBlock" )
648 else if( lcstr ==
"eventsBlock" )
650 else if( lcstr ==
"file" )
656 if(
sc.isSuccess() ) {
657 MsgStream
log(
ms,
"ManagedMonitorToolBase::intervalStringToEnum()" );
658 log << MSG::WARNING <<
"Unknown ManagedMonitorToolBase::Interval_t \""
659 <<
str <<
"\", returning \"file\"" <<
endmsg;
◆ isDisconnected()
bool TilePaterMonTool::isDisconnected |
( |
int |
ros, |
|
|
int |
drawer, |
|
|
int |
ch |
|
) |
| |
|
inlineprotectedinherited |
◆ LaserFancyPlotting()
void TileRawChannelMonTool::LaserFancyPlotting |
( |
int |
ros, |
|
|
int |
drawer, |
|
|
int |
maxgain, |
|
|
const std::string & |
moduleName |
|
) |
| |
Definition at line 1974 of file TileRawChannelMonTool.cxx.
1981 TCanvas * Can = NULL;
1983 Can =
new TCanvas(
"fit_amp",
"fit_amp", 402 * maxgain, 735);
1985 Can->Divide(maxgain, 5);
1986 gStyle->SetOptStat(0);
1987 gStyle->SetTitleFontSize(0.1);
1989 TLine *
line =
new TLine();
1990 line->SetLineWidth(2);
1991 line->SetLineStyle(7);
1992 line->SetLineColor(3);
1996 double maxy[6] = { 5.0, 0.5, 1.0, 0.05, 25.0, 25.0 };
1997 double miny[6] = { -5.0, -0.5, 0.0, 0.0, -25.0, -25.0 };
2000 TH1F* final_empty[2];
2002 TH1F* final_even[2];
2005 TH1F* pmtGain_empty[2];
2006 TH1F* pmtGain_odd[2];
2007 TH1F* pmtGain_even[2];
2009 for (
int g = 0;
g < 2;
g++) {
2011 std::ostringstream hn;
2012 hn <<
"empty_" <<
g;
2013 final_empty[
g] =
new TH1F(hn.str().c_str(),
m_data->m_finalHist1[
ros][
drawer][
g][0][0]->GetTitle(), 48, 0, 48);
2016 final_odd[
g] =
new TH1F(hn.str().c_str(),
m_data->m_finalHist1[
ros][
drawer][
g][0][0]->GetTitle(), 48, 0, 48);
2019 final_even[
g] =
new TH1F(hn.str().c_str(),
m_data->m_finalHist1[
ros][
drawer][
g][0][0]->GetTitle(), 48, 0, 48);
2024 const char*
gain[2] = {
"low",
"high" };
2025 const char* moduleNames[5] = {
"AUX",
"LBA",
"LBC",
"EBA",
"EBC" };
2031 std::ostringstream sStr;
2032 std::string subDir =
"Summary";
2034 sStr << moduleNames[
ros] << std::setfill(
'0') << std::setw(2) <<
drawer + 1 << std::setfill(
' ') <<
gain[
g] <<
"_pmtGain_empty";
2040 sStr << moduleNames[
ros] << std::setfill(
'0') << std::setw(2) <<
drawer + 1 << std::setfill(
' ') <<
gain[
g] <<
"_pmtGain_odd";
2046 sStr << moduleNames[
ros] << std::setfill(
'0') << std::setw(2) <<
drawer + 1 << std::setfill(
' ') <<
gain[
g] <<
"_pmtGain_even";
2053 for (
int adc = 0;
adc < maxgain; ++
adc) {
2067 final_empty[
adc]->SetMaximum(1.05 * max0);
2069 final_empty[
adc]->SetMaximum(0.);
2072 if ((max0 - min0) > 0) {
2073 final_empty[
adc]->SetMinimum(max0 - 1.05 * (max0 - min0));
2079 pad = Can->cd(
adc + 1);
2080 pad->SetTopMargin(0.15);
2085 double Kapa = 1.30e-3;
2086 for (
int ch = 0;
ch < 48; ++
ch) {
2091 pmtGain_empty[
adc]->SetBinError(
ch + 1, 0.01);
2113 pmtGain_even[
adc]->SetBinError(
ch + 1, 0.001);
2128 pmtGain_odd[
adc]->SetBinError(
ch + 1, 0.001);
2136 double max = pmtGain_odd[
adc]->GetMaximum();
2137 if (pmtGain_even[
adc]->GetMaximum() >
max)
max = 1.05 * pmtGain_even[
adc]->GetMaximum();
2138 double min = pmtGain_odd[
adc]->GetMinimum();
2139 if (pmtGain_even[
adc]->GetMinimum() <
min)
min = pmtGain_even[
adc]->GetMinimum() - 0.05 * fabs(pmtGain_even[
adc]->GetMinimum());
2140 if (
max < 0.20)
max = 0.20;
2141 if (
min > -0.10)
min = -0.10;
2143 pmtGain_empty[
adc]->SetMarkerStyle(21);
2144 pmtGain_even[
adc]->SetMarkerStyle(22);
2145 pmtGain_odd[
adc]->SetMarkerStyle(23);
2146 pmtGain_empty[
adc]->SetMarkerSize(
ms);
2147 pmtGain_even[
adc]->SetMarkerSize(
ms);
2148 pmtGain_odd[
adc]->SetMarkerSize(
ms);
2149 pmtGain_empty[
adc]->SetLabelSize(0.08,
"X");
2150 pmtGain_empty[
adc]->SetLabelSize(0.08,
"Y");
2151 pmtGain_even[
adc]->SetMarkerColor(2);
2152 pmtGain_odd[
adc]->SetMarkerColor(4);
2153 pmtGain_empty[
adc]->GetYaxis()->SetRangeUser(
min,
max);
2155 pmtGain_empty[
adc]->Draw(
"e");
2156 pmtGain_even[
adc]->Draw(
"same,e");
2157 pmtGain_odd[
adc]->Draw(
"same,e");
2158 line->DrawLine(0, -0.01, 48, -0.01);
2159 line->DrawLine(0, 0.15, 48, 0.15);
2162 pad = Can->cd(maxgain +
adc + 1);
2163 pad->SetTopMargin(0.15);
2168 if (max0 < 0.9 * maxy[
adc]) final_empty[
adc]->SetMaximum(maxy[
adc]);
2169 if (min0 > miny[
adc] + 0.1 * TMath::Abs(miny[
adc])) final_empty[
adc]->SetMinimum(miny[
adc]);
2171 final_empty[
adc]->SetMarkerStyle(21);
2172 final_even[
adc]->SetMarkerStyle(22);
2173 final_odd[
adc]->SetMarkerStyle(23);
2174 final_empty[
adc]->SetMarkerSize(
ms);
2175 final_even[
adc]->SetMarkerSize(
ms);
2176 final_odd[
adc]->SetMarkerSize(
ms);
2177 final_empty[
adc]->SetLabelSize(0.08,
"X");
2178 final_empty[
adc]->SetLabelSize(0.08,
"Y");
2179 final_even[
adc]->SetMarkerColor(2);
2180 final_odd[
adc]->SetMarkerColor(4);
2182 final_empty[
adc]->Draw(
"e");
2183 final_even[
adc]->Draw(
"same,e");
2184 final_odd[
adc]->Draw(
"same,e");
2187 pad = Can->cd(2 * maxgain +
adc + 1);
2188 pad->SetTopMargin(0.15);
2209 pad = Can->cd(3 * maxgain +
adc + 1);
2210 pad->SetTopMargin(0.15);
2215 if (min3 > miny[4 +
adc] + 0.1 * TMath::Abs(miny[4 +
adc]))
m_data->m_finalHist1[
ros][
drawer][
adc][0][3]->SetMinimum(miny[4 +
adc]);
2226 pad = Can->cd(4 * maxgain +
adc + 1);
2227 pad->SetTopMargin(0.15);
2232 if (min4 > miny[4 +
adc] + 0.1 * TMath::Abs(miny[4 +
adc]))
m_data->m_finalHist1[
ros][
drawer][
adc][0][4]->SetMinimum(miny[4 +
adc]);
2244 Can->Print(TString(moduleName +
"_fit_amp.png"),
"png");
2247 Can->Print(TString(moduleName +
"_fit_amp.ps"),
"ps");
2250 Can->Print(TString(moduleName +
"_fit_amp.svg"),
"svg");
2253 if (do_plots)
delete Can;
2255 for (
int g = 0;
g < 2;
g++) {
2256 delete final_empty[
g];
2257 delete final_odd[
g];
2258 delete final_even[
g];
◆ lbAverageInteractionsPerCrossing()
float ManagedMonitorToolBase::lbAverageInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average mu, i.e.
<mu>
Definition at line 1923 of file ManagedMonitorToolBase.cxx.
1928 return lumi->lbAverageInteractionsPerCrossing();
1931 ATH_MSG_DEBUG(
"Warning: lbAverageInteractionsPerCrossing() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbAverageLivefraction()
float ManagedMonitorToolBase::lbAverageLivefraction |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average luminosity livefraction.
Definition at line 1992 of file ManagedMonitorToolBase.cxx.
2000 return live->lbAverageLiveFraction();
2003 ATH_MSG_DEBUG(
"Warning: lbAverageLivefraction() - luminosity not availble (i.e. EnableLumi = False)");
◆ lbAverageLuminosity()
float ManagedMonitorToolBase::lbAverageLuminosity |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1)
Definition at line 1959 of file ManagedMonitorToolBase.cxx.
1964 return lumi->lbAverageLuminosity();
1967 ATH_MSG_DEBUG(
"Warning: lbAverageLuminosity() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbDuration()
double ManagedMonitorToolBase::lbDuration |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Luminosity block time (in seconds)
Definition at line 2046 of file ManagedMonitorToolBase.cxx.
2054 return dur->lbDuration();
2057 ATH_MSG_DEBUG(
"Warning: lbDuration() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbInteractionsPerCrossing()
float ManagedMonitorToolBase::lbInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Instantaneous number of interactions, i.e.
mu
Definition at line 1939 of file ManagedMonitorToolBase.cxx.
1944 float muToLumi =
lumi->muToLumi();
1946 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id()) / muToLumi;
1951 ATH_MSG_DEBUG(
"Warning: lbInteractionsPerCrossing() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbLuminosityPerBCID()
float ManagedMonitorToolBase::lbLuminosityPerBCID |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Instantaneous luminosity.
Definition at line 1975 of file ManagedMonitorToolBase.cxx.
1980 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id());
1983 ATH_MSG_DEBUG(
"Warning: lbLuminosityPerBCID() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbLumiWeight()
double ManagedMonitorToolBase::lbLumiWeight |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average Integrated Luminosity Live Fraction.
Definition at line 2030 of file ManagedMonitorToolBase.cxx.
2037 ATH_MSG_DEBUG(
"Warning: lbLumiWeight() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ livefractionPerBCID()
float ManagedMonitorToolBase::livefractionPerBCID |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Livefraction per bunch crossing ID.
Definition at line 2011 of file ManagedMonitorToolBase.cxx.
2019 return live->l1LiveFractionVector().at (ctx.eventID().bunch_crossing_id());
2022 ATH_MSG_DEBUG(
"Warning: livefractionPerBCID() - luminosity retrieved available (i.e. EnableLumi = False)");
◆ MMTB_DEPRECATED() [1/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfEventsBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [2/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfLowStat |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [3/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfLumiBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [4/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfRun |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [5/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newEventsBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [6/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newHigStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [7/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLowStat |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [8/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLowStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [9/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLumiBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [10/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newMedStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [11/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newRun |
| ) |
|
|
inherited |
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ newEventsBlockFlag()
bool ManagedMonitorToolBase::newEventsBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newHigStatIntervalFlag()
bool ManagedMonitorToolBase::newHigStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLowStatFlag()
bool ManagedMonitorToolBase::newLowStatFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLowStatIntervalFlag()
bool ManagedMonitorToolBase::newLowStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLumiBlockFlag()
bool ManagedMonitorToolBase::newLumiBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newMedStatIntervalFlag()
bool ManagedMonitorToolBase::newMedStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newRunFlag()
bool ManagedMonitorToolBase::newRunFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ parseList()
StatusCode ManagedMonitorToolBase::parseList |
( |
const std::string & |
line, |
|
|
std::vector< std::string > & |
result |
|
) |
| |
|
protectedinherited |
◆ preSelector()
bool ManagedMonitorToolBase::preSelector |
( |
| ) |
|
|
virtualinherited |
◆ procHistograms()
StatusCode ManagedMonitorToolBase::procHistograms |
( |
| ) |
|
|
virtualinherited |
An inheriting class should either override this function or finalHists().
Reimplemented in SCTHitEffMonTool, SCTHitsNoiseMonTool, SCTErrMonTool, SCTTracksMonTool, SCTLorentzMonTool, egammaMonToolBase, MuonPhysValMonitoring::MuonPhysValMonitoringTool, AFPHitsMonitorTool, LArCellMonTool, MuonDQA::MuonEventInfoMonTool, DQTDataFlowMonTool, TileCalCellMonTool, ActsTrk::PhysValTool, PhysValSecVtx, LUCID_HitsMoniTool, ZeeTaPMonTool, LVL1::CalorimeterL1CaloMon, LVL1::L1CaloCTPMon, LVL1::L1CaloLevel2Mon, LVL1::L1CaloPMTScoresMon, MdtRawDataValAlg, CscCalibMonToolBase, DQTNonCollBkg_ZDC, InDetGlobalTrackMonTool, TRT_Electron_Monitoring_Tool, InDetGlobalHitsMonTool, JetTagMonitoring, InDetPhysValMonitoringTool, EgammaPhysValMonitoring::EgammaPhysValMonitoringTool, TRT_Monitoring_Tool, METMonTool, MissingEtDQA::PhysValMET, LVL1::L1CaloL1TopoMon, JetTagDQA::PhysValBTag, CaloTowerVecMon, DQTGlobalWZFinderTool, CSCSegmValAlg, PhysVal::PhysValExample, TopPhysVal::TopPhysValMonitoring, DataQualityFatherMonTool, ZeeValidation::ZeeValidationMonitoringTool, CaloClusterVecMon, RpcLv1RawDataValAlg, CaloTransverseBalanceVecMon, DQTDetSynchMonTool, InDetTrackPerfMonTool, DQTMuonIDTrackTool, InDetGlobalBeamSpotMonTool, IDPerfMonWenu, IDPerfMonZee, TrackCaloClusterRecValidationTool, CscClusterValAlg, MdtVsTgcRawDataValAlg, InDetGlobalErrorMonTool, JetMonitoringTool, TileCellNoiseMonTool, AFPTechnicalMonitorTool, PhysValTau, PhysValFE, ManagedMonitorToolTest, DiMuMon, CscPrdValAlg, CscRdoValAlg, HIMonitoringEventShapeTool, IDPerfMonKshort, HIMonitoringZdcTool, HIMonitoringElectronsTool, HIMonitoringPhotonsTool, and HIMonitoringMuonsTool.
Definition at line 1422 of file ManagedMonitorToolBase.cxx.
1430 return StatusCode::SUCCESS;
◆ rangeErrorBar()
void TileRawChannelMonTool::rangeErrorBar |
( |
double & |
xmin, |
|
|
double & |
max, |
|
|
double |
mean |
|
) |
| |
This method was bing used in 2006 for calculating the error bar length It is off by default, but it can be switched on by the usage of the property m_useratioerror=false This method set the error bar long as the interval from ean to the extreeme value of the sample distribution. If the extreeme value is below the threhold, then the error bar length is set to 0.
Definition at line 1833 of file TileRawChannelMonTool.cxx.
◆ ratioErrorBar()
void TileRawChannelMonTool::ratioErrorBar |
( |
TH1S * |
hist, |
|
|
double & |
xmin, |
|
|
double & |
xmax, |
|
|
double |
mean |
|
) |
| |
This method calculates the error bars of amp vs Q summary plots. The error bar depends on the percentage of events outside a certain limit. If the percentage of events outside a certain limit is below the threshold, then the error bar length is set to 0. There are 3 different thresholds and a lower and an upper limit. Threshold, limits and the error bar method usage are all settable by jo The are 3 different error bars lenghts for low, medium and high severity. IMPORTANT: In case the mean of the distribution is outside the limits, then the error bars are calculated as with rangeErrorBar method, as it won't have much sense calculating it in this way.
LF: If mean <0.7 or mean>1.3, we leave the range as error bar, as the ratio Error bar won't have any sense
Definition at line 1849 of file TileRawChannelMonTool.cxx.
◆ regEfficiency()
StatusCode ManagedMonitorToolBase::regEfficiency |
( |
TEfficiency * |
e, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TEfficiency to be included in the output stream using logical parameters that describe the plot.
Definition at line 1648 of file ManagedMonitorToolBase.cxx.
1650 return StatusCode::FAILURE;
1652 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1653 std::string
name =
e->GetName();
1659 ATH_MSG_WARNING(
"HEY! Attempting to register "<<
name<<
" as a per-LB histogram, but not setting the merge algorithm! Use \"merge\", at least.");
1666 return StatusCode::FAILURE;
1676 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1683 if (
smd != StatusCode::SUCCESS)
1684 return StatusCode::FAILURE;
◆ regGraph() [1/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 567 of file ManagedMonitorToolBase.cxx.
1706 return StatusCode::FAILURE;
1719 return StatusCode::FAILURE;
1722 std::string
name =
g->GetName();
1730 std::string gName =
g->GetName();
1733 std::string genericName = NoOutputStream().getStreamName(
this,
group, gName );
1741 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regGraph() [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 1702 of file ManagedMonitorToolBase.cxx.
1706 return StatusCode::FAILURE;
1719 return StatusCode::FAILURE;
1722 std::string
name =
g->GetName();
1730 std::string gName =
g->GetName();
1733 std::string genericName = NoOutputStream().getStreamName(
this,
group, gName );
1741 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regGraph() [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 559 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 1692 of file ManagedMonitorToolBase.cxx.
◆ regHist() [1/9]
◆ regHist() [2/9]
StatusCode ManagedMonitorToolBase::regHist |
|
protectedinherited |
Definition at line 592 of file ManagedMonitorToolBase.cxx.
1528 return StatusCode::FAILURE;
1540 return StatusCode::FAILURE;
1547 std::string hName =
h->GetName();
1551 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1577 if (
h->usingROOTBackend())
1579 h->setOwnsROOTHisto(
false);
1583 return StatusCode::SUCCESS;
◆ regHist() [3/9]
Definition at line 1522 of file ManagedMonitorToolBase.cxx.
1528 return StatusCode::FAILURE;
1540 return StatusCode::FAILURE;
1547 std::string hName =
h->GetName();
1551 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1577 if (
h->usingROOTBackend())
1579 h->setOwnsROOTHisto(
false);
1583 return StatusCode::SUCCESS;
◆ regHist() [4/9]
StatusCode ManagedMonitorToolBase::regHist |
|
protectedinherited |
◆ regHist() [5/9]
◆ regHist() [6/9]
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 507 of file ManagedMonitorToolBase.cxx.
1468 return StatusCode::FAILURE;
1481 ATH_MSG_WARNING(
"HEY! You're attempting to register " <<
h->GetName() <<
" as a per-LB histogram, but you're not setting the merge algorithm! This is a SUPER-BAD idea! Use \"merge\", at least.");
1488 return StatusCode::FAILURE;
1491 std::string hName =
h->GetName();
1499 std::string hName =
h->GetName();
1502 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1510 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regHist() [7/9]
Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram.
A histogram is passed via reference to a pointer.
Definition at line 1462 of file ManagedMonitorToolBase.cxx.
1468 return StatusCode::FAILURE;
1481 ATH_MSG_WARNING(
"HEY! You're attempting to register " <<
h->GetName() <<
" as a per-LB histogram, but you're not setting the merge algorithm! This is a SUPER-BAD idea! Use \"merge\", at least.");
1488 return StatusCode::FAILURE;
1491 std::string hName =
h->GetName();
1499 std::string hName =
h->GetName();
1502 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1510 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regHist() [8/9]
StatusCode ManagedMonitorToolBase::regHist |
|
protectedinherited |
◆ regHist() [9/9]
◆ registerMetadata()
StatusCode ManagedMonitorToolBase::registerMetadata |
( |
const std::string & |
streamName, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
protectedinherited |
Definition at line 1005 of file ManagedMonitorToolBase.cxx.
1011 size_t found=mdStreamName.rfind(
'/');
1013 if (
found != std::string::npos )
1014 mdStreamName.replace(
found, mdStreamName.length(),
"/metadata" );
1018 metadata =
new TTree(
"metadata",
"Monitoring Metadata" );
1019 if (!
metadata)
return StatusCode::FAILURE;
1021 if (scmd == StatusCode::FAILURE)
return StatusCode::FAILURE;
1022 MDMap_t::value_type valToInsert( mdStreamName,
new OutputMetadata(
metadata) );
1028 return StatusCode::SUCCESS;
◆ regManagedEfficiencies()
StatusCode ManagedMonitorToolBase::regManagedEfficiencies |
( |
std::vector< MgmtParams< TEfficiency > > & |
templateEfficiencies | ) |
|
|
protectedinherited |
Definition at line 1200 of file ManagedMonitorToolBase.cxx.
1201 bool allIsOk =
true;
1202 for(
auto&
it : templateEfficiencies ) {
1205 TEfficiency* theEfficiency =
it.m_templateHist;
1206 TEfficiency*
e =
static_cast<TEfficiency*
>(theEfficiency->Clone());
1207 int nbins = theEfficiency->GetTotalHistogram()->GetNbinsX();
1208 int xlow = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmin();
1209 int xhigh = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmax();
1210 e->SetBins(
nbins,xlow,xhigh);
1211 std::string
name =
e->GetName();
1214 TGraph* theGraph =
reinterpret_cast<TGraph*
>(theEfficiency);
1215 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1223 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1225 bool doneCleaning =
false;
1227 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1232 if (sc2 == StatusCode::SUCCESS) doneCleaning =
true;
1235 if (!doneCleaning) {
1236 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1241 if (sc3 == StatusCode::FAILURE)
1248 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1251 if (sc4 == StatusCode::FAILURE) allIsOk =
false;
1254 if (!allIsOk)
return StatusCode::FAILURE;
1255 return StatusCode::SUCCESS;
◆ regManagedGraphs()
StatusCode ManagedMonitorToolBase::regManagedGraphs |
( |
std::vector< MgmtParams< TGraph > > & |
templateGraphs | ) |
|
|
protectedinherited |
Definition at line 1129 of file ManagedMonitorToolBase.cxx.
1133 bool allIsOk =
true;
1135 for( std::vector< MgmtParams<TGraph> >::
iterator it = templateGraphs.begin();
it != templateGraphs.end(); ++
it ) {
1136 MonGroup
group = (*it).m_group;
1139 TGraph* theGraph = (*it).m_templateHist;
1142 TGraph*
g =
static_cast<TGraph*
>(theGraph->Clone());
1146 std::string gName =
g->GetName();
1153 if (sc1 == StatusCode::FAILURE)
1158 bool doneCleaning =
false;
1160 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1165 if (sc2 == StatusCode::SUCCESS)
1166 doneCleaning =
true;
1170 if (!doneCleaning) {
1171 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1178 if (sc3 == StatusCode::FAILURE)
1185 if (
smd != StatusCode::SUCCESS)
1190 if (sc4 == StatusCode::FAILURE)
1195 if (!allIsOk)
return StatusCode::FAILURE;
1197 return StatusCode::SUCCESS;
◆ regManagedHistograms()
StatusCode ManagedMonitorToolBase::regManagedHistograms |
( |
std::vector< MgmtParams< TH1 > > & |
templateHistograms | ) |
|
|
protectedinherited |
Definition at line 1032 of file ManagedMonitorToolBase.cxx.
1047 bool allIsOk =
true;
1049 for( std::vector< MgmtParams<TH1> >::
iterator it = templateHistograms.begin();
it != templateHistograms.end(); ++
it ) {
1050 MonGroup&
group = (*it).m_group;
1053 TH1* theHist = (*it).m_templateHist;
1056 TH1*
h =
static_cast<TH1*
>(theHist->Clone());
1060 std::string hName =
h->GetName();
1067 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1071 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1074 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1083 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1087 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1091 if (!allIsOk)
return StatusCode::FAILURE;
1093 return StatusCode::SUCCESS;
◆ regManagedLWHistograms()
StatusCode ManagedMonitorToolBase::regManagedLWHistograms |
( |
std::vector< MgmtParams< LWHist > > & |
templateLWHistograms | ) |
|
|
protectedinherited |
◆ regManagedTrees()
StatusCode ManagedMonitorToolBase::regManagedTrees |
( |
std::vector< MgmtParams< TTree > > & |
templateTrees | ) |
|
|
protectedinherited |
Definition at line 1260 of file ManagedMonitorToolBase.cxx.
1264 bool allIsOk =
true;
1266 for( std::vector< MgmtParams<TTree> >::
iterator it = templateTrees.begin();
it != templateTrees.end(); ++
it ) {
1267 MonGroup
group = (*it).m_group;
1270 TTree* theTree = (*it).m_templateHist;
1273 TTree*
t =
static_cast<TTree*
>(theTree->Clone());
1277 std::string
name =
t->GetName();
1284 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1288 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1291 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1300 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1304 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1308 if (!allIsOk)
return StatusCode::FAILURE;
1310 return StatusCode::SUCCESS;
◆ regTree() [1/2]
StatusCode ManagedMonitorToolBase::regTree |
( |
TTree * |
t, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TTree to be included in the output stream using logical parameters that describe it.
Definition at line 1758 of file ManagedMonitorToolBase.cxx.
1773 return StatusCode::FAILURE;
1776 std::string
name =
t->GetName();
1777 std::string genericName = NoOutputStream().getStreamName(
this, group_unmanaged,
name );
1785 std::string tName =
t->GetName();
1788 std::string genericName = NoOutputStream().getStreamName(
this,
group, tName );
1796 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regTree() [2/2]
Registers a TTree to be included in the output stream using logical parameters that describe it.
Definition at line 1748 of file ManagedMonitorToolBase.cxx.
◆ removeTObj()
StatusCode TilePaterMonTool::removeTObj |
( |
TObject * |
obj | ) |
|
|
protectedinherited |
Definition at line 468 of file TilePaterMonTool.cxx.
470 if (
obj->IsA()->InheritsFrom(
"TH1")) {
473 return StatusCode::FAILURE;
477 }
else if (
obj->IsA()->InheritsFrom(
"TGraph")) {
480 return StatusCode::FAILURE;
485 ATH_MSG_WARNING(
"Asked to remove object " <<
obj->GetName() <<
"of unsupported type " <<
obj->IsA() );
486 return StatusCode::FAILURE;
490 return StatusCode::FAILURE;
492 return StatusCode::SUCCESS;
◆ renounce()
◆ renounceArray()
◆ resetSummaryHistograms()
void TileRawChannelMonTool::resetSummaryHistograms |
( |
| ) |
|
|
private |
◆ runStat()
StatusCode ManagedMonitorToolBase::runStat |
( |
| ) |
|
|
virtualinherited |
This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ).
Implements IMonitorToolBase.
Definition at line 1893 of file ManagedMonitorToolBase.cxx.
1896 return StatusCode::SUCCESS;
◆ setMonManager()
◆ setupOutputStreams()
StatusCode ManagedMonitorToolBase::setupOutputStreams |
( |
std::vector< std::string > |
Mapping = std::vector<std::string>() | ) |
|
|
virtualinherited |
◆ streamNameFunction()
Returns the function object that converts logical paramters into a physical stream name.
Definition at line 502 of file ManagedMonitorToolBase.cxx.
506 msg(MSG::ERROR) <<
"!! streamNameFunction() has not been initialized !!" <<
endmsg;
507 msg(MSG::ERROR) <<
" --> neither ManagedMonitorToolBase::initialize() nor" <<
endmsg;
508 msg(MSG::ERROR) <<
" --> ManagedMonitorToolBase::setMonManager() has been called." <<
endmsg;
509 msg(MSG::ERROR) <<
" --> Correct configuration cannot be guaranteed from this point." <<
endmsg;
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ THistSvc_deReg_fixTGraph()
StatusCode ManagedMonitorToolBase::THistSvc_deReg_fixTGraph |
( |
TFile * |
file, |
|
|
TGraph * |
theGraph, |
|
|
std::string & |
directoryName |
|
) |
| |
|
protectedinherited |
Fixes THistSvc->deReg(obj) when obj is TGraph instance.
Read more in source file about this bug.
Definition at line 1097 of file ManagedMonitorToolBase.cxx.
1107 GlobalDirectoryRestore restore;
1110 bool graphRemoved =
false;
1113 TDirectory*
dir =
file->GetDirectory(directoryName.c_str());
1116 TObject*
obj =
dir->Remove(theGraph);
1118 graphRemoved =
true;
1121 if (!graphRemoved) {
1122 return StatusCode::FAILURE;
1125 return StatusCode::SUCCESS;
◆ trigChainsArePassed()
bool ManagedMonitorToolBase::trigChainsArePassed |
( |
std::vector< std::string > & |
vTrigNames | ) |
|
|
protectedvirtualinherited |
◆ updateTriggersForGroups()
void ManagedMonitorToolBase::updateTriggersForGroups |
( |
std::vector< std::string > & |
vTrigChainNames | ) |
|
|
protectedinherited |
Definition at line 2362 of file ManagedMonitorToolBase.cxx.
2364 for (
size_t i = 0;
i < vTrigChainNames.size(); ++
i) {
2365 std::string& thisName = vTrigChainNames[
i];
2366 if (thisName.compare(0, 9,
"CATEGORY_") ==0) {
2367 ATH_MSG_DEBUG(
"Found a trigger category: " << thisName <<
". We will unpack it.");
2369 std::ostringstream oss;
2371 for (
size_t itrig = 0; itrig <
triggers.size(); ++itrig) {
2379 std::string newval = oss.str();
2381 vTrigChainNames[
i] = newval;
◆ updateVHKA()
◆ writeAndDelete()
StatusCode ManagedMonitorToolBase::writeAndDelete |
( |
TH1 * |
h, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Write out histogram and delete it.
Definition at line 1803 of file ManagedMonitorToolBase.cxx.
1806 return StatusCode::FAILURE;
1808 std::string hName =
h->GetName();
1811 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1814 return StatusCode::SUCCESS;
◆ m_bigain
bool TileRawChannelMonTool::m_bigain {} |
|
private |
◆ m_book2D
bool TileRawChannelMonTool::m_book2D {} |
|
private |
◆ m_bookAll
bool TileRawChannelMonTool::m_bookAll {} |
|
private |
◆ m_bookHistogramsInitial
bool ManagedMonitorToolBase::m_bookHistogramsInitial |
|
privateinherited |
◆ m_cabling
◆ m_calibUnit
◆ 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 270 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 275 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 265 of file TilePaterMonTool.h.
◆ m_cispar
const uint32_t* TileRawChannelMonTool::m_cispar |
|
private |
◆ m_contName
std::string TileRawChannelMonTool::m_contName |
|
private |
◆ m_contNameDSP
std::string TileRawChannelMonTool::m_contNameDSP |
|
private |
◆ m_contNameOF
std::string TileRawChannelMonTool::m_contNameOF |
|
private |
◆ m_corrup
bool TileRawChannelMonTool::m_corrup[5][64][2][16] ={} |
|
private |
◆ m_d
Imp* ManagedMonitorToolBase::m_d |
|
privateinherited |
◆ m_dac2Charge
double TileRawChannelMonTool::m_dac2Charge[3] ={} |
|
private |
◆ m_data
std::unique_ptr<Data> TileRawChannelMonTool::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_doLaserSummaryVsPMT
bool TileRawChannelMonTool::m_doLaserSummaryVsPMT {} |
|
private |
◆ m_DownLimit
double TileRawChannelMonTool::m_DownLimit {} |
|
private |
◆ m_DQFilterTools
ToolHandleArray<IDQFilterTool> ManagedMonitorToolBase::m_DQFilterTools {this,"FilterTools",{}} |
|
protectedinherited |
◆ m_DQstatusKey
◆ m_drawHists
bool TileRawChannelMonTool::m_drawHists {} |
|
private |
◆ 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 235 of file TilePaterMonTool.h.
◆ m_efitMap
std::map<int, std::vector<double> > TileRawChannelMonTool::m_efitMap |
|
private |
◆ m_efitThresh
double TileRawChannelMonTool::m_efitThresh {} |
|
private |
◆ m_endOfEventsBlock
bool ManagedMonitorToolBase::m_endOfEventsBlock |
|
privateinherited |
◆ m_endOfLowStat
bool ManagedMonitorToolBase::m_endOfLowStat |
|
privateinherited |
◆ m_endOfLumiBlock
bool ManagedMonitorToolBase::m_endOfLumiBlock |
|
privateinherited |
◆ m_endOfRun
bool ManagedMonitorToolBase::m_endOfRun |
|
privateinherited |
◆ m_environment
◆ m_environmentStr
std::string ManagedMonitorToolBase::m_environmentStr |
|
protectedinherited |
◆ m_evtStore
◆ m_fileKey
std::string ManagedMonitorToolBase::m_fileKey |
|
protectedinherited |
◆ 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_hi_IntegralLimit
double TileRawChannelMonTool::m_hi_IntegralLimit {} |
|
private |
◆ m_infoName
std::string TileRawChannelMonTool::m_infoName {} |
|
private |
◆ m_intCalibUnit
int TileRawChannelMonTool::m_intCalibUnit {} |
|
private |
◆ m_is12bit
bool TileRawChannelMonTool::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 240 of file TilePaterMonTool.h.
◆ m_lbDurationDataKey
◆ m_lo_IntegralLimit
double TileRawChannelMonTool::m_lo_IntegralLimit {} |
|
private |
◆ m_lumiDataKey
◆ m_lwhists
std::set<LWHist*> ManagedMonitorToolBase::m_lwhists |
|
protectedinherited |
◆ m_manager
◆ m_managerNameProp
std::string ManagedMonitorToolBase::m_managerNameProp |
|
protectedinherited |
◆ m_med_IntegralLimit
double TileRawChannelMonTool::m_med_IntegralLimit {} |
|
private |
◆ m_metadataMap
MDMap_t ManagedMonitorToolBase::m_metadataMap |
|
protectedinherited |
◆ m_minAmpForCorrectedTime
float TileRawChannelMonTool::m_minAmpForCorrectedTime {} |
|
private |
◆ m_nEvents
unsigned int ManagedMonitorToolBase::m_nEvents |
|
protectedinherited |
◆ m_nEventsIgnoreTrigger
unsigned int ManagedMonitorToolBase::m_nEventsIgnoreTrigger |
|
protectedinherited |
◆ m_nEventsTileMon
int TileRawChannelMonTool::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_overlaphists
bool TileRawChannelMonTool::m_overlaphists {} |
|
private |
◆ m_path
std::string ManagedMonitorToolBase::m_path |
|
protectedinherited |
◆ m_plotDsp
bool TileRawChannelMonTool::m_plotDsp {} |
|
private |
◆ m_preScaleProp
long ManagedMonitorToolBase::m_preScaleProp |
|
protectedinherited |
◆ m_procNEventsProp
long ManagedMonitorToolBase::m_procNEventsProp |
|
protectedinherited |
◆ m_resetAfterSummaryUpdate
bool TileRawChannelMonTool::m_resetAfterSummaryUpdate {} |
|
private |
◆ m_runType
int TileRawChannelMonTool::m_runType {} |
|
private |
◆ m_savePng
bool TilePaterMonTool::m_savePng {} |
|
protectedinherited |
◆ m_savePs
bool TilePaterMonTool::m_savePs {} |
|
protectedinherited |
◆ m_saveSvg
bool TilePaterMonTool::m_saveSvg {} |
|
protectedinherited |
◆ m_storeGraph
bool TileRawChannelMonTool::m_storeGraph {} |
|
private |
◆ m_streamNameFcn
◆ m_summaryUpdateFrequency
int TileRawChannelMonTool::m_summaryUpdateFrequency {} |
|
private |
◆ m_supportedIntervalsForRebooking
std::set<Interval_t> ManagedMonitorToolBase::m_supportedIntervalsForRebooking |
|
privateinherited |
◆ m_templateEfficiencies
std::map< Interval_t, std::vector< MgmtParams<TEfficiency> > > ManagedMonitorToolBase::m_templateEfficiencies |
|
protectedinherited |
◆ m_templateGraphs
◆ m_templateHistograms
◆ m_templateLWHistograms
◆ m_templateTrees
◆ m_tfitMap
std::map<int, std::vector<double> > TileRawChannelMonTool::m_tfitMap |
|
private |
◆ m_THistSvc
◆ m_tileHWID
◆ m_tileID
◆ m_tileInfo
◆ m_tileTBID
◆ m_tileToolEmscale
◆ 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_UpLimit
double TileRawChannelMonTool::m_UpLimit {} |
|
private |
◆ m_useLumi
bool ManagedMonitorToolBase::m_useLumi |
|
privateinherited |
◆ m_useratioerror
bool TileRawChannelMonTool::m_useratioerror {} |
|
private |
◆ m_useTrigger
bool ManagedMonitorToolBase::m_useTrigger |
|
protectedinherited |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_vTrigChainNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigChainNames |
|
protectedinherited |
◆ m_vTrigGroupNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigGroupNames |
|
protectedinherited |
The documentation for this class was generated from the following files:
virtual LWHist * ownedLWHistOfKey(const std::string &key) const
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
virtual LWHist * writeAndDeleteLWHist(const std::string &key, const std::string &streamName)
Const iterator class for DataVector/DataList.
void mean(std::vector< double > &bins, std::vector< double > &values, const std::vector< std::string > &files, const std::string &histname, const std::string &tplotname, const std::string &label="")
path
python interpreter configuration --------------------------------------—
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual LWHist * writeAndResetLWHist(const std::string &key, const std::string &streamName)
virtual std::string fileKey() const
virtual void passOwnership(TObject *h, const std::string &key)
Pass ownership of a TObject/LWHist to this manager so that it will be deleted appropriately.
static TH1I_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup)
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool msgLvl(const MSG::Level lvl) const
static void setStreamName(LWHist *, const std::string &streamName)
bool empty() const
Test if the key is blank.
HWIdentifier adc_HWID(void) const
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
float time(int ind=0) const
@ 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.
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 ...
static const std::string & streamName(LWHist *)
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
float quality(int ind=0) const
bool usingROOTBackend() const
static void removeCustomData(LWHist *)
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 ...
float amplitude(int ind=0) const
static const std::string & key(LWHist *)
msgSvc
Provide convenience handles for various services.
static TProfile_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup, const char *option=" ")
def TProfile(*args, **kwargs)
static TH2I_LW * create(const char *name, const char *title, unsigned nbinsx, const double &xmin, const double &xmax, unsigned nbinsy, const double &ymin, const double &ymax)
::StatusCode StatusCode
StatusCode definition for legacy code.
uint32_t get_bsflags() const
virtual void writeAndDelete(const std::string &key)
If the TObject is owned by this manager, its Write() method is called and it is deleted.
double chi2(TH1 *h0, TH1 *h1)
const_iterator end() const
return const_iterator for end of container
#define CHECK(...)
Evaluate an expression and check for errors.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
const_iterator begin() const
return const_iterator for first entry
void SetBinContent(int, double)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
void fcn(int &, double *, double &result, double par[], int)
this is where we write out chi2
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
static void setKey(LWHist *, const std::string &key)
double charge(const T &p)
const uint32_t * cispar() const
CIS parameters.
void setOwnsROOTHisto(bool b)
static std::string getDrawerString(unsigned int ros, unsigned int drawer)
Return the drawer name, e.g.
Identifier cell_ID_index(int &index, int &pmt) const
int drawer(const HWIdentifier &id) const
extract drawer field from HW identifier
def time(flags, cells_name, *args, **kw)
#define ATH_MSG_WARNING(x)
filelist
print ("Checking files %s..." % fullfile)
static int channel2hole(int ros, int channel)
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.
virtual TH1 * getROOTHistBase()=0
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)
double GetBinContent(int) const