ATLAS Offline Software
|
#include <MuonTrackMonitorAlgorithm.h>
Public Types | |
enum | Environment_t { Environment_t::user = 0, Environment_t::online, Environment_t::tier0, Environment_t::tier0Raw, Environment_t::tier0ESD, Environment_t::AOD, Environment_t::altprod } |
Specifies the processing environment. More... | |
enum | DataType_t { DataType_t::userDefined = 0, DataType_t::monteCarlo, DataType_t::collisions, DataType_t::cosmics, DataType_t::heavyIonCollisions } |
Specifies what type of input data is being monitored. More... | |
Public Member Functions | |
MuonTrackMonitorAlgorithm (const std::string &name, ISvcLocator *pSvcLocator) | |
virtual | ~MuonTrackMonitorAlgorithm () |
virtual StatusCode | initialize () override |
initialize More... | |
virtual StatusCode | fillHistograms (const EventContext &ctx) const override |
adds event to the monitoring histograms More... | |
virtual StatusCode | execute (const EventContext &ctx) const override |
Applies filters and trigger requirements. More... | |
void | fill (const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const |
Fills a vector of variables to a group by reference. More... | |
void | fill (const ToolHandle< GenericMonitoringTool > &groupHandle, const std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &variables) const |
Fills a vector of variables to a group by reference. More... | |
template<typename... T> | |
void | fill (const ToolHandle< GenericMonitoringTool > &groupHandle, T &&... variables) const |
Fills a variadic list of variables to a group by reference. More... | |
void | fill (const std::string &groupName, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const |
Fills a vector of variables to a group by name. More... | |
void | fill (const std::string &groupName, const std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &variables) const |
Fills a vector of variables to a group by name. More... | |
template<typename... T> | |
void | fill (const std::string &groupName, T &&... variables) const |
Fills a variadic list of variables to a group by name. More... | |
Environment_t | environment () const |
Accessor functions for the environment. More... | |
Environment_t | envStringToEnum (const std::string &str) const |
Convert the environment string from the python configuration to an enum object. More... | |
DataType_t | dataType () const |
Accessor functions for the data type. More... | |
DataType_t | dataTypeStringToEnum (const std::string &str) const |
Convert the data type string from the python configuration to an enum object. More... | |
const ToolHandle< GenericMonitoringTool > & | getGroup (const std::string &name) const |
Get a specific monitoring tool from the tool handle array. More... | |
const ToolHandle< Trig::TrigDecisionTool > & | getTrigDecisionTool () const |
Get the trigger decision tool member. More... | |
bool | trigChainsArePassed (const std::vector< std::string > &vTrigNames) const |
Check whether triggers are passed. More... | |
SG::ReadHandle< xAOD::EventInfo > | GetEventInfo (const EventContext &) const |
Return a ReadHandle for an EventInfo object (get run/event numbers, etc.) More... | |
virtual float | lbAverageInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
Calculate the average mu, i.e. More... | |
virtual float | lbInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
Calculate instantaneous number of interactions, i.e. More... | |
virtual float | lbAverageLuminosity (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
Calculate average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1). More... | |
virtual float | lbLuminosityPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
Calculate the instantaneous luminosity per bunch crossing. More... | |
virtual double | lbDuration (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
Calculate the duration of the luminosity block (in seconds) More... | |
virtual float | lbAverageLivefraction (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
Calculate the average luminosity livefraction. More... | |
virtual float | livefractionPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
Calculate the live fraction per bunch crossing ID. More... | |
virtual double | lbLumiWeight (const EventContext &ctx=Gaudi::Hive::currentContext()) const |
Calculate the average integrated luminosity multiplied by the live fraction. More... | |
virtual StatusCode | parseList (const std::string &line, std::vector< std::string > &result) const |
Parse a string into a vector. More... | |
virtual StatusCode | sysInitialize () override |
Override sysInitialize. More... | |
virtual bool | isClonable () const override |
Specify if the algorithm is clonable. More... | |
virtual unsigned int | cardinality () const override |
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More... | |
virtual StatusCode | sysExecute (const EventContext &ctx) override |
Execute an algorithm. More... | |
virtual const DataObjIDColl & | extraOutputDeps () const override |
Return the list of extra output dependencies. More... | |
virtual bool | filterPassed (const EventContext &ctx) const |
virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
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 | 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 |
Public Attributes | |
title | |
Muons. More... | |
type | |
path | |
xbins | |
xmin | |
xmax | |
ybins | |
ymin | |
ymax | |
opt | |
list | TestFiles = ['/eos/atlas/atlascerngroupdisk/det-rpc/data/DESDM_MCP/data18_13TeV.00358615.physics_Main.merge.DESDM_MCP.f961_m2024/data18_13TeV.00358615.physics_Main.merge.DESDM_MCP.f961_m2024._0084.1'] |
flags = initConfigFlags() | |
Files | |
HISTFileName | |
cfg = MainServicesCfg(flags) | |
def | acc = MuonTrackConfig(flags) |
withDetails | |
Protected Member Functions | |
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... | |
Protected Attributes | |
ToolHandleArray< GenericMonitoringTool > | m_tools {this,"GMTools",{}} |
Array of Generic Monitoring Tools. More... | |
PublicToolHandle< Trig::TrigDecisionTool > | m_trigDecTool {this, "TrigDecisionTool",""} |
Tool to tell whether a specific trigger is passed. More... | |
ToolHandleArray< IDQFilterTool > | m_DQFilterTools {this,"FilterTools",{}} |
Array of Data Quality filter tools. More... | |
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"} |
AthMonitorAlgorithm::Environment_t | m_environment |
Instance of the Environment_t enum. More... | |
AthMonitorAlgorithm::DataType_t | m_dataType |
Instance of the DataType_t enum. More... | |
Gaudi::Property< std::string > | m_environmentStr {this,"Environment","user"} |
Environment string pulled from the job option and converted to enum. More... | |
Gaudi::Property< std::string > | m_dataTypeStr {this,"DataType","userDefined"} |
DataType string pulled from the job option and converted to enum. More... | |
Gaudi::Property< std::string > | m_triggerChainString {this,"TriggerChain",""} |
Trigger chain string pulled from the job option and parsed into a vector. More... | |
std::vector< std::string > | m_vTrigChainNames |
Vector of trigger chain names parsed from trigger chain string. More... | |
Gaudi::Property< std::string > | m_fileKey {this,"FileKey",""} |
Internal Athena name for file. More... | |
Gaudi::Property< bool > | m_useLumi {this,"EnableLumi",false} |
Allows use of various luminosity functions. More... | |
Gaudi::Property< float > | m_defaultLBDuration {this,"DefaultLBDuration",60.} |
Default duration of one lumi block. More... | |
Gaudi::Property< int > | m_detailLevel {this,"DetailLevel",0} |
Sets the level of detail used in the monitoring. More... | |
SG::ReadHandleKey< xAOD::EventInfo > | m_EventInfoKey {this,"EventInfoKey","EventInfo"} |
Key for retrieving EventInfo from StoreGate. More... | |
Private Types | |
typedef std::vector< std::reference_wrapper< Monitored::IMonitoredVariable > > | MonVarVec_t |
typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
StatusCode | FillMuonInformation (const std::string &sIdentifier, std::vector< const xAOD::Muon * > &vecMuons, const xAOD::Vertex *pvtx, const xAOD::EventInfo &evt) const |
Fills data-quality information (e.g. More... | |
StatusCode | FillTrackInformation (const std::string &sIdentifier, const xAOD::Muon *muon, const xAOD::Vertex *pvtx, const std::string &sTrack, const xAOD::EventInfo &evt) const |
Function to fill low level Track information. More... | |
StatusCode | analyseLowLevelMuonFeatures (const std::string &sIdentifier, std::vector< const xAOD::Muon * > &Muons, const xAOD::EventInfo &evt) const |
Function to create performance plots for muon standalone tracks with some detailed informatiom. More... | |
StatusCode | analyseCombinedTracks (const xAOD::MuonContainer &Muons, const xAOD::Vertex *pvtx, const xAOD::EventInfo &evt) const |
Function to create performance plots for all combined muons. More... | |
const xAOD::Vertex * | getPrimaryVertex (const xAOD::VertexContainer &Vertices) const |
Function to get the primary vertex. More... | |
StatusCode | analyseResonanceCandidates (const xAOD::MuonContainer &Muons, const xAOD::Vertex *pvtx, const xAOD::EventInfo &evt) const |
Function to create performance plots for all combined muons that lead to a Z Boson Candidate event. More... | |
StatusCode | plotResonanceCandidates (const std::string &resonanceName, std::vector< const xAOD::Muon * > &muonCandidates, const xAOD::Vertex *pvtx, const xAOD::EventInfo &evt) const |
Function to create performance plots for all combined muons that lead to a Jpsi Meson Candidate event. More... | |
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... | |
Private Attributes | |
SG::ReadHandleKey< xAOD::MuonContainer > | m_MuonContainerKey {this, "MuonContainerKey", "Muons", "Key for Muon Containers" } |
SG::ReadDecorHandleKey< xAOD::MuonContainer > | m_MuonIsoDecorKey {this, "MuonIsoDecorKey", "Muons.ptcone30" } |
SG::ReadHandleKey< xAOD::VertexContainer > | m_VertexContainerKey {this, "PrimaryVerticesKey", "PrimaryVertices", "Key for primary VertexContainers"} |
SG::ReadHandleKey< xAOD::EventInfo > | m_derEventInfoKey {this, "EventInfo", "EventInfo", ""} |
SG::ReadDecorHandleKeyArray< xAOD::EventInfo > | m_beamSpotKey {this, "BeamSpotKeys" ,{}, "Add the scheduler dependencies on the beamspot information"} |
Gaudi::Property< bool > | m_useBeamSpot {this, "RequireBeamSpot", true, "Ensure that the dependency on the beamspot variables is established."} |
Gaudi::Property< std::vector< std::string > > | m_hltchainList { this, "HLTTriggerList", {"HLT_2mu14_L12MU8F", "HLT_mu24_ivarmedium_L1MU14FCH"}, "High-level triggers used" } |
Gaudi::Property< float > | m_CBmuons_minPt { this, "CBmuons_minPt", 20000., "Minimal muon pt used for CB muons" } |
Gaudi::Property< float > | m_ZBosonSelection_minPt { this, "ZBosonSelection_minPt", 20000., "Minimal muon pt used for Z analysis" } |
Gaudi::Property< float > | m_ZBosonSelection_maxEta { this, "ZBosonSelection_maxEta", 2.5, "Maximal muon eta used for Z analysis" } |
Gaudi::Property< float > | m_ZBosonSelection_trkIsolation { this, "ZBosonSelection_trkIsolation", 0.2, "Track DeltaR isolation criteria" } |
Gaudi::Property< float > | m_ZBosonSelection_D0Cut { this, "ZBosonSelection_D0Cut", 100., "D0 cut applied for Z boson analysis" } |
Gaudi::Property< float > | m_ZBosonSelection_Z0Cut { this, "ZBosonSelection_Z0Cut", 100., "Z0 cut applied for Z boson analysis" } |
Gaudi::Property< float > | m_ZBosonSelection_minMass { this, "ZBosonSelection_minMass", 76000., "Minimal accepted Z boson mass" } |
Gaudi::Property< float > | m_ZBosonSelection_maxMass { this, "ZBosonSelection_maxMass", 106000., "Maximal accepted Z boson mass" } |
Gaudi::Property< float > | m_JpsiSelection_minPt { this, "JpsiSelection_minPt", 4000., "Minimal muon pt used for Jpsi analysis" } |
Gaudi::Property< float > | m_JpsiSelection_maxEta { this, "JpsiSelection_maxEta", 2.5, "Maximal muon eta used for Jpsi analysis" } |
Gaudi::Property< float > | m_JpsiSelection_trkIsolation { this, "JpsiSelection_trkIsolation", 1.0, "Jpsi track DeltaR isolation criteria" } |
Gaudi::Property< float > | m_JpsiSelection_D0Cut { this, "JpsiSelection_D0Cut", 100., "D0 cut applied for Jpsi analysis" } |
Gaudi::Property< float > | m_JpsiSelection_Z0Cut { this, "JpsiSelection_Z0Cut", 100., "Z0 cut applied for Jpsi analysis" } |
Gaudi::Property< float > | m_JpsiSelection_minMass { this, "JpsiSelection_minMass", 2600, "Minimal accepted Jpsi mass" } |
Gaudi::Property< float > | m_JpsiSelection_maxMass { this, "JpsiSelection_maxMass", 3600, "Maximal accepted Jpsi mass" } |
std::string | m_name |
std::unordered_map< std::string, size_t > | m_toolLookupMap |
const ToolHandle< GenericMonitoringTool > | m_dummy |
Gaudi::Property< bool > | m_enforceExpressTriggers |
DataObjIDColl | m_extendedExtraObjects |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More... | |
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 21 of file MuonTrackMonitorAlgorithm.h.
|
privateinherited |
Definition at line 365 of file AthMonitorAlgorithm.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
stronginherited |
Specifies what type of input data is being monitored.
An enumeration of the different types of data the monitoring application may be running over. This can be used to select which histograms to produce, e.g. to prevent the production of colliding-beam histograms when running on cosmic-ray data. Strings of the same names may be given as jobOptions.
Enumerator | |
---|---|
userDefined | |
monteCarlo | |
collisions | |
cosmics | |
heavyIonCollisions |
Definition at line 191 of file AthMonitorAlgorithm.h.
|
stronginherited |
Specifies the processing environment.
The running environment may be used to select which histograms are produced, and where they are located in the output. For example, the output paths of the histograms are different for the "user", "online" and the various offline flags. Strings of the same names may be given as jobOptions.
Enumerator | |
---|---|
user | |
online | |
tier0 | |
tier0Raw | |
tier0ESD | |
AOD | |
altprod |
Definition at line 172 of file AthMonitorAlgorithm.h.
MuonTrackMonitorAlgorithm::MuonTrackMonitorAlgorithm | ( | const std::string & | name, |
ISvcLocator * | pSvcLocator | ||
) |
Definition at line 16 of file MuonTrackMonitorAlgorithm.cxx.
|
inlinevirtual |
Definition at line 28 of file MuonTrackMonitorAlgorithm.h.
|
private |
Function to create performance plots for all combined muons.
Declaring all variables that are initialized via Python will be plotted
Select Combined Muons
Select not Combined Muons
Fill MS Track information
Fill low level Muon Information for each Muon
Fill the relevant Muon Information for each Muon
Definition at line 346 of file MuonTrackMonitorAlgorithm.cxx.
|
private |
Function to create performance plots for muon standalone tracks with some detailed informatiom.
Declaring all variables that are initialized via Python will be plotted
Loop over all muons
Do Muon Segments and Sector Plots
Definition at line 255 of file MuonTrackMonitorAlgorithm.cxx.
|
private |
Function to create performance plots for all combined muons that lead to a Z Boson Candidate event.
Select Muons Relevant for Z
Select Z Boson and Jpsi
Definition at line 613 of file MuonTrackMonitorAlgorithm.cxx.
|
overridevirtualinherited |
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
Override this to return 0 for reentrant algorithms.
Override this to return 0 for reentrant algorithms.
Definition at line 55 of file AthReentrantAlgorithm.cxx.
|
inlineinherited |
Accessor functions for the data type.
Definition at line 221 of file AthMonitorAlgorithm.h.
|
inherited |
Convert the data type string from the python configuration to an enum object.
Definition at line 140 of file AthMonitorAlgorithm.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>
Definition at line 199 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
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.
|
inlineinherited |
Declare a new Gaudi property.
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.
|
inlineinherited |
Definition at line 259 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
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.
|
inlineinherited |
Declare a new Gaudi property.
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.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore
Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
Accessor functions for the environment.
Definition at line 205 of file AthMonitorAlgorithm.h.
|
inherited |
Convert the environment string from the python configuration to an enum object.
Definition at line 112 of file AthMonitorAlgorithm.cxx.
|
inlineinherited |
The standard StoreGateSvc
(event store) Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 85 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc
(event store) Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 90 of file AthCommonDataStore.h.
|
overridevirtualinherited |
Applies filters and trigger requirements.
Then, calls fillHistograms().
ctx | event context for reentrant Athena call |
Definition at line 73 of file AthMonitorAlgorithm.cxx.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 79 of file AthReentrantAlgorithm.cxx.
|
overridevirtual |
adds event to the monitoring histograms
User will overwrite this function. Histogram booking is no longer done in C++. This function is called in execute once the filters are all passed.
ctx | forwarded from execute |
Get the EventInfo
Implements AthMonitorAlgorithm.
Definition at line 657 of file MuonTrackMonitorAlgorithm.cxx.
|
private |
Fills data-quality information (e.g.
pt, eta, phi..) to histograms for given selection of muons std::string sIdentifier = "CB","ZBoson","Jpsi": String which is used to match the histogramming variables that are defined by the Python script std::vector<const xAOD::Muon*> &vecMuons: Vector of muons for which performance plots should be created
Declaring all variables that are initialized via Python will be plotted
Loop over all Muons
Fill ME Track information
Basic kinematic Information
Hit Information of the ID
Hit Information per layer
Save Eta/Phi Information for medium and tight muons, to be used for lates efficiency studies
Momentum Resolution and chi2 studies of MS and ID only tracks
Momentum Resolution and chi2 studies of MS and ID only tracks
Definition at line 94 of file MuonTrackMonitorAlgorithm.cxx.
|
private |
Function to fill low level Track information.
Declaring all track variables
Definition at line 38 of file MuonTrackMonitorAlgorithm.cxx.
|
inlinevirtualinherited |
Definition at line 135 of file AthReentrantAlgorithm.h.
|
inherited |
Return a ReadHandle for an EventInfo object (get run/event numbers, etc.)
ctx | EventContext for the event |
Definition at line 107 of file AthMonitorAlgorithm.cxx.
|
inherited |
Get a specific monitoring tool from the tool handle array.
Finds a specific GenericMonitoringTool instance from the list of monitoring tools (a ToolHandleArray). Throws a FATAL warning if the object found is empty.
name | string name of the desired tool |
Definition at line 164 of file AthMonitorAlgorithm.cxx.
|
private |
|
inherited |
Get the trigger decision tool member.
The trigger decision tool is used to check whether a specific trigger is passed by an event.
Definition at line 189 of file AthMonitorAlgorithm.cxx.
|
overridevirtual |
initialize
Reimplemented from AthMonitorAlgorithm.
Definition at line 20 of file MuonTrackMonitorAlgorithm.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
overridevirtualinherited |
Specify if the algorithm is clonable.
Reentrant algorithms are clonable.
Reimplemented in Simulation::BeamEffectsAlg, InDet::SiTrackerSpacePointFinder, InDet::SCT_Clusterization, InDet::SiSPSeededTrackFinder, SCTRawDataProvider, InDet::GNNSeedingTrackMaker, SCT_PrepDataToxAOD, RoIBResultToxAOD, SCT_CablingCondAlgFromCoraCool, SCT_ReadCalibDataTestAlg, SCT_CablingCondAlgFromText, InDet::SiSPGNNTrackMaker, SCT_ReadCalibChipDataTestAlg, SCT_TestCablingAlg, SCT_ConfigurationConditionsTestAlg, ITkPixelCablingAlg, ITkStripCablingAlg, SCTEventFlagWriter, SCT_ConditionsSummaryTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_TdaqEnabledTestAlg, SCT_SiliconConditionsTestAlg, SCTSiLorentzAngleTestAlg, SCT_ByteStreamErrorsTestAlg, SCT_ConditionsParameterTestAlg, SCT_FlaggedConditionTestAlg, SCT_StripVetoTestAlg, SCT_RawDataToxAOD, and SCTSiPropertiesTestAlg.
Definition at line 44 of file AthReentrantAlgorithm.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 27 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
virtualinherited |
Parse a string into a vector.
The input string is a single long string of all of the trigger names. It parses this string and turns it into a vector, where each element is one trigger or trigger category.
line | The input string. |
result | The parsed output vector of strings. |
Definition at line 336 of file AthMonitorAlgorithm.cxx.
|
private |
Function to create performance plots for all combined muons that lead to a Jpsi Meson Candidate event.
Declaring all variables that are initialized via Python will be plotted
Z Boson related plots
Fill the relevant Muon Information for each Z Boson Candidate Muon
Definition at line 461 of file MuonTrackMonitorAlgorithm.cxx.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
inlinevirtualinherited |
Definition at line 139 of file AthReentrantAlgorithm.h.
|
overridevirtualinherited |
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Definition at line 67 of file AthReentrantAlgorithm.cxx.
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.
Reimplemented in InputMakerBase, and HypoBase.
Definition at line 96 of file AthReentrantAlgorithm.cxx.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inherited |
Check whether triggers are passed.
For the event, use the trigger decision tool to check that at least one of the triggers listed in the supplied vector is passed.
vTrigNames | List of trigger names. |
Definition at line 194 of file AthMonitorAlgorithm.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
def MuonTrackMonitorAlgorithm.acc = MuonTrackConfig(flags) |
Definition at line 1958 of file MuonTrackMonitorAlgorithm.py.
MuonTrackMonitorAlgorithm.cfg = MainServicesCfg(flags) |
Definition at line 1956 of file MuonTrackMonitorAlgorithm.py.
MuonTrackMonitorAlgorithm.Files |
Definition at line 1950 of file MuonTrackMonitorAlgorithm.py.
MuonTrackMonitorAlgorithm.flags = initConfigFlags() |
Definition at line 1949 of file MuonTrackMonitorAlgorithm.py.
MuonTrackMonitorAlgorithm.HISTFileName |
Definition at line 1951 of file MuonTrackMonitorAlgorithm.py.
|
private |
Definition at line 38 of file MuonTrackMonitorAlgorithm.h.
|
private |
Definition at line 70 of file MuonTrackMonitorAlgorithm.h.
|
protectedinherited |
Instance of the DataType_t enum.
Definition at line 351 of file AthMonitorAlgorithm.h.
|
protectedinherited |
DataType string pulled from the job option and converted to enum.
Definition at line 353 of file AthMonitorAlgorithm.h.
|
protectedinherited |
Default duration of one lumi block.
Definition at line 360 of file AthMonitorAlgorithm.h.
|
private |
Definition at line 37 of file MuonTrackMonitorAlgorithm.h.
|
protectedinherited |
Sets the level of detail used in the monitoring.
Definition at line 361 of file AthMonitorAlgorithm.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
protectedinherited |
Array of Data Quality filter tools.
Definition at line 341 of file AthMonitorAlgorithm.h.
|
privateinherited |
Definition at line 369 of file AthMonitorAlgorithm.h.
|
privateinherited |
Definition at line 372 of file AthMonitorAlgorithm.h.
|
protectedinherited |
Instance of the Environment_t enum.
Definition at line 350 of file AthMonitorAlgorithm.h.
|
protectedinherited |
Environment string pulled from the job option and converted to enum.
Definition at line 352 of file AthMonitorAlgorithm.h.
|
protectedinherited |
Key for retrieving EventInfo from StoreGate.
Definition at line 362 of file AthMonitorAlgorithm.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 153 of file AthReentrantAlgorithm.h.
|
protectedinherited |
Internal Athena name for file.
Definition at line 358 of file AthMonitorAlgorithm.h.
|
private |
Definition at line 68 of file MuonTrackMonitorAlgorithm.h.
|
private |
Definition at line 83 of file MuonTrackMonitorAlgorithm.h.
|
private |
Definition at line 81 of file MuonTrackMonitorAlgorithm.h.
|
private |
Definition at line 86 of file MuonTrackMonitorAlgorithm.h.
|
private |
Definition at line 85 of file MuonTrackMonitorAlgorithm.h.
|
private |
Definition at line 80 of file MuonTrackMonitorAlgorithm.h.
|
private |
Definition at line 82 of file MuonTrackMonitorAlgorithm.h.
|
private |
Definition at line 84 of file MuonTrackMonitorAlgorithm.h.
|
protectedinherited |
Definition at line 345 of file AthMonitorAlgorithm.h.
|
protectedinherited |
Definition at line 343 of file AthMonitorAlgorithm.h.
|
private |
Definition at line 34 of file MuonTrackMonitorAlgorithm.h.
|
private |
Definition at line 35 of file MuonTrackMonitorAlgorithm.h.
|
privateinherited |
Definition at line 366 of file AthMonitorAlgorithm.h.
|
privateinherited |
Definition at line 367 of file AthMonitorAlgorithm.h.
|
protectedinherited |
Array of Generic Monitoring Tools.
Definition at line 338 of file AthMonitorAlgorithm.h.
|
protectedinherited |
Tool to tell whether a specific trigger is passed.
Definition at line 340 of file AthMonitorAlgorithm.h.
|
protectedinherited |
Trigger chain string pulled from the job option and parsed into a vector.
Definition at line 355 of file AthMonitorAlgorithm.h.
|
protectedinherited |
Definition at line 347 of file AthMonitorAlgorithm.h.
|
private |
Definition at line 40 of file MuonTrackMonitorAlgorithm.h.
|
protectedinherited |
Allows use of various luminosity functions.
Definition at line 359 of file AthMonitorAlgorithm.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
private |
Definition at line 36 of file MuonTrackMonitorAlgorithm.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
protectedinherited |
Vector of trigger chain names parsed from trigger chain string.
Definition at line 356 of file AthMonitorAlgorithm.h.
|
private |
Definition at line 75 of file MuonTrackMonitorAlgorithm.h.
|
private |
Definition at line 73 of file MuonTrackMonitorAlgorithm.h.
|
private |
Definition at line 78 of file MuonTrackMonitorAlgorithm.h.
|
private |
Definition at line 77 of file MuonTrackMonitorAlgorithm.h.
|
private |
Definition at line 72 of file MuonTrackMonitorAlgorithm.h.
|
private |
Definition at line 74 of file MuonTrackMonitorAlgorithm.h.
|
private |
Definition at line 76 of file MuonTrackMonitorAlgorithm.h.
MuonTrackMonitorAlgorithm.opt |
Definition at line 33 of file MuonTrackMonitorAlgorithm.py.
MuonTrackMonitorAlgorithm.path |
Definition at line 32 of file MuonTrackMonitorAlgorithm.py.
list MuonTrackMonitorAlgorithm.TestFiles = ['/eos/atlas/atlascerngroupdisk/det-rpc/data/DESDM_MCP/data18_13TeV.00358615.physics_Main.merge.DESDM_MCP.f961_m2024/data18_13TeV.00358615.physics_Main.merge.DESDM_MCP.f961_m2024._0084.1'] |
Definition at line 1948 of file MuonTrackMonitorAlgorithm.py.
MuonTrackMonitorAlgorithm.title |
TracksMS.
Segments.
MuonTrkPhys.
TracksME.
TracksID.
Overview.
Definition at line 31 of file MuonTrackMonitorAlgorithm.py.
MuonTrackMonitorAlgorithm.type |
Definition at line 32 of file MuonTrackMonitorAlgorithm.py.
MuonTrackMonitorAlgorithm.withDetails |
Definition at line 1960 of file MuonTrackMonitorAlgorithm.py.
MuonTrackMonitorAlgorithm.xbins |
Definition at line 33 of file MuonTrackMonitorAlgorithm.py.
MuonTrackMonitorAlgorithm.xmax |
Definition at line 33 of file MuonTrackMonitorAlgorithm.py.
MuonTrackMonitorAlgorithm.xmin |
Definition at line 33 of file MuonTrackMonitorAlgorithm.py.
MuonTrackMonitorAlgorithm.ybins |
Definition at line 33 of file MuonTrackMonitorAlgorithm.py.
MuonTrackMonitorAlgorithm.ymax |
Definition at line 33 of file MuonTrackMonitorAlgorithm.py.
MuonTrackMonitorAlgorithm.ymin |
Definition at line 33 of file MuonTrackMonitorAlgorithm.py.