![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
#include <MuonPhysValMonitoringTool.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...
|
|
|
| MuonPhysValMonitoringTool (const std::string &type, const std::string &name, const IInterface *parent) |
| Constructor with parameters: More...
|
|
virtual | ~MuonPhysValMonitoringTool ()=default |
| Destructor: More...
|
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | bookHistograms () override |
| An inheriting class should either override this function or bookHists(). More...
|
|
virtual StatusCode | fillHistograms () override |
| An inheriting class should either override this function or fillHists(). More...
|
|
virtual StatusCode | procHistograms () override |
| 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...
|
|
|
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 |
|
|
void | handleMuon (const xAOD::Muon *mu, const xAOD::SlowMuon *smu=nullptr, float weight=1.0) |
|
void | handleSlowMuon (const xAOD::SlowMuon *smu, float weight=1.0) |
|
void | handleTruthMuon (const xAOD::TruthParticle *truthMu, float weight=1.0) |
|
void | handleMuonTrack (const xAOD::TrackParticle *tp, xAOD::Muon::TrackParticleType type, float weight=1.0) |
|
void | handleMuonSegment (const xAOD::MuonSegment *muSeg, float weight=1.0) |
|
void | handleTruthMuonSegment (const xAOD::MuonSegment *truthMuSeg, const xAOD::TruthParticleContainer *muonTruthContainer, float weight=1.0) |
|
void | handleMuonTrees (const xAOD::EventInfo *eventInfo, bool isData) |
|
void | handleMuonL1Trigger (const xAOD::MuonRoI *TrigL1mu) |
|
void | handleMuonL2Trigger (const xAOD::L2StandAloneMuon *L2SAMu) |
|
void | handleMuonL2Trigger (const xAOD::L2CombinedMuon *L2CBMu) |
|
void | handleMuonTrigger (const xAOD::Muon *mu) |
|
void | L2SATriggerResolution () |
|
void | L2CBTriggerResolution () |
|
void | EFTriggerResolution () |
|
void | printMuonDebug (const xAOD::Muon *mu) |
|
void | printTruthMuonDebug (const xAOD::TruthParticle *truthMu, const xAOD::Muon *mu) |
|
StatusCode | bookValidationPlots (PlotBase &valPlots) |
|
const xAOD::Muon * | findRecoMuon (const xAOD::TruthParticle *truthMu) |
|
const xAOD::SlowMuon * | findRecoSlowMuon (const xAOD::TruthParticle *truthMu) |
|
const xAOD::MuonSegment * | findRecoMuonSegment (const xAOD::MuonSegment *truthMuSeg) |
|
std::unique_ptr< xAOD::Muon > | getCorrectedMuon (const xAOD::Muon &mu) |
|
TH1F * | findHistogram (const std::vector< HistData > &hists, const std::string &hnameTag, const std::string &hdirTag, const std::string &hNewName) |
|
void | modifyHistogram (TH1 *hist) |
|
MuonPhysValMonitoringTool::MUCATEGORY | getMuonSegmentTruthCategory (const xAOD::MuonSegment *truthMuSeg, const xAOD::TruthParticleContainer *muonTruthContainer) |
|
MuonPhysValMonitoringTool::MUCATEGORY | getMuonTruthCategory (const xAOD::IParticle *prt) |
|
bool | passesAcceptanceCuts (const xAOD::IParticle *prt) |
|
void | SplitString (TString x, const TString &delim, std::vector< TString > &v) |
|
template<class T > |
const T * | getContainer (const std::string &containerName) |
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
|
const xAOD::TrackParticleContainer * | m_MSTracks {nullptr} |
|
std::map< std::string, int > | m_counterBits |
|
std::vector< std::string > | m_muonItems |
|
std::vector< std::string > | m_L1Seed |
|
int | m_SelectedAuthor {0} |
|
Gaudi::Property< std::string > | m_tracksName {this, "TrackContainerName", "InDetTrackParticles"} |
|
Gaudi::Property< std::string > | m_fwdtracksName {this, "FwdTrackContainerName", ""} |
|
Gaudi::Property< std::string > | m_muonsName {this, "MuonContainerName", "Muons"} |
|
Gaudi::Property< std::string > | m_slowMuonsName {this, "SlowMuonContainerName", "SlowMuons"} |
|
Gaudi::Property< std::string > | m_muonsTruthName {this, "MuonTruthParticleContainerName", "MuonTruthParticles"} |
|
Gaudi::Property< std::string > | m_muonTracksName {this, "MuonTrackContainerName", "MuonSpectrometerTrackParticles"} |
|
Gaudi::Property< std::string > | m_muonExtrapolatedTracksName |
|
Gaudi::Property< std::string > | m_muonMSOnlyExtrapolatedTracksName |
|
Gaudi::Property< std::string > | m_muonSegmentsName {this, "MuonSegmentContainerName", "MuonSegments"} |
|
Gaudi::Property< std::string > | m_muonSegmentsTruthName {this, "MuonTruthSegmentContainerName", "MuonTruthSegments"} |
|
Gaudi::Property< std::string > | m_muonL1TrigName {this, "L1TrigMuonContainerName", "LVL1MuonRoIs"} |
|
Gaudi::Property< std::string > | m_muonL2SAName {this, "L2SAMuonContainerName", "HLT_xAOD__L2StandAloneMuonContainer_MuonL2SAInfo"} |
|
Gaudi::Property< std::string > | m_muonL2CBName {this, "L2CBMuonContainerName", "HLT_xAOD__L2CombinedMuonContainer_MuonL2CBInfo"} |
|
Gaudi::Property< std::string > | m_muonEFCombTrigName {this, "EFCombTrigMuonContainerName", "HLT_xAOD__MuonContainer_MuonEFInfo"} |
|
Gaudi::Property< std::vector< int > > | m_selectMuonWPs |
|
Gaudi::Property< std::vector< unsigned int > > | m_selectMuonAuthors |
|
Gaudi::Property< bool > | m_selectComissioning {this, "SelectComissioningMuons", false} |
| Flag to tell whether muons with the comissioning author will be selected or not. More...
|
|
Gaudi::Property< std::vector< std::vector< std::string > > > | m_selectHLTMuonItems {this, "SelectHLTMuonItems", {}} |
|
Gaudi::Property< std::vector< std::string > > | m_L1MuonItems {this, "SelectL1MuonItems", {}} |
|
Gaudi::Property< std::vector< unsigned int > > | m_selectMuonCategories |
|
Gaudi::Property< bool > | m_doBinnedResolutionPlots {this, "DoBinnedResolutionPlots", true} |
|
Gaudi::Property< bool > | m_doTrigMuonValidation {this, "DoTrigMuonValidation", false} |
|
Gaudi::Property< bool > | m_doTrigMuonL1Validation {this, "DoTrigMuonL1Validation", false} |
|
Gaudi::Property< bool > | m_doTrigMuonL2Validation {this, "DoTrigMuonL2Validation", false} |
|
Gaudi::Property< bool > | m_doTrigMuonEFValidation {this, "DoTrigMuonEFValidation", false} |
|
Gaudi::Property< bool > | m_doMuonTree {this, "DoMuonTree", false} |
|
Gaudi::Property< bool > | m_isData {this, "IsData", false} |
|
SG::ReadHandleKey< xAOD::EventInfo > | m_eventInfo {this, "EventInfo", "EventInfo", "event info"} |
|
ToolHandle< CP::IMuonSelectionTool > | m_muonSelectionTool {this, "MuonSelector", "CP::MuonSelectionTool/MuonSelectionTool"} |
|
ToolHandle< Rec::IMuonPrintingTool > | m_muonPrinter {this, "MuonPrinter", "Rec::MuonPrintingTool/MuonPrintingTool"} |
|
ToolHandle< Trig::TrigDecisionTool > | m_trigDec {this, "TrigDecTool", "Trig::TrigDecisionTool/TrigDecisionTool"} |
|
ToolHandle< Trk::ITrackSelectorTool > | m_trackSelector {this, "TrackSelector", "InDet::InDetDetailedTrackSelectorTool/MuonCombinedInDetDetailedTrackSelectorTool"} |
|
ToolHandle< CP::IIsolationSelectionTool > | m_isoTool {this, "IsoTool", ""} |
|
std::vector< std::string > | m_selectMuonCategoriesStr |
|
std::vector< std::unique_ptr< MuonValidationPlots > > | m_muonValidationPlots |
|
std::vector< std::unique_ptr< TriggerMuonValidationPlots > > | m_TriggerMuonValidationPlots |
|
std::vector< std::unique_ptr< MuonTrackValidationPlots > > | m_muonMSTrackValidationPlots |
|
std::vector< std::unique_ptr< MuonTrackValidationPlots > > | m_muonMETrackValidationPlots |
|
std::vector< std::unique_ptr< MuonTrackValidationPlots > > | m_muonMSOnlyMETrackValidationPlots |
|
std::vector< std::unique_ptr< MuonTrackValidationPlots > > | m_muonIDTrackValidationPlots |
|
std::vector< std::unique_ptr< MuonTrackValidationPlots > > | m_muonIDSelectedTrackValidationPlots |
|
std::vector< std::unique_ptr< MuonTrackValidationPlots > > | m_muonIDForwardTrackValidationPlots |
|
std::vector< std::unique_ptr< MuonSegmentValidationPlots > > | m_muonSegmentValidationPlots |
|
std::unique_ptr< Muon::RecoMuonPlotOrganizer > | m_oUnmatchedRecoMuonPlots |
|
std::unique_ptr< Muon::TruthMuonPlotOrganizer > | m_oUnmatchedTruthMuonPlots |
|
std::unique_ptr< Muon::RecoMuonTrackPlotOrganizer > | m_oUnmatchedRecoMuonTrackPlots |
|
std::unique_ptr< Muon::MuonSegmentPlots > | m_oUnmatchedRecoMuonSegmentPlots |
|
std::vector< std::unique_ptr< SlowMuonValidationPlots > > | m_slowMuonValidationPlots |
|
std::vector< TH1F * > | m_h_overview_nObjects |
|
TH1F * | m_h_overview_reco_category {nullptr} |
|
std::vector< TH1F * > | m_h_overview_reco_authors |
|
TH1F * | m_h_overview_Z_mass {nullptr} |
|
TH1F * | m_h_overview_Z_mass_ME {nullptr} |
|
TH1F * | m_h_overview_Z_mass_ID {nullptr} |
|
std::vector< const xAOD::TruthParticle * > | m_vMatchedTruthMuons |
|
std::vector< const xAOD::Muon * > | m_vMatchedMuons |
|
std::vector< const xAOD::SlowMuon * > | m_vMatchedSlowMuons |
|
std::vector< const xAOD::TrackParticle * > | m_vMatchedMuonTracks |
|
std::vector< const xAOD::MuonSegment * > | m_vMatchedMuonSegments |
|
std::vector< const xAOD::TrackParticle * > | m_vZmumuIDTracks |
|
std::vector< const xAOD::TrackParticle * > | m_vZmumuMETracks |
|
std::vector< const xAOD::Muon * > | m_vZmumuMuons |
|
std::vector< const xAOD::Muon * > | m_vEFMuons |
|
std::vector< const xAOD::Muon * > | m_vEFMuonsSelected |
|
std::vector< const xAOD::L2StandAloneMuon * > | m_vL2SAMuons |
|
std::vector< const xAOD::L2StandAloneMuon * > | m_vL2SAMuonsSelected |
|
std::vector< const xAOD::L2CombinedMuon * > | m_vL2CBMuons |
|
std::vector< const xAOD::L2CombinedMuon * > | m_vL2CBMuonsSelected |
|
std::vector< const xAOD::Muon * > | m_vRecoMuons |
|
std::vector< const xAOD::Muon * > | m_vRecoMuons_EffDen_CB |
|
std::vector< const xAOD::Muon * > | m_vRecoMuons_EffDen_MS |
|
std::vector< const xAOD::Muon * > | m_vRecoMuons_EffDen |
|
bool | m_newLowStatInterval |
|
bool | m_newMedStatInterval |
|
bool | m_newHigStatInterval |
|
bool | m_newLowStat |
|
bool | m_newLumiBlock |
|
bool | m_newRun |
|
bool | m_newEventsBlock |
|
bool | m_endOfEventsBlock |
|
bool | m_endOfLowStat |
|
bool | m_endOfLumiBlock |
|
bool | m_endOfRun |
|
SG::ReadCondHandleKey< LuminosityCondData > | m_lumiDataKey {this,"LuminosityCondDataKey","LuminosityCondData","SG Key of LuminosityCondData object"} |
|
SG::ReadCondHandleKey< LBDurationCondData > | m_lbDurationDataKey {this,"LBDurationCondDataKey","LBDurationCondData","SG Key of LBDurationCondData object"} |
|
SG::ReadCondHandleKey< TrigLiveFractionCondData > | m_trigLiveFractionDataKey {this,"TrigLiveFractionCondDataKey","TrigLiveFractionCondData","SG Key of TrigLiveFractionCondData object"} |
|
bool | m_bookHistogramsInitial |
|
bool | m_useLumi |
|
float | m_defaultLBDuration |
|
std::set< Interval_t > | m_supportedIntervalsForRebooking |
|
Imp * | m_d |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Definition at line 57 of file MuonPhysValMonitoringTool.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.
◆ MUCATEGORY
◆ MuonPhysValMonitoringTool()
MuonPhysValMonitoring::MuonPhysValMonitoringTool::MuonPhysValMonitoringTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~MuonPhysValMonitoringTool()
virtual MuonPhysValMonitoring::MuonPhysValMonitoringTool::~MuonPhysValMonitoringTool |
( |
| ) |
|
|
virtualdefault |
◆ bookHistograms()
StatusCode MuonPhysValMonitoring::MuonPhysValMonitoringTool::bookHistograms |
( |
| ) |
|
|
overridevirtual |
An inheriting class should either override this function or bookHists().
Reimplemented from ManagedMonitorToolBase.
Definition at line 104 of file MuonPhysValMonitoringTool.cxx.
111 static const std::map<int,std::string> theMuonCategories = {
149 std::make_unique<MuonTrackValidationPlots>(
nullptr, categoryPath,
"MSOnlyMETrackParticles",
m_isData));
154 std::make_unique<MuonTrackValidationPlots>(
nullptr, categoryPath,
"IDSelectedTrackParticles",
m_isData));
158 std::make_unique<MuonTrackValidationPlots>(
nullptr, categoryPath,
"IDForwardTrackParticles",
m_isData));
161 if (
category != theMuonCategories.at(
ALL))
continue;
170 m_oUnmatchedRecoMuonPlots = std::make_unique<Muon::RecoMuonPlotOrganizer>(
nullptr, muonContainerName +
"/UnmatchedRecoMuons/");
171 m_oUnmatchedTruthMuonPlots = std::make_unique<Muon::TruthMuonPlotOrganizer>(
nullptr, muonContainerName +
"/UnmatchedTruthMuons/");
200 "Number of truth Muons per event", 20, -0.5, 19.5));
202 new TH1F(Form(
"%s_Overview_N_perevent_muons", muonContainerName.c_str()),
"Number of Muons per event", 20, -0.5, 19.5));
204 new TH1F(Form(
"%s_Overview_N_perevent_tracks", muonContainerName.c_str()),
"Number of Tracks per event", 50, -0.5, 49.5));
206 "Number of truth Segments per event", 200, -0.5, 199.5));
208 new TH1F(Form(
"%s_Overview_N_perevent_segments", muonContainerName.c_str()),
"Number of Segments per event", 200, -0.5, 199.5));
214 new TH1F(Form(
"%s_Overview_reco_category", muonContainerName.c_str()),
"", 4, 0, 4);
215 for (
int i = 1;
i < 4;
i++) {
222 for (
int i = 1;
i < 4;
i++) {
224 (muonContainerName +
"_" + theMuonCategories.at(
i) +
"_reco_authors").c_str(),
225 nAuth + 1, -0.5, nAuth + 0.5));
228 (muonContainerName +
"_Other_reco_authors").c_str(), nAuth + 1, -0.5, nAuth + 0.5));
234 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 |
◆ bookValidationPlots()
StatusCode MuonPhysValMonitoring::MuonPhysValMonitoringTool::bookValidationPlots |
( |
PlotBase & |
valPlots | ) |
|
|
private |
Definition at line 237 of file MuonPhysValMonitoringTool.cxx.
242 TString sHistName =
hist.first->GetName();
246 if (sHistName.Contains(
"momentumPulls")) {
248 if (!(sHistName.Contains(
"Prompt") && (sHistName.Contains(
"AllMuons") || sHistName.Contains(
"SiAssocForward"))))
251 if ((sHistName.Contains(
"resolution") || sHistName.Contains(
"pulls")) && !sHistName.Contains(
"Prompt"))
253 if (sHistName.Contains(
"trigger") && sHistName.Contains(
"wrt") && sHistName.Contains(
"Features"))
continue;
261 std::string sTreeName =
tree.first->GetName();
266 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;
◆ 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()
◆ EFTriggerResolution()
void MuonPhysValMonitoring::MuonPhysValMonitoringTool::EFTriggerResolution |
( |
| ) |
|
|
private |
Definition at line 1240 of file MuonPhysValMonitoringTool.cxx.
1241 int k_EFMu_MinDeltaR = -1;
1242 float MinDeltaR = 0.;
1243 std::vector<int> vAvailableAuthors;
1244 vAvailableAuthors.clear();
1246 unsigned int iter = 0;
1249 for (
unsigned int l = 0;
l < vAvailableAuthors.size();
l++) {
1252 if (iter == vAvailableAuthors.size()) vAvailableAuthors.emplace_back(
m_vEFMuons[
k]->
author());
1263 for (
unsigned int l = 0;
l < vAvailableAuthors.size();
l++) {
1264 k_EFMu_MinDeltaR = -1;
1271 if (
m_vEFMuons.at(
k)->author() == vAvailableAuthors.at(
l) &&
1274 k_EFMu_MinDeltaR =
k;
1278 if (k_EFMu_MinDeltaR == -1)
continue;
◆ 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 MuonPhysValMonitoring::MuonPhysValMonitoringTool::fillHistograms |
( |
| ) |
|
|
overridevirtual |
An inheriting class should either override this function or fillHists().
Reimplemented from ManagedMonitorToolBase.
Definition at line 269 of file MuonPhysValMonitoringTool.cxx.
291 if (!eventInfoHandle.isValid()) {
293 return StatusCode::SUCCESS;
305 return StatusCode::FAILURE;
307 ATH_MSG_DEBUG(
"Retrieved truth muons " << TruthMuons->size());
317 return StatusCode::SUCCESS;
322 Muons = getContainer<xAOD::MuonContainer>(
m_muonsName);
323 if (!Muons) {
return StatusCode::SUCCESS; }
331 if (
evtStore()->contains<xAOD::TrackParticleContainer>(
"MuonSpectrometerTrackParticles")) {
332 m_MSTracks = getContainer<xAOD::TrackParticleContainer>(
"MuonSpectrometerTrackParticles");
335 return StatusCode::SUCCESS;
344 std::vector<std::pair<const xAOD::Muon*, const xAOD::Muon*> >
pairs;
354 pairs.emplace_back(std::make_pair(mu1, mu2));
359 float dMmin {1e10}, mZ{0.};
360 for (std::pair<const xAOD::Muon*, const xAOD::Muon*>&
x :
pairs) {
362 const TLorentzVector mu1{
x.first->p4()}, mu2{
x.second->p4()};
363 const float M = (mu1 + mu2).M();
364 if (M < 66000. || M > 116000.)
continue;
367 float dM = std::abs(M - 91187.);
368 if (dM > dMmin)
continue;
382 if (metr1 && metr2) {
383 const TLorentzVector mu1ME{metr1->
p4()}, mu2ME{metr2->
p4()};
395 const TLorentzVector mu1ID{tr1->
p4()}, mu2ID{tr2->
p4()};
406 for (
const auto truthMu : *TruthMuons)
handleTruthMuon(truthMu, beamSpotWeight);
410 for (
const auto smu : *SlowMuons) {
412 const MuonLink link = smu->muonLink();
417 for (
const auto mu : *Muons)
handleMuon(
mu,
nullptr, beamSpotWeight);
423 auto IDTracks = getContainer<xAOD::TrackParticleContainer>(
m_tracksName);
424 if (!IDTracks)
return StatusCode::FAILURE;
426 for (
const auto tp : *IDTracks)
handleMuonTrack(
tp, xAOD::Muon::InnerDetectorTrackParticle, beamSpotWeight);
429 auto FwdIDTracks = getContainer<xAOD::TrackParticleContainer>(
m_fwdtracksName);
430 if (!FwdIDTracks)
return StatusCode::FAILURE;
432 for (
const auto tp : *FwdIDTracks)
handleMuonTrack(
tp, xAOD::Muon::InnerDetectorTrackParticle, beamSpotWeight);
435 auto MuonTracks = getContainer<xAOD::TrackParticleContainer>(
m_muonTracksName);
436 if (!MuonTracks)
return StatusCode::FAILURE;
439 for (
const auto tp : *MuonTracks)
handleMuonTrack(
tp, xAOD::Muon::MuonSpectrometerTrackParticle, beamSpotWeight);
443 if (!MuonExtrapolatedTracks)
return StatusCode::FAILURE;
445 for (
const auto tp : *MuonExtrapolatedTracks)
446 handleMuonTrack(
tp, xAOD::Muon::ExtrapolatedMuonSpectrometerTrackParticle, beamSpotWeight);
452 if (!MSOnlyMuonExtrapolatedTracks)
return StatusCode::FAILURE;
454 for (
const auto tp : *MSOnlyMuonExtrapolatedTracks)
455 handleMuonTrack(
tp, xAOD::Muon::MSOnlyExtrapolatedMuonSpectrometerTrackParticle, beamSpotWeight);
462 if (!TruthMuonSegments) {
return StatusCode::SUCCESS; }
465 for (
const auto truthMuSeg : *TruthMuonSegments)
handleTruthMuonSegment(truthMuSeg, TruthMuons, beamSpotWeight);
469 if (!MuonSegments) {
return StatusCode::SUCCESS; }
477 auto chainGroups =
m_trigDec->getChainGroup(
"HLT_.*mu.*");
478 for (
auto& trig : chainGroups->getListOfTriggers()) {
479 if (
m_trigDec->isPassed(trig, TrigDefs::EF_passedRaw)) {
484 auto L1chainGroups =
m_trigDec->getChainGroup(
"L1_MU.*");
485 for (
auto& L1trig : L1chainGroups->getListOfTriggers()) {
486 if (
m_trigDec->isPassed(L1trig, TrigDefs::EF_passedRaw))
493 if (
mu->author() == 1) {
495 ATH_MSG_DEBUG(
"##### m_vRecoMuons_EffDen_CB pt:" <<
mu->pt() <<
" phi:" <<
mu->phi() <<
" eta:" <<
mu->eta());
496 }
else if (
mu->author() == 5) {
498 ATH_MSG_DEBUG(
"##### m_vRecoMuons_EffDen_MS pt:" <<
mu->pt() <<
" phi:" <<
mu->phi() <<
" eta:" <<
mu->eta());
506 if (!L1TrigMuons) {
return StatusCode::SUCCESS; }
515 if (!L2SAMuons) {
return StatusCode::SUCCESS; }
517 if (L2SAMuons->
size() != 0) {
518 for (
const auto L2SAmu : *L2SAMuons) {
519 ATH_MSG_DEBUG(
"Muon L2SA Trigger: pt " << L2SAmu->pt() <<
" phi " << L2SAmu->phi() <<
" eta " << L2SAmu->eta()
520 <<
" roiWord " << L2SAmu->roiWord() <<
" sAddress " << L2SAmu->sAddress());
524 if (
mu->pt() != 0.) {
530 unsigned int cont = 0;
544 std::vector<Trig::Feature<xAOD::L2StandAloneMuonContainer> > vec_muons;
545 TString muonItem_str = (TString)muonItem;
546 if (muonItem_str.Contains(
"_OR_")) {
547 muonItem_str.ReplaceAll(
"_OR_",
" ");
549 std::vector<TString> v_subchains;
551 for (
int i = 0;
i < (
int)v_subchains.size();
i++) {
553 std::vector<Trig::Feature<xAOD::L2StandAloneMuonContainer> > vec_muons_1 =
555 for (
const auto& mufeat : vec_muons_1) { vec_muons.emplace_back(mufeat); }
561 ATH_MSG_DEBUG(
"Size of vector Trig::Feature<xAOD::L2StandAloneMuonContainer> for chain " << muonItem <<
" = "
562 << vec_muons.size());
563 for (
const auto& mufeat : vec_muons) {
564 ATH_MSG_DEBUG(muonItem <<
" vec_muons.size() = " << vec_muons.size()
565 <<
" mufeat.cptr()->size() = " << mufeat.cptr()->size());
566 for (
unsigned int i = 0;
i < mufeat.cptr()->
size();
i++) {
567 ATH_MSG_DEBUG(
"#####" << muonItem <<
" L2SA feature pt: " << (*mufeat.cptr())[
i]->pt()
568 <<
" eta: " << (*mufeat.cptr())[
i]->eta() <<
" phi: " << (*mufeat.cptr())[
i]->phi());
575 if (!L2CBMuons) {
return StatusCode::SUCCESS; }
577 if (L2CBMuons->
size() != 0) {
578 for (
const auto L2CBmu : *L2CBMuons) {
579 ATH_MSG_DEBUG(
"Muon L2CB Trigger: pt " << L2CBmu->pt() <<
" phi " << L2CBmu->phi() <<
" eta " << L2CBmu->eta());
589 unsigned int cont = 0;
603 std::vector<Trig::Feature<xAOD::L2CombinedMuonContainer> > vec_muons;
604 TString muonItem_str = (TString)muonItem;
605 if (muonItem_str.Contains(
"_OR_")) {
606 muonItem_str.ReplaceAll(
"_OR_",
" ");
608 std::vector<TString> v_subchains;
610 for (
int i = 0;
i < (
int)v_subchains.size();
i++) {
612 std::vector<Trig::Feature<xAOD::L2CombinedMuonContainer> > vec_muons_1 =
614 for (
const auto& mufeat : vec_muons_1) { vec_muons.emplace_back(mufeat); }
620 ATH_MSG_DEBUG(
"Size of vector Trig::Feature<xAOD::L2CombinedMuonContainer> for chain " << muonItem <<
" = "
621 << vec_muons.size());
622 for (
const auto& mufeat : vec_muons) {
623 ATH_MSG_DEBUG(muonItem <<
" vec_muons.size() = " << vec_muons.size()
624 <<
" mufeat.cptr()->size() = " << mufeat.cptr()->size());
625 for (
unsigned int i = 0;
i < mufeat.cptr()->
size();
i++) {
626 ATH_MSG_DEBUG(
"#####" << muonItem <<
" L2CB feature pt: " << (*mufeat.cptr())[
i]->pt()
627 <<
" eta: " << (*mufeat.cptr())[
i]->eta() <<
" phi: " << (*mufeat.cptr())[
i]->phi());
637 if (!EFCombTrigMuons) {
return StatusCode::SUCCESS; }
639 if (EFCombTrigMuons->
size() != 0) {
640 for (
const auto Trigmu : *EFCombTrigMuons) {
641 ATH_MSG_DEBUG(
"Muon EF Trigger: pt " << Trigmu->pt() <<
" phi " << Trigmu->phi() <<
" eta " << Trigmu->eta()
642 <<
" author" << Trigmu->author());
647 unsigned int cont = 0;
662 for (
const auto truthMu : *TruthMuons) {
663 ATH_MSG_DEBUG(
"TRUTH:: pt=" << truthMu->pt() <<
" eta=" << truthMu->eta() <<
" phi=" << truthMu->phi());
671 if ((muonItem.find(
"msonly") != std::string::npos)) {
675 std::vector<Trig::Feature<xAOD::MuonContainer> > vec_muons;
676 TString muonItem_str = (TString)muonItem;
677 if (muonItem_str.Contains(
"_OR_")) {
678 muonItem_str.ReplaceAll(
"_OR_",
" ");
680 std::vector<TString> v_subchains;
682 for (
int i = 0;
i < (
int)v_subchains.size();
i++) {
685 for (
const auto& mufeat : vec_muons_1) { vec_muons.emplace_back(mufeat); }
691 ATH_MSG_DEBUG(
"Size of vector Trig::Feature<xAOD::MuonContainer> for chain " << muonItem <<
" = " << vec_muons.size());
692 for (
const auto& mufeat : vec_muons) {
693 ATH_MSG_DEBUG(muonItem <<
" vec_muons.size() = " << vec_muons.size()
694 <<
" mufeat.cptr()->size() = " << mufeat.cptr()->size());
695 for (
unsigned int i = 0;
i < mufeat.cptr()->
size();
i++) {
696 ATH_MSG_DEBUG(
"#####" << muonItem <<
" EF feature pt: " << (*mufeat.cptr())[
i]->pt()
697 <<
" eta: " << (*mufeat.cptr())[
i]->eta() <<
" phi: " << (*mufeat.cptr())[
i]->phi()
698 <<
" author: " << (*mufeat.cptr())[
i]->author());
708 bool break_flag =
false;
714 for (
const auto& mufeat : vec_muons) {
715 for (
unsigned int i = 0;
i < mufeat.cptr()->
size();
i++) {
724 << muonItem <<
" pt: " << (*mufeat.cptr())[
i]->pt()
725 <<
" eta: " << (*mufeat.cptr())[
i]->eta() <<
" phi: " << (*mufeat.cptr())[
i]->phi()
726 <<
" author: " << (*mufeat.cptr())[
i]->author() <<
" rel_p "
740 if (break_flag)
break;
749 if (L1MuonItem ==
"L1_MU4") treshold = 4000;
750 else if (L1MuonItem ==
"L1_MU6") treshold = 6000;
751 else if (L1MuonItem ==
"L1_MU10") treshold = 10000;
752 else if (L1MuonItem ==
"L1_MU11") treshold = 11000;
753 else if (L1MuonItem ==
"L1_MU15") treshold = 15000;
754 else if (L1MuonItem ==
"L1_MU20") treshold = 20000;
755 for (
const auto TrigL1mu : *L1TrigMuons) {
758 if ((TrigL1mu->thrValue()) >= treshold)
769 for (
const auto TrigL1mu : *L1TrigMuons) {
770 if (((TrigL1mu->thrValue()) >= treshold) &&
777 ATH_MSG_DEBUG(
" $$$ L1 feature " << L1MuonItem <<
" pt: " << TrigL1mu->thrValue()
778 <<
" eta: " << TrigL1mu->eta() <<
" phi: " << TrigL1mu->phi());
791 std::vector<Trig::Feature<xAOD::MuonContainer> > vec_muons;
793 if (muonItem_str.Contains(
"_OR_")) {
794 muonItem_str.ReplaceAll(
"_OR_",
" ");
796 std::vector<TString> v_subchains;
798 for (
int i = 0;
i < (
int)v_subchains.size();
i++) {
801 for (
const auto& mufeat : vec_muons_1) { vec_muons.emplace_back(mufeat); }
814 if (
m_L1Seed[
m] ==
"L1_MU4") treshold = 4000;
815 if (
m_L1Seed[
m] ==
"L1_MU6") treshold = 6000;
816 if (
m_L1Seed[
m] ==
"L1_MU10") treshold = 10000;
817 if (
m_L1Seed[
m] ==
"L1_MU11") treshold = 11000;
818 if (
m_L1Seed[
m] ==
"L1_MU15") treshold = 15000;
819 if (
m_L1Seed[
m] ==
"L1_MU20") treshold = 20000;
821 bool break_flag =
false;
822 for (
const auto TrigL1mu : *L1TrigMuons) {
823 if (((TrigL1mu->thrValue()) >= treshold) &&
831 for (
const auto& mufeat : vec_muons) {
832 for (
unsigned int i = 0;
i < mufeat.cptr()->size();
i++) {
845 if (break_flag)
break;
854 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;
◆ finalHists()
StatusCode ManagedMonitorToolBase::finalHists |
( |
| ) |
|
|
virtualinherited |
◆ findHistogram()
TH1F * MuonPhysValMonitoring::MuonPhysValMonitoringTool::findHistogram |
( |
const std::vector< HistData > & |
hists, |
|
|
const std::string & |
hnameTag, |
|
|
const std::string & |
hdirTag, |
|
|
const std::string & |
hNewName |
|
) |
| |
|
private |
◆ findRecoMuon()
◆ findRecoMuonSegment()
◆ findRecoSlowMuon()
◆ get_nEvents()
unsigned int ManagedMonitorToolBase::get_nEvents |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ get_procNEventsProp()
long ManagedMonitorToolBase::get_procNEventsProp |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ getContainer()
template<class T >
const T * MuonPhysValMonitoring::MuonPhysValMonitoringTool::getContainer |
( |
const std::string & |
containerName | ) |
|
|
private |
◆ getCorrectedMuon()
Definition at line 1425 of file MuonPhysValMonitoringTool.cxx.
1426 std::unique_ptr<xAOD::Muon> mu_c;
1427 if (
mu.m() <= 0)
return mu_c;
1428 mu_c = std::make_unique<xAOD::Muon>();
1434 if (idtrk && metrk) {
1435 mu_c->
auxdecor<
float>(
"InnerDetectorPt") = idtrk->pt();
1436 mu_c->
auxdecor<
float>(
"MuonSpectrometerPt") = metrk->pt();
◆ 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.
◆ getMuonSegmentTruthCategory()
◆ getMuonTruthCategory()
Definition at line 1414 of file MuonPhysValMonitoringTool.cxx.
1415 int truthType =
mu->auxdata<
int>(
"truthType");
1418 else if (truthType == 8 && (
mu->auxdata<
int>(
"truthOrigin") == 34 ||
mu->auxdata<
int>(
"truthOrigin") == 35))
1420 else if (truthType == 7)
◆ getNewStreamNameFcn()
|
protectedvirtualinherited |
◆ handleMuon()
◆ handleMuonL1Trigger()
void MuonPhysValMonitoring::MuonPhysValMonitoringTool::handleMuonL1Trigger |
( |
const xAOD::MuonRoI * |
TrigL1mu | ) |
|
|
private |
◆ handleMuonL2Trigger() [1/2]
◆ handleMuonL2Trigger() [2/2]
◆ handleMuonSegment()
void MuonPhysValMonitoring::MuonPhysValMonitoringTool::handleMuonSegment |
( |
const xAOD::MuonSegment * |
muSeg, |
|
|
float |
weight = 1.0 |
|
) |
| |
|
private |
◆ handleMuonTrack()
void MuonPhysValMonitoring::MuonPhysValMonitoringTool::handleMuonTrack |
( |
const xAOD::TrackParticle * |
tp, |
|
|
xAOD::Muon::TrackParticleType |
type, |
|
|
float |
weight = 1.0 |
|
) |
| |
|
private |
Definition at line 1020 of file MuonPhysValMonitoringTool.cxx.
1027 bool passesMuonTrackSel =
false;
1028 if (
type == xAOD::Muon::InnerDetectorTrackParticle) { passesMuonTrackSel =
m_trackSelector->decision(*
tp); }
1031 if (
type == xAOD::Muon::InnerDetectorTrackParticle) {
1035 thisTrkCategory =
REST;
1038 thisTrkCategory =
PROMPT;
1050 }
else if (
type == xAOD::Muon::MuonSpectrometerTrackParticle)
1052 else if (
type == xAOD::Muon::ExtrapolatedMuonSpectrometerTrackParticle)
1054 else if (
type == xAOD::Muon::MSOnlyExtrapolatedMuonSpectrometerTrackParticle)
1061 if (
tp->isAvailable<
TruthLink>(
"truthParticleLink")) { truthLink =
tp->auxdata<
TruthLink>(
"truthParticleLink"); }
1068 if (
type == xAOD::Muon::InnerDetectorTrackParticle)
return;
1078 if (
type == xAOD::Muon::MuonSpectrometerTrackParticle) {
1081 }
else if (
type == xAOD::Muon::ExtrapolatedMuonSpectrometerTrackParticle) {
1083 }
else if (
type == xAOD::Muon::MSOnlyExtrapolatedMuonSpectrometerTrackParticle) {
1093 xAOD::Muon::InnerDetectorTrackParticle) {
1094 if ((*truthLink)->absPdgId() != 13 || !
MC::isStable(*truthLink))
return;
1103 if (
type == xAOD::Muon::InnerDetectorTrackParticle) {
1110 }
else if (
type == xAOD::Muon::MuonSpectrometerTrackParticle) {
1112 }
else if (
type == xAOD::Muon::ExtrapolatedMuonSpectrometerTrackParticle) {
1114 }
else if (
type == xAOD::Muon::MSOnlyExtrapolatedMuonSpectrometerTrackParticle) {
◆ handleMuonTrees()
void MuonPhysValMonitoring::MuonPhysValMonitoringTool::handleMuonTrees |
( |
const xAOD::EventInfo * |
eventInfo, |
|
|
bool |
isData |
|
) |
| |
|
private |
◆ handleMuonTrigger()
void MuonPhysValMonitoring::MuonPhysValMonitoringTool::handleMuonTrigger |
( |
const xAOD::Muon * |
mu | ) |
|
|
private |
Definition at line 1229 of file MuonPhysValMonitoringTool.cxx.
1236 ATH_MSG_DEBUG(
"==> Geometrical selection of EF Trigger muons: pt " << EFMu->pt() <<
" phi " << EFMu->phi() <<
" eta " << EFMu->eta()
1237 <<
" author " << EFMu->author());
◆ handleSlowMuon()
void MuonPhysValMonitoring::MuonPhysValMonitoringTool::handleSlowMuon |
( |
const xAOD::SlowMuon * |
smu, |
|
|
float |
weight = 1.0 |
|
) |
| |
|
private |
◆ handleTruthMuon()
void MuonPhysValMonitoring::MuonPhysValMonitoringTool::handleTruthMuon |
( |
const xAOD::TruthParticle * |
truthMu, |
|
|
float |
weight = 1.0 |
|
) |
| |
|
private |
◆ handleTruthMuonSegment()
◆ initialize()
StatusCode MuonPhysValMonitoring::MuonPhysValMonitoringTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ interfaceID()
static const InterfaceID& IMonitorToolBase::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
◆ intervalEnumToString()
std::string ManagedMonitorToolBase::intervalEnumToString |
( |
Interval_t |
interval | ) |
|
|
staticinherited |
Converts a LevelOfDetail_t to a string of the same name.
Converts a string to the corresponding LevelOfDetail_t. Converts a Interval_t to a string of the same name.
Definition at line 587 of file ManagedMonitorToolBase.cxx.
590 std::string
str(
"file");
◆ intervalStringToEnum()
Converts a string to the corresponding Interval_t.
Definition at line 629 of file ManagedMonitorToolBase.cxx.
632 std::string lcstr( strToLower(
str) );
636 else if( lcstr ==
"fill" )
638 else if( lcstr ==
"run" )
640 else if( lcstr ==
"lowStat" )
642 else if( lcstr ==
"medStat" )
644 else if( lcstr ==
"higStat" )
646 else if( lcstr ==
"lumiBlock" )
648 else if( lcstr ==
"eventsBlock" )
650 else if( lcstr ==
"file" )
656 if(
sc.isSuccess() ) {
657 MsgStream
log(
ms,
"ManagedMonitorToolBase::intervalStringToEnum()" );
658 log << MSG::WARNING <<
"Unknown ManagedMonitorToolBase::Interval_t \""
659 <<
str <<
"\", returning \"file\"" <<
endmsg;
◆ L2CBTriggerResolution()
void MuonPhysValMonitoring::MuonPhysValMonitoringTool::L2CBTriggerResolution |
( |
| ) |
|
|
private |
Definition at line 1193 of file MuonPhysValMonitoringTool.cxx.
1194 int k_L2CBMu_MinDeltaR = -1;
1195 float MinDeltaR = 0.;
1205 k_L2CBMu_MinDeltaR = -1;
1207 ATH_MSG_DEBUG(
"==============>>>> k_L2CBMu_MinDeltaR=" << k_L2CBMu_MinDeltaR <<
" MinDeltaR" << MinDeltaR);
1214 k_L2CBMu_MinDeltaR =
k;
1216 ATH_MSG_DEBUG(
"==============>>>> taken!!!! k_L2CBMu_MinDeltaR=" << k_L2CBMu_MinDeltaR <<
" MinDeltaR"
1220 if (k_L2CBMu_MinDeltaR == -1)
continue;
◆ L2SATriggerResolution()
void MuonPhysValMonitoring::MuonPhysValMonitoringTool::L2SATriggerResolution |
( |
| ) |
|
|
private |
Definition at line 1146 of file MuonPhysValMonitoringTool.cxx.
1147 int k_L2SAMu_MinDeltaR = -1;
1148 float MinDeltaR = 0.;
1158 k_L2SAMu_MinDeltaR = -1;
1160 ATH_MSG_DEBUG(
"==============>>>> k_L2SAMu_MinDeltaR=" << k_L2SAMu_MinDeltaR <<
" MinDeltaR" << MinDeltaR);
1167 k_L2SAMu_MinDeltaR =
k;
1169 ATH_MSG_DEBUG(
"==============>>>> taken!!!! k_L2SAMu_MinDeltaR=" << k_L2SAMu_MinDeltaR <<
" MinDeltaR"
1173 if (k_L2SAMu_MinDeltaR == -1)
continue;
◆ 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 |
◆ modifyHistogram()
void MuonPhysValMonitoring::MuonPhysValMonitoringTool::modifyHistogram |
( |
TH1 * |
hist | ) |
|
|
private |
Definition at line 1444 of file MuonPhysValMonitoringTool.cxx.
1448 if (
histname.find(
"parameters_z0") != std::string::npos) {
1449 hist->GetXaxis()->Set(80, -200., 200.);
1451 if (
histname.find(
"parameters_d0") != std::string::npos &&
histname.find(
"parameters_d0_small") == std::string::npos) {
1452 hist->GetXaxis()->Set(80, -1., 1.);
1453 hist->GetYaxis()->SetTitle(
"Entries / 0.025 mm");
1458 if (
histname.find(
"parameters_d0") != std::string::npos &&
histname.find(
"parameters_d0_small") == std::string::npos) {
1460 hist->GetYaxis()->SetTitle(
"Entries / 2.5 mm");
1465 if (
histname.find(
"trigger_L1_pt") != std::string::npos) {
1466 hist->SetTitle(
"L1Trigger Muons pt treshold");
1467 hist->GetXaxis()->SetTitle(
"L1Trigger Muons pt treshold [GeV]");
1468 hist->GetXaxis()->Set(30, -0.5, 29.5);
1470 if (
histname.find(
"trigger_L1_eta_pt") != std::string::npos) {
1471 hist->SetTitle(
"L1Trigger Muons pt treshold vs eta");
1472 hist->GetYaxis()->Set(90, -0.5, 29.5);
1473 hist->GetYaxis()->SetTitle(
"L1Trigger Muons pt treshold [GeV]");
1476 if (
histname.find(
"trigger") != std::string::npos &&
1477 ((
histname.find(
"Denom_pt") != std::string::npos) || (
histname.find(
"Numer_pt") != std::string::npos) ||
1478 (
histname.find(
"Features_pt") != std::string::npos)))
1479 hist->GetXaxis()->Set(200, 0., 200.);
1481 if (
histname.find(
"hits") != std::string::npos) {
1482 if (
histname.find(
"etaLayer2") != std::string::npos)
1483 hist->GetXaxis()->Set(15, -0.5, 14.5);
1484 else if (
histname.find(
"etaLayer") != std::string::npos)
1485 hist->GetXaxis()->Set(11, -0.5, 10.5);
1489 bool is2D = !(
histname.find(
"_vs_") == std::string::npos);
1492 if (
histname.find(
"METrackParticles") != std::string::npos) {
1493 if (
histname.find(
"Res_eta") != std::string::npos) {
1495 hist->GetYaxis()->Set(50, -0.025, 0.025);
1497 hist->GetXaxis()->Set(50, -0.025, 0.025);
1498 }
else if (
histname.find(
"Res_phi") != std::string::npos) {
1500 hist->GetYaxis()->Set(50, -0.02, 0.02);
1502 hist->GetXaxis()->Set(50, -0.02, 0.02);
1504 }
else if (
histname.find(
"MSTrackParticles") != std::string::npos) {
1505 if (
histname.find(
"Res_eta") != std::string::npos) {
1507 hist->GetYaxis()->Set(50, -0.025, 0.025);
1509 hist->GetXaxis()->Set(50, -0.025, 0.025);
1510 }
else if (
histname.find(
"Res_phi") != std::string::npos) {
1512 hist->GetYaxis()->Set(50, -0.05, 0.05);
1514 hist->GetXaxis()->Set(50, -0.05, 0.05);
1517 if (
histname.find(
"Res_eta") != std::string::npos) {
1519 hist->GetYaxis()->Set(50, -0.005, 0.005);
1521 hist->GetXaxis()->Set(50, -0.005, 0.005);
1522 }
else if (
histname.find(
"Res_phi") != std::string::npos) {
1524 hist->GetYaxis()->Set(50, -0.002, 0.002);
1526 hist->GetXaxis()->Set(50, -0.002, 0.002);
1530 if (
histname.find(
"trigger") != std::string::npos) {
1533 (
histname.find(
"BARREL") != std::string::npos ||
histname.find(
"WHOLE_DETECT") != std::string::npos)) {
1534 if (
histname.find(
"Res_pT") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1535 hist->GetXaxis()->Set(100, -0.04, 0.04);
1537 if (
histname.find(
"Res_pT_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.04, 0.04); }
1538 if (
histname.find(
"Res_eta") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1539 hist->GetXaxis()->Set(100, -0.0005, 0.0005);
1541 if (
histname.find(
"Res_eta_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.0005, 0.0005); }
1543 if (
histname.find(
"Res_phi") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1544 hist->GetXaxis()->Set(100, -0.0002, 0.0002);
1546 if (
histname.find(
"Res_phi_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.0002, 0.0002); }
1548 if ((!
m_isData) &&
histname.find(
"MuidCo") != std::string::npos && (
histname.find(
"ENDCAPS") != std::string::npos)) {
1549 if (
histname.find(
"Res_pT") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1550 hist->GetXaxis()->Set(100, -0.05, 0.05);
1552 if (
histname.find(
"Res_pT_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.05, 0.05); }
1553 if (
histname.find(
"Res_eta") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1554 hist->GetXaxis()->Set(100, -0.001, 0.001);
1556 if (
histname.find(
"Res_eta_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.001, 0.001); }
1558 if (
histname.find(
"Res_phi") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1559 hist->GetXaxis()->Set(100, -0.0003, 0.0003);
1561 if (
histname.find(
"Res_phi_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.0003, 0.0003); }
1564 if (
histname.find(
"Res_eta") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1565 hist->GetXaxis()->Set(100, -0.03, 0.03);
1567 if (
histname.find(
"Res_eta_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.03, 0.03); }
1569 if (
histname.find(
"Res_phi") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1570 hist->GetXaxis()->Set(100, -0.03, 0.03);
1572 if (
histname.find(
"Res_phi_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.03, 0.03); }
1574 if ((!
m_isData) &&
histname.find(
"MuidSA") != std::string::npos && (
histname.find(
"BARREL") != std::string::npos)) {
1575 if (
histname.find(
"Res_pT") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1576 hist->GetXaxis()->Set(100, -0.15, 0.15);
1578 if (
histname.find(
"Res_pT_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.15, 0.15); }
1581 (
histname.find(
"ENDCAPS") != std::string::npos ||
histname.find(
"WHOLE_DETECT") != std::string::npos)) {
1582 if (
histname.find(
"Res_pT") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1583 hist->GetXaxis()->Set(100, -0.2, 0.2);
1585 if (
histname.find(
"Res_pT_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.2, 0.2); }
1590 (
histname.find(
"BARREL") != std::string::npos ||
histname.find(
"WHOLE_DETECT") != std::string::npos)) {
1591 if (
histname.find(
"Res_pT") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1592 hist->GetXaxis()->Set(100, -0.06, 0.06);
1594 if (
histname.find(
"Res_pT_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.06, 0.06); }
1595 if (
histname.find(
"Res_eta") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1596 hist->GetXaxis()->Set(100, -0.001, 0.001);
1598 if (
histname.find(
"Res_eta_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.001, 0.001); }
1600 if (
histname.find(
"Res_phi") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1601 hist->GetXaxis()->Set(100, -0.0005, 0.0005);
1603 if (
histname.find(
"Res_phi_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.0005, 0.0005); }
1605 if ((
m_isData) &&
histname.find(
"MuidCo") != std::string::npos && (
histname.find(
"ENDCAPS") != std::string::npos)) {
1606 if (
histname.find(
"Res_pT") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1607 hist->GetXaxis()->Set(100, -0.1, 0.1);
1609 if (
histname.find(
"Res_pT_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.1, 0.1); }
1610 if (
histname.find(
"Res_eta") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1611 hist->GetXaxis()->Set(100, -0.0015, 0.0015);
1613 if (
histname.find(
"Res_eta_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.0015, 0.0015); }
1615 if (
histname.find(
"Res_phi") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1616 hist->GetXaxis()->Set(100, -0.0005, 0.0005);
1618 if (
histname.find(
"Res_phi_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.0005, 0.0005); }
1621 if (
histname.find(
"Res_eta") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1622 hist->GetXaxis()->Set(100, -0.03, 0.03);
1624 if (
histname.find(
"Res_eta_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.03, 0.03); }
1626 if (
histname.find(
"Res_phi") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1627 hist->GetXaxis()->Set(100, -0.03, 0.03);
1629 if (
histname.find(
"Res_phi_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.03, 0.03); }
1631 if ((
m_isData) &&
histname.find(
"MuidSA") != std::string::npos && (
histname.find(
"BARREL") != std::string::npos)) {
1632 if (
histname.find(
"Res_pT") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1633 hist->GetXaxis()->Set(100, -0.3, 0.3);
1635 if (
histname.find(
"Res_pT_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.3, 0.3); }
1638 (
histname.find(
"ENDCAPS") != std::string::npos ||
histname.find(
"WHOLE_DETECT") != std::string::npos)) {
1639 if (
histname.find(
"Res_pT") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1640 hist->GetXaxis()->Set(100, -0.5, 0.5);
1642 if (
histname.find(
"Res_pT_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.5, 0.5); }
1646 if ((
histname.find(
"L2_StandAlone") != std::string::npos)) {
1647 if (
histname.find(
"Res_eta") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1648 hist->GetXaxis()->Set(100, -0.03, 0.03);
1650 if (
histname.find(
"Res_eta_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.03, 0.03); }
1652 if (
histname.find(
"Res_phi") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1653 hist->GetXaxis()->Set(100, -0.03, 0.03);
1655 if (
histname.find(
"Res_phi_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.03, 0.03); }
1657 if ((
histname.find(
"L2_StandAlone") != std::string::npos) && (
histname.find(
"BARREL") != std::string::npos)) {
1658 if (
histname.find(
"Res_pT") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1659 hist->GetXaxis()->Set(100, -0.3, 0.3);
1661 if (
histname.find(
"Res_pT_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.3, 0.3); }
1663 if ((
histname.find(
"L2_StandAlone") != std::string::npos) &&
1664 ((
histname.find(
"ENDCAPS") != std::string::npos) || (
histname.find(
"WHOLE_DETECT") != std::string::npos))) {
1665 if (
histname.find(
"Res_pT") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1666 hist->GetXaxis()->Set(100, -0.5, 0.5);
1668 if (
histname.find(
"Res_pT_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.5, 0.5); }
1671 if ((
histname.find(
"L2_Combined") != std::string::npos)) {
1672 if (
histname.find(
"Res_eta") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1673 hist->GetXaxis()->Set(100, -0.002, 0.002);
1675 if (
histname.find(
"Res_eta_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.002, 0.002); }
1677 if (
histname.find(
"Res_phi") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1678 hist->GetXaxis()->Set(100, -0.001, 0.001);
1680 if (
histname.find(
"Res_phi_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.001, 0.001); }
1681 if (
histname.find(
"Res_pT") != std::string::npos &&
histname.find(
"_vs_") == std::string::npos) {
1682 hist->GetXaxis()->Set(100, -0.2, 0.2);
1684 if (
histname.find(
"Res_pT_vs_") != std::string::npos) {
hist->GetYaxis()->Set(100, -0.2, 0.2); }
◆ 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 |
◆ passesAcceptanceCuts()
bool MuonPhysValMonitoring::MuonPhysValMonitoringTool::passesAcceptanceCuts |
( |
const xAOD::IParticle * |
prt | ) |
|
|
private |
◆ preSelector()
bool ManagedMonitorToolBase::preSelector |
( |
| ) |
|
|
virtualinherited |
◆ printMuonDebug()
void MuonPhysValMonitoring::MuonPhysValMonitoringTool::printMuonDebug |
( |
const xAOD::Muon * |
mu | ) |
|
|
private |
◆ printTruthMuonDebug()
◆ procHistograms()
StatusCode MuonPhysValMonitoring::MuonPhysValMonitoringTool::procHistograms |
( |
| ) |
|
|
overridevirtual |
◆ 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 |
◆ SplitString()
void MuonPhysValMonitoring::MuonPhysValMonitoringTool::SplitString |
( |
TString |
x, |
|
|
const TString & |
delim, |
|
|
std::vector< TString > & |
v |
|
) |
| |
|
private |
Definition at line 1695 of file MuonPhysValMonitoringTool.cxx.
1697 int stringLength =
x.Length();
1698 int delimLength = delim.Length();
1701 TString
temp =
"---";
1702 while (
stop != -1) {
1703 stop =
x.First(delim);
1707 TSubString newString =
x(
stop + delimLength, stringLength);
1709 stringLength =
x.Length();
1711 stringLength =
x.Length();
1712 temp =
x(0, stringLength);
1715 v.emplace_back(
temp);
◆ 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_bookHistogramsInitial
bool ManagedMonitorToolBase::m_bookHistogramsInitial |
|
privateinherited |
◆ m_counterBits
std::map<std::string, int> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_counterBits |
|
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_doBinnedResolutionPlots
Gaudi::Property<bool> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_doBinnedResolutionPlots {this, "DoBinnedResolutionPlots", true} |
|
private |
◆ m_doMuonTree
Gaudi::Property<bool> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_doMuonTree {this, "DoMuonTree", false} |
|
private |
◆ m_doTrigMuonEFValidation
Gaudi::Property<bool> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_doTrigMuonEFValidation {this, "DoTrigMuonEFValidation", false} |
|
private |
◆ m_doTrigMuonL1Validation
Gaudi::Property<bool> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_doTrigMuonL1Validation {this, "DoTrigMuonL1Validation", false} |
|
private |
◆ m_doTrigMuonL2Validation
Gaudi::Property<bool> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_doTrigMuonL2Validation {this, "DoTrigMuonL2Validation", false} |
|
private |
◆ m_doTrigMuonValidation
Gaudi::Property<bool> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_doTrigMuonValidation {this, "DoTrigMuonValidation", false} |
|
private |
◆ 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_eventInfo
◆ m_evtStore
◆ m_fileKey
std::string ManagedMonitorToolBase::m_fileKey |
|
protectedinherited |
◆ m_fwdtracksName
Gaudi::Property<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_fwdtracksName {this, "FwdTrackContainerName", ""} |
|
private |
◆ m_h_overview_nObjects
std::vector<TH1F*> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_h_overview_nObjects |
|
private |
◆ m_h_overview_reco_authors
std::vector<TH1F*> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_h_overview_reco_authors |
|
private |
◆ m_h_overview_reco_category
TH1F* MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_h_overview_reco_category {nullptr} |
|
private |
◆ m_h_overview_Z_mass
TH1F* MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_h_overview_Z_mass {nullptr} |
|
private |
◆ m_h_overview_Z_mass_ID
TH1F* MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_h_overview_Z_mass_ID {nullptr} |
|
private |
◆ m_h_overview_Z_mass_ME
TH1F* MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_h_overview_Z_mass_ME {nullptr} |
|
private |
◆ m_haveClearedLastEventBlock
bool ManagedMonitorToolBase::m_haveClearedLastEventBlock |
|
protectedinherited |
◆ m_isData
Gaudi::Property<bool> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_isData {this, "IsData", false} |
|
private |
◆ m_isoTool
◆ m_L1MuonItems
Gaudi::Property<std::vector<std::string> > MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_L1MuonItems {this, "SelectL1MuonItems", {}} |
|
private |
◆ m_L1Seed
std::vector<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_L1Seed |
|
private |
◆ m_lastHigStatInterval
int ManagedMonitorToolBase::m_lastHigStatInterval |
|
protectedinherited |
◆ m_lastLowStatInterval
int ManagedMonitorToolBase::m_lastLowStatInterval |
|
protectedinherited |
◆ m_lastLumiBlock
unsigned int ManagedMonitorToolBase::m_lastLumiBlock |
|
protectedinherited |
◆ m_lastMedStatInterval
int ManagedMonitorToolBase::m_lastMedStatInterval |
|
protectedinherited |
◆ m_lastRun
unsigned int ManagedMonitorToolBase::m_lastRun |
|
protectedinherited |
◆ m_lbDurationDataKey
◆ m_lumiDataKey
◆ m_lwhists
std::set<LWHist*> ManagedMonitorToolBase::m_lwhists |
|
protectedinherited |
◆ m_manager
◆ m_managerNameProp
std::string ManagedMonitorToolBase::m_managerNameProp |
|
protectedinherited |
◆ m_metadataMap
MDMap_t ManagedMonitorToolBase::m_metadataMap |
|
protectedinherited |
◆ m_MSTracks
◆ m_muonEFCombTrigName
Gaudi::Property<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonEFCombTrigName {this, "EFCombTrigMuonContainerName", "HLT_xAOD__MuonContainer_MuonEFInfo"} |
|
private |
◆ m_muonExtrapolatedTracksName
Gaudi::Property<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonExtrapolatedTracksName |
|
private |
Initial value:{this, "MuonExtrapolatedTrackContainerName",
"ExtrapolatedMuonTrackParticles"}
Definition at line 125 of file MuonPhysValMonitoringTool.h.
◆ m_muonIDForwardTrackValidationPlots
std::vector<std::unique_ptr<MuonTrackValidationPlots> > MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonIDForwardTrackValidationPlots |
|
private |
◆ m_muonIDSelectedTrackValidationPlots
std::vector<std::unique_ptr<MuonTrackValidationPlots> > MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonIDSelectedTrackValidationPlots |
|
private |
◆ m_muonIDTrackValidationPlots
std::vector<std::unique_ptr<MuonTrackValidationPlots> > MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonIDTrackValidationPlots |
|
private |
◆ m_muonItems
std::vector<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonItems |
|
private |
◆ m_muonL1TrigName
Gaudi::Property<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonL1TrigName {this, "L1TrigMuonContainerName", "LVL1MuonRoIs"} |
|
private |
◆ m_muonL2CBName
Gaudi::Property<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonL2CBName {this, "L2CBMuonContainerName", "HLT_xAOD__L2CombinedMuonContainer_MuonL2CBInfo"} |
|
private |
◆ m_muonL2SAName
Gaudi::Property<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonL2SAName {this, "L2SAMuonContainerName", "HLT_xAOD__L2StandAloneMuonContainer_MuonL2SAInfo"} |
|
private |
◆ m_muonMETrackValidationPlots
std::vector<std::unique_ptr<MuonTrackValidationPlots> > MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonMETrackValidationPlots |
|
private |
◆ m_muonMSOnlyExtrapolatedTracksName
Gaudi::Property<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonMSOnlyExtrapolatedTracksName |
|
private |
Initial value:{this, "MuonOnlyExtrapolatedTrackContainerName",
"MSOnlyExtrapolatedMuonTrackParticles"}
Definition at line 127 of file MuonPhysValMonitoringTool.h.
◆ m_muonMSOnlyMETrackValidationPlots
std::vector<std::unique_ptr<MuonTrackValidationPlots> > MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonMSOnlyMETrackValidationPlots |
|
private |
◆ m_muonMSTrackValidationPlots
std::vector<std::unique_ptr<MuonTrackValidationPlots> > MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonMSTrackValidationPlots |
|
private |
◆ m_muonPrinter
◆ m_muonSegmentsName
Gaudi::Property<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonSegmentsName {this, "MuonSegmentContainerName", "MuonSegments"} |
|
private |
◆ m_muonSegmentsTruthName
Gaudi::Property<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonSegmentsTruthName {this, "MuonTruthSegmentContainerName", "MuonTruthSegments"} |
|
private |
◆ m_muonSegmentValidationPlots
std::vector<std::unique_ptr<MuonSegmentValidationPlots> > MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonSegmentValidationPlots |
|
private |
◆ m_muonSelectionTool
◆ m_muonsName
Gaudi::Property<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonsName {this, "MuonContainerName", "Muons"} |
|
private |
◆ m_muonsTruthName
Gaudi::Property<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonsTruthName {this, "MuonTruthParticleContainerName", "MuonTruthParticles"} |
|
private |
◆ m_muonTracksName
Gaudi::Property<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonTracksName {this, "MuonTrackContainerName", "MuonSpectrometerTrackParticles"} |
|
private |
◆ m_muonValidationPlots
std::vector<std::unique_ptr<MuonValidationPlots> > MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_muonValidationPlots |
|
private |
◆ 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_oUnmatchedRecoMuonPlots
◆ m_oUnmatchedRecoMuonSegmentPlots
std::unique_ptr<Muon::MuonSegmentPlots> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_oUnmatchedRecoMuonSegmentPlots |
|
private |
◆ m_oUnmatchedRecoMuonTrackPlots
◆ m_oUnmatchedTruthMuonPlots
◆ m_path
std::string ManagedMonitorToolBase::m_path |
|
protectedinherited |
◆ m_preScaleProp
long ManagedMonitorToolBase::m_preScaleProp |
|
protectedinherited |
◆ m_procNEventsProp
long ManagedMonitorToolBase::m_procNEventsProp |
|
protectedinherited |
◆ m_selectComissioning
Gaudi::Property<bool> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_selectComissioning {this, "SelectComissioningMuons", false} |
|
private |
◆ m_SelectedAuthor
int MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_SelectedAuthor {0} |
|
private |
◆ m_selectHLTMuonItems
Gaudi::Property<std::vector<std::vector<std::string> > > MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_selectHLTMuonItems {this, "SelectHLTMuonItems", {}} |
|
private |
◆ m_selectMuonAuthors
Gaudi::Property<std::vector<unsigned int> > MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_selectMuonAuthors |
|
private |
◆ m_selectMuonCategories
Gaudi::Property<std::vector<unsigned int> > MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_selectMuonCategories |
|
private |
◆ m_selectMuonCategoriesStr
std::vector<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_selectMuonCategoriesStr |
|
private |
◆ m_selectMuonWPs
Gaudi::Property<std::vector<int> > MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_selectMuonWPs |
|
private |
◆ m_slowMuonsName
Gaudi::Property<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_slowMuonsName {this, "SlowMuonContainerName", "SlowMuons"} |
|
private |
◆ m_slowMuonValidationPlots
std::vector<std::unique_ptr<SlowMuonValidationPlots> > MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_slowMuonValidationPlots |
|
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_templateLWHistograms
◆ m_templateTrees
◆ m_THistSvc
◆ m_trackSelector
◆ m_tracksName
Gaudi::Property<std::string> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_tracksName {this, "TrackContainerName", "InDetTrackParticles"} |
|
private |
◆ m_trigDec
◆ m_trigDecTool
◆ m_triggerChainProp
std::string ManagedMonitorToolBase::m_triggerChainProp |
|
protectedinherited |
◆ m_triggerGroupProp
std::string ManagedMonitorToolBase::m_triggerGroupProp |
|
protectedinherited |
◆ m_TriggerMuonValidationPlots
std::vector<std::unique_ptr<TriggerMuonValidationPlots> > MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_TriggerMuonValidationPlots |
|
private |
◆ 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_vEFMuons
std::vector<const xAOD::Muon*> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_vEFMuons |
|
private |
◆ m_vEFMuonsSelected
std::vector<const xAOD::Muon*> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_vEFMuonsSelected |
|
private |
◆ m_vhka
◆ m_vL2CBMuons
◆ m_vL2CBMuonsSelected
◆ m_vL2SAMuons
◆ m_vL2SAMuonsSelected
◆ m_vMatchedMuons
std::vector<const xAOD::Muon*> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_vMatchedMuons |
|
private |
◆ m_vMatchedMuonSegments
std::vector<const xAOD::MuonSegment*> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_vMatchedMuonSegments |
|
private |
◆ m_vMatchedMuonTracks
◆ m_vMatchedSlowMuons
std::vector<const xAOD::SlowMuon*> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_vMatchedSlowMuons |
|
private |
◆ m_vMatchedTruthMuons
◆ m_vRecoMuons
std::vector<const xAOD::Muon*> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_vRecoMuons |
|
private |
◆ m_vRecoMuons_EffDen
std::vector<const xAOD::Muon*> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_vRecoMuons_EffDen |
|
private |
◆ m_vRecoMuons_EffDen_CB
std::vector<const xAOD::Muon*> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_vRecoMuons_EffDen_CB |
|
private |
◆ m_vRecoMuons_EffDen_MS
std::vector<const xAOD::Muon*> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_vRecoMuons_EffDen_MS |
|
private |
◆ m_vTrigChainNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigChainNames |
|
protectedinherited |
◆ m_vTrigGroupNames
std::vector<std::string> ManagedMonitorToolBase::m_vTrigGroupNames |
|
protectedinherited |
◆ m_vZmumuIDTracks
◆ m_vZmumuMETracks
◆ m_vZmumuMuons
std::vector<const xAOD::Muon*> MuonPhysValMonitoring::MuonPhysValMonitoringTool::m_vZmumuMuons |
|
private |
The documentation for this class was generated from the following files:
virtual LWHist * ownedLWHistOfKey(const std::string &key) const
JetConstituentVector::iterator iterator
virtual double phi() const
The azimuthal angle ( ) of the particle.
virtual LWHist * writeAndDeleteLWHist(const std::string &key, const std::string &streamName)
uint16_t allAuthors() const
Get all the authors of this Muon.
Const iterator class for DataVector/DataList.
Class describing a SlowMuon.
std::vector< TreeData > retrieveBookedTrees()
Retrieve all booked trees.
std::string find(const std::string &s)
return a remapped string
uint64_t eventNumber() const
The current event's event number.
const TrackParticle * trackParticle(TrackParticleType type) const
Returns a pointer (which can be NULL) to the TrackParticle used in identification of this muon.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual LWHist * writeAndResetLWHist(const std::string &key, const std::string &streamName)
static unsigned int runNumber()
virtual std::string fileKey() const
StatusCode accept(const xAOD::Muon *mu)
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.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
float eta() const
The pseudorapidity ( ) of the muon candidate.
std::vector< SG::VarHandleKeyArray * > m_vhka
Class describing a MuonSegment.
bool msgLvl(const MSG::Level lvl) const
float thrValue() const
The highest threshold value (in MeV) passed by the muon candidate.
static void setStreamName(LWHist *, const std::string &streamName)
Helper class to provide constant type-safe access to aux data.
#define ATH_MSG_VERBOSE(x)
bool empty() const
Test if the key is blank.
@ IS_SIMULATION
true: simulation, false: data
bool isValid() const
Test to see if the link can be dereferenced.
static unsigned int getLBsLowStat()
Decorator< T, ALLOC >::reference_type auxdecor(const std::string &name) const
Fetch an aux decoration, as a non-const reference.
virtual double eta() const
The pseudorapidity ( ) of the particle.
virtual void setOwner(IDataHandleHolder *o)=0
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 *)
virtual FourMom_t p4() const override final
The full 4-momentum of the particle.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
virtual double eta() const
The pseudorapidity ( ) of the particle.
std::vector< HistData > retrieveBookedHistograms()
Retrieve all booked histograms.
static DataType_t dataType()
Returns the data type that the monitoring application is running over to help ManagedMonitorToolBase ...
Exception — Attempt to retrieve nonexistent aux data item.
static const std::string & key(LWHist *)
bool is_simulation_particle(const T &p)
Method to establish if a particle (or barcode) was created during the simulation (TODO update to be s...
int sAddress() const
Get the station address of the muon.
::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.
virtual double pt() const
The transverse momentum ( ) 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
Accessor< T, ALLOC >::reference_type auxdata(const std::string &name)
Fetch an aux data variable, as a non-const reference.
virtual void renounce()=0
constexpr int UNDEFINED_ID
virtual double pt() const =0
The transverse momentum ( ) of the particle.
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
ElementLink implementation for ROOT usage.
const ElementLink< MuonContainer > & muonLink() const
bool isAvailable(const std::string &name, const std::string &clsname="") const
Check if an aux variable is available for reading.
const std::vector< Trig::Feature< T > > get(const std::string &label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const
returns flattened vector of Features of given type This method is in fact sullied by 3 arguments.
static unsigned int getLBsHigStat()
static void setKey(LWHist *, const std::string &key)
void makePrivateStore()
Create a new (empty) private store for this object.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
virtual double phi() const
The azimuthal angle ( ) of the particle.
void setOwnsROOTHisto(bool b)
Class describing the basic event information.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
bool isStable(const T &p)
#define ATH_MSG_WARNING(x)
filelist
print ("Checking files %s..." % fullfile)
virtual double eta() const =0
The pseudorapidity ( ) of the particle.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
virtual double pt() const override final
The transverse momentum ( ) of the particle.
virtual double pt() const
The transverse momentum ( ) of the particle.
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
uint32_t roiWord() const
Get the RoI ID of the seeding LVL1 muon.
static unsigned int lumiBlockNumber()
Class describing a TrackParticle.
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>
float beamSpotWeight() const
Weight for beam spot size reweighting.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
bool eventType(EventType type) const
Check for one particular bitmask value.
float phi() const
The azimuthal angle ( ) of the muon candidate.