|
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 | regGraph (TGraph *g, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TGraph to be included in the output stream using logical parameters that describe the graph. More...
|
|
virtual StatusCode | regGraph (TGraph *g, const MonGroup &group) |
| Registers a TGraph to be included in the output stream using logical parameters that describe the graph. More...
|
|
virtual StreamNameFcn * | streamNameFunction () |
| Returns the function object that converts logical paramters into a physical stream name. More...
|
|
virtual StatusCode | bookHistograms () |
| An inheriting class should either override this function or bookHists(). More...
|
|
virtual StatusCode | bookHistogramsRecurrent () |
| An inheriting class should either override this function, bookHists() or bookHistograms(). More...
|
|
virtual StatusCode | fillHistograms () |
| An inheriting class should either override this function or fillHists(). More...
|
|
virtual StatusCode | procHistograms () |
| An inheriting class should either override this function or finalHists(). More...
|
|
virtual void | setMonManager (AthenaMonManager *manager) |
| Takes a pointer to a managing object to get information from it when needed. More...
|
|
virtual StatusCode | getHist (TH1 *&h, const std::string &hName, const std::string &system, Interval_t interval) |
| Returns a TH1 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH1 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH1 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH2 *&h, const std::string &hName, const std::string &system, Interval_t interval) |
| Returns a TH2 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH2 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH2 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | regEfficiency (TEfficiency *e, const MonGroup &group) |
| Registers a TEfficiency to be included in the output stream using logical parameters that describe the plot. More...
|
|
virtual StatusCode | regTree (TTree *t, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TTree to be included in the output stream using logical parameters that describe it. More...
|
|
virtual StatusCode | regTree (TTree *t, const MonGroup &group) |
| Registers a TTree to be included in the output stream using logical parameters that describe it. More...
|
|
virtual StatusCode | writeAndDelete (TH1 *h, const MonGroup &group) |
| Write out histogram and delete it. More...
|
|
virtual StatusCode | deregHist (TH1 *h) |
| De-registers a TH1 from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregGraph (TGraph *g) |
| De-registers a TGraph from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const std::string &system, Interval_t interval) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const MonGroup &group) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | setupOutputStreams (std::vector< std::string > Mapping=std::vector< std::string >()) |
| This implementation does nothing—streams in this class should be managed by the AthenaMonManager. More...
|
|
virtual StatusCode | runStat () |
| This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ). More...
|
|
virtual bool | preSelector () |
|
virtual float | lbAverageInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average mu, i.e. More...
|
|
virtual float | lbInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Instantaneous number of interactions, i.e. More...
|
|
virtual float | lbAverageLuminosity (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1) More...
|
|
virtual float | lbLuminosityPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Instantaneous luminosity. More...
|
|
virtual double | lbDuration (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Luminosity block time (in seconds) More...
|
|
virtual float | lbAverageLivefraction (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average luminosity livefraction. More...
|
|
virtual float | livefractionPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Livefraction per bunch crossing ID. More...
|
|
virtual double | lbLumiWeight (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average Integrated Luminosity Live Fraction. More...
|
|
| MMTB_DEPRECATED (newLowStatInterval) |
|
| MMTB_DEPRECATED (newMedStatInterval) |
|
| MMTB_DEPRECATED (newHigStatInterval) |
|
| MMTB_DEPRECATED (newLowStat) |
|
| MMTB_DEPRECATED (newLumiBlock) |
|
| MMTB_DEPRECATED (newRun) |
|
| MMTB_DEPRECATED (newEventsBlock) |
|
| MMTB_DEPRECATED (endOfEventsBlock) |
|
| MMTB_DEPRECATED (endOfLowStat) |
|
| MMTB_DEPRECATED (endOfLumiBlock) |
|
| MMTB_DEPRECATED (endOfRun) |
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
TH1D * | book1D (const std::string &nam, const std::string &tit, int nx, double xmin, double xmax) |
| Implicit version of book1D. More...
|
|
TH1D * | book1D (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH2D * | book2D (const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax) |
| Implicit version of book2D. More...
|
|
TH2D * | book2D (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH1F * | book1F (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH1I * | book1I (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH1S * | book1S (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH1S * | book1Sx (const std::string &dir, const std::string &nam, const std::string &tit, int nx, const Double_t *xlgbins, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH1C * | book1C (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH2F * | book2F (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH2F * | book2F (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, const double *ybins, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH2I * | book2I (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH2S * | book2S (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TH2C * | book2C (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TProfile * | bookProfile (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TProfile * | bookProfile (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, double ymin, double ymax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TProfile * | bookProfile (const std::string &dir, const std::string &nam, const std::string &tit, int nx, const float *xbins, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TProfile2D * | bookProfile2D (const std::string &dir, const std::string &nam, const std::string &tit, int nx, double xmin, double xmax, int ny, double ymin, double ymax, double zmin, double zmax, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
TGraph * | bookGraph (const std::string &dir, const std::string &nam, const std::string &tit, int N, float *X, float *Y) |
|
TGraphErrors * | bookGraphErrors (const std::string &dir, const std::string &nam, const std::string &tit, int N, float *X, float *Y, float *X_errors, float *Y_errors) |
|
TGraphAsymmErrors * | bookGraphAsymmErrors (const std::string &dir, const std::string &nam, const std::string &tit, int N, float *X, float *Y, float *X_errors1, float *X_errors2, float *Y_errors1, float *Y_errors2) |
|
TMultiGraph * | bookMultiGraph (const std::string &dir, const std::string &nam, const std::string &tit) |
|
StatusCode | removeTObj (TObject *obj) |
|
template<typename T > |
void | regHist (const std::string &subDir, T *hist, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
virtual StatusCode | regHist (TH1 *h, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram. More...
|
|
virtual StatusCode | regHist (TH1 *h, const MonGroup &group) |
| Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram. More...
|
|
template<typename T > |
void | regGraph (const std::string &subDir, T *graph, Interval_t interval=run, MgmtAttr_t attribute=ATTRIB_MANAGED, const std::string &trigChain="", const std::string &mergeAlgo="") |
|
virtual StatusCode | regGraph (TGraph *g, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TGraph to be included in the output stream using logical parameters that describe the graph. More...
|
|
virtual StatusCode | regGraph (TGraph *g, const MonGroup &group) |
| Registers a TGraph to be included in the output stream using logical parameters that describe the graph. More...
|
|
std::string | getCellName (unsigned int ros, unsigned int channel) |
|
std::string | getTMDBCellName (unsigned int ros, unsigned int channel) |
|
bool | isDisconnected (int ros, int drawer, int ch) |
|
StatusCode | regManagedHistograms (std::vector< MgmtParams< TH1 > > &templateHistograms) |
|
StatusCode | regManagedGraphs (std::vector< MgmtParams< TGraph > > &templateGraphs) |
|
StatusCode | regManagedTrees (std::vector< MgmtParams< TTree > > &templateTrees) |
|
StatusCode | regManagedEfficiencies (std::vector< MgmtParams< TEfficiency > > &templateEfficiencies) |
|
StatusCode | parseList (const std::string &, std::vector< std::string > &) |
|
void | updateTriggersForGroups (std::vector< std::string > &) |
|
StatusCode | registerMetadata (const std::string &streamName, const std::string &hName, const MonGroup &group) |
|
StatusCode | THistSvc_deReg_fixTGraph (TFile *file, TGraph *theGraph, std::string &directoryName) |
| Fixes THistSvc->deReg(obj) when obj is TGraph instance. More...
|
|
unsigned int | get_nEvents () const |
|
long | get_procNEventsProp () const |
|
virtual bool | trigChainsArePassed (std::vector< std::string > &) |
|
virtual StreamNameFcn * | getNewStreamNameFcn () const |
|
bool | newLowStatIntervalFlag () const |
| Flag functions allowing clients to determine when to book new and process old histograms; values are updated by fillHists() based on counting lumiBlocks, and are correctly set when fillHistograms(), bookHistograms() and procHistograms() are called. More...
|
|
bool | newMedStatIntervalFlag () const |
|
bool | newHigStatIntervalFlag () const |
|
bool | newLowStatFlag () const |
|
bool | newLumiBlockFlag () const |
|
bool | newRunFlag () const |
|
bool | newEventsBlockFlag () const |
|
bool | endOfEventsBlockFlag () const |
|
bool | endOfLowStatFlag () const |
|
bool | endOfLumiBlockFlag () const |
|
bool | endOfRunFlag () const |
|
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution More...
|
|
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
|
void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. More...
|
|
|
const TileID * | m_tileID {} |
|
const TileHWID * | m_tileHWID {} |
|
const TileTBID * | m_tileTBID {} |
|
const TileCablingService * | m_cabling {} |
|
bool | m_savePng {} |
|
bool | m_savePs {} |
|
bool | m_saveSvg {} |
|
std::vector< int > | m_fragIDsToIgnoreDMUerrors |
|
std::vector< int > | m_fragIDsDemonstrators |
|
std::string | m_EBcellName [48] |
|
std::string | m_LBcellName [48] |
|
std::string | m_TMDB_LB_cell_names [8] = {"D0", "D1L", "D1R", "D2R", "D2L", "D3L", "D3R", ""} |
|
std::string | m_TMDB_EB_cell_names [4] = {"D5L", "D5R", "D6L", "D6R"} |
|
int | m_chMapLB [48] |
|
int | m_chMapEB [48] |
|
int | m_chMapEBsp [48] |
|
std::map< Interval_t, std::vector< MgmtParams< TH1 > > > | m_templateHistograms |
|
std::map< Interval_t, std::vector< MgmtParams< TGraph > > > | m_templateGraphs |
|
std::map< Interval_t, std::vector< MgmtParams< TTree > > > | m_templateTrees |
|
std::map< Interval_t, std::vector< MgmtParams< TEfficiency > > > | m_templateEfficiencies |
|
std::vector< std::string > | m_vTrigChainNames |
|
std::vector< std::string > | m_vTrigGroupNames |
|
MDMap_t | m_metadataMap |
|
AthenaMonManager * | m_manager |
|
std::string | m_managerNameProp |
|
std::string | m_fileKey |
|
std::string | m_dataTypeStr |
|
std::string | m_environmentStr |
|
unsigned int | m_detailLevel |
|
AthenaMonManager::DataType_t | m_dataType |
|
AthenaMonManager::Environment_t | m_environment |
|
StreamNameFcn * | m_streamNameFcn |
|
ServiceHandle< ITHistSvc > | m_THistSvc |
|
PublicToolHandle< Trig::ITrigDecisionTool > | m_trigDecTool {this, "TrigDecisionTool",""} |
|
PublicToolHandle< ITriggerTranslatorTool > | m_trigTranslator {this,"TriggerTranslatorTool",""} |
|
ToolHandleArray< IDQFilterTool > | m_DQFilterTools {this,"FilterTools",{}} |
|
long | m_procNEventsProp |
|
std::string | m_path |
|
long | m_preScaleProp |
|
std::string | m_triggerChainProp |
|
std::string | m_triggerGroupProp |
|
bool | m_useTrigger |
|
unsigned int | m_lastLumiBlock |
|
unsigned int | m_lastRun |
|
int | m_lastLowStatInterval |
|
int | m_lastMedStatInterval |
|
int | m_lastHigStatInterval |
|
unsigned int | m_nEvents |
|
unsigned int | m_nEventsIgnoreTrigger |
|
unsigned int | m_nLumiBlocks |
|
bool | m_haveClearedLastEventBlock |
|
|
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 113 of file ManagedMonitorToolBase.h.
◆ MgmtAttr_t
An enumeration describing how the class handles the histogram.
attrib_unmanaged: histograms with this attribute will not be rebooked automatically and must be managed by the user code.
attrib_x_is_lb: indicates that the x-axis of the histogram is the luminosity block number and that the histogram should be rebooked as necessary if the current LB exceeds the range.
Enumerator |
---|
ATTRIB_MANAGED | |
ATTRIB_UNMANAGED | |
ATTRIB_X_VS_LB | |
Definition at line 130 of file ManagedMonitorToolBase.h.
◆ RunType
◆ sumDspPlot
◆ TileFragStatus
Enumerator |
---|
ALL_OK | |
CRC_ERR | |
ALL_FF | |
ALL_00 | |
NO_FRAG | |
NO_ROB | |
Definition at line 62 of file TilePaterMonTool.h.
◆ TileRawChannelMonTool()
TileRawChannelMonTool::TileRawChannelMonTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~TileRawChannelMonTool()
TileRawChannelMonTool::~TileRawChannelMonTool |
( |
| ) |
|
|
virtual |
◆ book1C()
◆ book1D() [1/2]
◆ book1D() [2/2]
TH1D* TilePaterMonTool::book1D |
( |
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax |
|
) |
| |
|
inlineprotectedinherited |
◆ book1F()
◆ book1I()
◆ book1S()
◆ book1Sx()
◆ book2C()
TH2C * TilePaterMonTool::book2C |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2D() [1/2]
TH2D * TilePaterMonTool::book2D |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2D() [2/2]
TH2D* TilePaterMonTool::book2D |
( |
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax |
|
) |
| |
|
inlineprotectedinherited |
◆ book2F() [1/2]
TH2F * TilePaterMonTool::book2F |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
const double * |
ybins, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2F() [2/2]
TH2F * TilePaterMonTool::book2F |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2I()
TH2I * TilePaterMonTool::book2I |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ book2S()
TH2S * TilePaterMonTool::book2S |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ bookDsp()
void TileRawChannelMonTool::bookDsp |
( |
int |
ros, |
|
|
int |
drawer |
|
) |
| |
Definition at line 365 of file TileRawChannelMonTool.cxx.
368 const std::array<std::string, 6>
gain{
"_lo",
"_hi",
"",
" low gain",
" high gain",
"" };
371 std::ostringstream sStr;
374 std::string subDir = moduleName;
384 for (
int gn = mingain;
gn < maxgain; ++
gn) {
385 std::string finalsubDir =
"Summary";
387 sStr << moduleName <<
gain[
gn] <<
"_summary_chi2_amp";
388 std::string finalhistName = sStr.str();
391 if (
gn+3 >= std::ssize(
gain))
throw std::out_of_range(
"Index out of range in TileRawChannelMonTool::bookDsp");
392 sStr << moduleName <<
gain[3 +
gn] <<
" Summary chi2 versus amp";
393 std::string finalhistTitle = sStr.str();
397 m_data->m_finalHistDsp2[
ros][
drawer][
gn].push_back(
book2F(finalsubDir, finalhistName, finalhistTitle, 200, -45.1, 855.1, 16, 0., 16.));
400 m_data->m_finalHistDsp2[
ros][
drawer][
gn].push_back(
book2F(finalsubDir, finalhistName, finalhistTitle, 150, -7.0, 12.0, 16, 0., 16.));
404 m_data->m_finalHistDsp2[
ros][
drawer][
gn & 1].push_back(
book2F(subDir, finalhistName, finalhistTitle, 150, -7.005, 7.005, 16, 0., 16.));
407 m_data->m_finalHistDsp2[
ros][
drawer][
gn & 1].push_back(
book2F(subDir, finalhistName, finalhistTitle, 200, -45.1, 855.1, 16, 0., 16.));
413 for (
int ch = 0;
ch < 48; ++
ch) {
419 sStr << std::setfill(
'0') << std::setw(2) <<
ch << std::setfill(
' ');
420 std::string sCh = sStr.str();
422 for (
int gn = mingain;
gn < maxgain; ++
gn) {
425 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_dsp_amp";
429 if (
gn+3 >= std::ssize(
gain))
throw std::out_of_range(
"Index out of range in TileRawChannelMonTool::bookDsp");
430 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" Dsp Amp";
431 histTitle = sStr.str();
449 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_dsp_time";
453 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" Dsp Time";
454 histTitle = sStr.str();
459 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_dsp_chi2";
463 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" Dsp Chi2";
464 histTitle = sStr.str();
469 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_dsp-fit_amp_diff";
473 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" Dsp-OF Amp difference";
474 histTitle = sStr.str();
476 auto ix = (
gn < 2) ?
gn : (
gn & 1);
480 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_dsp-fit_time_diff";
484 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" Dsp-OF Time diff";
485 histTitle = sStr.str();
490 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_chi2_amp";
494 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" Dsp Chi2 versus Amp";
495 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 476 of file TilePaterMonTool.cxx.
481 TGraphAsymmErrors *
hist =
new TGraphAsymmErrors(
N,
X,
Y, X_errors1, X_errors2, Y_errors1, Y_errors2);
482 hist->SetName(TString(nam));
486 return (TGraphAsymmErrors*)
hist;
◆ bookGraphErrors()
TGraphErrors * TilePaterMonTool::bookGraphErrors |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
N, |
|
|
float * |
X, |
|
|
float * |
Y, |
|
|
float * |
X_errors, |
|
|
float * |
Y_errors |
|
) |
| |
|
protectedinherited |
Definition at line 419 of file TilePaterMonTool.cxx.
421 TGraphErrors *
hist =
new TGraphErrors(
N,
X,
Y, X_errors, Y_errors);
422 hist->SetName(TString(nam));
426 return (TGraphErrors *)
hist;
◆ bookHistograms()
StatusCode ManagedMonitorToolBase::bookHistograms |
( |
| ) |
|
|
virtualinherited |
An inheriting class should either override this function or bookHists().
Reimplemented in photonMonTool, egammaMonToolBase, electronMonTool, MuonPhysValMonitoring::MuonPhysValMonitoringTool, ActsTrk::PhysValTool, PhysValSecVtx, ZeeTaPMonTool, forwardElectronMonTool, CscCalibMonToolBase, InDetPhysValMonitoringTool, EgammaPhysValMonitoring::EgammaPhysValMonitoringTool, MissingEtDQA::PhysValMET, CscCalibMonToolSlope, InDetTrackPerfMonTool, JetTagDQA::PhysValBTag, PhysVal::PhysValExample, CscCalibMonToolPed, GeneratorPhysVal::GeneratorPhysValMonitoringTool, ZeeValidation::ZeeValidationMonitoringTool, IDPerfMonWenu, IDPerfMonZee, TrackCaloClusterRecValidationTool, JetMonitoringTool, TileCellNoiseMonTool, PhysValTau, PhysValFE, DiMuMon, ManagedMonitorToolTest, IDPerfMonKshort, and PhysValCluster.
Definition at line 1298 of file ManagedMonitorToolBase.cxx.
1302 return StatusCode::SUCCESS;
◆ bookHistogramsRecurrent()
StatusCode ManagedMonitorToolBase::bookHistogramsRecurrent |
( |
| ) |
|
|
virtualinherited |
◆ bookHists() [1/2]
StatusCode TileRawChannelMonTool::bookHists |
( |
| ) |
|
|
overridevirtual |
◆ bookHists() [2/2]
void TileRawChannelMonTool::bookHists |
( |
int |
ros, |
|
|
int |
drawer |
|
) |
| |
Definition at line 179 of file TileRawChannelMonTool.cxx.
182 const std::array<std::string, 6>
gain{
"_lo",
"_hi",
"",
" low gain",
" high gain",
"" };
184 std::ostringstream sStr;
186 std::string subDir = moduleName;
196 for (
int ch = 0;
ch < 48; ++
ch) {
201 sStr << std::setfill(
'0') << std::setw(2) <<
ch << std::setfill(
' ');
203 std::string sCh = sStr.str();
205 for (
int gn = mingain;
gn < maxgain; ++
gn) {
209 std::string HistName[4] = {
"_amp_ratio_100",
"_amp_ratio_5",
"_time_100",
"_time_5" };
210 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" };
214 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] << HistName[
type];
218 if (
gn+3 >= std::ssize(
gain))
throw std::out_of_range(
"Index out of range in TileRawChannelMonTool::bookHists");
219 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] << HistTitle[
type];
220 histTitle = sStr.str();
229 std::string Hist2DName[4] = {
"_amp_vs_q_100",
"_amp_vs_q_5",
"_time_vs_time_100",
"_time_vs_time_5" };
230 std::string Hist2DTitle[4] = {
" amp vs charge 100 pF",
" amp vs charge 5 pF",
" time vs time 100 pF",
" time vs time 5 pF" };
231 float factor_charge =
m_is12bit ? 2. : 1.;
234 float LowX_low2D[4] = { -4., -0.5, -0.25, -0.25 };
235 float HighX_low2D[4] = { 804., 50.5, 25.25, 25.25 };
236 float LowX_hi2D[4] = {
static_cast<float>(-0.0625 * factor_charge),
static_cast<float>(-0.0625 * factor_charge), -0.25, -0.25 };
237 float HighX_hi2D[4] = {
static_cast<float>(12.5625 * factor_charge),
static_cast<float>(12.5625 * factor_charge), 25.25, 25.25 };
238 float LowY_low2D[4] = { -25., -5.3125, -64.0, -64.0 };
239 float HighY_low2D[4] = { 1025., 60.3125, 32.0, 32.0 };
240 float LowY_hi2D[4] = {
static_cast<float>(-25. * factor_adc),
static_cast<float>(-25. * factor_adc), -64.0, -64.0 };
241 float HighY_hi2D[4] = {
static_cast<float>(1025. * factor_adc),
static_cast<float>(1025. * factor_adc), 32.0, 32.0 };
242 float LowY_hi2D_pC[4] = {
static_cast<float>(-.391 * factor_adc),
static_cast<float>(-.391 * factor_adc), -64.0, -64.0 };
243 float HighY_hi2D_pC[4] = {
static_cast<float>(16.02 * factor_adc),
static_cast<float>(16.02 * factor_adc), 32.0, 32.0 };
248 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] << Hist2DName[
type];
252 if (
gn+3 >= std::ssize(
gain))
throw std::out_of_range(
"Index out of range in TileRawChannelMonTool::bookHists");
253 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] << Hist2DTitle[
type];
254 histTitle = sStr.str();
283 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_amp";
287 if (
gn+3 >= std::ssize(
gain))
throw std::out_of_range(
"Index out of range in TileRawChannelMonTool::bookHists");
288 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" amp";
289 histTitle = sStr.str();
306 const Int_t nlg1 = 49;
307 const Int_t nlg2 = 500;
308 const Int_t nlg3 = 1027;
309 Double_t xlgbin[nlg1 + nlg2 + nlg3 + 1];
310 for(Int_t
i = 0;
i <= nlg1; ++
i)
311 xlgbin[
i] = -50.5+1.0*
i;
312 for(Int_t
i = 1;
i <= nlg2; ++
i)
313 xlgbin[
i + nlg1] = -1.5 + 0.05 *
i;
314 for(Int_t
i = 1;
i <= nlg3; ++
i)
315 xlgbin[
i + nlg1 + nlg2] = 23.5 + 1.0 *
i;
337 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_time";
341 if (
gn+3 >= std::ssize(
gain))
throw std::out_of_range(
"Index out of range in TileRawChannelMonTool::bookHists");
342 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" time";
343 histTitle = sStr.str();
348 sStr << moduleName <<
"_ch_" << sCh <<
gain[
gn] <<
"_time_corr";
352 sStr << moduleName <<
" CH " <<
ch <<
gain[3 +
gn] <<
" time_corr";
353 histTitle = sStr.str();
◆ bookMultiGraph()
TMultiGraph * TilePaterMonTool::bookMultiGraph |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit |
|
) |
| |
|
protectedinherited |
◆ bookProfile() [1/3]
◆ bookProfile() [2/3]
TProfile * TilePaterMonTool::bookProfile |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ bookProfile() [3/3]
◆ bookProfile2D()
TProfile2D * TilePaterMonTool::bookProfile2D |
( |
const std::string & |
dir, |
|
|
const std::string & |
nam, |
|
|
const std::string & |
tit, |
|
|
int |
nx, |
|
|
double |
xmin, |
|
|
double |
xmax, |
|
|
int |
ny, |
|
|
double |
ymin, |
|
|
double |
ymax, |
|
|
double |
zmin, |
|
|
double |
zmax, |
|
|
Interval_t |
interval = run , |
|
|
MgmtAttr_t |
attribute = ATTRIB_MANAGED , |
|
|
const std::string & |
trigChain = "" , |
|
|
const std::string & |
mergeAlgo = "" |
|
) |
| |
|
protectedinherited |
◆ bookSummaryHistograms()
void TileRawChannelMonTool::bookSummaryHistograms |
( |
int |
ros, |
|
|
int |
drawer |
|
) |
| |
|
private |
Definition at line 908 of file TileRawChannelMonTool.cxx.
913 const std::array<std::string, 6>
gain = {
"_lo",
"_hi",
"",
" low gain",
" high gain",
"" };
920 std::ostringstream sStr;
924 const char *HistName[6] = {
"_tslope",
"_toffset",
"_qratio",
" Time slope",
" Time offset",
" Amp/Q ratio" };
925 const char *CapName[4] = {
"_100",
"_5",
" 100 pF",
" 5 pF" };
929 std::string subDir =
"Summary";
932 for (
int gn = mingain;
gn < maxgain; ++
gn) {
934 for (
int cap = 0; cap < 2; ++cap) {
938 sStr << moduleName <<
gain[
gn] << HistName[
type] << CapName[cap];
941 if (
gn+3 >= std::ssize(
gain))
throw std::out_of_range(
"Index out of range in TileRawChannelMonTool::bookSummaryHistograms");
942 sStr << moduleName <<
gain[3 +
gn] << HistName[3 +
type] << CapName[2 + cap];
943 histTitle = sStr.str();
950 const char *HistName[10] = {
"_amp",
"_rms",
"_sigma",
"_time",
"_time_corr",
" Amplitude",
" RMS of amplitude",
" Sigma amp from Gaussian fit",
951 " Average time and RMS",
" Average time corr. and RMS" };
955 std::string subDir =
"Summary";
958 for (
int gn = mingain;
gn < maxgain; ++
gn) {
966 sStr << moduleName <<
gain[
gn] << HistName[
type];
969 if (
gn+3 >= std::ssize(
gain))
throw std::out_of_range(
"Index out of range in TileRawChannelMonTool::bookSummaryHistograms");
970 sStr << moduleName <<
gain[3 +
gn] << HistName[5 +
type];
971 histTitle = sStr.str();
974 std::string hTitle(histTitle);
978 hTitle +=
" (Even PMTs)";
985 hTitle +=
" (Odd PMTs)";
991 if (ros < 3 && m_data->m_summaryPmts[0][
drawer][
adc][0].
size() < (
unsigned int)(
type + 1)) {
994 histTitle.replace(histTitle.begin(), histTitle.begin() + 3,
"LB");
997 hTitle +=
" (LBA even PMTs + LBC odd PMTs: negative)";
1004 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 1950 of file TileRawChannelMonTool.cxx.
1963 if (((*headerVec)[dmu] >> 25) & 0
x1) {
1968 if (((*headerVec)[dmu] >> 24) & 0
x1) {
1973 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 1427 of file TileRawChannelMonTool.cxx.
1433 return StatusCode::SUCCESS;
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ deregGraph()
StatusCode ManagedMonitorToolBase::deregGraph |
( |
TGraph * |
g | ) |
|
|
virtualinherited |
◆ deregHist()
StatusCode ManagedMonitorToolBase::deregHist |
( |
TH1 * |
h | ) |
|
|
virtualinherited |
◆ deregObject() [1/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1643 of file ManagedMonitorToolBase.cxx.
◆ deregObject() [2/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1633 of file ManagedMonitorToolBase.cxx.
◆ detStore()
◆ drawDsp()
void TileRawChannelMonTool::drawDsp |
( |
int |
ros, |
|
|
int |
drawer, |
|
|
const std::string & |
moduleName |
|
) |
| |
Definition at line 1717 of file TileRawChannelMonTool.cxx.
1725 TCanvas * Can = NULL;
1727 Can =
new TCanvas(
"dsp_amp",
"dsp_amp", 402 * maxgain, 588);
1728 Can->Divide(maxgain, 3);
1729 gStyle->SetOptStat(0);
1730 gStyle->SetTitleFontSize(0.1);
1733 TLine
line(0., 0., 48., 0.);
1734 line.SetLineColor(3);
1736 double maxy[6] = { 0.05, 0.05, 0.5, 0.5, 10.0, 10.0 };
1737 double miny[6] = { -0.05, -0.05, -0.5, -0.5, -0.05, -0.05 };
1738 double norm[2] = { 1., 1 };
1739 for (
int adc = 0;
adc < maxgain; ++
adc) {
1750 pad = Can->cd(
adc + 1);
1751 pad->SetTopMargin(0.15);
1778 pad = Can->cd(maxgain +
adc + 1);
1779 pad->SetTopMargin(0.15);
1805 pad = Can->cd(2 * maxgain +
adc + 1);
1806 pad->SetTopMargin(0.15);
1812 if (minchidsp > miny[4 +
adc] + 0.1 * TMath::Abs(miny[4 +
adc]))
m_data->m_finalHistDsp2[
ros][
drawer][
adc][0]->SetMinimum(miny[4 +
adc]);
1817 gStyle->SetPalette(1);
1824 Can->Print(TString(moduleName +
"_dsp_amp.png"),
"png");
1827 Can->Print(TString(moduleName +
"_dsp_amp.ps"),
"ps");
1830 Can->Print(TString(moduleName +
"_dsp_amp.svg"),
"svg");
1832 if (do_plots)
delete Can;
1834 for (
int adc = 0;
adc < maxgain; ++
adc) {
◆ drawHists()
void TileRawChannelMonTool::drawHists |
( |
int |
ros, |
|
|
int |
drawer, |
|
|
const std::string & |
moduleName |
|
) |
| |
Definition at line 1437 of file TileRawChannelMonTool.cxx.
1452 for (
int i = 0;
i < 48;
i++) {
1453 X_axis[
i] =
i + 0.5;
1457 const char *
gain[6] = {
"_lo",
"_hi",
"",
" low gain",
" high gain",
"" };
1458 const char *CapName[4] = {
"_100",
"_5",
" 100 pF",
" 5 pF" };
1466 TCanvas * Can = NULL;
1468 Can =
new TCanvas(
"amp_ratio",
"amp_ratio", 402 * maxgain, 588);
1469 Can->Divide(maxgain, 2);
1470 gStyle->SetOptStat(0);
1471 gStyle->SetTitleFontSize(0.1);
1474 TLine
line(0., 1., 48., 1.);
1475 line.SetLineColor(3);
1477 std::string subDir =
"Summary";
1478 std::vector<TGraphAsymmErrors*> grapherrVec;
1480 for (
int adc = 0;
adc < maxgain; ++
adc) {
1481 for (
int cap = 0; cap < 2; ++cap) {
1483 std::ostringstream sStr;
1484 sStr << moduleName <<
gain[
adc] <<
"_tails" << CapName[cap];
1485 std::string graphName = sStr.str();
1487 sStr << moduleName <<
gain[
adc + 3] <<
" Mean Amp/Q ratio and up/down tails " << CapName[2 + cap];
1488 std::string graphTitle = sStr.str();
1492 pad = Can->cd(cap * maxgain +
adc + 1);
1493 pad->SetTopMargin(0.15);
1497 TGraphAsymmErrors * final_Egraph =
bookGraphAsymmErrors(subDir, graphName, graphTitle, 48, X_axis,
m_data->m_rangeQ[
adc][cap][0], X_errors, X_errors,
1499 grapherrVec.push_back(final_Egraph);
1510 final_Egraph->SetMarkerStyle(21);
1511 final_Egraph->SetMarkerSize(
ms);
1512 final_Egraph->SetMaximum(2.2);
1513 final_Egraph->SetMinimum(-0.2);
1514 final_Egraph->GetXaxis()->SetRangeUser(0, 48);
1516 final_Egraph->Draw(
"P0");
1524 Can->Print(TString(moduleName +
"_amp_ratio.png"),
"png");
1527 Can->Print(TString(moduleName +
"_amp_ratio.ps"),
"ps");
1530 Can->Print(TString(moduleName +
"_amp_ratio.svg"),
"svg");
1532 if (do_plots)
delete Can;
1536 std::vector<TGraphAsymmErrors*>::const_iterator
it = grapherrVec.begin();
1537 std::vector<TGraphAsymmErrors *>::const_iterator itend = grapherrVec.end();
1538 for (;
it != itend; ++
it) {
1544 Can =
new TCanvas(
"fit_time",
"fit_time", 402 * maxgain, 588);
1545 Can->Divide(maxgain, 4);
1546 gStyle->SetOptStat(0);
1547 gStyle->SetTitleFontSize(0.1);
1550 double maxy[2] = { 1.4, 15.0 };
1551 double miny[2] = { -0.1, -15.0 };
1553 for (
int adc = 0;
adc < maxgain; ++
adc) {
1554 for (
int cap = 0; cap < 2; ++cap) {
1559 pad = Can->cd((
type + cap * 2) * maxgain +
adc + 1);
1560 pad->SetTopMargin(0.15);
1576 line.SetLineColor(3);
1584 Can->Print(TString(moduleName +
"_fit_time.png"),
"png");
1587 Can->Print(TString(moduleName +
"_fit_time.ps"),
"ps");
1590 Can->Print(TString(moduleName +
"_fit_time.svg"),
"svg");
1592 if (do_plots)
delete Can;
1599 TCanvas * Can = NULL;
1601 Can =
new TCanvas(
"fit_amp",
"fit_amp", 402 * maxgain, 588);
1602 Can->Divide(maxgain, 3);
1603 gStyle->SetOptStat(0);
1604 gStyle->SetTitleFontSize(0.1);
1607 double maxy[6] = { 1.0, 0.05, 1.0, 0.05, 25.0, 25.0 };
1608 double miny[6] = { -1.0, -0.05, 0.0, 0.0, -25.0, -25.0 };
1610 for (
int adc = 0;
adc < maxgain; ++
adc) {
1623 pad = Can->cd(
adc + 1);
1624 pad->SetTopMargin(0.15);
1640 pad = Can->cd(maxgain +
adc + 1);
1641 pad->SetTopMargin(0.15);
1647 if (max2 < maxy[2 +
adc])
1655 if (min1 > miny[2 +
adc]) {
1656 if (min2 > miny[2 +
adc])
1684 pad = Can->cd(2 * maxgain +
adc + 1);
1685 pad->SetTopMargin(0.15);
1690 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]);
1703 Can->Print(TString(moduleName +
"_fit_amp.png"),
"png");
1706 Can->Print(TString(moduleName +
"_fit_amp.ps"),
"ps");
1709 Can->Print(TString(moduleName +
"_fit_amp.svg"),
"svg");
1711 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 804 of file TileRawChannelMonTool.cxx.
818 for (; collItr != lastColl; ++collItr) {
823 if (chItr != lastCh) {
834 for (; chItr != lastCh; ++chItr) {
881 if (
it != efitMap.end()) {
882 double efit = (*it).second.at(
chan +
gain * 48);
884 double tfit = (*it).second.at(
chan +
gain * 48);
901 return StatusCode::SUCCESS;
◆ fillHistograms()
StatusCode ManagedMonitorToolBase::fillHistograms |
( |
| ) |
|
|
virtualinherited |
An inheriting class should either override this function or fillHists().
Reimplemented in photonMonTool, egammaMonToolBase, electronMonTool, MuonPhysValMonitoring::MuonPhysValMonitoringTool, ActsTrk::PhysValTool, PhysValSecVtx, ZeeTaPMonTool, forwardElectronMonTool, CscCalibMonToolBase, InDetPhysValMonitoringTool, EgammaPhysValMonitoring::EgammaPhysValMonitoringTool, MissingEtDQA::PhysValMET, InDetTrackPerfMonTool, JetTagDQA::PhysValBTag, PhysVal::PhysValExample, GeneratorPhysVal::GeneratorPhysValMonitoringTool, ZeeValidation::ZeeValidationMonitoringTool, IDPerfMonWenu, IDPerfMonZee, TrackCaloClusterRecValidationTool, MdtVsTgcRawDataValAlg, MdtVsRpcRawDataValAlg, JetMonitoringTool, TileCellNoiseMonTool, PhysValTau, PhysValFE, DiMuMon, ManagedMonitorToolTest, IDPerfMonKshort, and PhysValCluster.
Definition at line 1306 of file ManagedMonitorToolBase.cxx.
1309 return StatusCode::SUCCESS;
◆ fillHists()
StatusCode 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 517 of file TileRawChannelMonTool.cxx.
539 for (; collItr2 != lastColl2; ++collItr2) {
543 if (digitsItr != lastDigits) {
548 std::vector<uint32_t> headerVec = (*collItr2)->getFragChipHeaderWords();
549 int headsize = headerVec.size();
550 if (headsize > 16) headsize = 16;
552 int fragId = (*collItr2)->identify();
555 for (
int dmu = 0; dmu < headsize; dmu++) {
561 for (
int dmu = 0; dmu < headsize; dmu++) {
567 for (
int dmu = headsize; dmu < 16; dmu++) {
584 double avgTimePerPart[5], sumTimeCh[5];
586 for (
int iros = 0; iros < 5; iros++) {
587 avgTimePerPart[iros] = 0;
593 for (
int k = 0;
k < 2;
k++) {
598 for (; collItr != lastColl; ++collItr) {
600 int cap = (
m_cispar[7] > 10) ? 0 : 1;
603 double hg_small_charge = 1.;
604 double lg_small_charge = (cap) ? 10. : 15.;
605 double hg_charge_cut = 11.5;
606 double lg_charge_cut = 750.;
608 int fragId = (*collItr)->identify();
611 hg_small_charge *= 2.;
616 double timeInj =
m_cispar[5] * 0.104;
621 if (chItr != lastCh) {
635 std::vector<double> efitVec(
m_bigain ? 96 : 48, 0.), tfitVec(
m_bigain ? 96 : 48, 0.);
637 for (; chItr != lastCh; ++chItr) {
690 if ( ( (
adc == 1) && (
charge < hg_charge_cut) && (
charge > hg_small_charge) ) ||
691 ( (
adc == 0) && (
charge < lg_charge_cut) && (
charge > lg_small_charge) ) ) {
735 if ((
ros == 3 ||
ros == 4)
748 timeCorr =
time - avgTimePerPart[
ros];
773 for (
int iros = 0; iros < 5; iros++) {
774 if (nCh[iros] != 0) {
775 avgTimePerPart[iros] = sumTimeCh[iros] / nCh[iros];
777 avgTimePerPart[iros] = 0;
800 return StatusCode::SUCCESS;
◆ fillSummaryHistograms()
StatusCode TileRawChannelMonTool::fillSummaryHistograms |
( |
| ) |
|
|
private |
Definition at line 1046 of file TileRawChannelMonTool.cxx.
1054 TF1 * fit_gaus =
new TF1(
"g",
"gaus");
1065 for (
int gn = mingain;
gn < maxgain; ++
gn) {
1068 for (
int cap = 0; cap < 2; ++cap) {
1069 for (
int ch = 0;
ch < 48; ++
ch) {
1076 m_data->m_finalHist1[
ros][
drawer][
adc][cap][0]->SetBinContent(
ch + 1, polyfunc->GetParameter(1));
1077 if (polyfunc->GetParError(1) > 5) {
1082 m_data->m_finalHist1[
ros][
drawer][
adc][cap][1]->SetBinContent(
ch + 1, polyfunc->GetParameter(0));
1083 if (polyfunc->GetParError(0) > 5) {
1102 for (; minbin <
nbins; ++minbin) {
1103 if (
hist->GetBinContent(minbin) > 0.0) {
1108 for (; maxbin > 1; --maxbin) {
1109 if (
hist->GetBinContent(maxbin) > 0.0) {
1115 double xmin =
hist->GetBinCenter(minbin);
1116 double xmax =
hist->GetBinCenter(maxbin);
1148 for (
int gn = mingain;
gn < maxgain; ++
gn) {
1151 for (
int ch = 0;
ch < 48; ++
ch) {
1155 double Amp = 0.0, ErrA = 0.0,
RMS = 0.0, ErrR = 0.0;
1156 double Time = 0.0, RMST = 0.0, Sigma = 0.0, ErrS = 0.0;
1159 double TimeCorr = 0.0, RMSTCorr = 0.0;
1162 if (NEvents > 0.0) {
1168 ErrA =
RMS / sqrt(NEvents);
1169 ErrR =
RMS / sqrt(2 * NEvents);
1184 if (NEventsCorr > 0.0) {
1186 RMSTCorr =
m_data->m_timeCovCorr[
ros][
drawer][
ch][
adc][0][1] / NEventsCorr - TimeCorr * TimeCorr;
1187 if (RMSTCorr > 0.0) {
1188 RMSTCorr = sqrt(RMSTCorr);
1198 h4fit->Scale(1,
"width");
1199 h4fit->Fit(
"g",
"NQ");
1204 Sigma = fit_gaus->GetParameter(2);
1205 ErrS = fit_gaus->GetParError(2);
1222 if (
pmt < 0)
continue;
1224 int fiber = (
pmt % 2);
1290 return StatusCode::SUCCESS;
◆ finalDsp()
StatusCode TileRawChannelMonTool::finalDsp |
( |
int |
ros, |
|
|
int |
drawer |
|
) |
| |
get algorithm and number of iterations from bsflags
Definition at line 1320 of file TileRawChannelMonTool.cxx.
1329 unsigned int iteration = 0
u;
1333 iteration =
info & 3
u;
1340 const char *
alg_name[2] = {
"OF1",
"OF2" };
1341 const char * iter_name[4] = {
"NI",
"I1",
"I2",
"I3" };
1343 const char *
part[5] = {
"AUX",
"LBA",
"LBC",
"EBA",
"EBC" };
1344 const char *
gain[4] = {
"_lo",
"_hi",
" low gain",
" high gain" };
1352 const char *HistName[9] = {
"_dspfit_ampdiff",
"_dspfit_timediff",
"_dspamp",
" Avg. (DSP-",
" Average DSP-",
" Average DSP-",
1353 " - OFF-OF2-I) / OFF Amplitudes and RMS",
" - OFF-OF2-I Time and RMS",
" Amplitudes and RMS" };
1355 std::ostringstream sStr;
1356 sStr <<
part[
ros] << std::setfill(
'0') << std::setw(2) <<
drawer + 1 << std::setfill(
' ');
1357 std::string moduleName = sStr.str();
1358 std::string subDir =
"Summary";
1361 for (
int gn = mingain;
gn < maxgain; ++
gn) {
1367 sStr << moduleName <<
gain[
gn] << HistName[
type];
1371 histTitle = sStr.str();
1377 sStr << moduleName <<
gain[
gn] <<
"_dspfit_amphbar";
1381 <<
" - OFF-OF2-I) divided by OFF Amplitudes for all chans";
1382 histTitle = sStr.str();
1386 sStr << moduleName <<
gain[
gn] <<
"_dspfit_timehbar";
1389 sStr << moduleName <<
gain[2 +
gn] <<
" (DSP-" <<
alg_name[
algorithm] <<
"-" << iter_name[iteration] <<
" - OFF-OF2-I) Time for all chans";
1390 histTitle = sStr.str();
1393 for (
int ch = 0;
ch < 48; ++
ch) {
1423 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/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1419 of file ManagedMonitorToolBase.cxx.
◆ getHist() [2/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1409 of file ManagedMonitorToolBase.cxx.
◆ getHist() [3/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1438 of file ManagedMonitorToolBase.cxx.
◆ getHist() [4/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1428 of file ManagedMonitorToolBase.cxx.
◆ getNewStreamNameFcn()
|
protectedvirtualinherited |
Definition at line 2157 of file ManagedMonitorToolBase.cxx.
2160 StreamNameFcn* fcn(0);
2164 fcn =
new NoOutputStream();
2167 fcn =
new OnlineStream();
◆ 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 1917 of file TileRawChannelMonTool.cxx.
1921 TProfile* prof = hist2d->ProfileX();
1924 TH1S
hist(
"hist",
"TMP Histo", prof->GetNbinsX(), prof->GetBinLowEdge(1), prof->GetBinLowEdge(prof->GetNbinsX() + 1));
1925 float lastbin = -99.;
1928 for (
int i = 1;
i < prof->GetNbinsX() + 1;
i++) {
1929 if (prof->GetBinError(
i) > 1
e-7) {
1930 if ((shift < 1.) && ((prof->GetBinContent(
i) - (lastbin + (
i - lasti))) < -10.)) {
1934 lastbin = prof->GetBinContent(
i);
1935 hist.SetBinContent(
i, prof->GetBinContent(
i) + shift);
1936 hist.SetBinError(
i, prof->GetBinError(
i));
1939 TF1* polfun =
new TF1(
"polfun",
"pol1", 0., 25.);
1940 hist.Fit(
"polfun",
"NQ");
1942 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 536 of file ManagedMonitorToolBase.cxx.
539 std::string
str(
"file");
◆ intervalStringToEnum()
Converts a string to the corresponding Interval_t.
Definition at line 578 of file ManagedMonitorToolBase.cxx.
581 std::string lcstr( strToLower(
str) );
585 else if( lcstr ==
"fill" )
587 else if( lcstr ==
"run" )
589 else if( lcstr ==
"lowStat" )
591 else if( lcstr ==
"medStat" )
593 else if( lcstr ==
"higStat" )
595 else if( lcstr ==
"lumiBlock" )
597 else if( lcstr ==
"eventsBlock" )
599 else if( lcstr ==
"file" )
605 MsgStream
log(
ms,
"ManagedMonitorToolBase::intervalStringToEnum()" );
606 log << MSG::WARNING <<
"Unknown ManagedMonitorToolBase::Interval_t \""
607 <<
str <<
"\", returning \"file\"" <<
endmsg;
◆ isDisconnected()
bool TilePaterMonTool::isDisconnected |
( |
int |
ros, |
|
|
int |
drawer, |
|
|
int |
ch |
|
) |
| |
|
inlineprotectedinherited |
◆ LaserFancyPlotting()
void TileRawChannelMonTool::LaserFancyPlotting |
( |
int |
ros, |
|
|
int |
drawer, |
|
|
int |
maxgain, |
|
|
const std::string & |
moduleName |
|
) |
| |
Definition at line 1982 of file TileRawChannelMonTool.cxx.
1989 TCanvas * Can = NULL;
1991 Can =
new TCanvas(
"fit_amp",
"fit_amp", 402 * maxgain, 735);
1993 Can->Divide(maxgain, 5);
1994 gStyle->SetOptStat(0);
1995 gStyle->SetTitleFontSize(0.1);
1997 TLine *
line =
new TLine();
1998 line->SetLineWidth(2);
1999 line->SetLineStyle(7);
2000 line->SetLineColor(3);
2004 double maxy[6] = { 5.0, 0.5, 1.0, 0.05, 25.0, 25.0 };
2005 double miny[6] = { -5.0, -0.5, 0.0, 0.0, -25.0, -25.0 };
2008 TH1F* final_empty[2];
2010 TH1F* final_even[2];
2013 TH1F* pmtGain_empty[2];
2014 TH1F* pmtGain_odd[2];
2015 TH1F* pmtGain_even[2];
2017 for (
int g = 0;
g < 2;
g++) {
2019 std::ostringstream hn;
2020 hn <<
"empty_" <<
g;
2021 final_empty[
g] =
new TH1F(hn.str().c_str(),
m_data->m_finalHist1[
ros][
drawer][
g][0][0]->GetTitle(), 48, 0, 48);
2024 final_odd[
g] =
new TH1F(hn.str().c_str(),
m_data->m_finalHist1[
ros][
drawer][
g][0][0]->GetTitle(), 48, 0, 48);
2027 final_even[
g] =
new TH1F(hn.str().c_str(),
m_data->m_finalHist1[
ros][
drawer][
g][0][0]->GetTitle(), 48, 0, 48);
2032 const char*
gain[2] = {
"low",
"high" };
2033 const char* moduleNames[5] = {
"AUX",
"LBA",
"LBC",
"EBA",
"EBC" };
2039 std::ostringstream sStr;
2040 std::string subDir =
"Summary";
2042 sStr << moduleNames[
ros] << std::setfill(
'0') << std::setw(2) <<
drawer + 1 << std::setfill(
' ') <<
gain[
g] <<
"_pmtGain_empty";
2048 sStr << moduleNames[
ros] << std::setfill(
'0') << std::setw(2) <<
drawer + 1 << std::setfill(
' ') <<
gain[
g] <<
"_pmtGain_odd";
2054 sStr << moduleNames[
ros] << std::setfill(
'0') << std::setw(2) <<
drawer + 1 << std::setfill(
' ') <<
gain[
g] <<
"_pmtGain_even";
2061 for (
int adc = 0;
adc < maxgain; ++
adc) {
2075 final_empty[
adc]->SetMaximum(1.05 * max0);
2077 final_empty[
adc]->SetMaximum(0.);
2080 if ((max0 - min0) > 0) {
2081 final_empty[
adc]->SetMinimum(max0 - 1.05 * (max0 - min0));
2087 pad = Can->cd(
adc + 1);
2088 pad->SetTopMargin(0.15);
2093 double Kapa = 1.30e-3;
2094 for (
int ch = 0;
ch < 48; ++
ch) {
2098 pmtGain_empty[
adc]->SetBinContent(
ch + 1, 0.01);
2099 pmtGain_empty[
adc]->SetBinError(
ch + 1, 0.01);
2120 pmtGain_even[
adc]->SetBinContent(
ch + 1, -0.5);
2121 pmtGain_even[
adc]->SetBinError(
ch + 1, 0.001);
2135 pmtGain_odd[
adc]->SetBinContent(
ch + 1, -0.5);
2136 pmtGain_odd[
adc]->SetBinError(
ch + 1, 0.001);
2144 double max = pmtGain_odd[
adc]->GetMaximum();
2145 if (pmtGain_even[
adc]->GetMaximum() >
max)
max = 1.05 * pmtGain_even[
adc]->GetMaximum();
2146 double min = pmtGain_odd[
adc]->GetMinimum();
2147 if (pmtGain_even[
adc]->GetMinimum() <
min)
min = pmtGain_even[
adc]->GetMinimum() - 0.05 * fabs(pmtGain_even[
adc]->GetMinimum());
2148 if (
max < 0.20)
max = 0.20;
2149 if (
min > -0.10)
min = -0.10;
2151 pmtGain_empty[
adc]->SetMarkerStyle(21);
2152 pmtGain_even[
adc]->SetMarkerStyle(22);
2153 pmtGain_odd[
adc]->SetMarkerStyle(23);
2154 pmtGain_empty[
adc]->SetMarkerSize(
ms);
2155 pmtGain_even[
adc]->SetMarkerSize(
ms);
2156 pmtGain_odd[
adc]->SetMarkerSize(
ms);
2157 pmtGain_empty[
adc]->SetLabelSize(0.08,
"X");
2158 pmtGain_empty[
adc]->SetLabelSize(0.08,
"Y");
2159 pmtGain_even[
adc]->SetMarkerColor(2);
2160 pmtGain_odd[
adc]->SetMarkerColor(4);
2161 pmtGain_empty[
adc]->GetYaxis()->SetRangeUser(
min,
max);
2163 pmtGain_empty[
adc]->Draw(
"e");
2164 pmtGain_even[
adc]->Draw(
"same,e");
2165 pmtGain_odd[
adc]->Draw(
"same,e");
2166 line->DrawLine(0, -0.01, 48, -0.01);
2167 line->DrawLine(0, 0.15, 48, 0.15);
2170 pad = Can->cd(maxgain +
adc + 1);
2171 pad->SetTopMargin(0.15);
2176 if (max0 < 0.9 * maxy[
adc]) final_empty[
adc]->SetMaximum(maxy[
adc]);
2177 if (min0 > miny[
adc] + 0.1 * TMath::Abs(miny[
adc])) final_empty[
adc]->SetMinimum(miny[
adc]);
2179 final_empty[
adc]->SetMarkerStyle(21);
2180 final_even[
adc]->SetMarkerStyle(22);
2181 final_odd[
adc]->SetMarkerStyle(23);
2182 final_empty[
adc]->SetMarkerSize(
ms);
2183 final_even[
adc]->SetMarkerSize(
ms);
2184 final_odd[
adc]->SetMarkerSize(
ms);
2185 final_empty[
adc]->SetLabelSize(0.08,
"X");
2186 final_empty[
adc]->SetLabelSize(0.08,
"Y");
2187 final_even[
adc]->SetMarkerColor(2);
2188 final_odd[
adc]->SetMarkerColor(4);
2190 final_empty[
adc]->Draw(
"e");
2191 final_even[
adc]->Draw(
"same,e");
2192 final_odd[
adc]->Draw(
"same,e");
2195 pad = Can->cd(2 * maxgain +
adc + 1);
2196 pad->SetTopMargin(0.15);
2217 pad = Can->cd(3 * maxgain +
adc + 1);
2218 pad->SetTopMargin(0.15);
2223 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]);
2234 pad = Can->cd(4 * maxgain +
adc + 1);
2235 pad->SetTopMargin(0.15);
2240 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]);
2252 Can->Print(TString(moduleName +
"_fit_amp.png"),
"png");
2255 Can->Print(TString(moduleName +
"_fit_amp.ps"),
"ps");
2258 Can->Print(TString(moduleName +
"_fit_amp.svg"),
"svg");
2261 if (do_plots)
delete Can;
2263 for (
int g = 0;
g < 2;
g++) {
2264 delete final_empty[
g];
2265 delete final_odd[
g];
2266 delete final_even[
g];
◆ lbAverageInteractionsPerCrossing()
float ManagedMonitorToolBase::lbAverageInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average mu, i.e.
<mu>
Definition at line 1693 of file ManagedMonitorToolBase.cxx.
1698 return lumi->lbAverageInteractionsPerCrossing();
1701 ATH_MSG_DEBUG(
"Warning: lbAverageInteractionsPerCrossing() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbAverageLivefraction()
float ManagedMonitorToolBase::lbAverageLivefraction |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average luminosity livefraction.
Definition at line 1762 of file ManagedMonitorToolBase.cxx.
1770 return live->lbAverageLiveFraction();
1773 ATH_MSG_DEBUG(
"Warning: lbAverageLivefraction() - luminosity not availble (i.e. EnableLumi = False)");
◆ lbAverageLuminosity()
float ManagedMonitorToolBase::lbAverageLuminosity |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1)
Definition at line 1729 of file ManagedMonitorToolBase.cxx.
1734 return lumi->lbAverageLuminosity();
1737 ATH_MSG_DEBUG(
"Warning: lbAverageLuminosity() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbDuration()
double ManagedMonitorToolBase::lbDuration |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Luminosity block time (in seconds)
Definition at line 1816 of file ManagedMonitorToolBase.cxx.
1824 return dur->lbDuration();
1827 ATH_MSG_DEBUG(
"Warning: lbDuration() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbInteractionsPerCrossing()
float ManagedMonitorToolBase::lbInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Instantaneous number of interactions, i.e.
mu
Definition at line 1709 of file ManagedMonitorToolBase.cxx.
1714 float muToLumi =
lumi->muToLumi();
1716 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id()) / muToLumi;
1721 ATH_MSG_DEBUG(
"Warning: lbInteractionsPerCrossing() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbLuminosityPerBCID()
float ManagedMonitorToolBase::lbLuminosityPerBCID |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Instantaneous luminosity.
Definition at line 1745 of file ManagedMonitorToolBase.cxx.
1750 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id());
1753 ATH_MSG_DEBUG(
"Warning: lbLuminosityPerBCID() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbLumiWeight()
double ManagedMonitorToolBase::lbLumiWeight |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average Integrated Luminosity Live Fraction.
Definition at line 1800 of file ManagedMonitorToolBase.cxx.
1807 ATH_MSG_DEBUG(
"Warning: lbLumiWeight() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ livefractionPerBCID()
float ManagedMonitorToolBase::livefractionPerBCID |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Livefraction per bunch crossing ID.
Definition at line 1781 of file ManagedMonitorToolBase.cxx.
1789 return live->l1LiveFractionVector().at (ctx.eventID().bunch_crossing_id());
1792 ATH_MSG_DEBUG(
"Warning: livefractionPerBCID() - luminosity retrieved available (i.e. EnableLumi = False)");
◆ MMTB_DEPRECATED() [1/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfEventsBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [2/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfLowStat |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [3/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfLumiBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [4/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfRun |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [5/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newEventsBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [6/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newHigStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [7/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLowStat |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [8/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLowStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [9/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLumiBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [10/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newMedStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [11/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newRun |
| ) |
|
|
inherited |
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ newEventsBlockFlag()
bool ManagedMonitorToolBase::newEventsBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newHigStatIntervalFlag()
bool ManagedMonitorToolBase::newHigStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLowStatFlag()
bool ManagedMonitorToolBase::newLowStatFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLowStatIntervalFlag()
bool ManagedMonitorToolBase::newLowStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLumiBlockFlag()
bool ManagedMonitorToolBase::newLumiBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newMedStatIntervalFlag()
bool ManagedMonitorToolBase::newMedStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newRunFlag()
bool ManagedMonitorToolBase::newRunFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ parseList()
StatusCode ManagedMonitorToolBase::parseList |
( |
const std::string & |
line, |
|
|
std::vector< std::string > & |
result |
|
) |
| |
|
protectedinherited |
◆ preSelector()
bool ManagedMonitorToolBase::preSelector |
( |
| ) |
|
|
virtualinherited |
◆ procHistograms()
StatusCode ManagedMonitorToolBase::procHistograms |
( |
| ) |
|
|
virtualinherited |
An inheriting class should either override this function or finalHists().
Reimplemented in egammaMonToolBase, MuonPhysValMonitoring::MuonPhysValMonitoringTool, ActsTrk::PhysValTool, PhysValSecVtx, ZeeTaPMonTool, CscCalibMonToolBase, InDetPhysValMonitoringTool, EgammaPhysValMonitoring::EgammaPhysValMonitoringTool, MissingEtDQA::PhysValMET, InDetTrackPerfMonTool, JetTagDQA::PhysValBTag, PhysVal::PhysValExample, GeneratorPhysVal::GeneratorPhysValMonitoringTool, ZeeValidation::ZeeValidationMonitoringTool, IDPerfMonWenu, IDPerfMonZee, TrackCaloClusterRecValidationTool, MdtVsTgcRawDataValAlg, JetMonitoringTool, TileCellNoiseMonTool, PhysValTau, PhysValFE, DiMuMon, ManagedMonitorToolTest, and IDPerfMonKshort.
Definition at line 1314 of file ManagedMonitorToolBase.cxx.
1322 return StatusCode::SUCCESS;
◆ 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 1841 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 1857 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 1446 of file ManagedMonitorToolBase.cxx.
1448 return StatusCode::FAILURE;
1450 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1451 std::string
name =
e->GetName();
1457 ATH_MSG_WARNING(
"HEY! Attempting to register "<<
name<<
" as a per-LB histogram, but not setting the merge algorithm! Use \"merge\", at least.");
1464 return StatusCode::FAILURE;
1474 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1481 if (
smd != StatusCode::SUCCESS)
1482 return StatusCode::FAILURE;
◆ regGraph() [1/5]
◆ regGraph() [2/5]
StatusCode ManagedMonitorToolBase::regGraph |
|
protectedinherited |
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 530 of file ManagedMonitorToolBase.cxx.
1504 return StatusCode::FAILURE;
1517 return StatusCode::FAILURE;
1520 std::string
name =
g->GetName();
1528 std::string gName =
g->GetName();
1531 std::string genericName = NoOutputStream().getStreamName(
this,
group, gName );
1539 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regGraph() [3/5]
StatusCode ManagedMonitorToolBase::regGraph |
( |
TGraph * |
g, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 1500 of file ManagedMonitorToolBase.cxx.
1504 return StatusCode::FAILURE;
1517 return StatusCode::FAILURE;
1520 std::string
name =
g->GetName();
1528 std::string gName =
g->GetName();
1531 std::string genericName = NoOutputStream().getStreamName(
this,
group, gName );
1539 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regGraph() [4/5]
StatusCode ManagedMonitorToolBase::regGraph |
|
protectedinherited |
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 522 of file ManagedMonitorToolBase.cxx.
◆ regGraph() [5/5]
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 1490 of file ManagedMonitorToolBase.cxx.
◆ regHist() [1/5]
◆ regHist() [2/5]
StatusCode ManagedMonitorToolBase::regHist |
|
protectedinherited |
Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram.
A histogram is passed via reference to a pointer.
Definition at line 470 of file ManagedMonitorToolBase.cxx.
1360 return StatusCode::FAILURE;
1373 ATH_MSG_WARNING(
"HEY! You're attempting to register " <<
h->GetName() <<
" as a per-LB histogram, but you're not setting the merge algorithm! This is a SUPER-BAD idea! Use \"merge\", at least.");
1380 return StatusCode::FAILURE;
1383 std::string hName =
h->GetName();
1391 std::string hName =
h->GetName();
1394 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1402 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regHist() [3/5]
StatusCode ManagedMonitorToolBase::regHist |
( |
TH1 * |
h, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram.
A histogram is passed via reference to a pointer.
Definition at line 1354 of file ManagedMonitorToolBase.cxx.
1360 return StatusCode::FAILURE;
1373 ATH_MSG_WARNING(
"HEY! You're attempting to register " <<
h->GetName() <<
" as a per-LB histogram, but you're not setting the merge algorithm! This is a SUPER-BAD idea! Use \"merge\", at least.");
1380 return StatusCode::FAILURE;
1383 std::string hName =
h->GetName();
1391 std::string hName =
h->GetName();
1394 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1402 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regHist() [4/5]
StatusCode ManagedMonitorToolBase::regHist |
|
protectedinherited |
Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram.
Definition at line 462 of file ManagedMonitorToolBase.cxx.
◆ regHist() [5/5]
Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram.
Definition at line 1345 of file ManagedMonitorToolBase.cxx.
◆ registerMetadata()
StatusCode ManagedMonitorToolBase::registerMetadata |
( |
const std::string & |
streamName, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
protectedinherited |
Definition at line 946 of file ManagedMonitorToolBase.cxx.
952 size_t found=mdStreamName.rfind(
'/');
954 if (
found != std::string::npos )
955 mdStreamName.replace(
found, mdStreamName.length(),
"/metadata" );
959 metadata =
new TTree(
"metadata",
"Monitoring Metadata" );
960 if (!
metadata)
return StatusCode::FAILURE;
962 if (scmd == StatusCode::FAILURE)
return StatusCode::FAILURE;
963 MDMap_t::value_type valToInsert( mdStreamName,
new OutputMetadata(
metadata) );
969 return StatusCode::SUCCESS;
◆ regManagedEfficiencies()
StatusCode ManagedMonitorToolBase::regManagedEfficiencies |
( |
std::vector< MgmtParams< TEfficiency > > & |
templateEfficiencies | ) |
|
|
protectedinherited |
Definition at line 1141 of file ManagedMonitorToolBase.cxx.
1142 bool allIsOk =
true;
1143 for(
auto&
it : templateEfficiencies ) {
1146 TEfficiency* theEfficiency =
it.m_templateHist;
1147 TEfficiency*
e =
static_cast<TEfficiency*
>(theEfficiency->Clone());
1148 int nbins = theEfficiency->GetTotalHistogram()->GetNbinsX();
1149 int xlow = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmin();
1150 int xhigh = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmax();
1151 e->SetBins(
nbins,xlow,xhigh);
1152 std::string
name =
e->GetName();
1155 TGraph* theGraph =
reinterpret_cast<TGraph*
>(theEfficiency);
1156 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1164 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1166 bool doneCleaning =
false;
1168 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1173 if (sc2 == StatusCode::SUCCESS) doneCleaning =
true;
1176 if (!doneCleaning) {
1177 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1182 if (sc3 == StatusCode::FAILURE)
1189 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1192 if (sc4 == StatusCode::FAILURE) allIsOk =
false;
1195 if (!allIsOk)
return StatusCode::FAILURE;
1196 return StatusCode::SUCCESS;
◆ regManagedGraphs()
StatusCode ManagedMonitorToolBase::regManagedGraphs |
( |
std::vector< MgmtParams< TGraph > > & |
templateGraphs | ) |
|
|
protectedinherited |
Definition at line 1070 of file ManagedMonitorToolBase.cxx.
1074 bool allIsOk =
true;
1076 for( std::vector< MgmtParams<TGraph> >::
iterator it = templateGraphs.begin();
it != templateGraphs.end(); ++
it ) {
1077 MonGroup
group = (*it).m_group;
1080 TGraph* theGraph = (*it).m_templateHist;
1083 TGraph*
g =
static_cast<TGraph*
>(theGraph->Clone());
1087 std::string gName =
g->GetName();
1094 if (sc1 == StatusCode::FAILURE)
1099 bool doneCleaning =
false;
1101 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1106 if (sc2 == StatusCode::SUCCESS)
1107 doneCleaning =
true;
1111 if (!doneCleaning) {
1112 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1119 if (sc3 == StatusCode::FAILURE)
1126 if (
smd != StatusCode::SUCCESS)
1131 if (sc4 == StatusCode::FAILURE)
1136 if (!allIsOk)
return StatusCode::FAILURE;
1138 return StatusCode::SUCCESS;
◆ regManagedHistograms()
StatusCode ManagedMonitorToolBase::regManagedHistograms |
( |
std::vector< MgmtParams< TH1 > > & |
templateHistograms | ) |
|
|
protectedinherited |
Definition at line 973 of file ManagedMonitorToolBase.cxx.
990 for( std::vector< MgmtParams<TH1> >::
iterator it = templateHistograms.begin();
it != templateHistograms.end(); ++
it ) {
991 MonGroup&
group = (*it).m_group;
994 TH1* theHist = (*it).m_templateHist;
997 TH1*
h =
static_cast<TH1*
>(theHist->Clone());
1001 std::string hName =
h->GetName();
1008 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1012 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1015 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1024 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1028 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1032 if (!allIsOk)
return StatusCode::FAILURE;
1034 return StatusCode::SUCCESS;
◆ regManagedTrees()
StatusCode ManagedMonitorToolBase::regManagedTrees |
( |
std::vector< MgmtParams< TTree > > & |
templateTrees | ) |
|
|
protectedinherited |
Definition at line 1201 of file ManagedMonitorToolBase.cxx.
1205 bool allIsOk =
true;
1207 for( std::vector< MgmtParams<TTree> >::
iterator it = templateTrees.begin();
it != templateTrees.end(); ++
it ) {
1208 MonGroup
group = (*it).m_group;
1211 TTree* theTree = (*it).m_templateHist;
1214 TTree*
t =
static_cast<TTree*
>(theTree->Clone());
1218 std::string
name =
t->GetName();
1225 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1229 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1232 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1241 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1245 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1249 if (!allIsOk)
return StatusCode::FAILURE;
1251 return StatusCode::SUCCESS;
◆ regTree() [1/2]
StatusCode ManagedMonitorToolBase::regTree |
( |
TTree * |
t, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TTree to be included in the output stream using logical parameters that describe it.
Definition at line 1556 of file ManagedMonitorToolBase.cxx.
1571 return StatusCode::FAILURE;
1574 std::string
name =
t->GetName();
1575 std::string genericName = NoOutputStream().getStreamName(
this, group_unmanaged,
name );
1583 std::string tName =
t->GetName();
1586 std::string genericName = NoOutputStream().getStreamName(
this,
group, tName );
1594 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regTree() [2/2]
Registers a TTree to be included in the output stream using logical parameters that describe it.
Definition at line 1546 of file ManagedMonitorToolBase.cxx.
◆ removeTObj()
StatusCode TilePaterMonTool::removeTObj |
( |
TObject * |
obj | ) |
|
|
protectedinherited |
Definition at line 429 of file TilePaterMonTool.cxx.
431 if (
obj->IsA()->InheritsFrom(
"TH1")) {
434 return StatusCode::FAILURE;
438 }
else if (
obj->IsA()->InheritsFrom(
"TGraph")) {
441 return StatusCode::FAILURE;
446 ATH_MSG_WARNING(
"Asked to remove object " <<
obj->GetName() <<
"of unsupported type " <<
obj->IsA() );
447 return StatusCode::FAILURE;
451 return StatusCode::FAILURE;
453 return StatusCode::SUCCESS;
◆ renounce()
◆ renounceArray()
◆ 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 1663 of file ManagedMonitorToolBase.cxx.
1666 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 451 of file ManagedMonitorToolBase.cxx.
455 msg(MSG::ERROR) <<
"!! streamNameFunction() has not been initialized !!" <<
endmsg;
456 msg(MSG::ERROR) <<
" --> neither ManagedMonitorToolBase::initialize() nor" <<
endmsg;
457 msg(MSG::ERROR) <<
" --> ManagedMonitorToolBase::setMonManager() has been called." <<
endmsg;
458 msg(MSG::ERROR) <<
" --> Correct configuration cannot be guaranteed from this point." <<
endmsg;
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ THistSvc_deReg_fixTGraph()
StatusCode ManagedMonitorToolBase::THistSvc_deReg_fixTGraph |
( |
TFile * |
file, |
|
|
TGraph * |
theGraph, |
|
|
std::string & |
directoryName |
|
) |
| |
|
protectedinherited |
Fixes THistSvc->deReg(obj) when obj is TGraph instance.
Read more in source file about this bug.
Definition at line 1038 of file ManagedMonitorToolBase.cxx.
1048 GlobalDirectoryRestore restore;
1051 bool graphRemoved =
false;
1054 TDirectory*
dir =
file->GetDirectory(directoryName.c_str());
1057 TObject*
obj =
dir->Remove(theGraph);
1059 graphRemoved =
true;
1062 if (!graphRemoved) {
1063 return StatusCode::FAILURE;
1066 return StatusCode::SUCCESS;
◆ trigChainsArePassed()
bool ManagedMonitorToolBase::trigChainsArePassed |
( |
std::vector< std::string > & |
vTrigNames | ) |
|
|
protectedvirtualinherited |
◆ updateTriggersForGroups()
void ManagedMonitorToolBase::updateTriggersForGroups |
( |
std::vector< std::string > & |
vTrigChainNames | ) |
|
|
protectedinherited |
Definition at line 2132 of file ManagedMonitorToolBase.cxx.
2134 for (
size_t i = 0;
i < vTrigChainNames.size(); ++
i) {
2135 std::string& thisName = vTrigChainNames[
i];
2136 if (thisName.compare(0, 9,
"CATEGORY_") ==0) {
2137 ATH_MSG_DEBUG(
"Found a trigger category: " << thisName <<
". We will unpack it.");
2139 std::ostringstream oss;
2141 for (
size_t itrig = 0; itrig <
triggers.size(); ++itrig) {
2149 std::string newval = oss.str();
2151 vTrigChainNames[
i] = newval;
◆ updateVHKA()
◆ writeAndDelete()
StatusCode ManagedMonitorToolBase::writeAndDelete |
( |
TH1 * |
h, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Write out histogram and delete it.
Definition at line 1601 of file ManagedMonitorToolBase.cxx.
1604 return StatusCode::FAILURE;
1606 std::string hName =
h->GetName();
1609 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1612 return StatusCode::SUCCESS;
◆ m_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 248 of file TilePaterMonTool.h.
◆ m_chMapEBsp
int TilePaterMonTool::m_chMapEBsp[48] |
|
protectedinherited |
Initial value:= { 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0
, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0
, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1 }
Definition at line 253 of file TilePaterMonTool.h.
◆ m_chMapLB
int TilePaterMonTool::m_chMapLB[48] |
|
protectedinherited |
Initial value:= { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0
, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 }
Definition at line 243 of file TilePaterMonTool.h.
◆ m_cispar
const uint32_t* 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 213 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 218 of file TilePaterMonTool.h.
◆ m_lbDurationDataKey
◆ m_lo_IntegralLimit
double TileRawChannelMonTool::m_lo_IntegralLimit {} |
|
private |
◆ m_lumiDataKey
◆ 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_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:
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
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 std::string fileKey() const
virtual void passOwnership(TObject *h, const std::string &key)
Pass ownership of a TObject to this manager so that it will be deleted appropriately.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool msgLvl(const MSG::Level lvl) const
bool empty() const
Test if the key is blank.
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 ...
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
float quality(int ind=0) const
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
msgSvc
Provide convenience handles for various services.
def TProfile(*args, **kwargs)
::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
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
double charge(const T &p)
const uint32_t * cispar() const
CIS parameters.
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.
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)