 |
ATLAS Offline Software
|
#include <IDPerfMonKshort.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...
|
|
|
| IDPerfMonKshort (const std::string &type, const std::string &name, const IInterface *parent) |
|
virtual | ~IDPerfMonKshort () |
|
virtual StatusCode | initialize () |
|
virtual StatusCode | bookHistograms () |
| An inheriting class should either override this function or bookHists(). More...
|
|
virtual StatusCode | fillHistograms () |
| An inheriting class should either override this function or fillHists(). More...
|
|
virtual StatusCode | procHistograms () |
| An inheriting class should either override this function or finalHists(). More...
|
|
void | RegisterHisto (MonGroup &mon, TH1 *histo) |
|
void | RegisterHisto (MonGroup &mon, TProfile *histo) |
|
void | RegisterHisto (MonGroup &mon, TGraph *graph) |
|
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 | 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 | getHist (TH1 *&h, const std::string &hName, const std::string &system, Interval_t interval) |
| Returns a TH1 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH1 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH1 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH2 *&h, const std::string &hName, const std::string &system, Interval_t interval) |
| Returns a TH2 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | getHist (TH2 *&h, const std::string &hName, const MonGroup &group) |
| Returns a TH2 via the pointer passed as the first argument. More...
|
|
virtual StatusCode | regEfficiency (TEfficiency *e, const MonGroup &group) |
| Registers a TEfficiency to be included in the output stream using logical parameters that describe the plot. More...
|
|
virtual StatusCode | 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 | writeAndDelete (TH1 *h, const MonGroup &group) |
| Write out histogram and delete it. More...
|
|
virtual StatusCode | deregHist (TH1 *h) |
| De-registers a TH1 from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregGraph (TGraph *g) |
| De-registers a TGraph from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const std::string &system, Interval_t interval) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | deregObject (const std::string &objName, const MonGroup &group) |
| De-registers a TObject from the THistSvc, but does NOT delete the object. More...
|
|
virtual StatusCode | setupOutputStreams (std::vector< std::string > Mapping=std::vector< std::string >()) |
| This implementation does nothing—streams in this class should be managed by the AthenaMonManager. More...
|
|
virtual StatusCode | runStat () |
| This implementation does nothing; equivalent functionality may be provided by procHists( true, true, true ). More...
|
|
virtual 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, V, H > &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 | 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...
|
|
|
int | m_histosBooked {} |
|
TH1F * | m_mass {} |
|
TH1F * | m_mass_scaled {} |
|
TH2F * | m_massVsPhi {} |
|
TH1F * | m_radius {} |
|
TH1F * | m_radius_secVertices {} |
|
TH1F * | m_radius_secVertices_sel {} |
|
TH2F * | m_radiusVsZ_secVertex {} |
|
TH2F * | m_radiusVsZ_secVertex_sel {} |
|
TH2F * | m_YVsX_secVertex {} |
|
TH2F * | m_YVsX_secVertex_sel {} |
|
TH2F * | m_radiusVsZ_secVertex_Ks {} |
|
TH2F * | m_YVsX_secVertex_Ks {} |
|
TH2F * | m_YVsX_primVertex {} |
|
TH2F * | m_XVsZ_primVertex {} |
|
TH2F * | m_YVsZ_primVertex {} |
|
TH2F * | m_YVsX_primVertex_Ks {} |
|
TH2F * | m_XVsZ_primVertex_Ks {} |
|
TH2F * | m_YVsZ_primVertex_Ks {} |
|
TH1F * | m_pt {} |
|
TH1F * | m_eta {} |
|
TH1F * | m_phi {} |
|
TH1F * | m_massVersusPt {} |
|
TH1F * | m_widthVersusPt {} |
|
TH1F * | m_massVersusRadius {} |
|
TH1F * | m_widthVersusRadius {} |
|
TH1F * | m_massVersusEta {} |
|
TH1F * | m_widthVersusEta {} |
|
TH1F * | m_massVersusPhi {} |
|
TH1F * | m_widthVersusPhi {} |
|
TH1F * | m_massVersusCurvatureDiff {} |
|
TH1F * | m_widthVersusCurvatureDiff {} |
|
TH1F * | m_massVersusPt_merged {} |
|
TH1F * | m_widthVersusPt_merged {} |
|
TH1F * | m_massVersusRadius_merged {} |
|
TH1F * | m_widthVersusRadius_merged {} |
|
TH1F * | m_massVersusEta_merged {} |
|
TH1F * | m_widthVersusEta_merged {} |
|
TH1F * | m_massVersusPhi_merged {} |
|
TH1F * | m_widthVersusPhi_merged {} |
|
TH1F * | m_massVersusCurvatureDiff_merged {} |
|
TH1F * | m_widthVersusCurvatureDiff_merged {} |
|
TH1F * | m_massVPtBinHistos [m_nBinsPt] ={0} |
|
TH1F * | m_massVEtaBinHistos [10] ={0} |
|
TH1F * | m_massVPhiBinHistos [10] ={0} |
|
TH1F * | m_massVCurvatureDiffBinHistos [6] ={0} |
|
TH1F * | m_massVRadiusBinHistos [m_nBinsRadius] ={0} |
|
TH1F * | m_massVPtBinFittedHistos [m_nFittedBinsPt] ={0} |
|
TH1F * | m_massVRadiusBinFittedHistos [m_nFittedBinsRadius] ={0} |
|
TH1F * | m_Nevents {} |
|
std::map< Interval_t, std::vector< MgmtParams< TH1 > > > | m_templateHistograms |
|
std::map< Interval_t, std::vector< MgmtParams< TGraph > > > | m_templateGraphs |
|
std::map< Interval_t, std::vector< MgmtParams< TTree > > > | m_templateTrees |
|
std::map< Interval_t, std::vector< MgmtParams< TEfficiency > > > | m_templateEfficiencies |
|
std::vector< std::string > | m_vTrigChainNames |
|
std::vector< std::string > | m_vTrigGroupNames |
|
MDMap_t | m_metadataMap |
|
AthenaMonManager * | m_manager |
|
std::string | m_managerNameProp |
|
std::string | m_fileKey |
|
std::string | m_dataTypeStr |
|
std::string | m_environmentStr |
|
unsigned int | m_detailLevel |
|
AthenaMonManager::DataType_t | m_dataType |
|
AthenaMonManager::Environment_t | m_environment |
|
StreamNameFcn * | m_streamNameFcn |
|
ServiceHandle< ITHistSvc > | m_THistSvc |
|
PublicToolHandle< Trig::ITrigDecisionTool > | m_trigDecTool {this, "TrigDecisionTool",""} |
|
PublicToolHandle< ITriggerTranslatorTool > | m_trigTranslator {this,"TriggerTranslatorTool",""} |
|
ToolHandleArray< IDQFilterTool > | m_DQFilterTools {this,"FilterTools",{}} |
|
long | m_procNEventsProp |
|
std::string | m_path |
|
long | m_preScaleProp |
|
std::string | m_triggerChainProp |
|
std::string | m_triggerGroupProp |
|
bool | m_useTrigger |
|
unsigned int | m_lastLumiBlock |
|
unsigned int | m_lastRun |
|
int | m_lastLowStatInterval |
|
int | m_lastMedStatInterval |
|
int | m_lastHigStatInterval |
|
unsigned int | m_nEvents |
|
unsigned int | m_nEventsIgnoreTrigger |
|
unsigned int | m_nLumiBlocks |
|
bool | m_haveClearedLastEventBlock |
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
Definition at line 19 of file IDPerfMonKshort.h.
◆ MDMap_t
◆ StoreGateSvc_t
◆ Interval_t
An enumeration describing how detailed a particular monitoring object is.
summary: used to summarize the state of the system
runstat: same as summary
shift: used to flag potential problems
expert: essential for diagnosing problems identified by shift-level objects
debug: useful for standalone debugging, but not for routine monitoring; not essential for diagnosing problems during normal running
transient: too detailed to ever be written; always summarized by the user by means of another object An enumeration describing the interval over which a particular monitoring object is filled (i.e., interval over which the method Fill(...) is called). This information may be stored with the monitoring object if an application is only able to partially fill the object (i.e., a job sees only part of a run or fill). This information may be ignored in some running Environments. The 'fill' interval corresponds to a fill of the LHC. The 'all' interval corresponds to all available data. The 'lumiBlock' and 'fill' intervals are only valid for the 'collisions' DataType_t.
Enumerator |
---|
file | |
eventsBlock | |
lumiBlock | |
lowStat | |
medStat | |
higStat | |
run | |
fill | |
all | |
Definition at line 113 of file ManagedMonitorToolBase.h.
◆ MgmtAttr_t
An enumeration describing how the class handles the histogram.
attrib_unmanaged: histograms with this attribute will not be rebooked automatically and must be managed by the user code.
attrib_x_is_lb: indicates that the x-axis of the histogram is the luminosity block number and that the histogram should be rebooked as necessary if the current LB exceeds the range.
Enumerator |
---|
ATTRIB_MANAGED | |
ATTRIB_UNMANAGED | |
ATTRIB_X_VS_LB | |
Definition at line 130 of file ManagedMonitorToolBase.h.
◆ IDPerfMonKshort()
IDPerfMonKshort::IDPerfMonKshort |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~IDPerfMonKshort()
IDPerfMonKshort::~IDPerfMonKshort |
( |
| ) |
|
|
virtual |
◆ bookHistograms()
StatusCode IDPerfMonKshort::bookHistograms |
( |
| ) |
|
|
virtual |
An inheriting class should either override this function or bookHists().
Reimplemented from ManagedMonitorToolBase.
Definition at line 108 of file IDPerfMonKshort.cxx.
138 Double_t phiBins[10]{};
140 Double_t curvatureDiffBins[6]{};
143 sequentialFill(curvatureDiffBins,
std::end(curvatureDiffBins), -0.001,0.0004);
144 m_mass =
new TH1F(
"ks_mass",
"Invariant mass of K^{0}_{S} candidate", 60, 0.45, 0.55);
145 m_mass->SetYTitle(
"K^{0}_{S} Candidates");
146 m_mass->SetXTitle(
"Mass (Gev / c^{2})");
147 m_mass->SetMarkerStyle(20);
150 m_mass_scaled =
new TH1F(
"ks_mass_scaled",
"Invariant mass of K^{0}_{S} candidate scaled to per event", 60, 0.45, 0.55);
157 m_massVsPhi =
new TH2F(
"ks_massVsPhi",
"Invariant mass - world average of K^{0}_{S} candidate", 10, (-1.0*
M_PI),
M_PI, 50, -.5, .5);
159 m_massVsPhi->SetYTitle(
"Mass (Gev / c^{2}) - World Average [MeV]");
162 m_pt =
new TH1F(
"ks_pt",
"p_{T} of K^{0}_{S} candidate", 100, 0., 10.);
163 m_pt->SetYTitle(
"K^{0}_{S} Candidates");
164 m_pt->SetXTitle(
"p_{T} (Gev / c)");
165 m_pt->SetMarkerStyle(20);
168 m_radiusVsZ_secVertex =
new TH2F(
"secVertex_radiusVsZ",
"all sec.vertices (reco);z [mm];Decay radius [mm]",180, -600., 600.,180.,0.,180.);
171 m_YVsX_secVertex =
new TH2F(
"secVertex_YVsX",
"all sec. vertices (reco);x [mm];y [mm]",200, -150.,150., 200, -150., 150.);
174 m_radiusVsZ_secVertex_sel =
new TH2F(
"secVertex_radiusVsZ_sel",
"all sec.vertices (reco);z [mm];Decay radius [mm]",180, -600., 600.,180.,0.,180.);
177 m_YVsX_secVertex_sel =
new TH2F(
"secVertex_YVsX_sel",
"all sec. vertices (reco);x [mm];y [mm]",200, -150.,150., 200, -150., 150.);
180 m_radiusVsZ_secVertex_Ks =
new TH2F(
"secVertex_radiusVsZ_Ks",
"sec.vertices (reco) of K^{0}_{S} candidates;z [mm];Decay radius [mm]",180, -600., 600.,180.,0.,180.);
183 m_YVsX_secVertex_Ks =
new TH2F(
"secVertex_YVsX_Ks",
"sec. vertices (reco) of K^{0}_{S} candidates;x [mm];y [mm]",200, -150.,150., 200, -150., 150.);
192 m_YVsX_primVertex =
new TH2F(
"primVertex_YVsX",
"all primary vertices (reco);PV x [mm];PV y [mm]",300, -1.5,1.5, 300, -1.5, 1.5);
195 m_XVsZ_primVertex =
new TH2F(
"primVertex_XVsZ",
"all primary vertices (reco);PV z [mm];PV x [mm]",200, -350.,350, 300, -1.5, 1.5);
198 m_YVsZ_primVertex =
new TH2F(
"primVertex_YVsZ",
"all primary vertices (reco);PV z [mm];PV y [mm]",200, -350.,350., 100, -1.5, 1.5);
201 m_YVsX_primVertex_Ks =
new TH2F(
"primVertex_YVsX_Ks",
"all primary vertices (reco);PV x [mm];PV y [mm]",300, -1.5,1.5, 300, -1.5, 1.5);
204 m_XVsZ_primVertex_Ks =
new TH2F(
"primVertex_XVsZ_Ks",
"all primary vertices (reco);PV z [mm];PV x [mm]",200, -350.,350, 300, -1.5, 1.5);
207 m_YVsZ_primVertex_Ks =
new TH2F(
"primVertex_YVsZ_Ks",
"all primary vertices (reco);PV z [mm];PV y [mm]",200, -350.,350., 100, -1.5, 1.5);
210 m_radius =
new TH1F(
"ks_radius",
"Decay radius of K^{0}_{S} candidate", 100, 0., 300.);
211 m_radius->SetYTitle(
"K^{0}_{S} Candidates");
212 m_radius->SetXTitle(
"Decay Radius (mm)");
217 m_eta =
new TH1F(
"ks_eta",
"#eta of K^{0}_{S} candidate", 10, -2.5, 2.5);
218 m_eta->SetYTitle(
"K^{0}_{S} Candidates");
219 m_eta->SetXTitle(
"#eta");
220 m_eta->SetMarkerStyle(20);
222 m_phi =
new TH1F(
"ks_phi",
"#phi of K^{0}_{S} candidate", 10, (-1.0*
M_PI),
M_PI);
223 m_phi->SetYTitle(
"K^{0}_{S} Candidates");
224 m_phi->SetXTitle(
"#phi");
225 m_phi->SetMarkerStyle(20);
229 auto quickSet=[](
TH1F *
h){
230 h->SetXTitle(
"Mass (Gev / c^{2})");
231 h->SetYTitle(
"K^{0}_{S} Candidates");
232 h->SetMarkerStyle(20);
236 for(
int quickInit=0;quickInit<
m_nBinsPt;quickInit++) {
237 TString tempName =
"MassVptBin";
238 TString tempTitle =
"Mass, p_{T} = ";
239 tempName += quickInit;
240 tempTitle += ((Double_t)((quickInit*100)+500))/1000;
248 TString tempName =
"MassVptBinFitted";
249 TString tempTitle =
"Fitted Mass, p_{T} = ";
250 tempName += quickInit;
251 tempTitle += ptBins[quickInit];
258 TString tempName =
"MassVradiusBin";
259 TString tempTitle =
"Mass, Decay Radius = ";
260 tempName += quickInit;
261 tempTitle += quickInit*10;
268 TString tempName =
"MassVradiusBinFitted";
269 TString tempTitle =
"Fitted Mass, Decay Radius = ";
270 tempName += quickInit;
271 tempTitle += radiusBins[quickInit];
277 for(
int quickInit=0;quickInit<10;quickInit++) {
278 TString tempName =
"MassVEtaBin";
279 TString tempTitle =
"Mass, #eta = ";
280 tempName += quickInit;
281 tempTitle +=
etaBins[quickInit];
286 tempName =
"MassVPhiBin";
287 tempTitle =
"Mass, #phi = ";
288 tempName += quickInit;
289 tempTitle += ((Double_t)((Int_t)(phiBins[quickInit]*100)))/100;
295 for(
int quickInit=0;quickInit<6;quickInit++) {
296 TString tempName =
"MassVCurvatureDiffBin";
297 TString tempTitle =
"Mass, CurvatureDiff = ";
298 tempName += quickInit;
299 tempTitle += curvatureDiffBins[quickInit];
327 m_Nevents =
new TH1F(
"Nevents",
"Number of events processed",1,-.5,.5);
338 return StatusCode::SUCCESS;
◆ bookHistogramsRecurrent()
StatusCode ManagedMonitorToolBase::bookHistogramsRecurrent |
( |
| ) |
|
|
virtualinherited |
◆ bookHists()
StatusCode ManagedMonitorToolBase::bookHists |
( |
| ) |
|
|
virtualinherited |
◆ checkHists()
StatusCode ManagedMonitorToolBase::checkHists |
( |
bool |
calledFromFinalize | ) |
|
|
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);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ deregGraph()
StatusCode ManagedMonitorToolBase::deregGraph |
( |
TGraph * |
g | ) |
|
|
virtualinherited |
◆ deregHist()
StatusCode ManagedMonitorToolBase::deregHist |
( |
TH1 * |
h | ) |
|
|
virtualinherited |
◆ deregObject() [1/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1641 of file ManagedMonitorToolBase.cxx.
◆ deregObject() [2/2]
StatusCode ManagedMonitorToolBase::deregObject |
( |
const std::string & |
objName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
De-registers a TObject from the THistSvc, but does NOT delete the object.
(NB: LightWeight histograms are not even registered until readout).
Definition at line 1631 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
◆ fillHistograms()
StatusCode IDPerfMonKshort::fillHistograms |
( |
| ) |
|
|
virtual |
An inheriting class should either override this function or fillHists().
Reimplemented from ManagedMonitorToolBase.
Definition at line 367 of file IDPerfMonKshort.cxx.
372 if (
sc.isFailure()) {
374 return StatusCode::SUCCESS;
383 return StatusCode::FAILURE;
390 return StatusCode::SUCCESS;
398 return StatusCode::FAILURE;
405 return StatusCode::SUCCESS;
412 ATH_MSG_DEBUG(
"@todo >> V0UnconstrVerices container size >> " << SecVxContainer->size());
414 std::array<float, 5> curvatureBinning{};
415 sequentialFill(curvatureBinning.begin(), curvatureBinning.end(),-0.0008, 0.0004);
417 std::array<double,10> ksPhiBinning{};
418 sequentialFill(ksPhiBinning.begin(), ksPhiBinning.end(), -
M_PI,
M_PI * 0.2);
420 std::array<double,10> ksEtaBinning{};
421 sequentialFill(ksEtaBinning.begin(), ksEtaBinning.end(),-2.5, 0.5);
423 std::array<double,4> ksPtBinning{1600,2100, 2800,3900};
425 std::array<double,6> radiusBinning{30,40, 60,80,100,140};
427 for (
const auto* secVx_elem : *SecVxContainer) {
434 double ksMass = Kshort_massAcc(*secVx_elem);
435 double ksPt = pTAcc(*secVx_elem);
436 double ksPx = pxAcc(*secVx_elem);
437 double ksPy = pyAcc(*secVx_elem);
438 double ksPz = pzAcc(*secVx_elem);
439 ATH_MSG_DEBUG(
" mass : "<<ksMass <<
" pt : "<< ksPt <<
" px : "<< ksPx <<
" py : "<< ksPy <<
" pz : "<< ksPz);
440 CLHEP::Hep3Vector ksMomentumVector = CLHEP::Hep3Vector(ksPx,ksPy,ksPz);
441 double ksMomentum = ksMomentumVector.mag();
442 double transverseFlightDistance, totalFlightDistance;
444 const auto & secVxPosition(secVx_elem->position());
448 const auto & position (primaryVertex->
position());
453 auto vert = secVx_elem->position()-primaryVertex->
position();
454 double dx = vert.x();
455 double dy = vert.y();
458 transverseFlightDistance =dxy;
462 ATH_MSG_DEBUG(
"dx : "<<
dx<<
" dy: "<<
dy<<
" dxy: "<<dxy<<
"flight distance (total): "<<totalFlightDistance);
465 transverseFlightDistance = secVxPosition.perp();
467 totalFlightDistance =
vertex.mag();
473 double flightX = flightVector.x();
474 double flightY = flightVector.y();
475 double cosThetaPointing = (ksPx*flightX+ksPy*flightY)/std::sqrt(ksPx*ksPx+ksPy*ksPy)/std::sqrt(flightX*flightX+flightY*flightY);
476 int trackPos_nSVTHits = 0;
477 int trackNeg_nSVTHits = 0;
478 double trackPos_d0 = 0;
479 double trackPos_d0_wrtPV = 0;
480 double trackNeg_d0 = 0;
481 double trackNeg_d0_wrtPV = 0;
486 ntrk = secVx_elem->nTrackParticles();
487 ATH_MSG_DEBUG(
"track particles associated to vertex : "<<ntrk );
489 auto tpLinks = secVx_elem->trackParticleLinks();
490 for (
const auto& link: tpLinks){
491 Info(
"execute()",
"V0: TP link = %d %s ", link.isValid(), link.dataID().c_str() );
494 if( (*link)->charge() > 0. ) {
498 else if( (*link)->charge() < 0. ){
504 if(trackPos!=
nullptr) {
507 trackPos_d0 = trackPos->d0();
513 if(trackNeg!=
nullptr) {
516 trackNeg_d0 = trackNeg->d0();
517 trackNeg_d0_wrtPV = trackNeg->d0() - (primaryVertex->
position().y()*
cos(trackNeg->phi0()) - primaryVertex->
position().x()*
sin(trackNeg->phi0()));
519 int selectorValue = 0;
520 ATH_MSG_DEBUG(
"ksTau = " << properDecayTime <<
" Lxy = " <<transverseFlightDistance<<
" cosTheta = " << cosThetaPointing );
521 ATH_MSG_DEBUG(
"trackPos nSVThits = " << trackPos_nSVTHits <<
" trackNeg nSVThits = " << trackNeg_nSVTHits );
524 double secVertex_radius = RxyAcc(*secVx_elem);
525 ATH_MSG_DEBUG(
"secondary vertex radius : " << secVertex_radius);
530 ATH_MSG_DEBUG(
"trackneg d0 : " << trackNeg_d0 <<
" trackpos d0 : "<< trackPos_d0);
531 ATH_MSG_DEBUG(
"trackneg d0 (PV): " << trackNeg_d0_wrtPV <<
" trackpos d0 (PV) : "<< trackPos_d0_wrtPV);
532 if(secVx_elem->chiSquared()/secVx_elem->numberDoF() < 4.5
534 && abs(trackNeg_d0_wrtPV) > 5.
535 && abs(trackPos_d0_wrtPV) > 5.
536 && trackPos_nSVTHits > 2
537 && trackNeg_nSVTHits > 2
538 && secVertex_radius > 20.
548 && properDecayTime > 0.004
549 && transverseFlightDistance > 12.
550 && cosThetaPointing > 0.998
551 && ksMass>400.&&ksMass<600.
552 && trackPos_nSVTHits > 2 && trackNeg_nSVTHits > 2
554 if(selectorValue != 1)
continue;
560 m_mass->Fill(ksMass*0.001);
561 double ksEta = ksMomentumVector.pseudoRapidity();
562 double ksPhi = ksMomentumVector.phi();
563 double piPlusPt = trackPos->p4().Perp();
564 double piMinusPt = trackNeg->p4().Perp();
566 m_pt->Fill(ksPt*0.001);
569 Float_t curvatureDiff = (1./(piPlusPt)) - (1./(piMinusPt));
570 const auto fillValue(ksMass*0.001);
571 auto curvatureIdx = findLevel(curvatureBinning.begin(), curvatureBinning.end(),curvatureDiff);
574 auto ksPhiIdx = findLevel(ksPhiBinning.begin(), ksPhiBinning.end(), ksPhi, std::less_equal<double>());
577 if (ksEta>=-2.5 and ksEta<2.5){
578 auto ksEtaIdx = findLevel(ksEtaBinning.begin(), ksEtaBinning.end(), ksEta, std::less_equal<double>());
582 auto ksPtIdx = findLevel(ksPtBinning.begin(), ksPtBinning.end(), ksPt, std::less_equal<double>());
586 if (ksPt<500) ksPt = 500;
587 if (ksPt>5000) ksPt=5000;
588 Int_t quickBin = (Int_t)ksPt;
589 quickBin -= quickBin%100;
593 double radius = RxyAcc(*secVx_elem);
596 auto radiusIdx = findLevel(radiusBinning.begin(), radiusBinning.end(),
radius, std::less_equal<double>());
600 Int_t radiusTemp = (Int_t)
radius;
601 radiusTemp -= radiusTemp%10;
604 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 739 of file ManagedMonitorToolBase.cxx.
745 msg(MSG::WARNING) <<
"ManagedMonitorToolBase::initialize() never called from reimplementation!" <<
endmsg;
756 newLumiBlock =
false;
762 newLowStatInterval =
false;
763 newMedStatInterval =
false;
764 newHigStatInterval =
false;
777 isNewEventsBlock =
true;
792 if( LBsLowStat*LBsMedStat*LBsHigStat == 0) {
793 msg(MSG::WARNING) <<
"zero LBs requested for interval" <<
endmsg;
845 std::vector<Interval_t> intervals_to_process;
850 for (
const auto interval: intervals_to_process) {
862 it.m_templateHist->LabelsInflate(
"X");
869 TH1* passedHist =
it.m_templateHist->GetCopyPassedHisto();
870 TH1* totalHist =
it.m_templateHist->GetCopyTotalHisto();
873 passedHist->LabelsInflate(
"X");
874 totalHist->LabelsInflate(
"X");
879 it.m_templateHist->SetPassedHistogram(*passedHist,
"f");
880 it.m_templateHist->SetTotalHistogram(*totalHist,
" ");
888 streamname->updateRunLB();
898 bool filterresult(
true);
901 for (; filterresult && (ifilter != filterend);
903 filterresult = (filterresult && (*ifilter)->accept());
933 if( LBsLowStat*LBsMedStat*LBsHigStat > 0) {
941 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/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1417 of file ManagedMonitorToolBase.cxx.
◆ getHist() [2/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH1 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH1 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1407 of file ManagedMonitorToolBase.cxx.
◆ getHist() [3/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1436 of file ManagedMonitorToolBase.cxx.
◆ getHist() [4/4]
StatusCode ManagedMonitorToolBase::getHist |
( |
TH2 *& |
h, |
|
|
const std::string & |
hName, |
|
|
const std::string & |
system, |
|
|
Interval_t |
interval |
|
) |
| |
|
virtualinherited |
Returns a TH2 via the pointer passed as the first argument.
The histogram name, without the leading path or stream name, must be given as the second argument.
Definition at line 1426 of file ManagedMonitorToolBase.cxx.
◆ getNewStreamNameFcn()
|
protectedvirtualinherited |
Definition at line 2155 of file ManagedMonitorToolBase.cxx.
2158 StreamNameFcn* fcn(0);
2162 fcn =
new NoOutputStream();
2165 fcn =
new OnlineStream();
◆ initialize()
StatusCode IDPerfMonKshort::initialize |
( |
| ) |
|
|
virtual |
◆ 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 535 of file ManagedMonitorToolBase.cxx.
538 std::string
str(
"file");
◆ intervalStringToEnum()
Converts a string to the corresponding Interval_t.
Definition at line 577 of file ManagedMonitorToolBase.cxx.
580 std::string lcstr( strToLower(
str) );
584 else if( lcstr ==
"fill" )
586 else if( lcstr ==
"run" )
588 else if( lcstr ==
"lowStat" )
590 else if( lcstr ==
"medStat" )
592 else if( lcstr ==
"higStat" )
594 else if( lcstr ==
"lumiBlock" )
596 else if( lcstr ==
"eventsBlock" )
598 else if( lcstr ==
"file" )
604 MsgStream
log(
ms,
"ManagedMonitorToolBase::intervalStringToEnum()" );
605 log << MSG::WARNING <<
"Unknown ManagedMonitorToolBase::Interval_t \""
606 <<
str <<
"\", returning \"file\"" <<
endmsg;
◆ lbAverageInteractionsPerCrossing()
float ManagedMonitorToolBase::lbAverageInteractionsPerCrossing |
( |
const EventContext & |
ctx = Gaudi::Hive::currentContext() | ) |
const |
|
virtualinherited |
Average mu, i.e.
<mu>
Definition at line 1691 of file ManagedMonitorToolBase.cxx.
1696 return lumi->lbAverageInteractionsPerCrossing();
1699 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 1760 of file ManagedMonitorToolBase.cxx.
1768 return live->lbAverageLiveFraction();
1771 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 1727 of file ManagedMonitorToolBase.cxx.
1732 return lumi->lbAverageLuminosity();
1735 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 1814 of file ManagedMonitorToolBase.cxx.
1822 return dur->lbDuration();
1825 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 1707 of file ManagedMonitorToolBase.cxx.
1712 float muToLumi =
lumi->muToLumi();
1714 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id()) / muToLumi;
1719 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 1743 of file ManagedMonitorToolBase.cxx.
1748 return lumi->lbLuminosityPerBCIDVector().at (ctx.eventID().bunch_crossing_id());
1751 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 1798 of file ManagedMonitorToolBase.cxx.
1805 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 1779 of file ManagedMonitorToolBase.cxx.
1787 return live->l1LiveFractionVector().at (ctx.eventID().bunch_crossing_id());
1790 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 IDPerfMonKshort::procHistograms |
( |
| ) |
|
|
virtual |
An inheriting class should either override this function or finalHists().
Reimplemented from ManagedMonitorToolBase.
Definition at line 608 of file IDPerfMonKshort.cxx.
615 TF1 *func =
new TF1(
"func",
"gaus(0)+expo(3)",0.450,0.550);
616 func->SetLineColor(4);
617 func->SetParameters(10.,0.500,0.010,2.,-.001);
618 func->SetParLimits(0,0.,10000.);
619 func->SetParLimits(1,0.450,0.550);
620 func->SetParLimits(2,0.,0.100);
621 func->SetParLimits(3,0.,10000.);
622 func->SetParLimits(4,-1000.,0.);
623 func->SetParNames(
"Constant",
"Mean",
"Width",
"Constant",
"Slope");
626 Double_t ptBins[nPtBinsHisto] = {0.5,1.6,2.1,2.8,3.9,5.1};
628 massBins[binFill] = func->GetParameter(1);
629 massErrorBins[binFill] = func->GetParError(1);
630 widthBins[binFill] = func->GetParameter(2);
631 widthErrorBins[binFill] = func->GetParError(2);
633 const Double_t* ptBinsFinal = ptBins;
634 const Double_t* massBinsFinal = massBins;
635 const Double_t* massErrorBinsFinal = massErrorBins;
636 const Double_t* widthBinsFinal = widthBins;
637 const Double_t* widthErrorBinsFinal = widthErrorBins;
639 auto setYTitleAndMarker =[](
TH1F * theHist,
const bool mass){
641 theHist->SetYTitle(
"Mass (Gev / c^{2})");
643 theHist->SetYTitle(
"Width (Gev / c^{2})");
645 theHist->SetMarkerStyle(20);
648 auto fillFromSource = [](
const double *
source,
const double * uncertainty,
TH1F *
target,
unsigned int nbins){
651 double binError = uncertainty[
bin];
652 target->SetBinContent(
bin+1, binContent);
656 constexpr
bool massTitle{
true};
657 constexpr
bool widthTitle{
false};
673 Double_t radiusBins[nRadiusBinsHisto] = {0.,30.,40.,60.,80.,100.,140.,230};
675 massVradiusBins[binFill] = func->GetParameter(1);
676 massVradiusErrorBins[binFill] = func->GetParError(1);
677 widthVradiusBins[binFill] = func->GetParameter(2);
678 widthVradiusErrorBins[binFill] = func->GetParError(2);
681 const Double_t* radiusBinsFinal = radiusBins;
682 const Double_t* massVradiusBinsFinal = massVradiusBins;
683 const Double_t* massVradiusErrorBinsFinal = massVradiusErrorBins;
684 const Double_t* widthVradiusBinsFinal = widthVradiusBins;
685 const Double_t* widthVradiusErrorBinsFinal = widthVradiusErrorBins;
700 Double_t
etaBins[11] = {-2.5,-2.0,-1.5,-1.0,-0.5,0.0,0.5,1.0,1.5,2.0,2.5};
701 Double_t massVetaBins[10], massVetaErrorBins[10], widthVetaBins[10], widthVetaErrorBins[10];
702 for(
int binFill=0;binFill<10;binFill++) {
703 massVetaBins[binFill] = func->GetParameter(1);
704 massVetaErrorBins[binFill] = func->GetParError(1);
705 widthVetaBins[binFill] = func->GetParameter(2);
706 widthVetaErrorBins[binFill] = func->GetParError(2);
718 Double_t phiBins[11]{};
719 sequentialFill(phiBins, phiBins+11, -
M_PI,
M_PI/5.);
720 Double_t massVphiBins[10], massVphiErrorBins[10], widthVphiBins[10], widthVphiErrorBins[10];
721 for(
int binFill=0;binFill<10;binFill++) {
722 massVphiBins[binFill] = func->GetParameter(1);
723 massVphiErrorBins[binFill] = func->GetParError(1);
724 widthVphiBins[binFill] = func->GetParameter(2);
725 widthVphiErrorBins[binFill] = func->GetParError(2);
737 Double_t curvatureDiffBins[7] = {-0.0012,-0.0008,-0.0004,0.0000,0.0004,0.0008,0.0012};
738 Double_t massVcurvatureDiffBins[6], massVcurvatureDiffErrorBins[6], widthVcurvatureDiffBins[6], widthVcurvatureDiffErrorBins[6];
739 for(
int binFill=0;binFill<6;binFill++) {
740 massVcurvatureDiffBins[binFill] = func->GetParameter(1);
741 massVcurvatureDiffErrorBins[binFill] = func->GetParError(1);
742 widthVcurvatureDiffBins[binFill] = func->GetParameter(2);
743 widthVcurvatureDiffErrorBins[binFill] = func->GetParError(2);
757 return StatusCode::SUCCESS;
◆ regEfficiency()
StatusCode ManagedMonitorToolBase::regEfficiency |
( |
TEfficiency * |
e, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TEfficiency to be included in the output stream using logical parameters that describe the plot.
Definition at line 1444 of file ManagedMonitorToolBase.cxx.
1446 return StatusCode::FAILURE;
1448 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1449 std::string
name =
e->GetName();
1455 ATH_MSG_WARNING(
"HEY! Attempting to register "<<
name<<
" as a per-LB histogram, but not setting the merge algorithm! Use \"merge\", at least.");
1462 return StatusCode::FAILURE;
1472 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1479 if (
smd != StatusCode::SUCCESS)
1480 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 1498 of file ManagedMonitorToolBase.cxx.
1502 return StatusCode::FAILURE;
1515 return StatusCode::FAILURE;
1518 std::string
name =
g->GetName();
1526 std::string gName =
g->GetName();
1529 std::string genericName = NoOutputStream().getStreamName(
this,
group, gName );
1537 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 1488 of file ManagedMonitorToolBase.cxx.
◆ regHist() [1/2]
StatusCode ManagedMonitorToolBase::regHist |
( |
TH1 * |
h, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Registers a TH1 (including TH2, TH3, and TProfile) to be included in the output stream using logical parameters that describe the histogram.
A histogram is passed via reference to a pointer.
Definition at line 1352 of file ManagedMonitorToolBase.cxx.
1358 return StatusCode::FAILURE;
1371 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.");
1378 return StatusCode::FAILURE;
1381 std::string hName =
h->GetName();
1389 std::string hName =
h->GetName();
1392 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1400 if (
smd != StatusCode::SUCCESS)
return StatusCode::FAILURE;
◆ regHist() [2/2]
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 1343 of file ManagedMonitorToolBase.cxx.
◆ RegisterHisto() [1/3]
void IDPerfMonKshort::RegisterHisto |
( |
MonGroup & |
mon, |
|
|
TGraph * |
graph |
|
) |
| |
◆ RegisterHisto() [2/3]
void IDPerfMonKshort::RegisterHisto |
( |
MonGroup & |
mon, |
|
|
TH1 * |
histo |
|
) |
| |
◆ RegisterHisto() [3/3]
void IDPerfMonKshort::RegisterHisto |
( |
MonGroup & |
mon, |
|
|
TProfile * |
histo |
|
) |
| |
◆ registerMetadata()
StatusCode ManagedMonitorToolBase::registerMetadata |
( |
const std::string & |
streamName, |
|
|
const std::string & |
hName, |
|
|
const MonGroup & |
group |
|
) |
| |
|
protectedinherited |
Definition at line 945 of file ManagedMonitorToolBase.cxx.
951 size_t found=mdStreamName.rfind(
'/');
953 if (
found != std::string::npos )
954 mdStreamName.replace(
found, mdStreamName.length(),
"/metadata" );
958 metadata =
new TTree(
"metadata",
"Monitoring Metadata" );
959 if (!
metadata)
return StatusCode::FAILURE;
961 if (scmd == StatusCode::FAILURE)
return StatusCode::FAILURE;
967 return StatusCode::SUCCESS;
◆ regManagedEfficiencies()
StatusCode ManagedMonitorToolBase::regManagedEfficiencies |
( |
std::vector< MgmtParams< TEfficiency > > & |
templateEfficiencies | ) |
|
|
protectedinherited |
Definition at line 1139 of file ManagedMonitorToolBase.cxx.
1140 bool allIsOk =
true;
1141 for(
auto&
it : templateEfficiencies ) {
1144 TEfficiency* theEfficiency =
it.m_templateHist;
1145 TEfficiency*
e =
static_cast<TEfficiency*
>(theEfficiency->Clone());
1146 int nbins = theEfficiency->GetTotalHistogram()->GetNbinsX();
1147 int xlow = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmin();
1148 int xhigh = theEfficiency->GetTotalHistogram()->GetXaxis()->GetXmax();
1149 e->SetBins(
nbins,xlow,xhigh);
1150 std::string
name =
e->GetName();
1153 TGraph* theGraph =
reinterpret_cast<TGraph*
>(theEfficiency);
1154 TGraph*
g =
reinterpret_cast<TGraph*
>(
e);
1162 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1164 bool doneCleaning =
false;
1166 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1171 if (sc2 == StatusCode::SUCCESS) doneCleaning =
true;
1174 if (!doneCleaning) {
1175 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1180 if (sc3 == StatusCode::FAILURE)
1187 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1190 if (sc4 == StatusCode::FAILURE) allIsOk =
false;
1193 if (!allIsOk)
return StatusCode::FAILURE;
1194 return StatusCode::SUCCESS;
◆ regManagedGraphs()
StatusCode ManagedMonitorToolBase::regManagedGraphs |
( |
std::vector< MgmtParams< TGraph > > & |
templateGraphs | ) |
|
|
protectedinherited |
Definition at line 1068 of file ManagedMonitorToolBase.cxx.
1072 bool allIsOk =
true;
1074 for( std::vector< MgmtParams<TGraph> >::
iterator it = templateGraphs.begin();
it != templateGraphs.end(); ++
it ) {
1075 MonGroup
group = (*it).m_group;
1078 TGraph* theGraph = (*it).m_templateHist;
1081 TGraph*
g =
static_cast<TGraph*
>(theGraph->Clone());
1085 std::string gName =
g->GetName();
1092 if (sc1 == StatusCode::FAILURE)
1097 bool doneCleaning =
false;
1099 TSeqCollection *
filelist=gROOT->GetListOfFiles();
1104 if (sc2 == StatusCode::SUCCESS)
1105 doneCleaning =
true;
1109 if (!doneCleaning) {
1110 ATH_MSG_ERROR(
"THistSvc_deReg_fixTGraph: failed to apply TGraph fix for the THist Svc!");
1117 if (sc3 == StatusCode::FAILURE)
1124 if (
smd != StatusCode::SUCCESS)
1129 if (sc4 == StatusCode::FAILURE)
1134 if (!allIsOk)
return StatusCode::FAILURE;
1136 return StatusCode::SUCCESS;
◆ regManagedHistograms()
StatusCode ManagedMonitorToolBase::regManagedHistograms |
( |
std::vector< MgmtParams< TH1 > > & |
templateHistograms | ) |
|
|
protectedinherited |
Definition at line 971 of file ManagedMonitorToolBase.cxx.
988 for( std::vector< MgmtParams<TH1> >::
iterator it = templateHistograms.begin();
it != templateHistograms.end(); ++
it ) {
989 MonGroup&
group = (*it).m_group;
992 TH1* theHist = (*it).m_templateHist;
995 TH1*
h =
static_cast<TH1*
>(theHist->Clone());
999 std::string hName =
h->GetName();
1006 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1010 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1013 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1022 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1026 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1030 if (!allIsOk)
return StatusCode::FAILURE;
1032 return StatusCode::SUCCESS;
◆ regManagedTrees()
StatusCode ManagedMonitorToolBase::regManagedTrees |
( |
std::vector< MgmtParams< TTree > > & |
templateTrees | ) |
|
|
protectedinherited |
Definition at line 1199 of file ManagedMonitorToolBase.cxx.
1203 bool allIsOk =
true;
1205 for( std::vector< MgmtParams<TTree> >::
iterator it = templateTrees.begin();
it != templateTrees.end(); ++
it ) {
1206 MonGroup
group = (*it).m_group;
1209 TTree* theTree = (*it).m_templateHist;
1212 TTree*
t =
static_cast<TTree*
>(theTree->Clone());
1216 std::string
name =
t->GetName();
1223 if (sc1 == StatusCode::FAILURE) allIsOk =
false;
1227 if (sc2 == StatusCode::FAILURE) allIsOk =
false;
1230 std::string genericName = NoOutputStream().getStreamName(
this,
group,
name );
1239 if (
smd != StatusCode::SUCCESS) allIsOk =
false;
1243 if (sc3 == StatusCode::FAILURE) allIsOk =
false;
1247 if (!allIsOk)
return StatusCode::FAILURE;
1249 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 1554 of file ManagedMonitorToolBase.cxx.
1569 return StatusCode::FAILURE;
1572 std::string
name =
t->GetName();
1573 std::string genericName = NoOutputStream().getStreamName(
this, group_unmanaged,
name );
1581 std::string tName =
t->GetName();
1584 std::string genericName = NoOutputStream().getStreamName(
this,
group, tName );
1592 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 1544 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 1661 of file ManagedMonitorToolBase.cxx.
1664 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 450 of file ManagedMonitorToolBase.cxx.
454 msg(MSG::ERROR) <<
"!! streamNameFunction() has not been initialized !!" <<
endmsg;
455 msg(MSG::ERROR) <<
" --> neither ManagedMonitorToolBase::initialize() nor" <<
endmsg;
456 msg(MSG::ERROR) <<
" --> ManagedMonitorToolBase::setMonManager() has been called." <<
endmsg;
457 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 1036 of file ManagedMonitorToolBase.cxx.
1046 GlobalDirectoryRestore restore;
1049 bool graphRemoved =
false;
1052 TDirectory*
dir =
file->GetDirectory(directoryName.c_str());
1055 TObject*
obj =
dir->Remove(theGraph);
1057 graphRemoved =
true;
1060 if (!graphRemoved) {
1061 return StatusCode::FAILURE;
1064 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 2130 of file ManagedMonitorToolBase.cxx.
2132 for (
size_t i = 0;
i < vTrigChainNames.size(); ++
i) {
2133 std::string& thisName = vTrigChainNames[
i];
2134 if (thisName.compare(0, 9,
"CATEGORY_") ==0) {
2135 ATH_MSG_DEBUG(
"Found a trigger category: " << thisName <<
". We will unpack it.");
2137 std::ostringstream oss;
2139 for (
size_t itrig = 0; itrig <
triggers.size(); ++itrig) {
2147 std::string newval = oss.str();
2149 vTrigChainNames[
i] = std::move(newval);
◆ updateVHKA()
◆ writeAndDelete()
StatusCode ManagedMonitorToolBase::writeAndDelete |
( |
TH1 * |
h, |
|
|
const MonGroup & |
group |
|
) |
| |
|
virtualinherited |
Write out histogram and delete it.
Definition at line 1599 of file ManagedMonitorToolBase.cxx.
1602 return StatusCode::FAILURE;
1604 std::string hName =
h->GetName();
1607 std::string genericName = NoOutputStream().getStreamName(
this,
group, hName );
1610 return StatusCode::SUCCESS;
◆ m_bookHistogramsInitial
bool ManagedMonitorToolBase::m_bookHistogramsInitial |
|
privateinherited |
◆ m_checkrate
int IDPerfMonKshort::m_checkrate {} |
|
private |
◆ 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_DQFilterTools
ToolHandleArray<IDQFilterTool> ManagedMonitorToolBase::m_DQFilterTools {this,"FilterTools",{}} |
|
protectedinherited |
◆ 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_eta
TH1F* IDPerfMonKshort::m_eta {} |
|
protected |
◆ m_evtStore
◆ m_fileKey
std::string ManagedMonitorToolBase::m_fileKey |
|
protectedinherited |
◆ m_haveClearedLastEventBlock
bool ManagedMonitorToolBase::m_haveClearedLastEventBlock |
|
protectedinherited |
◆ m_histosBooked
int IDPerfMonKshort::m_histosBooked {} |
|
protected |
◆ 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_manager
◆ m_managerNameProp
std::string ManagedMonitorToolBase::m_managerNameProp |
|
protectedinherited |
◆ m_mass
TH1F* IDPerfMonKshort::m_mass {} |
|
protected |
◆ m_mass_scaled
TH1F* IDPerfMonKshort::m_mass_scaled {} |
|
protected |
◆ m_massVCurvatureDiffBinHistos
TH1F* IDPerfMonKshort::m_massVCurvatureDiffBinHistos[6] ={0} |
|
protected |
◆ m_massVersusCurvatureDiff
TH1F* IDPerfMonKshort::m_massVersusCurvatureDiff {} |
|
protected |
◆ m_massVersusCurvatureDiff_merged
TH1F* IDPerfMonKshort::m_massVersusCurvatureDiff_merged {} |
|
protected |
◆ m_massVersusEta
TH1F* IDPerfMonKshort::m_massVersusEta {} |
|
protected |
◆ m_massVersusEta_merged
TH1F* IDPerfMonKshort::m_massVersusEta_merged {} |
|
protected |
◆ m_massVersusPhi
TH1F* IDPerfMonKshort::m_massVersusPhi {} |
|
protected |
◆ m_massVersusPhi_merged
TH1F* IDPerfMonKshort::m_massVersusPhi_merged {} |
|
protected |
◆ m_massVersusPt
TH1F* IDPerfMonKshort::m_massVersusPt {} |
|
protected |
◆ m_massVersusPt_merged
TH1F* IDPerfMonKshort::m_massVersusPt_merged {} |
|
protected |
◆ m_massVersusRadius
TH1F* IDPerfMonKshort::m_massVersusRadius {} |
|
protected |
◆ m_massVersusRadius_merged
TH1F* IDPerfMonKshort::m_massVersusRadius_merged {} |
|
protected |
◆ m_massVEtaBinHistos
TH1F* IDPerfMonKshort::m_massVEtaBinHistos[10] ={0} |
|
protected |
◆ m_massVPhiBinHistos
TH1F* IDPerfMonKshort::m_massVPhiBinHistos[10] ={0} |
|
protected |
◆ m_massVPtBinFittedHistos
◆ m_massVPtBinHistos
TH1F* IDPerfMonKshort::m_massVPtBinHistos[m_nBinsPt] ={0} |
|
protected |
◆ m_massVRadiusBinFittedHistos
◆ m_massVRadiusBinHistos
TH1F* IDPerfMonKshort::m_massVRadiusBinHistos[m_nBinsRadius] ={0} |
|
protected |
◆ m_massVsPhi
TH2F* IDPerfMonKshort::m_massVsPhi {} |
|
protected |
◆ m_metadataMap
MDMap_t ManagedMonitorToolBase::m_metadataMap |
|
protectedinherited |
◆ m_nBinsPt
const Int_t IDPerfMonKshort::m_nBinsPt = 46 |
|
staticprotected |
◆ m_nBinsRadius
const Int_t IDPerfMonKshort::m_nBinsRadius = 70 |
|
staticprotected |
◆ m_Nevents
TH1F* IDPerfMonKshort::m_Nevents {} |
|
protected |
◆ 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_nFittedBinsPt
const Int_t IDPerfMonKshort::m_nFittedBinsPt = 5 |
|
staticprotected |
◆ m_nFittedBinsRadius
const Int_t IDPerfMonKshort::m_nFittedBinsRadius = 7 |
|
staticprotected |
◆ m_nLumiBlocks
unsigned int ManagedMonitorToolBase::m_nLumiBlocks |
|
protectedinherited |
◆ m_path
std::string ManagedMonitorToolBase::m_path |
|
protectedinherited |
◆ m_phi
TH1F* IDPerfMonKshort::m_phi {} |
|
protected |
◆ m_preScaleProp
long ManagedMonitorToolBase::m_preScaleProp |
|
protectedinherited |
◆ m_procNEventsProp
long ManagedMonitorToolBase::m_procNEventsProp |
|
protectedinherited |
◆ m_pt
TH1F* IDPerfMonKshort::m_pt {} |
|
protected |
◆ m_radius
TH1F* IDPerfMonKshort::m_radius {} |
|
protected |
◆ m_radius_secVertices
TH1F* IDPerfMonKshort::m_radius_secVertices {} |
|
protected |
◆ m_radius_secVertices_sel
TH1F* IDPerfMonKshort::m_radius_secVertices_sel {} |
|
protected |
◆ m_radiusVsZ_secVertex
TH2F* IDPerfMonKshort::m_radiusVsZ_secVertex {} |
|
protected |
◆ m_radiusVsZ_secVertex_Ks
TH2F* IDPerfMonKshort::m_radiusVsZ_secVertex_Ks {} |
|
protected |
◆ m_radiusVsZ_secVertex_sel
TH2F* IDPerfMonKshort::m_radiusVsZ_secVertex_sel {} |
|
protected |
◆ m_stream
std::string IDPerfMonKshort::m_stream |
|
private |
◆ m_streamNameFcn
◆ m_supportedIntervalsForRebooking
std::set<Interval_t> ManagedMonitorToolBase::m_supportedIntervalsForRebooking |
|
privateinherited |
◆ m_templateEfficiencies
std::map< Interval_t, std::vector< MgmtParams<TEfficiency> > > ManagedMonitorToolBase::m_templateEfficiencies |
|
protectedinherited |
◆ m_templateGraphs
◆ m_templateHistograms
◆ m_templateTrees
◆ m_THistSvc
◆ m_tracksName
std::string IDPerfMonKshort::m_tracksName |
|
private |
◆ m_trigDecTool
◆ m_triggerChainName
std::string IDPerfMonKshort::m_triggerChainName |
|
private |
◆ m_triggerChainProp
std::string ManagedMonitorToolBase::m_triggerChainProp |
|
protectedinherited |
◆ m_triggerGroupProp
std::string ManagedMonitorToolBase::m_triggerGroupProp |
|
protectedinherited |
◆ m_trigLiveFractionDataKey
◆ m_trigTranslator
PublicToolHandle<ITriggerTranslatorTool> ManagedMonitorToolBase::m_trigTranslator {this,"TriggerTranslatorTool",""} |
|
protectedinherited |
◆ m_useLumi
bool ManagedMonitorToolBase::m_useLumi |
|
privateinherited |
◆ m_useTrigger
bool ManagedMonitorToolBase::m_useTrigger |
|
protectedinherited |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_vTrigChainNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigChainNames |
|
protectedinherited |
◆ m_vTrigGroupNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigGroupNames |
|
protectedinherited |
◆ m_VxContainerName
std::string IDPerfMonKshort::m_VxContainerName |
|
private |
◆ m_VxPrimContainerName
std::string IDPerfMonKshort::m_VxPrimContainerName |
|
private |
◆ m_widthVersusCurvatureDiff
TH1F* IDPerfMonKshort::m_widthVersusCurvatureDiff {} |
|
protected |
◆ m_widthVersusCurvatureDiff_merged
TH1F* IDPerfMonKshort::m_widthVersusCurvatureDiff_merged {} |
|
protected |
◆ m_widthVersusEta
TH1F* IDPerfMonKshort::m_widthVersusEta {} |
|
protected |
◆ m_widthVersusEta_merged
TH1F* IDPerfMonKshort::m_widthVersusEta_merged {} |
|
protected |
◆ m_widthVersusPhi
TH1F* IDPerfMonKshort::m_widthVersusPhi {} |
|
protected |
◆ m_widthVersusPhi_merged
TH1F* IDPerfMonKshort::m_widthVersusPhi_merged {} |
|
protected |
◆ m_widthVersusPt
TH1F* IDPerfMonKshort::m_widthVersusPt {} |
|
protected |
◆ m_widthVersusPt_merged
TH1F* IDPerfMonKshort::m_widthVersusPt_merged {} |
|
protected |
◆ m_widthVersusRadius
TH1F* IDPerfMonKshort::m_widthVersusRadius {} |
|
protected |
◆ m_widthVersusRadius_merged
TH1F* IDPerfMonKshort::m_widthVersusRadius_merged {} |
|
protected |
◆ m_XVsZ_primVertex
TH2F* IDPerfMonKshort::m_XVsZ_primVertex {} |
|
protected |
◆ m_XVsZ_primVertex_Ks
TH2F* IDPerfMonKshort::m_XVsZ_primVertex_Ks {} |
|
protected |
◆ m_YVsX_primVertex
TH2F* IDPerfMonKshort::m_YVsX_primVertex {} |
|
protected |
◆ m_YVsX_primVertex_Ks
TH2F* IDPerfMonKshort::m_YVsX_primVertex_Ks {} |
|
protected |
◆ m_YVsX_secVertex
TH2F* IDPerfMonKshort::m_YVsX_secVertex {} |
|
protected |
◆ m_YVsX_secVertex_Ks
TH2F* IDPerfMonKshort::m_YVsX_secVertex_Ks {} |
|
protected |
◆ m_YVsX_secVertex_sel
TH2F* IDPerfMonKshort::m_YVsX_secVertex_sel {} |
|
protected |
◆ m_YVsZ_primVertex
TH2F* IDPerfMonKshort::m_YVsZ_primVertex {} |
|
protected |
◆ m_YVsZ_primVertex_Ks
TH2F* IDPerfMonKshort::m_YVsZ_primVertex_Ks {} |
|
protected |
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
size_t nTrackParticles() const
Get the number of tracks associated with this vertex.
TH1F * m_radius_secVertices_sel
TH1F * m_massVEtaBinHistos[10]
static const Int_t m_nFittedBinsRadius
static unsigned int runNumber()
virtual std::string fileKey() const
TH1F * m_widthVersusPhi_merged
virtual void passOwnership(TObject *h, const std::string &key)
Pass ownership of a TObject to this manager so that it will be deleted appropriately.
TH2F * m_YVsZ_primVertex_Ks
TH1F * m_widthVersusPt_merged
std::string m_VxContainerName
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool msgLvl(const MSG::Level lvl) const
const Amg::Vector3D & position() const
Returns the 3-pos.
TH1F * m_massVersusRadius_merged
#define ATH_MSG_VERBOSE(x)
bool empty() const
Test if the key is blank.
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
static unsigned int getLBsLowStat()
TH2F * m_radiusVsZ_secVertex_Ks
virtual void setOwner(IDataHandleHolder *o)=0
static Environment_t environment()
Returns the running environment of the monitoring application to help ManagedMonitorToolBase objects ...
TH1F * m_massVRadiusBinHistos[m_nBinsRadius]
static unsigned int getLBsMedStat()
TH1F * m_massVersusCurvatureDiff
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
TH1F * m_massVPhiBinHistos[10]
TH1F * m_massVersusEta_merged
void RegisterHisto(MonGroup &mon, TH1 *histo)
static DataType_t dataType()
Returns the data type that the monitoring application is running over to help ManagedMonitorToolBase ...
static const Int_t m_nBinsRadius
std::string m_VxPrimContainerName
TH2F * m_YVsX_primVertex_Ks
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
virtual void writeAndDelete(const std::string &key)
If the TObject is owned by this manager, its Write() method is called and it is deleted.
static const Int_t m_nBinsPt
constexpr double KZeroMassInMeV
the mass of the neutral kaon (K0) (in MeV)
TH1F * m_massVersusCurvatureDiff_merged
static const Int_t m_nFittedBinsPt
TH2F * m_radiusVsZ_secVertex
TH1F * m_massVCurvatureDiffBinHistos[6]
TH2F * m_YVsX_secVertex_Ks
TH1F * m_radius_secVertices
TH1F * m_massVersusRadius
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
std::string m_triggerChainName
TH1F * m_widthVersusEta_merged
TH1F * m_widthVersusRadius_merged
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
TH1F * m_massVRadiusBinFittedHistos[m_nFittedBinsRadius]
static unsigned int getLBsHigStat()
Eigen::Matrix< double, 3, 1 > Vector3D
TH1F * m_widthVersusCurvatureDiff
TH1F * m_massVPtBinFittedHistos[m_nFittedBinsPt]
TH2F * m_XVsZ_primVertex_Ks
Class describing a Vertex.
TH1F * m_widthVersusRadius
#define ATH_MSG_WARNING(x)
filelist
print ("Checking files %s..." % fullfile)
TH1F * m_widthVersusCurvatureDiff_merged
TH2F * m_radiusVsZ_secVertex_sel
TH1F * m_massVPtBinHistos[m_nBinsPt]
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
@ numberOfSCTHits
number of hits in SCT [unit8_t].
TH1F * m_massVersusPhi_merged
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
static unsigned int lumiBlockNumber()
Class describing a TrackParticle.
TH1F * m_massVersusPt_merged
Scalar mag() const
mag method
TH2F * m_YVsX_secVertex_sel