![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
METMonTool class.
More...
#include <METMonTool.h>
|
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...
|
|
|
| METMonTool (const std::string &type, const std::string &name, const IInterface *parent) |
|
| ~METMonTool () |
|
StatusCode | initialize () |
|
StatusCode | clearHistograms () |
|
StatusCode | bookHistograms () |
| An inheriting class should either override this function or bookHists(). More...
|
|
StatusCode | bookSourcesHistograms (std::string &metName, MonGroup &met_mongroup, bool doProfiles) |
|
StatusCode | bookCalosHistograms (MonGroup &met_calos) |
|
StatusCode | bookRegionsHistograms (MonGroup &met_regions) |
|
StatusCode | bookSummaryHistograms (MonGroup &met_summary) |
|
StatusCode | bookProfileHistograms (std::string &metName, const char *objName, MonGroup &met_mongroup, int *index) |
|
StatusCode | fillHistograms () |
| An inheriting class should either override this function or fillHists(). More...
|
|
StatusCode | fillSourcesHistograms () |
|
StatusCode | fillCalosHistograms () |
|
StatusCode | fillRegionsHistograms () |
|
StatusCode | fillProfileHistograms (float et, float phi, float objEta, float objPhi, int i) |
|
StatusCode | procHistograms () |
| An inheriting class should either override this function or finalHists(). More...
|
|
virtual StreamNameFcn * | streamNameFunction () |
| Returns the function object that converts logical paramters into a physical stream name. More...
|
|
virtual StatusCode | bookHists () |
| Calls bookHists( true, true, true ) and initializes lumiBlock and run numbers. More...
|
|
virtual StatusCode | fillHists () |
| Calls fillHists( bool, bool, bool ); if an eventBlock,lumiBlock, or run has turned over, calls procHists( bool, bool, bool ) and bookHists( bool, bool, bool ). More...
|
|
virtual StatusCode | finalHists () |
| Calls procHists( true, true, true ). More...
|
|
virtual StatusCode | convertLWHists () |
| Deal with the LW histograms. More...
|
|
virtual StatusCode | bookHistogramsRecurrent () |
| An inheriting class should either override this function, bookHists() or bookHistograms(). More...
|
|
virtual void | setMonManager (AthenaMonManager *manager) |
| Takes a pointer to a managing object to get information from it when needed. More...
|
|
virtual StatusCode | regHist (TH1 *h, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram. More...
|
|
virtual StatusCode | regHist (TH1 *h, const MonGroup &group) |
| Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram. More...
|
|
virtual StatusCode | regHist (LWHist *h, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Support for lightweight histograms: More...
|
|
virtual StatusCode | regHist (LWHist *h, const MonGroup &group) |
|
virtual StatusCode | getHist (TH1 *&h, const std::string &hName, const std::string &system, Interval_t interval) |
| Returns a TH1 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH1 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH1 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH2 *&h, const std::string &hName, const std::string &system, Interval_t interval) |
| Returns a TH2 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH2 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH2 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (LWHist *&h, const std::string &hName, const std::string &system, Interval_t interval) |
|
virtual StatusCode | getHist (LWHist *&h, const std::string &hName, const MonGroup &group) |
|
virtual StatusCode | regEfficiency (TEfficiency *e, const MonGroup &group) |
| Registers a TEfficiency to be included in the output stream using logical parameters that describe the plot. More...
|
|
virtual StatusCode | 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 StatusCode | regTree (TTree *t, const std::string &system, Interval_t interval, MgmtAttr_t histo_mgmt=ATTRIB_MANAGED, const std::string &chain="", const std::string &merge="") |
| Registers a TTree to be included in the output stream using logical parameters that describe it. More...
|
|
virtual StatusCode | regTree (TTree *t, const MonGroup &group) |
| Registers a TTree to be included in the output stream using logical parameters that describe it. More...
|
|
virtual StatusCode | deregHist (LWHist *h) |
|
virtual StatusCode | deregHist (TH1 *h) |
| De-registers a TH1 from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | writeAndDelete (TH1 *h, const MonGroup &group) |
| Write out histogram and delete it. More...
|
|
virtual StatusCode | deregGraph (TGraph *g) |
| De-registers a TGraph from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const std::string &system, Interval_t interval) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const MonGroup &group) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | setupOutputStreams (std::vector< std::string > Mapping=std::vector< std::string >()) |
| This implementation does nothing—streams in this class should be managed by the AthenaMonManager. More...
|
|
virtual StatusCode | runStat () |
| This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ). More...
|
|
virtual StatusCode | checkHists (bool calledFromFinalize) |
| This implementation does nothing; equivalent functionality may be provided by procHists(...) with appropriate arguments. More...
|
|
virtual bool | preSelector () |
|
virtual float | lbAverageInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average mu, i.e. More...
|
|
virtual float | lbInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Instantaneous number of interactions, i.e. More...
|
|
virtual float | lbAverageLuminosity (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1) More...
|
|
virtual float | lbLuminosityPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Instantaneous luminosity. More...
|
|
virtual double | lbDuration (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Luminosity block time (in seconds) More...
|
|
virtual float | lbAverageLivefraction (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average luminosity livefraction. More...
|
|
virtual float | livefractionPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Livefraction per bunch crossing ID. More...
|
|
virtual double | lbLumiWeight (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
| Average Integrated Luminosity Live Fraction. More...
|
|
| MMTB_DEPRECATED (newLowStatInterval) |
|
| MMTB_DEPRECATED (newMedStatInterval) |
|
| MMTB_DEPRECATED (newHigStatInterval) |
|
| MMTB_DEPRECATED (newLowStat) |
|
| MMTB_DEPRECATED (newLumiBlock) |
|
| MMTB_DEPRECATED (newRun) |
|
| MMTB_DEPRECATED (newEventsBlock) |
|
| MMTB_DEPRECATED (endOfEventsBlock) |
|
| MMTB_DEPRECATED (endOfLowStat) |
|
| MMTB_DEPRECATED (endOfLumiBlock) |
|
| MMTB_DEPRECATED (endOfRun) |
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
StatusCode | regManagedHistograms (std::vector< MgmtParams< TH1 > > &templateHistograms) |
|
StatusCode | regManagedGraphs (std::vector< MgmtParams< TGraph > > &templateGraphs) |
|
StatusCode | regManagedTrees (std::vector< MgmtParams< TTree > > &templateTrees) |
|
StatusCode | regManagedLWHistograms (std::vector< MgmtParams< LWHist > > &templateLWHistograms) |
|
StatusCode | regManagedEfficiencies (std::vector< MgmtParams< TEfficiency > > &templateEfficiencies) |
|
StatusCode | parseList (const std::string &, std::vector< std::string > &) |
|
void | updateTriggersForGroups (std::vector< std::string > &) |
|
StatusCode | registerMetadata (const std::string &streamName, const std::string &hName, const MonGroup &group) |
|
StatusCode | THistSvc_deReg_fixTGraph (TFile *file, TGraph *theGraph, std::string &directoryName) |
| Fixes THistSvc->deReg(obj) when obj is TGraph instance. More...
|
|
unsigned int | get_nEvents () const |
|
long | get_procNEventsProp () const |
|
virtual bool | trigChainsArePassed (std::vector< std::string > &) |
|
virtual StreamNameFcn * | getNewStreamNameFcn () const |
|
bool | newLowStatIntervalFlag () const |
| Flag functions allowing clients to determine when to book new and process old histograms; values are updated by fillHists() based on counting lumiBlocks, and are correctly set when fillHistograms(), bookHistograms() and procHistograms() are called. More...
|
|
bool | newMedStatIntervalFlag () const |
|
bool | newHigStatIntervalFlag () const |
|
bool | newLowStatFlag () const |
|
bool | newLumiBlockFlag () const |
|
bool | newRunFlag () const |
|
bool | newEventsBlockFlag () const |
|
bool | endOfEventsBlockFlag () const |
|
bool | endOfLowStatFlag () const |
|
bool | endOfLumiBlockFlag () const |
|
bool | endOfRunFlag () const |
|
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution More...
|
|
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
|
void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. More...
|
|
|
ToolHandle< GenericMonitoringTool > | m_genTool { this, "GenTool", "", "Generic monitoring tool" } |
|
StringProperty | m_suffix { this, "NameSuffix", "", "" } |
|
StringArrayProperty | m_metKeys {this, "metKeys", {"MET_Base", "MET_Topo", "MET_Track"}} |
|
SG::ReadHandleKeyArray< xAOD::MissingETContainer > | m_metKeysFull {this, "metKeysFull", {}, "Don't set this manually, please"} |
|
SG::ReadHandleKey< xAOD::MissingETContainer > | m_metForCut {this, "metForCut", "MET_Reference_AntiKt4LCTopo", "MET object for cuts"} |
|
SG::ReadHandleKey< xAOD::EventInfo > | m_eventInfoKey {this, "eventInfoKey", "EventInfo"} |
|
StringProperty | m_metFinKey {this, "metFinKey", "MET_RefFinal"} |
|
StringProperty | m_metCalKey {this, "metCalKey", "MET_Calo"} |
|
StringProperty | m_metRegKey {this, "metRegKey", "", "Set to MET_TruthRegions if desired"} |
|
SG::ReadHandleKey< xAOD::JetContainer > | m_jetColKey {this, "jetColKey", "AntiKt4LCTopoJets"} |
|
SG::ReadHandleKey< xAOD::ElectronContainer > | m_eleColKey {this, "eleColKey", "Electrons"} |
|
SG::ReadHandleKey< xAOD::MuonContainer > | m_muoColKey {this, "muoColKey", "Muons"} |
|
const size_t | m_calIndices = 7 |
|
const size_t | m_regIndices = 3 |
|
const std::vector< std::string > | m_calStrings |
|
std::vector< std::string > | m_regStrings |
|
Gaudi::Property< bool > | m_met_cut_80 { this, "doMetCut80", false, "Documentation?" } |
|
Gaudi::Property< int > | m_etabin { this, "nEtaBins", 100, "Documentation?" } |
|
Gaudi::Property< int > | m_phibin { this, "nPhiBins", 100, "Documentation?" } |
|
Gaudi::Property< int > | m_etbin { this, "nEtBins", 800, "Documentation?" } |
|
Gaudi::Property< float > | m_met_cut { this, "metCut", 0., "Documentation?" } |
|
Gaudi::Property< float > | m_etrange { this, "EtRange", 400., "Documentation?" } |
|
Gaudi::Property< float > | m_etrangeSumFactor { this, "SumEtRangeFactor", 10., "Documentation?" } |
|
Gaudi::Property< std::vector< float > > | m_etrangeCalFactors |
|
Gaudi::Property< std::vector< float > > | m_etrangeRegFactors |
|
Gaudi::Property< bool > | m_doFillNegativeSumEt { this, "FillNegativeSumEt", false , "" } |
|
Gaudi::Property< float > | m_tos { this, "YaxisTitleOffset", 1.25, ""} |
|
float | m_truncatedMean = 200. |
|
std::vector< TH1 * > | m_et |
|
std::vector< TH1 * > | m_ex |
|
std::vector< TH1 * > | m_ey |
|
std::vector< TH1 * > | m_phi |
|
std::vector< TH1 * > | m_sumet |
|
TProfile * | m_metVsSumEt |
|
TProfile * | m_metVsMetPhi |
|
std::vector< TProfile * > | m_metVsEta |
|
std::vector< TProfile * > | m_dphiVsEta |
|
std::vector< TProfile * > | m_metVsPhi |
|
std::vector< TProfile * > | m_dphiVsPhi |
|
std::vector< TProfile2D * > | m_metVsEtaPhi |
|
std::vector< TH1 * > | m_etCal |
|
std::vector< TH1 * > | m_exCal |
|
std::vector< TH1 * > | m_eyCal |
|
std::vector< TH1 * > | m_phiCal |
|
std::vector< TH1 * > | m_sumetCal |
|
std::vector< TH1 * > | m_etReg |
|
std::vector< TH1 * > | m_exReg |
|
std::vector< TH1 * > | m_eyReg |
|
std::vector< TH1 * > | m_phiReg |
|
std::vector< TH1 * > | m_sumetReg |
|
TProfile * | m_exMean |
|
TProfile * | m_eyMean |
|
TProfile * | m_phiMean |
|
TProfile * | m_exCalMean |
|
TProfile * | m_eyCalMean |
|
TProfile * | m_phiCalMean |
|
TProfile * | m_exRegMean |
|
TProfile * | m_eyRegMean |
|
TProfile * | m_phiRegMean |
|
int | m_iJet |
|
int | m_iEle |
|
int | m_iMuo |
|
Gaudi::Property< bool > | m_doJetcleaning { this, "doJetcleaning", false, "" } |
|
Gaudi::Property< bool > | m_badJets { this, "badJets", false, "" } |
|
Gaudi::Property< int > | m_maxNumContainerWarnings { this, "maxNumContainerWarnings", 10, "" } |
| Set Number of WARNINGs displayed for failure of container retrieval. More...
|
|
int | m_ContainerWarnings_Muon {} |
|
int | m_ContainerWarnings_Ele {} |
|
int | m_ContainerWarnings_Jet {} |
|
std::vector< int > | m_ContainerWarnings_metKeys |
|
ToolHandle< IJetSelector > | m_selTool { this, "JetSelectorTool", "", ""} |
|
ITHistSvc * | m_thistSvc |
| used only if m_selType == FromTool More...
|
|
std::map< Interval_t, std::vector< MgmtParams< TH1 > > > | m_templateHistograms |
|
std::map< Interval_t, std::vector< MgmtParams< TGraph > > > | m_templateGraphs |
|
std::map< Interval_t, std::vector< MgmtParams< TTree > > > | m_templateTrees |
|
std::map< Interval_t, std::vector< MgmtParams< LWHist > > > | m_templateLWHistograms |
|
std::map< Interval_t, std::vector< MgmtParams< TEfficiency > > > | m_templateEfficiencies |
|
std::vector< std::string > | m_vTrigChainNames |
|
std::vector< std::string > | m_vTrigGroupNames |
|
MDMap_t | m_metadataMap |
|
std::set< LWHist * > | m_lwhists |
|
AthenaMonManager * | m_manager |
|
std::string | m_managerNameProp |
|
std::string | m_fileKey |
|
std::string | m_dataTypeStr |
|
std::string | m_environmentStr |
|
unsigned int | m_detailLevel |
|
AthenaMonManager::DataType_t | m_dataType |
|
AthenaMonManager::Environment_t | m_environment |
|
StreamNameFcn * | m_streamNameFcn |
|
ServiceHandle< ITHistSvc > | m_THistSvc |
|
PublicToolHandle< Trig::ITrigDecisionTool > | m_trigDecTool {this, "TrigDecisionTool",""} |
|
PublicToolHandle< ITriggerTranslatorTool > | m_trigTranslator {this,"TriggerTranslatorTool",""} |
|
ToolHandleArray< IDQFilterTool > | m_DQFilterTools {this,"FilterTools",{}} |
|
long | m_procNEventsProp |
|
std::string | m_path |
|
long | m_preScaleProp |
|
std::string | m_triggerChainProp |
|
std::string | m_triggerGroupProp |
|
bool | m_useTrigger |
|
unsigned int | m_lastLumiBlock |
|
unsigned int | m_lastRun |
|
int | m_lastLowStatInterval |
|
int | m_lastMedStatInterval |
|
int | m_lastHigStatInterval |
|
unsigned int | m_nEvents |
|
unsigned int | m_nEventsIgnoreTrigger |
|
unsigned int | m_nLumiBlocks |
|
bool | m_haveClearedLastEventBlock |
|
METMonTool class.
This class is finalized to Missing Et data quality monitoring
- Author
- Miche.nosp@m.le.C.nosp@m.onson.nosp@m.ni@c.nosp@m.ern.c.nosp@m.h
Definition at line 45 of file METMonTool.h.
◆ MDMap_t
◆ StoreGateSvc_t
◆ Interval_t
An enumeration describing how detailed a particular monitoring object is.
summary: used to summarize the state of the system
runstat: same as summary
shift: used to flag potential problems
expert: essential for diagnosing problems identified by shift-level objects
debug: useful for standalone debugging, but not for routine monitoring; not essential for diagnosing problems during normal running
transient: too detailed to ever be written; always summarized by the user by means of another object An enumeration describing the interval over which a particular monitoring object is filled (i.e., interval over which the method Fill(...) is called). This information may be stored with the monitoring object if an application is only able to partially fill the object (i.e., a job sees only part of a run or fill). This information may be ignored in some running Environments. The 'fill' interval corresponds to a fill of the LHC. The 'all' interval corresponds to all available data. The 'lumiBlock' and 'fill' intervals are only valid for the 'collisions' DataType_t.
Enumerator |
---|
file | |
eventsBlock | |
lumiBlock | |
lowStat | |
medStat | |
higStat | |
run | |
fill | |
all | |
Definition at line 114 of file ManagedMonitorToolBase.h.
◆ MgmtAttr_t
An enumeration describing how the class handles the histogram.
attrib_unmanaged: histograms with this attribute will not be rebooked automatically and must be managed by the user code.
attrib_x_is_lb: indicates that the x-axis of the histogram is the luminosity block number and that the histogram should be rebooked as necessary if the current LB exceeds the range.
Enumerator |
---|
ATTRIB_MANAGED | |
ATTRIB_UNMANAGED | |
ATTRIB_X_VS_LB | |
Definition at line 131 of file ManagedMonitorToolBase.h.
◆ METMonTool()
METMonTool::METMonTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~METMonTool()
METMonTool::~METMonTool |
( |
| ) |
|
◆ bookCalosHistograms()
StatusCode METMonTool::bookCalosHistograms |
( |
MonGroup & |
met_calos | ) |
|
Definition at line 398 of file METMonTool.cxx.
402 std::ostringstream hName;
403 std::ostringstream hTitle;
404 std::ostringstream hxTitle;
405 std::ostringstream hyTitle;
422 hxTitle <<
"MET Et (GeV)";
424 h =
new TH1F(hName.str().c_str(), hTitle.str().c_str(),
m_etbin, etmin, etmax);
425 h->GetXaxis()->SetTitle(hxTitle.str().c_str());
426 h->GetYaxis()->SetTitle(hyTitle.str().c_str());
h->GetYaxis()->SetTitleOffset(
m_tos);
427 met_calos.regHist(
h).ignore();
431 hxTitle.str(
""); hyTitle.str(
"");
435 hxTitle <<
"MET Etx (GeV)";
437 h =
new TH1F(hName.str().c_str(), hTitle.str().c_str(),
m_etbin, -etmax, etmax);
438 h->GetXaxis()->SetTitle(hxTitle.str().c_str());
439 h->GetYaxis()->SetTitle(hyTitle.str().c_str());
h->GetYaxis()->SetTitleOffset(
m_tos);
440 met_calos.regHist(
h).ignore();
444 hxTitle.str(
""); hyTitle.str(
"");
448 hxTitle <<
"MET Ety (GeV)";
450 h =
new TH1F(hName.str().c_str(), hTitle.str().c_str(),
m_etbin, -etmax, etmax);
451 h->GetXaxis()->SetTitle(hxTitle.str().c_str());
452 h->GetYaxis()->SetTitle(hyTitle.str().c_str());
h->GetYaxis()->SetTitleOffset(
m_tos);
453 met_calos.regHist(
h).ignore();
457 hxTitle.str(
""); hyTitle.str(
"");
461 hxTitle <<
"MET Phi (radian)";
464 h->GetXaxis()->SetTitle(hxTitle.str().c_str());
465 h->GetYaxis()->SetTitle(hyTitle.str().c_str());
h->GetYaxis()->SetTitleOffset(
m_tos);
466 met_calos.regHist(
h).ignore();
470 hxTitle.str(
""); hyTitle.str(
"");
474 hxTitle <<
"SumEt (GeV)";
476 h =
new TH1F(hName.str().c_str(), hTitle.str().c_str(),
m_etbin, sumetmin, sumetmax);
477 h->GetXaxis()->SetTitle(hxTitle.str().c_str());
478 h->GetYaxis()->SetTitle(hyTitle.str().c_str());
h->GetYaxis()->SetTitleOffset(
m_tos);
479 met_calos.regHist(
h).ignore();
483 hxTitle.str(
""); hyTitle.str(
"");
486 return StatusCode::SUCCESS;
◆ bookHistograms()
StatusCode METMonTool::bookHistograms |
( |
| ) |
|
|
virtual |
An inheriting class should either override this function or bookHists().
Reimplemented from ManagedMonitorToolBase.
Definition at line 160 of file METMonTool.cxx.
168 ATH_MSG_DEBUG(
"Vector of Et ranges for calorimeter subsystems is incomplete: filling with 1's");
180 ATH_MSG_DEBUG(
"Vector of Et ranges for regions is incomplete: filling with 1's");
209 unsigned int nSources =
m_metKeys.size();
210 for (
unsigned int i = 0;
i < nSources;
i++)
229 return StatusCode::SUCCESS;
◆ bookHistogramsRecurrent()
StatusCode ManagedMonitorToolBase::bookHistogramsRecurrent |
( |
| ) |
|
|
virtualinherited |
An inheriting class should either override this function, bookHists() or bookHistograms().
Reimplemented in SCTHitEffMonTool, SCTHitsNoiseMonTool, SCTErrMonTool, SCTTracksMonTool, SCTLorentzMonTool, AFPHitsMonitorTool, InDetGlobalBCMTool, DQTDataFlowMonTool, RpcLv1RawDataEfficiency, LVL1::CalorimeterL1CaloMon, LVL1::L1CaloCTPMon, LVL1::L1CaloLevel2Mon, LVL1::L1CaloPMTScoresMon, MdtRawDataValAlg, InDetGlobalTrackMonTool, InDetGlobalHitsMonTool, TRT_Monitoring_Tool, LVL1::L1CaloL1TopoMon, CaloTowerVecMon, DQTGlobalWZFinderTool, InDetGlobalTopBottomMonTool, DataQualityFatherMonTool, InDetGlobalNoiseOccupancyMonTool, RpcLv1RawDataValAlg, CaloClusterVecMon, RpcLv1RawDataSectorLogic, CaloTransverseBalanceVecMon, InDetGlobalBeamSpotMonTool, MdtVsTgcRawDataValAlg, MdtVsRpcRawDataValAlg, InDetGlobalErrorMonTool, ManagedMonitorToolTest, InDetGlobalPrimaryVertexMonTool, HIMonitoringEventShapeTool, AFPTechnicalMonitorTool, HIMonitoringZdcTool, HIMonitoringElectronsTool, HIMonitoringPhotonsTool, and HIMonitoringMuonsTool.
Definition at line 1394 of file ManagedMonitorToolBase.cxx.
1401 return StatusCode::SUCCESS;
◆ bookHists()
StatusCode ManagedMonitorToolBase::bookHists |
( |
| ) |
|
|
virtualinherited |
◆ bookProfileHistograms()
StatusCode METMonTool::bookProfileHistograms |
( |
std::string & |
metName, |
|
|
const char * |
objName, |
|
|
MonGroup & |
met_mongroup, |
|
|
int * |
index |
|
) |
| |
Definition at line 665 of file METMonTool.cxx.
667 ATH_MSG_DEBUG(
"in bookProfileHistograms(" << metName.c_str() <<
", " << objName <<
")");
673 std::ostringstream hName;
674 std::ostringstream hTitle;
675 std::ostringstream hxTitle;
676 std::ostringstream hyTitle;
681 hName <<
"metVs" << objName <<
"Eta_" << metName;
682 hTitle <<
"MET Vs " << objName <<
" Eta Distribution (" << metName <<
")";
683 hxTitle << objName <<
" Eta";
684 hyTitle <<
"MET Et (GeV)";
685 hp =
new TProfile(hName.str().c_str(), hTitle.str().c_str(),
m_etabin, -5., +5.);
686 hp->GetXaxis()->SetTitle(hxTitle.str().c_str());
687 hp->GetYaxis()->SetTitle(hyTitle.str().c_str()); hp->GetYaxis()->SetTitleOffset(
m_tos);
688 met_mongroup.regHist(hp).ignore();
692 hxTitle.str(
""); hyTitle.str(
"");
694 hName <<
"dphiVs" << objName <<
"Eta_" << metName;
695 hTitle <<
"DeltaPhi Vs " << objName <<
" Eta Distribution (" << metName <<
")";
696 hxTitle << objName <<
" Eta";
697 hyTitle <<
"deltaPhi (MET, " << objName <<
")";
698 hp =
new TProfile(hName.str().c_str(), hTitle.str().c_str(),
m_etabin, -5., +5.);
699 hp->GetXaxis()->SetTitle(hxTitle.str().c_str());
700 hp->GetYaxis()->SetTitle(hyTitle.str().c_str()); hp->GetYaxis()->SetTitleOffset(
m_tos);
701 met_mongroup.regHist(hp).ignore();
705 hxTitle.str(
""); hyTitle.str(
"");
707 hName <<
"metVs" << objName <<
"Phi_" << metName;
708 hTitle <<
"MET Vs " << objName <<
" Phi Distribution (" << metName <<
")";
709 hxTitle << objName <<
" Phi (radian)";
710 hyTitle <<
"MET Et (GeV)";
712 hp->GetXaxis()->SetTitle(hxTitle.str().c_str());
713 hp->GetYaxis()->SetTitle(hyTitle.str().c_str()); hp->GetYaxis()->SetTitleOffset(
m_tos);
714 met_mongroup.regHist(hp).ignore();
718 hxTitle.str(
""); hyTitle.str(
"");
748 hName <<
"dphiVs" << objName <<
"Phi_" << metName;
749 hTitle <<
"DeltaPhi Vs " << objName <<
" Phi Distribution (" << metName <<
")";
750 hxTitle << objName <<
" Phi (radian)";
751 hyTitle <<
"deltaPhi (MET, " << objName <<
")";
753 hp->GetXaxis()->SetTitle(hxTitle.str().c_str());
754 hp->GetYaxis()->SetTitle(hyTitle.str().c_str()); hp->GetYaxis()->SetTitleOffset(
m_tos);
755 met_mongroup.regHist(hp).ignore();
759 hxTitle.str(
""); hyTitle.str(
"");
761 hName <<
"metVs" << objName <<
"EtaPhi_" << metName;
762 hTitle <<
"MET Vs " << objName <<
" EtaPhi Distribution (" << metName <<
")";
763 hxTitle << objName <<
" Eta";
764 hyTitle << objName <<
" Phi (radian)";
766 hp2->GetXaxis()->SetTitle(hxTitle.str().c_str());
767 hp2->GetYaxis()->SetTitle(hyTitle.str().c_str()); hp2->GetYaxis()->SetTitleOffset(
m_tos);
768 met_mongroup.regHist(hp2).ignore();
772 hxTitle.str(
""); hyTitle.str(
"");
776 return StatusCode::SUCCESS;
◆ bookRegionsHistograms()
StatusCode METMonTool::bookRegionsHistograms |
( |
MonGroup & |
met_regions | ) |
|
Definition at line 490 of file METMonTool.cxx.
495 std::ostringstream hName;
496 std::ostringstream hTitle;
497 std::ostringstream hxTitle;
498 std::ostringstream hyTitle;
515 hxTitle <<
"MET Et (GeV)";
517 h =
new TH1F(hName.str().c_str(), hTitle.str().c_str(),
m_etbin, etmin, etmax);
518 h->GetXaxis()->SetTitle(hxTitle.str().c_str());
519 h->GetYaxis()->SetTitle(hyTitle.str().c_str());
h->GetYaxis()->SetTitleOffset(
m_tos);
520 met_regions.regHist(
h).ignore();
524 hxTitle.str(
""); hyTitle.str(
"");
528 hxTitle <<
"MET Etx (GeV)";
530 h =
new TH1F(hName.str().c_str(), hTitle.str().c_str(),
m_etbin, -etmax, etmax);
531 h->GetXaxis()->SetTitle(hxTitle.str().c_str());
532 h->GetYaxis()->SetTitle(hyTitle.str().c_str());
h->GetYaxis()->SetTitleOffset(
m_tos);
533 met_regions.regHist(
h).ignore();
537 hxTitle.str(
""); hyTitle.str(
"");
541 hxTitle <<
"MET Ety (GeV)";
543 h =
new TH1F(hName.str().c_str(), hTitle.str().c_str(),
m_etbin, -etmax, etmax);
544 h->GetXaxis()->SetTitle(hxTitle.str().c_str());
545 h->GetYaxis()->SetTitle(hyTitle.str().c_str());
h->GetYaxis()->SetTitleOffset(
m_tos);
546 met_regions.regHist(
h).ignore();
550 hxTitle.str(
""); hyTitle.str(
"");
554 hxTitle <<
"MET Phi (radian)";
557 h->GetXaxis()->SetTitle(hxTitle.str().c_str());
558 h->GetYaxis()->SetTitle(hyTitle.str().c_str());
h->GetYaxis()->SetTitleOffset(
m_tos);
559 met_regions.regHist(
h).ignore();
563 hxTitle.str(
""); hyTitle.str(
"");
567 hxTitle <<
"SumEt (GeV)";
569 h =
new TH1F(hName.str().c_str(), hTitle.str().c_str(),
m_etbin, sumetmin, sumetmax);
570 h->GetXaxis()->SetTitle(hxTitle.str().c_str());
571 h->GetYaxis()->SetTitle(hyTitle.str().c_str());
h->GetYaxis()->SetTitleOffset(
m_tos);
572 met_regions.regHist(
h).ignore();
576 hxTitle.str(
""); hyTitle.str(
"");
579 return StatusCode::SUCCESS;
◆ bookSourcesHistograms()
StatusCode METMonTool::bookSourcesHistograms |
( |
std::string & |
metName, |
|
|
MonGroup & |
met_mongroup, |
|
|
bool |
doProfiles |
|
) |
| |
Definition at line 270 of file METMonTool.cxx.
273 ATH_MSG_DEBUG(
"in bookSourcesHistograms(" << metName.c_str() <<
")");
277 std::ostringstream hTitle;
278 std::ostringstream hxTitle;
279 std::ostringstream hyTitle;
291 if ((
m_suffix.value().find(
"EF_xe20_noMu") != std::string::npos))
298 hName =
"et_" + metName;
299 hTitle <<
"Et Distribution (" << metName <<
")";
300 hxTitle <<
"MET Et (GeV)";
302 h =
new TH1F( hName.c_str(), hTitle.str().c_str(),
m_etbin, etmin, etmax);
303 h->GetXaxis()->SetTitle(hxTitle.str().c_str());
304 h->GetYaxis()->SetTitle(hyTitle.str().c_str());
h->GetYaxis()->SetTitleOffset(
m_tos);
305 met_mongroup.regHist(
h).ignore();
309 hxTitle.str(
""); hyTitle.str(
"");
311 hName =
"ex_" + metName;
312 hTitle <<
"Ex Distribution (" << metName <<
")";
313 hxTitle <<
"MET Etx (GeV)";
315 h =
new TH1F( hName.c_str(), hTitle.str().c_str(),
m_etbin, -etmax, etmax);
316 h->GetXaxis()->SetTitle(hxTitle.str().c_str());
317 h->GetYaxis()->SetTitle(hyTitle.str().c_str());
h->GetYaxis()->SetTitleOffset(
m_tos);
318 met_mongroup.regHist(
h).ignore();
322 hxTitle.str(
""); hyTitle.str(
"");
324 hName =
"ey_" + metName;
325 hTitle <<
"Ey Distribution (" << metName <<
")";
326 hxTitle <<
"MET Ety (GeV)";
328 h =
new TH1F( hName.c_str(), hTitle.str().c_str(),
m_etbin, -etmax, etmax);
329 h->GetXaxis()->SetTitle(hxTitle.str().c_str());
330 h->GetYaxis()->SetTitle(hyTitle.str().c_str());
h->GetYaxis()->SetTitleOffset(
m_tos);
331 met_mongroup.regHist(
h).ignore();
335 hxTitle.str(
""); hyTitle.str(
"");
337 hName =
"phi_" + metName;
338 hTitle <<
"Phi Distribution (" << metName <<
")";
339 hxTitle <<
"MET Phi (radian)";
342 h->GetXaxis()->SetTitle(hxTitle.str().c_str());
343 h->GetYaxis()->SetTitle(hyTitle.str().c_str());
h->GetYaxis()->SetTitleOffset(
m_tos);
344 met_mongroup.regHist(
h).ignore();
348 hxTitle.str(
""); hyTitle.str(
"");
350 hName =
"sumet_" + metName;
351 hTitle <<
"SumEt Distribution (" << metName <<
")";
352 hxTitle <<
"SumEt (GeV)";
354 if (metName ==
"MET_Cryo" || metName ==
"MET_MuonBoy" || metName ==
"MET_CellOut_em")
356 h =
new TH1F(hName.c_str(), hTitle.str().c_str(),
m_etbin, sumetmin, sumetmax);
357 h->GetXaxis()->SetTitle(hxTitle.str().c_str());
358 h->GetYaxis()->SetTitle(hyTitle.str().c_str());
h->GetYaxis()->SetTitleOffset(
m_tos);
359 met_mongroup.regHist(
h).ignore();
363 hxTitle.str(
""); hyTitle.str(
"");
368 hName =
"metVsSumEt_" + metName;
369 hTitle <<
"MET Vs SumEt Distribution (" << metName <<
")";
370 hxTitle <<
"SumEt (GeV)";
371 hyTitle <<
"MET Et (GeV)";
373 m_metVsSumEt->GetXaxis()->SetTitle(hxTitle.str().c_str());
378 hxTitle.str(
""); hyTitle.str(
"");
381 hName =
"metVsMetPhi_" + metName;
382 hTitle <<
"MET Vs MetPhi Distribution (" << metName <<
")";
383 hxTitle <<
"MET Phi (radian)";
384 hyTitle <<
"MET Et (GeV)";
391 hxTitle.str(
""); hyTitle.str(
"");
394 return StatusCode::SUCCESS;
◆ bookSummaryHistograms()
StatusCode METMonTool::bookSummaryHistograms |
( |
MonGroup & |
met_summary | ) |
|
Definition at line 583 of file METMonTool.cxx.
588 std::ostringstream exTitle;
589 std::ostringstream eyTitle;
590 std::ostringstream phiTitle;
592 exTitle <<
"MET <etx> (GeV)";
593 eyTitle <<
"MET <ety> (GeV)";
594 phiTitle <<
"MET <phi> (radian)";
600 unsigned int nSources =
m_metKeys.size();
606 m_exMean =
new TProfile(
"exMean",
"Means of the Ex Sources", nSources, 0., nSources);
607 m_eyMean =
new TProfile(
"eyMean",
"Means of the Ey Sources", nSources, 0., nSources);
608 m_phiMean =
new TProfile(
"phiMean",
"Means of the Phi Sources", nSources, 0., nSources);
612 for (
unsigned int i = 0;
i < nSources;
i++)
618 met_summary.regHist(
m_exMean).ignore();
619 met_summary.regHist(
m_eyMean).ignore();
625 m_exCalMean =
new TProfile(
"exCalMean",
"Means of the Ex Calorimeters", nCalos, 0., nCalos);
626 m_eyCalMean =
new TProfile(
"eyCalMean",
"Means of the Ey Calorimeters", nCalos, 0., nCalos);
631 for (
unsigned int i = 0;
i < nCalos;
i++)
644 m_exRegMean =
new TProfile(
"exRegMean",
"Means of the Ex Regions", nRegions, 0., nRegions);
645 m_eyRegMean =
new TProfile(
"eyRegMean",
"Means of the Ey Regions", nRegions, 0., nRegions);
650 for (
unsigned int i = 0;
i < nRegions;
i++)
661 return StatusCode::SUCCESS;
◆ checkHists()
StatusCode ManagedMonitorToolBase::checkHists |
( |
bool |
calledFromFinalize | ) |
|
|
virtualinherited |
This implementation does nothing; equivalent functionality may be provided by procHists(...) with appropriate arguments.
Implements IMonitorToolBase.
Reimplemented in SCTHitsNoiseMonTool, SCTTracksMonTool, SCTLorentzMonTool, TileRawChannelMonTool, TileDigitsMonTool, DQTDataFlowMonTool, DQTNonCollBkg_ZDC, DQTGlobalWZFinderTool, DataQualityFatherMonTool, DQTDetSynchMonTool, DQTMuonIDTrackTool, TileCellNoiseMonTool, CscCalibMonToolBase, CscPrdValAlg, and CscRdoValAlg.
Definition at line 1901 of file ManagedMonitorToolBase.cxx.
1906 return StatusCode::SUCCESS;
◆ clearHistograms()
StatusCode METMonTool::clearHistograms |
( |
| ) |
|
◆ convertLWHists()
StatusCode ManagedMonitorToolBase::convertLWHists |
( |
| ) |
|
|
virtualinherited |
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ deregGraph()
StatusCode ManagedMonitorToolBase::deregGraph |
( |
TGraph * |
g | ) |
|
|
virtualinherited |
◆ deregHist() [1/2]
StatusCode ManagedMonitorToolBase::deregHist |
( |
LWHist * |
h | ) |
|
|
virtualinherited |
Definition at line 1826 of file ManagedMonitorToolBase.cxx.
1830 return StatusCode::FAILURE;
1833 if (
h->usingROOTBackend()) {
1834 h->setOwnsROOTHisto(
true);
1838 return StatusCode::SUCCESS;
◆ deregHist() [2/2]
StatusCode ManagedMonitorToolBase::deregHist |
( |
TH1 * |
h | ) |
|
|
virtualinherited |
◆ deregObject() [1/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1861 of file ManagedMonitorToolBase.cxx.
1874 return StatusCode::SUCCESS;
◆ deregObject() [2/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1851 of file ManagedMonitorToolBase.cxx.
◆ detStore()
◆ 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
◆ fillCalosHistograms()
StatusCode METMonTool::fillCalosHistograms |
( |
| ) |
|
Definition at line 1031 of file METMonTool.cxx.
1044 if (! xhmetCal.isValid()) {
1046 return StatusCode::SUCCESS;
1049 xmetCal = xhmetCal.
get();
1054 if (xMissEt_forCut.isValid()) {
1055 float et_RefFinal = (*xMissEt_forCut)[
"FinalClus"]->met() /
CLHEP::GeV;
1056 if (et_RefFinal <
m_met_cut)
return StatusCode::SUCCESS;
1064 xJetCollection = xhJetCollection.
get();
1065 if ( xJetCollection == 0 ) {
1070 for (
const xAOD::Jet* xjet: *xJetCollection ) {
1071 if(
m_selTool->keep(*xjet) ==
false )
return StatusCode::SUCCESS;
1080 float et = sqrt(ex*ex + ey*ey);
1081 float phi = atan2(ey, ex);
1102 return StatusCode::SUCCESS;
◆ fillHistograms()
StatusCode METMonTool::fillHistograms |
( |
| ) |
|
|
virtual |
An inheriting class should either override this function or fillHists().
Reimplemented from ManagedMonitorToolBase.
Definition at line 784 of file METMonTool.cxx.
789 if (!thisEventInfo.isValid())
790 ATH_MSG_DEBUG(
"No EventInfo object found! Can't access LAr event info status!");
795 return StatusCode::SUCCESS;
805 return StatusCode::SUCCESS;
◆ fillHists()
StatusCode ManagedMonitorToolBase::fillHists |
( |
| ) |
|
|
virtualinherited |
Calls fillHists( bool, bool, bool ); if an eventBlock,lumiBlock, or run has turned over, calls procHists( bool, bool, bool ) and bookHists( bool, bool, bool ).
Implements IMonitorToolBase.
Reimplemented in TileRawChannelMonTool, and TileDigitsMonTool.
Definition at line 792 of file ManagedMonitorToolBase.cxx.
798 msg(MSG::WARNING) <<
"ManagedMonitorToolBase::initialize() never called from reimplementation!" <<
endmsg;
809 newLumiBlock =
false;
815 newLowStatInterval =
false;
816 newMedStatInterval =
false;
817 newHigStatInterval =
false;
830 isNewEventsBlock =
true;
845 if( LBsLowStat*LBsMedStat*LBsHigStat == 0) {
846 msg(MSG::WARNING) <<
"zero LBs requested for interval" <<
endmsg;
898 std::vector<Interval_t> intervals_to_process;
903 for (
const auto interval: intervals_to_process) {
916 it.m_templateHist->LabelsInflate(
"X");
923 TH1* passedHist =
it.m_templateHist->GetCopyPassedHisto();
924 TH1* totalHist =
it.m_templateHist->GetCopyTotalHisto();
927 passedHist->LabelsInflate(
"X");
928 totalHist->LabelsInflate(
"X");
933 it.m_templateHist->SetPassedHistogram(*passedHist,
"f");
934 it.m_templateHist->SetTotalHistogram(*totalHist,
" ");
942 streamname->updateRunLB();
958 bool filterresult(
true);
961 for (; filterresult && (ifilter != filterend);
963 filterresult = (filterresult && (*ifilter)->accept());
993 if( LBsLowStat*LBsMedStat*LBsHigStat > 0) {
1001 return StatusCode::SUCCESS;
◆ fillProfileHistograms()
StatusCode METMonTool::fillProfileHistograms |
( |
float |
et, |
|
|
float |
phi, |
|
|
float |
objEta, |
|
|
float |
objPhi, |
|
|
int |
i |
|
) |
| |
Definition at line 1155 of file METMonTool.cxx.
1160 float dphi =
phi - objPhi;
1161 if (dphi > +
M_PI) dphi = dphi - 2.*
M_PI;
1162 if (dphi < -
M_PI) dphi = dphi + 2.*
M_PI;
1173 return StatusCode::SUCCESS;
◆ fillRegionsHistograms()
StatusCode METMonTool::fillRegionsHistograms |
( |
| ) |
|
Definition at line 1105 of file METMonTool.cxx.
1117 if (xmetReg.isValid()) {
1121 std::string xaod_truth_region =
"";
1122 if (
i == 0) xaod_truth_region =
"Int_Central";
1123 else if (
i == 1) xaod_truth_region =
"Int_EndCap";
1124 else if (
i == 2) xaod_truth_region =
"Int_Forward";
1125 else xaod_truth_region =
"Int_Central";
1127 float ex = (*xmetReg)[xaod_truth_region]->mpx() /
CLHEP::GeV;
1128 float ey = (*xmetReg)[xaod_truth_region]->mpy() /
CLHEP::GeV;
1129 float et = sqrt(ex*ex + ey*ey);
1130 float phi = atan2(ey, ex);
1131 float sumet = (*xmetReg)[xaod_truth_region]->sumet() /
CLHEP::GeV;
1151 return StatusCode::SUCCESS;
◆ fillSourcesHistograms()
StatusCode METMonTool::fillSourcesHistograms |
( |
| ) |
|
Definition at line 809 of file METMonTool.cxx.
819 xJetCollection = xhJetCollection.
get();
830 return StatusCode::SUCCESS;
833 if (xJetCollection->
size() > 0)
838 int counterbadjets = 0;
842 for (; jetItr != jetItrE; ++jetItr)
850 if (counterbadjets == 0)
852 return StatusCode::SUCCESS;
869 xElectrons = rhElectrons.
get();
878 if (xElectrons->
size() > 0)
880 auto eleItr = xElectrons->
begin();
893 xMuons = rhMuons.
get();
903 if (xMuons->
size() > 0)
905 auto muonItr = xMuons->
begin();
920 if (xMissEt_forCut.isValid()) {
921 float et_RefFinal = (*xMissEt_forCut)[
"FinalClus"]->met() /
CLHEP::GeV;
922 if (et_RefFinal <
m_met_cut)
return StatusCode::SUCCESS;
928 if (xJetCollection->
size() > 0){
932 for (; jetItr != jetItrE; ++jetItr)
937 if(! isgoodjet )
return StatusCode::SUCCESS;
946 auto foundIterator = key2SubSkeyMap.find(
m_metKeys[
i] );
947 if ( foundIterator == key2SubSkeyMap.end() )
continue;
948 std::string xaod_key = foundIterator->second.first;
949 std::string xaod_subkey = foundIterator->second.second;
955 if (xhMissEt.isValid()) {
956 xMissEt = xhMissEt.
get();
961 ATH_MSG_DEBUG(
"Unable to retrieve MissingETContainer: " << xaod_key);
967 if ((*xMissEt)[xaod_subkey]) {
968 float ex = (*xMissEt)[xaod_subkey]->mpx() /
CLHEP::GeV;
969 float ey = (*xMissEt)[xaod_subkey]->mpy() /
CLHEP::GeV;
971 float phi = (*xMissEt)[xaod_subkey]->phi();
972 float sumet = (*xMissEt)[xaod_subkey]->sumet() /
CLHEP::GeV;
995 if (xJetCollection != 0) {
996 for (
const xAOD::Jet* xjet : *xJetCollection ) {
1023 ATH_MSG_DEBUG(
"Unable to retrieve MissingETContainer: " << xaod_key);
1027 return StatusCode::SUCCESS;
◆ finalHists()
StatusCode ManagedMonitorToolBase::finalHists |
( |
| ) |
|
|
virtualinherited |
◆ get_nEvents()
unsigned int ManagedMonitorToolBase::get_nEvents |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ get_procNEventsProp()
long ManagedMonitorToolBase::get_procNEventsProp |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ getHist() [1/6]
◆ getHist() [2/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
LWHist *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
◆ getHist() [3/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1598 of file ManagedMonitorToolBase.cxx.
◆ getHist() [4/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1588 of file ManagedMonitorToolBase.cxx.
◆ getHist() [5/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1640 of file ManagedMonitorToolBase.cxx.
◆ getHist() [6/6]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1630 of file ManagedMonitorToolBase.cxx.
◆ getNewStreamNameFcn()
|
protectedvirtualinherited |
◆ initialize()
StatusCode METMonTool::initialize |
( |
| ) |
|
|
virtual |
Reimplemented from ManagedMonitorToolBase.
Definition at line 79 of file METMonTool.cxx.
110 std::unordered_set<std::string> realSGKeys;
112 const auto itr = key2SubSkeyMap.find(
k);
113 if (itr != key2SubSkeyMap.end()) {
114 realSGKeys.insert(itr->second.first);
118 const auto itr = key2SubSkeyMap.find(
k);
119 if (itr != key2SubSkeyMap.end()) {
120 realSGKeys.insert(itr->second.first);
123 for (
const auto&
k : realSGKeys) {
136 if (!service(
"THistSvc",
m_thistSvc).isSuccess()) {
138 return StatusCode::FAILURE;
146 ATH_MSG_ERROR(
"JetSelTool is configured even if is not required");
147 return StatusCode::FAILURE;
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ interfaceID()
static const InterfaceID& IMonitorToolBase::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
◆ intervalEnumToString()
std::string ManagedMonitorToolBase::intervalEnumToString |
( |
Interval_t |
interval | ) |
|
|
staticinherited |
Converts a LevelOfDetail_t to a string of the same name.
Converts a string to the corresponding LevelOfDetail_t. Converts a Interval_t to a string of the same name.
Definition at line 587 of file ManagedMonitorToolBase.cxx.
590 std::string
str(
"file");
◆ intervalStringToEnum()
Converts a string to the corresponding Interval_t.
Definition at line 629 of file ManagedMonitorToolBase.cxx.
632 std::string lcstr( strToLower(
str) );
636 else if( lcstr ==
"fill" )
638 else if( lcstr ==
"run" )
640 else if( lcstr ==
"lowStat" )
642 else if( lcstr ==
"medStat" )
644 else if( lcstr ==
"higStat" )
646 else if( lcstr ==
"lumiBlock" )
648 else if( lcstr ==
"eventsBlock" )
650 else if( lcstr ==
"file" )
656 if(
sc.isSuccess() ) {
657 MsgStream
log(
ms,
"ManagedMonitorToolBase::intervalStringToEnum()" );
658 log << MSG::WARNING <<
"Unknown ManagedMonitorToolBase::Interval_t \""
659 <<
str <<
"\", returning \"file\"" <<
endmsg;
◆ lbAverageInteractionsPerCrossing()
float ManagedMonitorToolBase::lbAverageInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average mu, i.e.
<mu>
Definition at line 1923 of file ManagedMonitorToolBase.cxx.
1928 return lumi->lbAverageInteractionsPerCrossing();
1931 ATH_MSG_DEBUG(
"Warning: lbAverageInteractionsPerCrossing() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbAverageLivefraction()
float ManagedMonitorToolBase::lbAverageLivefraction |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average luminosity livefraction.
Definition at line 1992 of file ManagedMonitorToolBase.cxx.
2000 return live->lbAverageLiveFraction();
2003 ATH_MSG_DEBUG(
"Warning: lbAverageLivefraction() - luminosity not availble (i.e. EnableLumi = False)");
◆ lbAverageLuminosity()
float ManagedMonitorToolBase::lbAverageLuminosity |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1)
Definition at line 1959 of file ManagedMonitorToolBase.cxx.
1964 return lumi->lbAverageLuminosity();
1967 ATH_MSG_DEBUG(
"Warning: lbAverageLuminosity() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbDuration()
double ManagedMonitorToolBase::lbDuration |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Luminosity block time (in seconds)
Definition at line 2046 of file ManagedMonitorToolBase.cxx.
2054 return dur->lbDuration();
2057 ATH_MSG_DEBUG(
"Warning: lbDuration() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbInteractionsPerCrossing()
float ManagedMonitorToolBase::lbInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Instantaneous number of interactions, i.e.
mu
Definition at line 1939 of file ManagedMonitorToolBase.cxx.
1944 float muToLumi =
lumi->muToLumi();
1946 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id()) / muToLumi;
1951 ATH_MSG_DEBUG(
"Warning: lbInteractionsPerCrossing() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbLuminosityPerBCID()
float ManagedMonitorToolBase::lbLuminosityPerBCID |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Instantaneous luminosity.
Definition at line 1975 of file ManagedMonitorToolBase.cxx.
1980 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id());
1983 ATH_MSG_DEBUG(
"Warning: lbLuminosityPerBCID() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ lbLumiWeight()
double ManagedMonitorToolBase::lbLumiWeight |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average Integrated Luminosity Live Fraction.
Definition at line 2030 of file ManagedMonitorToolBase.cxx.
2037 ATH_MSG_DEBUG(
"Warning: lbLumiWeight() - luminosity tools are not retrieved or turned on (i.e. EnableLumi = False)");
◆ livefractionPerBCID()
float ManagedMonitorToolBase::livefractionPerBCID |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Livefraction per bunch crossing ID.
Definition at line 2011 of file ManagedMonitorToolBase.cxx.
2019 return live->l1LiveFractionVector().at (ctx.eventID().bunch_crossing_id());
2022 ATH_MSG_DEBUG(
"Warning: livefractionPerBCID() - luminosity retrieved available (i.e. EnableLumi = False)");
◆ MMTB_DEPRECATED() [1/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfEventsBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [2/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfLowStat |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [3/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfLumiBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [4/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
endOfRun |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [5/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newEventsBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [6/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newHigStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [7/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLowStat |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [8/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLowStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [9/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newLumiBlock |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [10/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newMedStatInterval |
| ) |
|
|
inherited |
◆ MMTB_DEPRECATED() [11/11]
ManagedMonitorToolBase::MMTB_DEPRECATED |
( |
newRun |
| ) |
|
|
inherited |
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ newEventsBlockFlag()
bool ManagedMonitorToolBase::newEventsBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newHigStatIntervalFlag()
bool ManagedMonitorToolBase::newHigStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLowStatFlag()
bool ManagedMonitorToolBase::newLowStatFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLowStatIntervalFlag()
bool ManagedMonitorToolBase::newLowStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newLumiBlockFlag()
bool ManagedMonitorToolBase::newLumiBlockFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newMedStatIntervalFlag()
bool ManagedMonitorToolBase::newMedStatIntervalFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ newRunFlag()
bool ManagedMonitorToolBase::newRunFlag |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ parseList()
StatusCode ManagedMonitorToolBase::parseList |
( |
const std::string & |
line, |
|
|
std::vector< std::string > & |
result |
|
) |
| |
|
protectedinherited |
◆ preSelector()
bool ManagedMonitorToolBase::preSelector |
( |
| ) |
|
|
virtualinherited |
◆ procHistograms()
StatusCode METMonTool::procHistograms |
( |
| ) |
|
|
virtual |
◆ regEfficiency()
StatusCode ManagedMonitorToolBase::regEfficiency |
( |
TEfficiency * |
e, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TEfficiency to be included in the output stream using logical parameters that describe the plot.
Definition at line 1648 of file ManagedMonitorToolBase.cxx.
1650 return StatusCode::FAILURE;
1652 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1653 std::string
name =
e->GetName();
1659 ATH_MSG_WARNING(
"HEY! Attempting to register "<<
name<<
" as a per-LB histogram, but not setting the merge algorithm! Use \"merge\", at least.");
1666 return StatusCode::FAILURE;
1676 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1683 if (
smd != StatusCode::SUCCESS)
1684 return StatusCode::FAILURE;
◆ regGraph() [1/2]
StatusCode ManagedMonitorToolBase::regGraph |
( |
TGraph * |
g, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 1702 of file ManagedMonitorToolBase.cxx.
1706 return StatusCode::FAILURE;
1719 return StatusCode::FAILURE;
1722 std::string
name =
g->GetName();
1730 std::string gName =
g->GetName();
1733 std::string genericName = NoOutputStream().getStreamName(
this,
group, gName );
1741 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regGraph() [2/2]
Registers a TGraph to be included in the output stream using logical parameters that describe the graph.
Definition at line 1692 of file ManagedMonitorToolBase.cxx.
◆ regHist() [1/4]
Definition at line 1522 of file ManagedMonitorToolBase.cxx.
1528 return StatusCode::FAILURE;
1540 return StatusCode::FAILURE;
1547 std::string hName =
h->GetName();
1551 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1577 if (
h->usingROOTBackend())
1579 h->setOwnsROOTHisto(
false);
1583 return StatusCode::SUCCESS;
◆ regHist() [2/4]
◆ regHist() [3/4]
Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram.
A histogram is passed via reference to a pointer.
Definition at line 1462 of file ManagedMonitorToolBase.cxx.
1468 return StatusCode::FAILURE;
1481 ATH_MSG_WARNING(
"HEY! You're attempting to register " <<
h->GetName() <<
" as a per-LB histogram, but you're not setting the merge algorithm! This is a SUPER-BAD idea! Use \"merge\", at least.");
1488 return StatusCode::FAILURE;
1491 std::string hName =
h->GetName();
1499 std::string hName =
h->GetName();
1502 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1510 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regHist() [4/4]
◆ registerMetadata()
StatusCode ManagedMonitorToolBase::registerMetadata |
( |
const std::string & |
streamName, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
protectedinherited |
Definition at line 1005 of file ManagedMonitorToolBase.cxx.
1011 size_t found=mdStreamName.rfind(
'/');
1013 if (
found != std::string::npos )
1014 mdStreamName.replace(
found, mdStreamName.length(),
"/metadata" );
1018 metadata =
new TTree(
"metadata",
"Monitoring Metadata" );
1019 if (!
metadata)
return StatusCode::FAILURE;
1021 if (scmd == StatusCode::FAILURE)
return StatusCode::FAILURE;
1022 MDMap_t::value_type valToInsert( mdStreamName,
new OutputMetadata(
metadata) );
1028 return StatusCode::SUCCESS;
◆ regManagedEfficiencies()
StatusCode ManagedMonitorToolBase::regManagedEfficiencies |
( |
std::vector< MgmtParams< TEfficiency > > & |
templateEfficiencies | ) |
|
|
protectedinherited |
Definition at line 1200 of file ManagedMonitorToolBase.cxx.
1201 bool allIsOk =
true;
1202 for(
auto&
it : templateEfficiencies ) {
1205 TEfficiency* theEfficiency =
it.m_templateHist;
1206 TEfficiency*
e =
static_cast<TEfficiency*
>(theEfficiency->Clone());
1207 int nbins = theEfficiency->GetTotalHistogram()->GetNbinsX();
1208 int xlow = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmin();
1209 int xhigh = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmax();
1210 e->SetBins(
nbins,xlow,xhigh);
1211 std::string
name =
e->GetName();
1214 TGraph* theGraph =
reinterpret_cast<TGraph*
>(theEfficiency);
1215 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1223 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1225 bool doneCleaning =
false;
1227 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1232 if (sc2 == StatusCode::SUCCESS) doneCleaning =
true;
1235 if (!doneCleaning) {
1236 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1241 if (sc3 == StatusCode::FAILURE)
1248 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1251 if (sc4 == StatusCode::FAILURE) allIsOk =
false;
1254 if (!allIsOk)
return StatusCode::FAILURE;
1255 return StatusCode::SUCCESS;
◆ regManagedGraphs()
StatusCode ManagedMonitorToolBase::regManagedGraphs |
( |
std::vector< MgmtParams< TGraph > > & |
templateGraphs | ) |
|
|
protectedinherited |
Definition at line 1129 of file ManagedMonitorToolBase.cxx.
1133 bool allIsOk =
true;
1135 for( std::vector< MgmtParams<TGraph> >::
iterator it = templateGraphs.begin();
it != templateGraphs.end(); ++
it ) {
1136 MonGroup
group = (*it).m_group;
1139 TGraph* theGraph = (*it).m_templateHist;
1142 TGraph*
g =
static_cast<TGraph*
>(theGraph->Clone());
1146 std::string gName =
g->GetName();
1153 if (sc1 == StatusCode::FAILURE)
1158 bool doneCleaning =
false;
1160 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1165 if (sc2 == StatusCode::SUCCESS)
1166 doneCleaning =
true;
1170 if (!doneCleaning) {
1171 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1178 if (sc3 == StatusCode::FAILURE)
1185 if (
smd != StatusCode::SUCCESS)
1190 if (sc4 == StatusCode::FAILURE)
1195 if (!allIsOk)
return StatusCode::FAILURE;
1197 return StatusCode::SUCCESS;
◆ regManagedHistograms()
StatusCode ManagedMonitorToolBase::regManagedHistograms |
( |
std::vector< MgmtParams< TH1 > > & |
templateHistograms | ) |
|
|
protectedinherited |
Definition at line 1032 of file ManagedMonitorToolBase.cxx.
1047 bool allIsOk =
true;
1049 for( std::vector< MgmtParams<TH1> >::
iterator it = templateHistograms.begin();
it != templateHistograms.end(); ++
it ) {
1050 MonGroup&
group = (*it).m_group;
1053 TH1* theHist = (*it).m_templateHist;
1056 TH1*
h =
static_cast<TH1*
>(theHist->Clone());
1060 std::string hName =
h->GetName();
1067 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1071 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1074 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1083 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1087 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1091 if (!allIsOk)
return StatusCode::FAILURE;
1093 return StatusCode::SUCCESS;
◆ regManagedLWHistograms()
StatusCode ManagedMonitorToolBase::regManagedLWHistograms |
( |
std::vector< MgmtParams< LWHist > > & |
templateLWHistograms | ) |
|
|
protectedinherited |
◆ regManagedTrees()
StatusCode ManagedMonitorToolBase::regManagedTrees |
( |
std::vector< MgmtParams< TTree > > & |
templateTrees | ) |
|
|
protectedinherited |
Definition at line 1260 of file ManagedMonitorToolBase.cxx.
1264 bool allIsOk =
true;
1266 for( std::vector< MgmtParams<TTree> >::
iterator it = templateTrees.begin();
it != templateTrees.end(); ++
it ) {
1267 MonGroup
group = (*it).m_group;
1270 TTree* theTree = (*it).m_templateHist;
1273 TTree*
t =
static_cast<TTree*
>(theTree->Clone());
1277 std::string
name =
t->GetName();
1284 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1288 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1291 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1300 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1304 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1308 if (!allIsOk)
return StatusCode::FAILURE;
1310 return StatusCode::SUCCESS;
◆ regTree() [1/2]
StatusCode ManagedMonitorToolBase::regTree |
( |
TTree * |
t, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TTree to be included in the output stream using logical parameters that describe it.
Definition at line 1758 of file ManagedMonitorToolBase.cxx.
1773 return StatusCode::FAILURE;
1776 std::string
name =
t->GetName();
1777 std::string genericName = NoOutputStream().getStreamName(
this, group_unmanaged,
name );
1785 std::string tName =
t->GetName();
1788 std::string genericName = NoOutputStream().getStreamName(
this,
group, tName );
1796 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regTree() [2/2]
Registers a TTree to be included in the output stream using logical parameters that describe it.
Definition at line 1748 of file ManagedMonitorToolBase.cxx.
◆ renounce()
◆ renounceArray()
◆ runStat()
StatusCode ManagedMonitorToolBase::runStat |
( |
| ) |
|
|
virtualinherited |
This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ).
Implements IMonitorToolBase.
Definition at line 1893 of file ManagedMonitorToolBase.cxx.
1896 return StatusCode::SUCCESS;
◆ setMonManager()
◆ setupOutputStreams()
StatusCode ManagedMonitorToolBase::setupOutputStreams |
( |
std::vector< std::string > |
Mapping = std::vector<std::string>() | ) |
|
|
virtualinherited |
◆ streamNameFunction()
Returns the function object that converts logical paramters into a physical stream name.
Definition at line 502 of file ManagedMonitorToolBase.cxx.
506 msg(MSG::ERROR) <<
"!! streamNameFunction() has not been initialized !!" <<
endmsg;
507 msg(MSG::ERROR) <<
" --> neither ManagedMonitorToolBase::initialize() nor" <<
endmsg;
508 msg(MSG::ERROR) <<
" --> ManagedMonitorToolBase::setMonManager() has been called." <<
endmsg;
509 msg(MSG::ERROR) <<
" --> Correct configuration cannot be guaranteed from this point." <<
endmsg;
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ THistSvc_deReg_fixTGraph()
StatusCode ManagedMonitorToolBase::THistSvc_deReg_fixTGraph |
( |
TFile * |
file, |
|
|
TGraph * |
theGraph, |
|
|
std::string & |
directoryName |
|
) |
| |
|
protectedinherited |
Fixes THistSvc->deReg(obj) when obj is TGraph instance.
Read more in source file about this bug.
Definition at line 1097 of file ManagedMonitorToolBase.cxx.
1107 GlobalDirectoryRestore restore;
1110 bool graphRemoved =
false;
1113 TDirectory*
dir =
file->GetDirectory(directoryName.c_str());
1116 TObject*
obj =
dir->Remove(theGraph);
1118 graphRemoved =
true;
1121 if (!graphRemoved) {
1122 return StatusCode::FAILURE;
1125 return StatusCode::SUCCESS;
◆ trigChainsArePassed()
bool ManagedMonitorToolBase::trigChainsArePassed |
( |
std::vector< std::string > & |
vTrigNames | ) |
|
|
protectedvirtualinherited |
◆ updateTriggersForGroups()
void ManagedMonitorToolBase::updateTriggersForGroups |
( |
std::vector< std::string > & |
vTrigChainNames | ) |
|
|
protectedinherited |
Definition at line 2362 of file ManagedMonitorToolBase.cxx.
2364 for (
size_t i = 0;
i < vTrigChainNames.size(); ++
i) {
2365 std::string& thisName = vTrigChainNames[
i];
2366 if (thisName.compare(0, 9,
"CATEGORY_") ==0) {
2367 ATH_MSG_DEBUG(
"Found a trigger category: " << thisName <<
". We will unpack it.");
2369 std::ostringstream oss;
2371 for (
size_t itrig = 0; itrig <
triggers.size(); ++itrig) {
2379 std::string newval = oss.str();
2381 vTrigChainNames[
i] = newval;
◆ updateVHKA()
◆ writeAndDelete()
StatusCode ManagedMonitorToolBase::writeAndDelete |
( |
TH1 * |
h, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Write out histogram and delete it.
Definition at line 1803 of file ManagedMonitorToolBase.cxx.
1806 return StatusCode::FAILURE;
1808 std::string hName =
h->GetName();
1811 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1814 return StatusCode::SUCCESS;
◆ m_badJets
Gaudi::Property<bool> METMonTool::m_badJets { this, "badJets", false, "" } |
|
protected |
◆ m_bookHistogramsInitial
bool ManagedMonitorToolBase::m_bookHistogramsInitial |
|
privateinherited |
◆ m_calIndices
const size_t METMonTool::m_calIndices = 7 |
|
protected |
◆ m_calStrings
const std::vector<std::string> METMonTool::m_calStrings |
|
protected |
Initial value:{
"PEMB", "EMB", "PEME", "EME", "TILE", "HEC", "FCAL" }
Definition at line 95 of file METMonTool.h.
◆ m_ContainerWarnings_Ele
int METMonTool::m_ContainerWarnings_Ele {} |
|
protected |
◆ m_ContainerWarnings_Jet
int METMonTool::m_ContainerWarnings_Jet {} |
|
protected |
◆ m_ContainerWarnings_metKeys
std::vector<int> METMonTool::m_ContainerWarnings_metKeys |
|
protected |
◆ m_ContainerWarnings_Muon
int METMonTool::m_ContainerWarnings_Muon {} |
|
protected |
◆ m_d
Imp* ManagedMonitorToolBase::m_d |
|
privateinherited |
◆ m_dataType
◆ m_dataTypeStr
std::string ManagedMonitorToolBase::m_dataTypeStr |
|
protectedinherited |
◆ m_defaultLBDuration
float ManagedMonitorToolBase::m_defaultLBDuration |
|
privateinherited |
◆ m_detailLevel
unsigned int ManagedMonitorToolBase::m_detailLevel |
|
protectedinherited |
◆ m_detStore
◆ m_doFillNegativeSumEt
Gaudi::Property<bool> METMonTool::m_doFillNegativeSumEt { this, "FillNegativeSumEt", false , "" } |
|
protected |
◆ m_doJetcleaning
Gaudi::Property<bool> METMonTool::m_doJetcleaning { this, "doJetcleaning", false, "" } |
|
protected |
◆ m_dphiVsEta
std::vector<TProfile*> METMonTool::m_dphiVsEta |
|
protected |
◆ m_dphiVsPhi
std::vector<TProfile*> METMonTool::m_dphiVsPhi |
|
protected |
◆ m_DQFilterTools
ToolHandleArray<IDQFilterTool> ManagedMonitorToolBase::m_DQFilterTools {this,"FilterTools",{}} |
|
protectedinherited |
◆ m_eleColKey
◆ 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_et
std::vector<TH1*> METMonTool::m_et |
|
protected |
◆ m_etabin
Gaudi::Property<int> METMonTool::m_etabin { this, "nEtaBins", 100, "Documentation?" } |
|
protected |
◆ m_etbin
Gaudi::Property<int> METMonTool::m_etbin { this, "nEtBins", 800, "Documentation?" } |
|
protected |
◆ m_etCal
std::vector<TH1*> METMonTool::m_etCal |
|
protected |
◆ m_etrange
Gaudi::Property<float> METMonTool::m_etrange { this, "EtRange", 400., "Documentation?" } |
|
protected |
◆ m_etrangeCalFactors
Gaudi::Property<std::vector<float> > METMonTool::m_etrangeCalFactors |
|
protected |
Initial value:{ this, "EtRangeCalFactors",
{ 0.2, 0.6, 0.1, 0.5, 0.5, 0.4, 0.3 }, "" }
Definition at line 108 of file METMonTool.h.
◆ m_etrangeRegFactors
Gaudi::Property<std::vector<float> > METMonTool::m_etrangeRegFactors |
|
protected |
Initial value:{ this, "EtRangeRegFactors",
{ 0.1, 0.1, 0.1 }, "" }
Definition at line 111 of file METMonTool.h.
◆ m_etrangeSumFactor
Gaudi::Property<float> METMonTool::m_etrangeSumFactor { this, "SumEtRangeFactor", 10., "Documentation?" } |
|
protected |
◆ m_etReg
std::vector<TH1*> METMonTool::m_etReg |
|
protected |
◆ m_eventInfoKey
◆ m_evtStore
◆ m_ex
std::vector<TH1*> METMonTool::m_ex |
|
protected |
◆ m_exCal
std::vector<TH1*> METMonTool::m_exCal |
|
protected |
◆ m_exCalMean
◆ m_exMean
◆ m_exReg
std::vector<TH1*> METMonTool::m_exReg |
|
protected |
◆ m_exRegMean
◆ m_ey
std::vector<TH1*> METMonTool::m_ey |
|
protected |
◆ m_eyCal
std::vector<TH1*> METMonTool::m_eyCal |
|
protected |
◆ m_eyCalMean
◆ m_eyMean
◆ m_eyReg
std::vector<TH1*> METMonTool::m_eyReg |
|
protected |
◆ m_eyRegMean
◆ m_fileKey
std::string ManagedMonitorToolBase::m_fileKey |
|
protectedinherited |
◆ m_genTool
ToolHandle<GenericMonitoringTool> METMonTool::m_genTool { this, "GenTool", "", "Generic monitoring tool" } |
|
protected |
◆ m_haveClearedLastEventBlock
bool ManagedMonitorToolBase::m_haveClearedLastEventBlock |
|
protectedinherited |
◆ m_iEle
◆ m_iJet
◆ m_iMuo
◆ m_jetColKey
◆ 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_lbDurationDataKey
◆ m_lumiDataKey
◆ m_lwhists
std::set<LWHist*> ManagedMonitorToolBase::m_lwhists |
|
protectedinherited |
◆ m_manager
◆ m_managerNameProp
std::string ManagedMonitorToolBase::m_managerNameProp |
|
protectedinherited |
◆ m_maxNumContainerWarnings
Gaudi::Property<int> METMonTool::m_maxNumContainerWarnings { this, "maxNumContainerWarnings", 10, "" } |
|
protected |
Set Number of WARNINGs displayed for failure of container retrieval.
Definition at line 168 of file METMonTool.h.
◆ m_met_cut
Gaudi::Property<float> METMonTool::m_met_cut { this, "metCut", 0., "Documentation?" } |
|
protected |
◆ m_met_cut_80
Gaudi::Property<bool> METMonTool::m_met_cut_80 { this, "doMetCut80", false, "Documentation?" } |
|
protected |
◆ m_metadataMap
MDMap_t ManagedMonitorToolBase::m_metadataMap |
|
protectedinherited |
◆ m_metCalKey
StringProperty METMonTool::m_metCalKey {this, "metCalKey", "MET_Calo"} |
|
protected |
◆ m_metFinKey
StringProperty METMonTool::m_metFinKey {this, "metFinKey", "MET_RefFinal"} |
|
protected |
◆ m_metForCut
◆ m_metKeys
StringArrayProperty METMonTool::m_metKeys {this, "metKeys", {"MET_Base", "MET_Topo", "MET_Track"}} |
|
protected |
◆ m_metKeysFull
◆ m_metRegKey
StringProperty METMonTool::m_metRegKey {this, "metRegKey", "", "Set to MET_TruthRegions if desired"} |
|
protected |
◆ m_metVsEta
std::vector<TProfile*> METMonTool::m_metVsEta |
|
protected |
◆ m_metVsEtaPhi
std::vector<TProfile2D*> METMonTool::m_metVsEtaPhi |
|
protected |
◆ m_metVsMetPhi
◆ m_metVsPhi
std::vector<TProfile*> METMonTool::m_metVsPhi |
|
protected |
◆ m_metVsSumEt
◆ m_muoColKey
◆ m_nEvents
unsigned int ManagedMonitorToolBase::m_nEvents |
|
protectedinherited |
◆ m_nEventsIgnoreTrigger
unsigned int ManagedMonitorToolBase::m_nEventsIgnoreTrigger |
|
protectedinherited |
◆ m_newEventsBlock
bool ManagedMonitorToolBase::m_newEventsBlock |
|
privateinherited |
◆ m_newHigStatInterval
bool ManagedMonitorToolBase::m_newHigStatInterval |
|
privateinherited |
◆ m_newLowStat
bool ManagedMonitorToolBase::m_newLowStat |
|
privateinherited |
◆ m_newLowStatInterval
bool ManagedMonitorToolBase::m_newLowStatInterval |
|
privateinherited |
◆ m_newLumiBlock
bool ManagedMonitorToolBase::m_newLumiBlock |
|
privateinherited |
◆ m_newMedStatInterval
bool ManagedMonitorToolBase::m_newMedStatInterval |
|
privateinherited |
◆ m_newRun
bool ManagedMonitorToolBase::m_newRun |
|
privateinherited |
◆ m_nLumiBlocks
unsigned int ManagedMonitorToolBase::m_nLumiBlocks |
|
protectedinherited |
◆ m_path
std::string ManagedMonitorToolBase::m_path |
|
protectedinherited |
◆ m_phi
std::vector<TH1*> METMonTool::m_phi |
|
protected |
◆ m_phibin
Gaudi::Property<int> METMonTool::m_phibin { this, "nPhiBins", 100, "Documentation?" } |
|
protected |
◆ m_phiCal
std::vector<TH1*> METMonTool::m_phiCal |
|
protected |
◆ m_phiCalMean
◆ m_phiMean
◆ m_phiReg
std::vector<TH1*> METMonTool::m_phiReg |
|
protected |
◆ m_phiRegMean
◆ m_preScaleProp
long ManagedMonitorToolBase::m_preScaleProp |
|
protectedinherited |
◆ m_procNEventsProp
long ManagedMonitorToolBase::m_procNEventsProp |
|
protectedinherited |
◆ m_regIndices
const size_t METMonTool::m_regIndices = 3 |
|
protected |
◆ m_regStrings
std::vector<std::string> METMonTool::m_regStrings |
|
protected |
Initial value:{
"Central", "EndCap", "Forward" }
Definition at line 97 of file METMonTool.h.
◆ m_selTool
ToolHandle<IJetSelector> METMonTool::m_selTool { this, "JetSelectorTool", "", ""} |
|
protected |
◆ m_streamNameFcn
◆ m_suffix
StringProperty METMonTool::m_suffix { this, "NameSuffix", "", "" } |
|
protected |
◆ m_sumet
std::vector<TH1*> METMonTool::m_sumet |
|
protected |
◆ m_sumetCal
std::vector<TH1*> METMonTool::m_sumetCal |
|
protected |
◆ m_sumetReg
std::vector<TH1*> METMonTool::m_sumetReg |
|
protected |
◆ m_supportedIntervalsForRebooking
std::set<Interval_t> ManagedMonitorToolBase::m_supportedIntervalsForRebooking |
|
privateinherited |
◆ m_templateEfficiencies
std::map< Interval_t, std::vector< MgmtParams<TEfficiency> > > ManagedMonitorToolBase::m_templateEfficiencies |
|
protectedinherited |
◆ m_templateGraphs
◆ m_templateHistograms
◆ m_templateLWHistograms
◆ m_templateTrees
◆ m_thistSvc
ITHistSvc* METMonTool::m_thistSvc |
|
protected |
used only if m_selType == FromTool
Definition at line 175 of file METMonTool.h.
◆ m_THistSvc
◆ m_tos
Gaudi::Property<float> METMonTool::m_tos { this, "YaxisTitleOffset", 1.25, ""} |
|
protected |
◆ 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_truncatedMean
float METMonTool::m_truncatedMean = 200. |
|
protected |
◆ m_useLumi
bool ManagedMonitorToolBase::m_useLumi |
|
privateinherited |
◆ m_useTrigger
bool ManagedMonitorToolBase::m_useTrigger |
|
protectedinherited |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_vTrigChainNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigChainNames |
|
protectedinherited |
◆ m_vTrigGroupNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigGroupNames |
|
protectedinherited |
The documentation for this class was generated from the following files:
virtual LWHist * ownedLWHistOfKey(const std::string &key) const
JetConstituentVector::iterator iterator
virtual LWHist * writeAndDeleteLWHist(const std::string &key, const std::string &streamName)
Extra patterns decribing particle interation process.
Const iterator class for DataVector/DataList.
Scalar phi() const
phi method
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual LWHist * writeAndResetLWHist(const std::string &key, const std::string &streamName)
static unsigned int runNumber()
virtual double phi() const
The azimuthal angle ( ) of the particle.
virtual std::string fileKey() const
virtual void passOwnership(TObject *h, const std::string &key)
Pass ownership of a TObject/LWHist to this manager so that it will be deleted appropriately.
virtual double eta() const
The pseudorapidity ( ) of the particle.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
const T * get(size_type n) const
Access an element, as an rvalue.
bool msgLvl(const MSG::Level lvl) const
static void setStreamName(LWHist *, const std::string &streamName)
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool empty() const
Test if the key is blank.
@ LAr
The LAr calorimeter.
static unsigned int getLBsLowStat()
virtual void setOwner(IDataHandleHolder *o)=0
@ Error
The sub-detector issued an error.
static Environment_t environment()
Returns the running environment of the monitoring application to help ManagedMonitorToolBase objects ...
static const std::string & streamName(LWHist *)
static unsigned int getLBsMedStat()
bool usingROOTBackend() const
static void removeCustomData(LWHist *)
static DataType_t dataType()
Returns the data type that the monitoring application is running over to help ManagedMonitorToolBase ...
static const std::string & key(LWHist *)
def TProfile(*args, **kwargs)
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual void writeAndDelete(const std::string &key)
If the TObject is owned by this manager, its Write() method is called and it is deleted.
#define CHECK(...)
Evaluate an expression and check for errors.
virtual double phi() const override final
The azimuthal angle ( ) of the particle.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
void fcn(int &, double *, double &result, double par[], int)
this is where we write out chi2
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
Container for xAOD::MissingET_v1 objects.
static unsigned int getLBsHigStat()
static void setKey(LWHist *, const std::string &key)
void setOwnsROOTHisto(bool b)
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
#define ATH_MSG_WARNING(x)
filelist
print ("Checking files %s..." % fullfile)
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
static unsigned int lumiBlockNumber()
virtual TH1 * getROOTHistBase()=0
size_type size() const noexcept
Returns the number of elements in the collection.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.