![]() |
ATLAS Offline Software
|
#include <CscCalibMonToolBase.h>
Classes | |
| struct | ProcSetupInfo |
| Contains info to be passed to procParameter. More... | |
| struct | HistCollection |
| Contains an array with data on a per-channel basis, as well as various histograms that give different views of the data in the array. More... | |
Public Types | |
| enum | Interval_t { file = 0 , eventsBlock , lumiBlock , lowStat , medStat , higStat , run , fill , all } |
| An enumeration describing the interval over which a particular monitoring object is filled (i.e., interval over which the method Fill(...) is called). 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... | |
Public Member Functions | |
| CscCalibMonToolBase (const std::string &type, const std::string &name, const IInterface *parent) | |
| constructor | |
| ~CscCalibMonToolBase () | |
| virtual StatusCode | initialize () |
| initializes services, tools, etc. | |
| virtual StatusCode | finalize () |
| deletes private members | |
| virtual StatusCode | bookHistograms () |
Standard function for a ManagedMonitorToolBase. | |
| virtual StatusCode | fillHistograms (const EventContext &ctx) |
Standard function for a ManagedMonitorToolBase. | |
| virtual StatusCode | procHistograms () |
| At end of run this processes the calibration results and fills the histograms. | |
| virtual StatusCode | checkHists (bool fromFinalise) |
Standard function for a ManagedMonitorToolBase. | |
| virtual StreamNameFcn * | streamNameFunction () |
| Returns the function object that converts logical paramters into a physical stream name. | |
| virtual StatusCode | bookHists () |
| Calls bookHists( true, true, true ) and initializes lumiBlock and run numbers. | |
| virtual StatusCode | fillHists (const EventContext &ctx) |
| Calls fillHists( bool, bool, bool ); if an eventBlock,lumiBlock, or run has turned over, calls procHists( bool, bool, bool ) and bookHists( bool, bool, bool ). | |
| virtual StatusCode | finalHists () |
| Calls procHists( true, true, true ). | |
| virtual StatusCode | bookHistogramsRecurrent () |
| An inheriting class should either override this function, bookHists() or bookHistograms(). | |
| virtual void | setMonManager (AthenaMonManager *manager) |
| Takes a pointer to a managing object to get information from it when needed. | |
| 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. | |
| 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. | |
| 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. | |
| virtual StatusCode | getHist (TH1 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH1 via the pointer passed as the first argument. | |
| 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. | |
| virtual StatusCode | getHist (TH2 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH2 via the pointer passed as the first argument. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| virtual StatusCode | regTree (TTree *t, const MonGroup &group) |
| Registers a TTree to be included in the output stream using logical parameters that describe it. | |
| virtual StatusCode | writeAndDelete (TH1 *h, const MonGroup &group) |
| Write out histogram and delete it. | |
| virtual StatusCode | deregHist (TH1 *h) |
| De-registers a TH1 from the THistSvc, but does NOT delete the object. | |
| virtual StatusCode | deregGraph (TGraph *g) |
| De-registers a TGraph from the THistSvc, but does NOT delete the object. | |
| 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. | |
| virtual StatusCode | deregObject (const std::string &objName, const MonGroup &group) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. | |
| 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. | |
| virtual StatusCode | runStat () |
| This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ). | |
| virtual bool | preSelector () |
| virtual float | lbAverageInteractionsPerCrossing (const EventContext &ctx) const |
| Average mu, i.e. | |
| virtual float | lbInteractionsPerCrossing (const EventContext &ctx) const |
| Instantaneous number of interactions, i.e. | |
| virtual float | lbAverageLuminosity (const EventContext &ctx) const |
| Average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1). | |
| virtual float | lbLuminosityPerBCID (const EventContext &ctx) const |
| Instantaneous luminosity. | |
| virtual double | lbDuration (const EventContext &ctx) const |
| Luminosity block time (in seconds). | |
| virtual float | lbAverageLivefraction (const EventContext &ctx) const |
| Average luminosity livefraction. | |
| virtual float | livefractionPerBCID (const EventContext &ctx) const |
| Livefraction per bunch crossing ID. | |
| virtual double | lbLumiWeight (const EventContext &ctx) const |
| Average Integrated Luminosity Live Fraction. | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Static Public Member Functions | |
| static std::string | intervalEnumToString (Interval_t interval) |
| Converts a Interval_t to a string of the same name. | |
| static Interval_t | intervalStringToEnum (const std::string &str) |
| Converts a string to the corresponding Interval_t. | |
| static const InterfaceID & | interfaceID () |
Protected Types | |
| typedef std::map< std::string, OutputMetadata * > | MDMap_t |
Protected Member Functions | |
| virtual StatusCode | bookHistCollection (HistCollection *histCollection, const std::string &dataTypeName, const std::string &dataTypeTitle, const std::string &categoryName, const std::string &categoryTitle, const std::string &axisLabel, int numBins, float lowBound, float highBound, const std::string &parDir="", uint16_t toSkip=0) |
| Initializes the histograms in a histCollection and books them. | |
| virtual StatusCode | bookLayHists (const std::string &histTypeDir, const std::string &parTypeDir, std::vector< TH1F * > &vector, const std::string &namePrefix, const std::string &titlePrefix, const std::string &xaxis, const std::string &yaxis, bool chanView=true, bool ignoreY=false, unsigned int numBins=100, float lowBound=0, float highbound=100) |
| Books a vector of histograms where each one corresponds to a layer of the CSC secbers. | |
| virtual StatusCode | bookChamHists (const std::string &histTypeDir, const std::string &parTypeDir, std::vector< TH1F * > &histVector, const std::string &namePrefix, const std::string &titlePrefix, const std::string &xaxis="", const std::string &yaxis="", bool chanView=true, bool ignoreY=false, unsigned int numBins=100, float lowBound=0, float highbound=100) |
| Books a vector of histograms where each one corresponds to a secber of the CSC secbers. | |
| virtual StatusCode | handleParameter (const CscCalibResultCollection *parVals) |
| Should be written by user in derived class. | |
| virtual StatusCode | procParameter (const CscCalibResultCollection *parVals, ProcSetupInfo *simpleSet) |
| Processors a parameter type. | |
| virtual StatusCode | copyDataToHists (HistCollection *histCollection) |
| Fills the histograms in the histCollection based on the data in the std::vector in the HistCollection. | |
| virtual StatusCode | postProc () |
| Run after handleParameter. | |
| virtual int | getLayIndex (int measuresPhi, int stationEta, int sector, int layer) |
| produces a unique number for every layer in the detector | |
| virtual int | getChamIndex (int measuresPhi, int stationEta, int sector) |
| Produces a unique number for every secber in the detector. | |
| virtual int | getSector (int stationPhi, int stationSize) |
| Produces a sector number from the phi and size of a station. | |
| std::string | getEndCap (int eta) |
| Gets the letter endcap (A or C) for a given eta index (1,-1). | |
| std::string | getGeoPath (int eta=-9999, int sector=-9999, int wireLayer=-9999, int measuresPhi=-9999, int channel=-9999) |
| getGeoPath creates a directory structure for a histogram based upon where it is in the CSC geometry. | |
| std::string | getFullPath (const std::string &geoPath, const std::string &histTypeDir, const std::string &parTypeDir) |
| Geo path creates a directory structure for a histogram based upon its geoPath, the hist type dir (spectrum of values, per-channel values, etc), and the parTypeDir (pedestal, etc). | |
| 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. | |
| 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. | |
| 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 | |
| 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. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
The CscCalibMonToolBase class.
This class is designed to be the base for all classes that do monitoring of CSC calibration constants that are to be stored in COOL. This base class contains the basic operations to compare the constants to what was previously in the COOL database.
It is designed to be a parent class. A derived class will define the exact parameters that will be compared to COOL, as well as do any futher monitoring.
Definition at line 55 of file CscCalibMonToolBase.h.
|
protectedinherited |
Definition at line 733 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 376 of file AthCommonDataStore.h.
|
inherited |
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 61 of file ManagedMonitorToolBase.h.
|
inherited |
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 75 of file ManagedMonitorToolBase.h.
| CscCalibMonToolBase::CscCalibMonToolBase | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
constructor
Definition at line 15 of file CscCalibMonToolBase.cxx.
|
inline |
Definition at line 66 of file CscCalibMonToolBase.h.
|
protectedvirtual |
Books a vector of histograms where each one corresponds to a secber of the CSC secbers.
| histTypeDir | The subdirectory where the histogram type should be stored (e.g "layerOverview") |
| parTypeDir | The subdirectory where the parameter type (e.g ped, noise,etc) |
| namePrefix | Something to put in front of the name. Rest is based on secber. |
| titlePrefix | String to append to the front of the title. Rest is based on secber. |
| xaxis | Title for x-axis. |
| yaxis | Title for y-axis. |
| chanView | If true, x-axis num-bins will be number of channels of a given layer. numbins, highBound, and lowBound will be ignored. |
| ignoreY | Do not initialize histograms from the transverse direction. |
| numBins | number of bins for each histoto |
| lowBound | lower bound for histogram x-axis |
| highBound | higher bound for histogram x-axis |
Definition at line 547 of file CscCalibMonToolBase.cxx.
|
protectedvirtual |
Initializes the histograms in a histCollection and books them.
This and the other booking function are used to enforce a central naming convention to the histograms. The Name parameters are strings that will be input into the names of the historams, and the Title parameters into the titles.
| dataTypeName | indicates the dataType, like pedestal, noise, etc. |
| dataTypeTitle | indicates the dataType, like pedestal,noise, etc. |
| categoryName | indicates a category. Useful to specify new or COOL data. |
| categoryTitle | indicates a category. Useful to specify new or COOL data. |
| axisLabel | What the axis corresponding to the data type should be named. The other axis is determined depending on histogram type. |
| numBins | For those histograms whose x-axis is the datatype, and not channels or similar. |
| lowBound | For those histograms whose x-axis is the datatype, and not channels or similar. |
| highBound | For those histograms whose x-axis is the datatype, and not channels or similar. |
| parDir | is a parDirectory to store the resulting histograms in. |
| toSkip | is a bit word that specifies when to allow certain histograms |
Definition at line 138 of file CscCalibMonToolBase.cxx.
|
virtual |
Standard function for a ManagedMonitorToolBase.
This doesn't do anything. Meant to be overwritten in a derived class
Reimplemented from ManagedMonitorToolBase.
Reimplemented in CscCalibMonToolPed, and CscCalibMonToolSlope.
Definition at line 651 of file CscCalibMonToolBase.cxx.
|
virtualinherited |
An inheriting class should either override this function, bookHists() or bookHistograms().
Reimplemented in ManagedMonitorToolTest, MdtVsRpcRawDataValAlg, and MdtVsTgcRawDataValAlg.
Definition at line 1179 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
Calls bookHists( true, true, true ) and initializes lumiBlock and run numbers.
Implements IMonitorToolBase.
Definition at line 646 of file ManagedMonitorToolBase.cxx.
|
protectedvirtual |
Books a vector of histograms where each one corresponds to a layer of the CSC secbers.
| histTypeDir | The subdirectory where the histogram type should be stored (e.g "layerOverview") |
| parTypeDir | The subdirectory where the parameter type (e.g ped, noise,etc) |
| namePrefix | Something to put in front of the name. Rest is based on layer. |
| titlePrefix | String to append to the front of the title. Rest is based on layer. |
| xaxis | Title for x-axis. |
| yaxis | Title for y-axis. |
| chanView | If true, x-axis num-bins will be number of channels of a given layer. numbins, highBound, and lowBound will be ignored. |
| ignoreY | Do not initialize histograms from the transverse direction. |
| numBins | number of bins for each histoto |
| lowBound | lower bound for histogram x-axis |
| highBound | higher bound for histogram x-axis |
Definition at line 431 of file CscCalibMonToolBase.cxx.
|
virtual |
Standard function for a ManagedMonitorToolBase.
Not used. Just expected to be here
Reimplemented from ManagedMonitorToolBase.
Definition at line 745 of file CscCalibMonToolBase.cxx.
|
protectedvirtual |
Fills the histograms in the histCollection based on the data in the std::vector in the HistCollection.
Definition at line 890 of file CscCalibMonToolBase.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
virtualinherited |
De-registers a TGraph from the THistSvc, but does NOT delete the object.
Definition at line 1515 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
De-registers a TH1 from the THistSvc, but does NOT delete the object.
Definition at line 1507 of file ManagedMonitorToolBase.cxx.
|
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 1533 of file ManagedMonitorToolBase.cxx.
|
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 1523 of file ManagedMonitorToolBase.cxx.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
Definition at line 721 of file ManagedMonitorToolBase.h.
|
inlineprotectedinherited |
Definition at line 722 of file ManagedMonitorToolBase.h.
|
inlineprotectedinherited |
Definition at line 723 of file ManagedMonitorToolBase.h.
|
inlineprotectedinherited |
Definition at line 724 of file ManagedMonitorToolBase.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
protectedinherited |
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
|
virtual |
Standard function for a ManagedMonitorToolBase.
Not used. For most ManagedMonitorToolBase classes, this would do event-by-event filling of histograms. However we let algorithms in CscCalibAlgs do this for us.
Reimplemented from ManagedMonitorToolBase.
Definition at line 700 of file CscCalibMonToolBase.cxx.
|
virtualinherited |
Calls fillHists( bool, bool, bool ); if an eventBlock,lumiBlock, or run has turned over, calls procHists( bool, bool, bool ) and bookHists( bool, bool, bool ).
Implements IMonitorToolBase.
Definition at line 656 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
Calls procHists( true, true, true ).
Implements IMonitorToolBase.
Definition at line 1153 of file ManagedMonitorToolBase.cxx.
|
virtual |
deletes private members
Reimplemented in CscCalibMonToolPed, and CscCalibMonToolSlope.
Definition at line 129 of file CscCalibMonToolBase.cxx.
|
inlineprotectedinherited |
Definition at line 620 of file ManagedMonitorToolBase.h.
|
inlineprotectedinherited |
Definition at line 624 of file ManagedMonitorToolBase.h.
|
protectedvirtual |
Produces a unique number for every secber in the detector.
Definition at line 1065 of file CscCalibMonToolBase.cxx.
|
protected |
Gets the letter endcap (A or C) for a given eta index (1,-1).
Definition at line 1085 of file CscCalibMonToolBase.cxx.
|
protected |
Geo path creates a directory structure for a histogram based upon its geoPath, the hist type dir (spectrum of values, per-channel values, etc), and the parTypeDir (pedestal, etc).
This provides a centralized, consistent way of generating the paths
Definition at line 1185 of file CscCalibMonToolBase.cxx.
|
protected |
getGeoPath creates a directory structure for a histogram based upon where it is in the CSC geometry.
The user fills the data down as far as they like. For example, just filling in eta and sector will provide a path for a sector-wide histogram. This provides a centralized location to change the layout of the root output file.
Definition at line 1098 of file CscCalibMonToolBase.cxx.
|
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 1310 of file ManagedMonitorToolBase.cxx.
|
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 1300 of file ManagedMonitorToolBase.cxx.
|
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 1329 of file ManagedMonitorToolBase.cxx.
|
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 1319 of file ManagedMonitorToolBase.cxx.
|
protectedvirtual |
produces a unique number for every layer in the detector
Definition at line 1056 of file CscCalibMonToolBase.cxx.
|
protectedvirtualinherited |
Definition at line 2029 of file ManagedMonitorToolBase.cxx.
|
protectedvirtual |
Produces a sector number from the phi and size of a station.
Definition at line 1073 of file CscCalibMonToolBase.cxx.
|
protectedvirtual |
Should be written by user in derived class.
This is called during procHistograms() and is meant to be used to determine course of action for each parameter type. Doesn't do anything in base class.
| parVals | Contains all the parameter values of a given type. For example, the pedestal for each channel. |
Reimplemented in CscCalibMonToolPed, and CscCalibMonToolSlope.
Definition at line 755 of file CscCalibMonToolBase.cxx.
|
virtual |
initializes services, tools, etc.
Also determines the maximum hash id.
Reimplemented from ManagedMonitorToolBase.
Reimplemented in CscCalibMonToolPed, and CscCalibMonToolSlope.
Definition at line 61 of file CscCalibMonToolBase.cxx.
|
overridevirtualinherited |
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.
|
inlinestaticinherited |
Definition at line 30 of file IMonitorToolBase.h.
|
staticinherited |
Converts a Interval_t to a string of the same name.
Definition at line 452 of file ManagedMonitorToolBase.cxx.
|
staticinherited |
Converts a string to the corresponding Interval_t.
Definition at line 494 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
Average mu, i.e.
<mu>
Definition at line 1583 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
Average luminosity livefraction.
Definition at line 1648 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
Average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1).
Definition at line 1617 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
Luminosity block time (in seconds).
Definition at line 1699 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
Instantaneous number of interactions, i.e.
mu
Definition at line 1598 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
Instantaneous luminosity.
Definition at line 1632 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
Average Integrated Luminosity Live Fraction.
Definition at line 1684 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
Livefraction per bunch crossing ID.
Definition at line 1666 of file ManagedMonitorToolBase.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
inlineprotectedinherited |
Definition at line 720 of file ManagedMonitorToolBase.h.
|
inlineprotectedinherited |
Definition at line 716 of file ManagedMonitorToolBase.h.
|
inlineprotectedinherited |
Definition at line 717 of file ManagedMonitorToolBase.h.
|
inlineprotectedinherited |
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.
Definition at line 714 of file ManagedMonitorToolBase.h.
|
inlineprotectedinherited |
Definition at line 718 of file ManagedMonitorToolBase.h.
|
inlineprotectedinherited |
Definition at line 715 of file ManagedMonitorToolBase.h.
|
inlineprotectedinherited |
Definition at line 719 of file ManagedMonitorToolBase.h.
|
overridevirtualinherited |
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.
|
protectedinherited |
Definition at line 1985 of file ManagedMonitorToolBase.cxx.
|
protectedvirtual |
Run after handleParameter.
The derived class can use this to retrieve additional calibration mode specific histogram from the calibration procedure.
Reimplemented in CscCalibMonToolPed, and CscCalibMonToolSlope.
Definition at line 735 of file CscCalibMonToolBase.cxx.
|
virtualinherited |
Implements IMonitorToolBase.
Definition at line 1571 of file ManagedMonitorToolBase.cxx.
|
virtual |
At end of run this processes the calibration results and fills the histograms.
fillHistograms() retrieves a CscCalibResultContainer from the TDS, and loops through CscCalibResultCollection objects, each holding info for a calibration parameter.
It calls handleParameter() for each CscCalibResultCollection, which is used in a derived class to determine what is to be done with each parameter.
Reimplemented from ManagedMonitorToolBase.
Definition at line 709 of file CscCalibMonToolBase.cxx.
|
protectedvirtual |
Processors a parameter type.
Typically called by derived classes' handleParameter. It does several things
-Fills the histograms in simpleSet -Determines if a given channel deviates too much from an expected value (expected value is from COOL or specified in simpleSet). -Optionally tests the chi^2 value in parVals -Fills the std::vectors in simpleSet. These vectors contain info such as the per-channel values, difference from old COOL values, and the COOL values themselves. -Looks for any expected channels missing in parVals. If so, it mentions it.
| parVals | Collection of values for a given parameter |
| simpleSet | contains a set of histograms and vectors to be filled. |
Definition at line 771 of file CscCalibMonToolBase.cxx.
|
virtualinherited |
Registers a TEfficiency to be included in the output stream using logical parameters that describe the plot.
Definition at line 1337 of file ManagedMonitorToolBase.cxx.
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 1391 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 1381 of file ManagedMonitorToolBase.cxx.
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 1247 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
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 1238 of file ManagedMonitorToolBase.cxx.
|
protectedinherited |
Definition at line 844 of file ManagedMonitorToolBase.cxx.
|
protectedinherited |
Definition at line 1038 of file ManagedMonitorToolBase.cxx.
|
protectedinherited |
Definition at line 967 of file ManagedMonitorToolBase.cxx.
|
protectedinherited |
Definition at line 870 of file ManagedMonitorToolBase.cxx.
|
protectedinherited |
Definition at line 1098 of file ManagedMonitorToolBase.cxx.
Registers a TTree to be included in the output stream using logical parameters that describe it.
Definition at line 1446 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
Registers a TTree to be included in the output stream using logical parameters that describe it.
Definition at line 1436 of file ManagedMonitorToolBase.cxx.
|
inlineprotectedinherited |
Definition at line 368 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 352 of file AthCommonDataStore.h.
|
virtualinherited |
This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ).
Implements IMonitorToolBase.
Definition at line 1553 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
Takes a pointer to a managing object to get information from it when needed.
Definition at line 1220 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
This implementation does nothing—streams in this class should be managed by the AthenaMonManager.
Consider using MonitorToolBase for user-managed streams.
Implements IMonitorToolBase.
Definition at line 1542 of file ManagedMonitorToolBase.cxx.
|
virtualinherited |
Returns the function object that converts logical paramters into a physical stream name.
Definition at line 437 of file ManagedMonitorToolBase.cxx.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, and AthCheckedComponent<::AthAlgTool >.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
protectedinherited |
Fixes THistSvc->deReg(obj) when obj is TGraph instance.
Read more in source file about this bug.
Definition at line 935 of file ManagedMonitorToolBase.cxx.
|
protectedvirtualinherited |
Definition at line 1966 of file ManagedMonitorToolBase.cxx.
|
protectedinherited |
Definition at line 2004 of file ManagedMonitorToolBase.cxx.
|
inlineinherited |
Definition at line 298 of file AthCommonDataStore.h.
|
virtualinherited |
Write out histogram and delete it.
Definition at line 1491 of file ManagedMonitorToolBase.cxx.
|
protected |
Definition at line 138 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 139 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 140 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 158 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 141 of file CscCalibMonToolBase.h.
|
privateinherited |
Definition at line 800 of file ManagedMonitorToolBase.h.
|
protected |
Calibration result storegate key.
Definition at line 166 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 148 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 149 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 142 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 158 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 143 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 146 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 159 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 147 of file CscCalibMonToolBase.h.
|
privateinherited |
Definition at line 807 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 745 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 741 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 802 of file ManagedMonitorToolBase.h.
|
protected |
Definition at line 129 of file CscCalibMonToolBase.h.
|
protectedinherited |
Definition at line 743 of file ManagedMonitorToolBase.h.
|
privateinherited |
Pointer to StoreGate (detector store by default).
Definition at line 381 of file AthCommonDataStore.h.
|
protected |
Definition at line 123 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 123 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 241 of file CscCalibMonToolBase.h.
|
protectedinherited |
Definition at line 756 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 730 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 730 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 730 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 730 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 746 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 742 of file ManagedMonitorToolBase.h.
|
privateinherited |
Pointer to StoreGate (event store by default).
Definition at line 378 of file AthCommonDataStore.h.
|
protected |
Definition at line 116 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 133 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 133 of file CscCalibMonToolBase.h.
|
protectedinherited |
Definition at line 740 of file ManagedMonitorToolBase.h.
|
protected |
Path of histograms.
Definition at line 157 of file CscCalibMonToolBase.h.
|
protected |
Naming info.
Definition at line 136 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 158 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 137 of file CscCalibMonToolBase.h.
|
protectedinherited |
Definition at line 773 of file ManagedMonitorToolBase.h.
|
protected |
|
protected |
Definition at line 154 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 168 of file CscCalibMonToolBase.h.
|
protectedinherited |
Definition at line 768 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 768 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 766 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 768 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 767 of file ManagedMonitorToolBase.h.
|
protected |
Definition at line 144 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 158 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 145 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 150 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 159 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 151 of file CscCalibMonToolBase.h.
|
privateinherited |
Definition at line 795 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 793 of file ManagedMonitorToolBase.h.
|
protected |
Definition at line 120 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 120 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 122 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 121 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 122 of file CscCalibMonToolBase.h.
|
protected |
|
protected |
Definition at line 120 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 121 of file CscCalibMonToolBase.h.
|
protectedinherited |
Definition at line 736 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 738 of file ManagedMonitorToolBase.h.
|
protected |
Definition at line 114 of file CscCalibMonToolBase.h.
|
protected |
To keep track of channels that should have more data printed to root file.
Definition at line 128 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 113 of file CscCalibMonToolBase.h.
|
protectedinherited |
Definition at line 734 of file ManagedMonitorToolBase.h.
|
protected |
Definition at line 163 of file CscCalibMonToolBase.h.
|
protected |
|
protectedinherited |
Definition at line 770 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 771 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 729 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 727 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 728 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 727 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 728 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 727 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 728 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 772 of file ManagedMonitorToolBase.h.
|
protected |
Definition at line 115 of file CscCalibMonToolBase.h.
|
protected |
Hash Ids one would expect to be in calibration data.
Definition at line 132 of file CscCalibMonToolBase.h.
|
protectedinherited |
Definition at line 759 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 760 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 758 of file ManagedMonitorToolBase.h.
|
protected |
Access to COOL database.
Definition at line 171 of file CscCalibMonToolBase.h.
|
protected |
Definition at line 242 of file CscCalibMonToolBase.h.
|
protectedinherited |
Definition at line 748 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 803 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 604 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 596 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 592 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 600 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 750 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 752 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 761 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 762 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 797 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 754 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 801 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 764 of file ManagedMonitorToolBase.h.
|
privateinherited |
Definition at line 387 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 386 of file AthCommonDataStore.h.
|
protectedinherited |
Definition at line 608 of file ManagedMonitorToolBase.h.
|
protectedinherited |
Definition at line 608 of file ManagedMonitorToolBase.h.