ATLAS Offline Software
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
TrigTauMonitorL1Algorithm Class Reference

#include <TrigTauMonitorL1Algorithm.h>

Inheritance diagram for TrigTauMonitorL1Algorithm:
Collaboration diagram for TrigTauMonitorL1Algorithm:

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

 TrigTauMonitorL1Algorithm (const std::string &name, ISvcLocator *pSvcLocator)
 
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::EventInfoGetEventInfo (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
 

Protected Member Functions

std::map< std::string, TrigTauInfo > & getTrigInfoMap ()
 
const TrigTauInfogetTrigInfo (const std::string &trigger) const
 
std::vector< const xAOD::TauJet * > getOnlineTausAll (const std::string &trigger, bool include_0P=true) const
 
std::tuple< std::vector< const xAOD::TauJet * >, std::vector< const xAOD::TauJet * >, std::vector< const xAOD::TauJet * > > getOnlineTaus (const std::string &trigger) const
 
std::vector< const xAOD::TauJet * > getOfflineTausAll (const EventContext &ctx, const float threshold=20.0) const
 
std::pair< std::vector< const xAOD::TauJet * >, std::vector< const xAOD::TauJet * > > getOfflineTaus (const EventContext &ctx, const float threshold=20.0) const
 
std::vector< const xAOD::eFexTauRoI * > getL1eTAUs (const EventContext &ctx, const std::string &l1_item) const
 
std::vector< const xAOD::jFexTauRoI * > getL1jTAUs (const EventContext &ctx, const std::string &l1_item) const
 
std::vector< std::pair< const xAOD::eFexTauRoI *, const xAOD::jFexTauRoI * > > getL1cTAUs (const EventContext &ctx, const std::string &l1_item) const
 
std::vector< const xAOD::EmTauRoI * > getL1LegacyTAUs (const EventContext &ctx, const std::string &l1_item) const
 
double dR (const double eta1, const double phi1, const double eta2, const double phi2) const
 
template<typename T1 = xAOD::IParticle, typename T2 = xAOD::IParticle>
bool matchObjects (const T1 *tau, const std::vector< const T2 * > &tau_vec, float threshold) const
 
bool matchObjects (const TLorentzVector &tau, const std::vector< TLorentzVector > &tau_vec, float threshold) const
 
template<typename T1 = xAOD::IParticle, typename T2 = xAOD::eFexTauRoI>
bool matchObjects (const T1 *tau_1, const T2 *tau_2, float threshold) const
 
template<typename T1 = xAOD::IParticle, typename T2 = xAOD::IParticle>
bool matchTruthObjects (const T1 *true_tau, const std::vector< const T2 * > &tau_vec, float threshold) const
 
std::vector< const xAOD::TauJet * > classifyTausAll (const std::vector< const xAOD::TauJet * > &taus, const float threshold=0.0) const
 
std::pair< std::vector< const xAOD::TauJet * >, std::vector< const xAOD::TauJet * > > classifyOfflineTaus (const std::vector< const xAOD::TauJet * > &taus, const float threshold=0.0) const
 
std::tuple< std::vector< const xAOD::TauJet * >, std::vector< const xAOD::TauJet * >, std::vector< const xAOD::TauJet * > > classifyOnlineTaus (const std::vector< const xAOD::TauJet * > &taus, const float threshold=0.0) 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...
 

Protected Attributes

Gaudi::Property< std::vector< std::string > > m_triggers {this, "TriggerList", {}}
 
Gaudi::Property< std::map< std::string, float > > m_L1_Phase1_thresholds {this, "L1Phase1Thresholds", {}}
 
Gaudi::Property< std::map< std::string, uint64_t > > m_L1_Phase1_threshold_patterns {this, "L1Phase1ThresholdPatterns", {}}
 
Gaudi::Property< bool > m_L1_select_by_et_only {this, "SelectL1ByETOnly", false}
 
Gaudi::Property< bool > m_do_efficiency_plots {this, "DoEfficiencyPlots", true}
 
Gaudi::Property< bool > m_do_variable_plots {this, "DoVariablePlots", true}
 
ToolHandleArray< GenericMonitoringToolm_tools {this,"GMTools",{}}
 Array of Generic Monitoring Tools. More...
 
PublicToolHandle< Trig::TrigDecisionToolm_trigDecTool {this, "TrigDecisionTool",""}
 Tool to tell whether a specific trigger is passed. More...
 
ToolHandleArray< IDQFilterToolm_DQFilterTools {this,"FilterTools",{}}
 Array of Data Quality filter tools. More...
 
SG::ReadCondHandleKey< LuminosityCondDatam_lumiDataKey {this,"LuminosityCondDataKey","LuminosityCondData","SG Key of LuminosityCondData object"}
 
SG::ReadCondHandleKey< LBDurationCondDatam_lbDurationDataKey {this,"LBDurationCondDataKey","LBDurationCondData","SG Key of LBDurationCondData object"}
 
SG::ReadCondHandleKey< TrigLiveFractionCondDatam_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::EventInfom_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< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

std::vector< const xAOD::eFexTauRoI * > getL1xTOBeTAUs () const
 
unsigned int getBDTScore (const xAOD::eFexTauRoI *roi, const std::vector< const xAOD::eFexTauRoI * > &xtob_rois) const
 
virtual StatusCode processEvent (const EventContext &ctx) const override
 
template<typename T = xAOD::eFexTauRoI>
void fillL1Efficiencies (const EventContext &ctx, const std::vector< const xAOD::TauJet * > &offline_tau_vec, const std::string &nProng, const std::string &trigger, const std::vector< const T * > &rois) const
 
void fillL1eTauVars (const std::string &trigger, const std::vector< const xAOD::eFexTauRoI * > &rois, const std::vector< const xAOD::eFexTauRoI * > &xtob_rois) const
 
void fillL1jTauVars (const std::string &trigger, const std::vector< const xAOD::jFexTauRoI * > &rois) const
 
void fillL1cTauVars (const std::string &trigger, const std::vector< std::pair< const xAOD::eFexTauRoI *, const xAOD::jFexTauRoI * >> &rois, const std::vector< const xAOD::eFexTauRoI * > &xtob_rois) const
 
void fillL1LegacyVars (const std::string &trigger, const std::vector< const xAOD::EmTauRoI * > &rois) const
 
const SG::ReadHandleKey< xAOD::TauJetContainer > & getOnlineContainerKey (const std::string &trigger) const
 
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

Gaudi::Property< bool > m_requireOfflineTaus {this, "RequireOfflineTaus", true, "Require at leat 1 offline tau per event"}
 
SG::ReadHandleKey< xAOD::eFexTauRoIContainerm_phase1l1eTauxRoIKey {this, "Phase1L1eTauxRoIKey", "L1_eTauxRoI", "eTau Phase1 L1 xRoI key"}
 
std::map< std::string, TrigTauInfom_trigInfo
 
SG::ReadDecorHandleKey< xAOD::EventInfom_eventInfoDecorKey {this, "LArStatusFlag", "EventInfo.larFlags", "Key for EventInfo object"}
 
SG::ReadHandleKey< xAOD::TauJetContainerm_offlineTauJetKey {this, "OfflineTauJetKey", "TauJets", "Offline taujet container key"}
 
SG::ReadHandleKey< xAOD::EmTauRoIContainerm_legacyl1TauRoIKey { this, "LegacyL1TauRoIKey", "LVL1EmTauRoIs", "Tau Legacy L1 RoI key"}
 
SG::ReadHandleKey< xAOD::eFexTauRoIContainerm_phase1l1eTauRoIKey {this, "Phase1L1eTauRoIKey", "L1_eTauRoI", "eTau Phase1 L1 RoI key"}
 
SG::ReadDecorHandleKey< xAOD::eFexTauRoIContainerm_phase1l1eTauRoIThresholdPatternsKey {this, "Phase1L1eTauRoIThresholdPatternsKey", "L1_eTauRoI.thresholdPatterns", "Decoration for the threshold patterns for the eTau RoIs"}
 
SG::ReadHandleKey< xAOD::jFexTauRoIContainerm_phase1l1jTauRoIKey {this, "Phase1L1jTauRoIKey", "L1_jFexTauRoI", "jTau Phase1 L1 RoI key"}
 
SG::ReadDecorHandleKey< xAOD::jFexTauRoIContainerm_phase1l1jTauRoIThresholdPatternsKey {this, "Phase1L1jTauRoIThresholdPatternsKey", "L1_jFexTauRoI.thresholdPatterns", "Decoration for the threshold patterns for the jTau RoIs"}
 
SG::ReadHandleKey< xAOD::eFexTauRoIContainerm_phase1l1cTauRoIKey {this, "Phase1L1cTauRoIKey", "L1_cTauRoI", "cTau Phase1 L1 RoI key"}
 
SG::ReadDecorHandleKey< xAOD::eFexTauRoIContainerm_phase1l1cTauRoIDecorKey {this, "Phase1L1cTauRoIjTauRoILinkKey", "L1_cTauRoI.jTauLink", "Decoration for the link from eTau to the matching jTau"}
 
SG::ReadDecorHandleKey< xAOD::eFexTauRoIContainerm_phase1l1cTauRoIThresholdPatternsKey {this, "Phase1L1cTauRoIThresholdPatternsKey", "L1_cTauRoI.thresholdPatterns", "Decoration for the threshold patterns for the cTau RoIs"}
 
SG::ReadHandleKey< xAOD::TauJetContainerm_hltTauJetKey {this, "HLTTauJetKey", "HLT_TrigTauRecMerged_MVA", "HLT tracktwoMVA taujet container key"}
 
SG::ReadHandleKey< xAOD::TauJetContainerm_hltTauJetLLPKey {this, "HLTTauJetLLPKey", "HLT_TrigTauRecMerged_LLP", "HLT tracktwoLLP taujet container key"}
 
SG::ReadHandleKey< xAOD::TauJetContainerm_hltTauJetLRTKey {this, "HLTTauJetLRTKey", "HLT_TrigTauRecMerged_LRT", "HLT trackLRT taujet container key"}
 
SG::ReadHandleKey< xAOD::TauJetContainerm_hltTauJetCaloMVAOnlyKey {this, "HLTTauJetCaloMVAOnlyKey", "HLT_TrigTauRecMerged_CaloMVAOnly", "HLT ptonly taujet container key"}
 
std::string m_name
 
std::unordered_map< std::string, size_t > m_toolLookupMap
 
const ToolHandle< GenericMonitoringToolm_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
 

Detailed Description

Definition at line 10 of file TrigTauMonitorL1Algorithm.h.

Member Typedef Documentation

◆ MonVarVec_t

typedef std::vector<std::reference_wrapper<Monitored::IMonitoredVariable> > AthMonitorAlgorithm::MonVarVec_t
privateinherited

Definition at line 365 of file AthMonitorAlgorithm.h.

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Member Enumeration Documentation

◆ DataType_t

enum AthMonitorAlgorithm::DataType_t
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.

191  {
192  userDefined = 0,
193  monteCarlo,
194  collisions,
195  cosmics,
196  heavyIonCollisions,
197  };

◆ Environment_t

enum AthMonitorAlgorithm::Environment_t
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.

172  {
173  user = 0,
174  online,
175  tier0,
176  tier0Raw,
177  tier0ESD,
178  AOD,
179  altprod,
180  };

Constructor & Destructor Documentation

◆ TrigTauMonitorL1Algorithm()

TrigTauMonitorL1Algorithm::TrigTauMonitorL1Algorithm ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

Definition at line 8 of file TrigTauMonitorL1Algorithm.cxx.

9  : TrigTauMonitorBaseAlgorithm(name, pSvcLocator)
10 {}

Member Function Documentation

◆ cardinality()

unsigned int AthReentrantAlgorithm::cardinality ( ) const
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.

56 {
57  return 0;
58 }

◆ classifyOfflineTaus()

std::pair< std::vector< const xAOD::TauJet * >, std::vector< const xAOD::TauJet * > > TrigTauMonitorBaseAlgorithm::classifyOfflineTaus ( const std::vector< const xAOD::TauJet * > &  taus,
const float  threshold = 0.0 
) const
protectedinherited

Definition at line 336 of file TrigTauMonitorBaseAlgorithm.cxx.

337 {
338  std::vector<const xAOD::TauJet*> tau_vec_1p, tau_vec_3p;
339 
340  for(const xAOD::TauJet* const tau : taus) {
341  if(tau->pt() < threshold*Gaudi::Units::GeV) continue;
342 
343  int nTracks = -1;
344  tau->detail(xAOD::TauJetParameters::nChargedTracks, nTracks);
345 
346  if(nTracks == 1) tau_vec_1p.push_back(tau);
347  else if(nTracks == 3) tau_vec_3p.push_back(tau);
348  }
349 
350  return {tau_vec_1p, tau_vec_3p};
351 }

◆ classifyOnlineTaus()

std::tuple< std::vector< const xAOD::TauJet * >, std::vector< const xAOD::TauJet * >, std::vector< const xAOD::TauJet * > > TrigTauMonitorBaseAlgorithm::classifyOnlineTaus ( const std::vector< const xAOD::TauJet * > &  taus,
const float  threshold = 0.0 
) const
protectedinherited

Definition at line 317 of file TrigTauMonitorBaseAlgorithm.cxx.

318 {
319  std::vector<const xAOD::TauJet*> tau_vec_0p, tau_vec_1p, tau_vec_mp;
320 
321  for(const xAOD::TauJet* tau : taus) {
322  if(tau->pt() < threshold*Gaudi::Units::GeV) continue;
323 
324  int nTracks = -1;
325  tau->detail(xAOD::TauJetParameters::nChargedTracks, nTracks);
326 
327  if(nTracks == 0) tau_vec_0p.push_back(tau);
328  else if(nTracks == 1) tau_vec_1p.push_back(tau);
329  else tau_vec_mp.push_back(tau);
330  }
331 
332  return {tau_vec_0p, tau_vec_1p, tau_vec_mp};
333 }

◆ classifyTausAll()

std::vector< const xAOD::TauJet * > TrigTauMonitorBaseAlgorithm::classifyTausAll ( const std::vector< const xAOD::TauJet * > &  taus,
const float  threshold = 0.0 
) const
protectedinherited

Definition at line 304 of file TrigTauMonitorBaseAlgorithm.cxx.

305 {
306  std::vector<const xAOD::TauJet*> tau_vec;
307 
308  for(const xAOD::TauJet* tau : taus) {
309  if(tau->pt() < threshold*Gaudi::Units::GeV) continue;
310  tau_vec.push_back(tau);
311  }
312 
313  return tau_vec;
314 }

◆ dataType()

DataType_t AthMonitorAlgorithm::dataType ( ) const
inlineinherited

Accessor functions for the data type.

Returns
the current value of the class's DataType_t instance.

Definition at line 221 of file AthMonitorAlgorithm.h.

221 { return m_dataType; }

◆ dataTypeStringToEnum()

AthMonitorAlgorithm::DataType_t AthMonitorAlgorithm::dataTypeStringToEnum ( const std::string &  str) const
inherited

Convert the data type string from the python configuration to an enum object.

Returns
a value in the DataType_t enumeration which matches the input string.

Definition at line 140 of file AthMonitorAlgorithm.cxx.

140  {
141  // convert the string to all lowercase
142  std::string lowerCaseStr = str;
143  std::transform(lowerCaseStr.begin(), lowerCaseStr.end(), lowerCaseStr.begin(), ::tolower);
144 
145  // check if it matches one of the enum choices
146  if( lowerCaseStr == "userdefined" ) {
148  } else if( lowerCaseStr == "montecarlo" ) {
149  return DataType_t::monteCarlo;
150  } else if( lowerCaseStr == "collisions" ) {
151  return DataType_t::collisions;
152  } else if( lowerCaseStr == "cosmics" ) {
153  return DataType_t::cosmics;
154  } else if( lowerCaseStr == "heavyioncollisions" ) {
156  } else { // otherwise, warn the user and return "userDefined"
157  ATH_MSG_WARNING("AthMonitorAlgorithm::dataTypeStringToEnum(): Unknown data type "
158  <<str<<", returning userDefined.");
160  }
161 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyArrayType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKeyArray>

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleBase>

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
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.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation 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.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation 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.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation 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.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation 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.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ detStore()

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ dR()

double TrigTauMonitorBaseAlgorithm::dR ( const double  eta1,
const double  phi1,
const double  eta2,
const double  phi2 
) const
inlineprotectedinherited

Definition at line 65 of file TrigTauMonitorBaseAlgorithm.h.

66  {
67  double deta = std::fabs(eta1 - eta2);
68  double dphi = std::fabs(CxxUtils::wrapToPi(phi1-phi2));
69  return std::sqrt(deta*deta + dphi*dphi);
70  }

◆ environment()

Environment_t AthMonitorAlgorithm::environment ( ) const
inlineinherited

Accessor functions for the environment.

Returns
the current value of the class's Environment_t instance.

Definition at line 205 of file AthMonitorAlgorithm.h.

205 { return m_environment; }

◆ envStringToEnum()

AthMonitorAlgorithm::Environment_t AthMonitorAlgorithm::envStringToEnum ( const std::string &  str) const
inherited

Convert the environment string from the python configuration to an enum object.

Returns
a value in the Environment_t enumeration which matches the input string.

Definition at line 112 of file AthMonitorAlgorithm.cxx.

112  {
113  // convert the string to all lowercase
114  std::string lowerCaseStr = str;
115  std::transform(lowerCaseStr.begin(), lowerCaseStr.end(), lowerCaseStr.begin(), ::tolower);
116 
117  // check if it matches one of the enum choices
118  if( lowerCaseStr == "user" ) {
119  return Environment_t::user;
120  } else if( lowerCaseStr == "online" ) {
121  return Environment_t::online;
122  } else if( lowerCaseStr == "tier0" ) {
123  return Environment_t::tier0;
124  } else if( lowerCaseStr == "tier0raw" ) {
126  } else if( lowerCaseStr == "tier0esd" ) {
128  } else if( lowerCaseStr == "aod" ) {
129  return Environment_t::AOD;
130  } else if( lowerCaseStr == "altprod" ) {
131  return Environment_t::altprod;
132  } else { // otherwise, warn the user and return "user"
133  ATH_MSG_WARNING("AthMonitorAlgorithm::envStringToEnum(): Unknown environment "
134  <<str<<", returning user.");
135  return Environment_t::user;
136  }
137 }

◆ evtStore() [1/2]

ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( ) const
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

StatusCode AthMonitorAlgorithm::execute ( const EventContext &  ctx) const
overridevirtualinherited

Applies filters and trigger requirements.

Then, calls fillHistograms().

Parameters
ctxevent context for reentrant Athena call
Returns
StatusCode

Definition at line 73 of file AthMonitorAlgorithm.cxx.

73  {
74 
75  // Checks that all of the DQ filters are passed. If any one of the filters
76  // fails, return SUCCESS code and do not fill the histograms with the event.
77  for ( const auto& filterItr : m_DQFilterTools ) {
78  if (!filterItr->accept()) {
79  ATH_MSG_DEBUG("Event rejected due to filter tool.");
80  return StatusCode::SUCCESS;
81  }
82  }
83 
84  // Trigger: If there is a decision tool and the chains fail, skip the event.
86  ATH_MSG_DEBUG("Event rejected due to trigger filter.");
87  return StatusCode::SUCCESS;
88  }
89 
90  ATH_MSG_DEBUG("Event accepted!");
91  return fillHistograms(ctx);
92 }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase &  ExtraDeps)
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

◆ extraOutputDeps()

const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps ( ) const
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.

80 {
81  // If we didn't find any symlinks to add, just return the collection
82  // from the base class. Otherwise, return the extended collection.
83  if (!m_extendedExtraObjects.empty()) {
85  }
86  return Algorithm::extraOutputDeps();
87 }

◆ fillHistograms()

StatusCode TrigTauMonitorBaseAlgorithm::fillHistograms ( const EventContext &  ctx) const
overridevirtualinherited

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.

Parameters
ctxforwarded from execute
Returns
StatusCode

Implements AthMonitorAlgorithm.

Definition at line 277 of file TrigTauMonitorBaseAlgorithm.cxx.

278 {
279  ATH_MSG_DEBUG("Executing Monitoring algorithm");
280 
281  // Protect against truncated events
282  // Since this happens very rarely, it won't bias the L1 distributions and efficiencies
283  if(m_trigDecTool->ExperimentalAndExpertMethods().isHLTTruncated()){
284  ATH_MSG_WARNING("HLTResult truncated, skip trigger analysis");
285  return StatusCode::SUCCESS;
286  }
287 
288  // Protect against LAr noise bursts and other detector errors
290  ATH_CHECK(eventInfo.isValid());
291  if (eventInfo->errorState(xAOD::EventInfo::LAr) == xAOD::EventInfo::Error
292  || eventInfo->errorState(xAOD::EventInfo::Tile) == xAOD::EventInfo::Error
293  || eventInfo->errorState(xAOD::EventInfo::SCT) == xAOD::EventInfo::Error
294  || eventInfo->isEventFlagBitSet(xAOD::EventInfo::Core, 18)) {
295  return StatusCode::SUCCESS;
296  }
297 
298  ATH_CHECK(processEvent(ctx));
299 
300  return StatusCode::SUCCESS;
301 }

◆ fillL1cTauVars()

void TrigTauMonitorL1Algorithm::fillL1cTauVars ( const std::string &  trigger,
const std::vector< std::pair< const xAOD::eFexTauRoI *, const xAOD::jFexTauRoI * >> &  rois,
const std::vector< const xAOD::eFexTauRoI * > &  xtob_rois 
) const
private

Definition at line 130 of file TrigTauMonitorL1Algorithm.cxx.

131 {
132  ATH_MSG_DEBUG("Fill L1 variables: " << trigger);
133 
134  auto monGroup = getGroup(trigger+"_L1Vars");
135 
136  auto L1RoIEt = Monitored::Collection("L1RoIEt" , rois, [](const auto L1roi){ return L1roi.first->et()/Gaudi::Units::GeV; });
137  auto L1RoIEta = Monitored::Collection("L1RoIEta" , rois, [](const auto L1roi){ return L1roi.first->eta(); });
138  auto L1RoIPhi = Monitored::Collection("L1RoIPhi" , rois, [](const auto L1roi){ return L1roi.first->phi(); });
139  auto L1eFexRoIRCore = Monitored::Collection("L1eFexRoIRCore", rois, [](const auto L1roi){ return L1roi.first->rCore(); });
140  auto L1eFexRoIRHad = Monitored::Collection("L1eFexRoIRHad" , rois, [](const auto L1roi){ return L1roi.first->rHad(); });
141  auto L1RoIBDTScore = Monitored::Collection("L1eFexRoIBDTScore" , rois, [this, &xtob_rois](const auto L1roi){ return getBDTScore(L1roi.first, xtob_rois); });
142 
143  std::vector<bool> jFex_isMatched;
144  std::vector<float> jFex_eFex_et_ratio;
145  std::vector<float> jFex_isolation;
146  std::vector<float> cTau_isolation;
147  for(const auto& [eFexRoI, jFexRoI] : rois) {
148  if(!jFexRoI) {
149  jFex_isMatched.push_back(false);
150  continue;
151  }
152 
153  jFex_isMatched.push_back(true);
154  jFex_eFex_et_ratio.push_back(jFexRoI->et()/eFexRoI->et());
155  jFex_isolation.push_back(jFexRoI->iso()/Gaudi::Units::GeV);
156  cTau_isolation.push_back(jFexRoI->iso()/eFexRoI->et());
157  }
158  auto L1cTauRoITopoMatch = Monitored::Collection("L1cTauRoITopoMatch" , jFex_isMatched);
159  auto L1jFexRoIIso = Monitored::Collection("L1jFexRoIIso" , jFex_isolation);
160  auto L1cTauRoIIso = Monitored::Collection("L1cTauMatchedRoIIso" , cTau_isolation);
161  auto L1RoIcTauEtRatio = Monitored::Collection("L1RoIcTauMatchedEtRatio", jFex_eFex_et_ratio);
162 
163  fill(monGroup, L1RoIEt, L1RoIEta, L1RoIPhi, L1eFexRoIRCore, L1eFexRoIRHad, L1cTauRoITopoMatch, L1jFexRoIIso, L1cTauRoIIso, L1RoIcTauEtRatio, L1RoIBDTScore );
164 
165  ATH_MSG_DEBUG("After fill L1 variables: " << trigger);
166 }

◆ fillL1Efficiencies()

template<typename T = xAOD::eFexTauRoI>
void TrigTauMonitorL1Algorithm::fillL1Efficiencies ( const EventContext &  ctx,
const std::vector< const xAOD::TauJet * > &  offline_tau_vec,
const std::string &  nProng,
const std::string &  trigger,
const std::vector< const T * > &  rois 
) const
inlineprivate

Definition at line 29 of file TrigTauMonitorL1Algorithm.h.

30  {
31  ATH_MSG_DEBUG("Fill L1 efficiencies: " << trigger);
32 
33  const TrigTauInfo& info = getTrigInfo(trigger);
34 
35  auto monGroup = getGroup(trigger+"_L1_Efficiency_"+nProng);
36 
37  auto tauPt = Monitored::Scalar<float>("tauPt", 0.0);
38  auto tauEta = Monitored::Scalar<float>("tauEta", 0.0);
39  auto tauPhi = Monitored::Scalar<float>("tauPhi", 0.0);
40  auto averageMu = Monitored::Scalar<float>("averageMu", 0.0);
41  auto L1_match = Monitored::Scalar<bool>("L1_pass", false);
42  auto L1_match_highPt = Monitored::Scalar<bool>("L1_pass_highPt", false);
43 
44  averageMu = lbAverageInteractionsPerCrossing(ctx);
45 
46  for(const xAOD::TauJet* offline_tau : offline_tau_vec) {
47  tauPt = offline_tau->pt()/Gaudi::Units::GeV;
48  tauEta = offline_tau->eta();
49  tauPhi = offline_tau->phi();
50 
51  bool is_highPt = tauPt > info.getL1TauThreshold() + 20.0;
52 
53  L1_match = false;
54  for(const T* roi : rois) {
55  L1_match = matchObjects(offline_tau, roi, 0.3);
56  if(L1_match) break;
57  }
58 
59  fill(monGroup, tauPt, tauEta, tauPhi, averageMu, L1_match);
60 
61  if(is_highPt) {
62  L1_match_highPt = static_cast<bool>(L1_match);
63  fill(monGroup, tauEta, tauPhi, L1_match_highPt);
64  }
65  }
66 
67  ATH_MSG_DEBUG("After fill L1 efficiencies: " << trigger);
68  }

◆ fillL1eTauVars()

void TrigTauMonitorL1Algorithm::fillL1eTauVars ( const std::string &  trigger,
const std::vector< const xAOD::eFexTauRoI * > &  rois,
const std::vector< const xAOD::eFexTauRoI * > &  xtob_rois 
) const
private

Definition at line 94 of file TrigTauMonitorL1Algorithm.cxx.

95 {
96  ATH_MSG_DEBUG("Fill L1 variables: " << trigger);
97 
98  auto monGroup = getGroup(trigger+"_L1Vars");
99 
100  auto L1RoIEt = Monitored::Collection("L1RoIEt" , rois, [](const xAOD::eFexTauRoI* L1roi){ return L1roi->et()/Gaudi::Units::GeV; });
101  auto L1RoIEta = Monitored::Collection("L1RoIEta" , rois, [](const xAOD::eFexTauRoI* L1roi){ return L1roi->eta(); });
102  auto L1RoIPhi = Monitored::Collection("L1RoIPhi" , rois, [](const xAOD::eFexTauRoI* L1roi){ return L1roi->phi(); });
103  auto L1RoIRCore = Monitored::Collection("L1eFexRoIRCore", rois, [](const xAOD::eFexTauRoI* L1roi){ return L1roi->rCore(); });
104  auto L1RoIRHad = Monitored::Collection("L1eFexRoIRHad" , rois, [](const xAOD::eFexTauRoI* L1roi){ return L1roi->rHad(); });
105  auto L1RoIBDTScore = Monitored::Collection("L1eFexRoIBDTScore" , rois, [this, &xtob_rois](const xAOD::eFexTauRoI* L1roi){ return getBDTScore(L1roi, xtob_rois); });
106  fill(monGroup, L1RoIEt, L1RoIEta, L1RoIPhi, L1RoIRCore, L1RoIRHad, L1RoIBDTScore);
107 
108  ATH_MSG_DEBUG("After fill L1 variables: " << trigger);
109 }

◆ fillL1jTauVars()

void TrigTauMonitorL1Algorithm::fillL1jTauVars ( const std::string &  trigger,
const std::vector< const xAOD::jFexTauRoI * > &  rois 
) const
private

Definition at line 112 of file TrigTauMonitorL1Algorithm.cxx.

113 {
114  ATH_MSG_DEBUG("Fill L1 variables: " << trigger);
115 
116  auto monGroup = getGroup(trigger+"_L1Vars");
117 
118  auto L1RoIEt = Monitored::Collection("L1RoIEt" , rois, [](const xAOD::jFexTauRoI* L1roi){ return L1roi->et()/Gaudi::Units::GeV; });
119  auto L1RoIEta = Monitored::Collection("L1RoIEta" , rois, [](const xAOD::jFexTauRoI* L1roi){ return L1roi->eta(); });
120  auto L1RoIPhi = Monitored::Collection("L1RoIPhi" , rois, [](const xAOD::jFexTauRoI* L1roi){ return L1roi->phi(); });
121  auto L1jFexRoIIso = Monitored::Collection("L1jFexRoIIso", rois, [](const xAOD::jFexTauRoI* L1roi){ return L1roi->iso()/Gaudi::Units::GeV; });
122 
123  fill(monGroup, L1RoIEt, L1RoIEta, L1RoIPhi, L1jFexRoIIso);
124 
125  ATH_MSG_DEBUG("After fill L1 variables: " << trigger);
126 }

◆ fillL1LegacyVars()

void TrigTauMonitorL1Algorithm::fillL1LegacyVars ( const std::string &  trigger,
const std::vector< const xAOD::EmTauRoI * > &  rois 
) const
private

Definition at line 169 of file TrigTauMonitorL1Algorithm.cxx.

170 {
171  ATH_MSG_DEBUG("Fill L1 variables: " << trigger);
172 
173  auto monGroup = getGroup(trigger+"_L1Vars");
174 
175  auto L1RoIEt = Monitored::Collection("L1RoIEt" , rois, [](const xAOD::EmTauRoI* L1roi){ return L1roi->eT()/Gaudi::Units::GeV; });
176  auto L1RoIEta = Monitored::Collection("L1RoIEta" , rois, [](const xAOD::EmTauRoI* L1roi){ return L1roi->eta(); });
177  auto L1RoIPhi = Monitored::Collection("L1RoIPhi" , rois, [](const xAOD::EmTauRoI* L1roi){ return L1roi->phi(); });
178  auto L1RoITauClus = Monitored::Collection("L1RoITauClus", rois, [](const xAOD::EmTauRoI* L1roi){ return L1roi->tauClus()/Gaudi::Units::GeV; });
179  auto L1RoIEMIsol = Monitored::Collection("L1RoIEMIsol" , rois, [](const xAOD::EmTauRoI* L1roi){ return L1roi->emIsol()/Gaudi::Units::GeV; });
180  auto L1RoIHadCore = Monitored::Collection("L1RoIHadCore", rois, [](const xAOD::EmTauRoI* L1roi){ return L1roi->hadCore()/Gaudi::Units::GeV; });
181  auto L1RoIHadIsol = Monitored::Collection("L1RoIHadIsol", rois, [](const xAOD::EmTauRoI* L1roi){ return L1roi->hadIsol()/Gaudi::Units::GeV; });
182 
183  fill(monGroup, L1RoIEt, L1RoIEta, L1RoIPhi, L1RoITauClus, L1RoIEMIsol, L1RoIHadCore, L1RoIHadIsol);
184 
185  ATH_MSG_DEBUG("After fill L1 variables: " << trigger);
186 }

◆ filterPassed()

virtual bool AthReentrantAlgorithm::filterPassed ( const EventContext &  ctx) const
inlinevirtualinherited

Definition at line 135 of file AthReentrantAlgorithm.h.

135  {
136  return execState( ctx ).filterPassed();
137  }

◆ getBDTScore()

unsigned int TrigTauMonitorL1Algorithm::getBDTScore ( const xAOD::eFexTauRoI roi,
const std::vector< const xAOD::eFexTauRoI * > &  xtob_rois 
) const
private

Definition at line 205 of file TrigTauMonitorL1Algorithm.cxx.

206 {
207  if(xtob_rois.empty()) return 0;
208 
209  for(const xAOD::eFexTauRoI* xroi : xtob_rois) {
210  if(xroi->eta() == roi->eta() && xroi->phi() == roi->phi()) return xroi->bdtScore();
211  }
212  ATH_MSG_DEBUG("Unmatched RoI! et=" << roi->et() << ", eta=" << roi->eta() << ", phi=" << roi->phi());
213  for(const xAOD::eFexTauRoI* xroi : xtob_rois) {
214  ATH_MSG_DEBUG(" - xRoI et=" << xroi->et() << ", eta=" << xroi->eta() << ", phi=" << xroi->phi());
215  }
216  return 0;
217 }

◆ GetEventInfo()

SG::ReadHandle< xAOD::EventInfo > AthMonitorAlgorithm::GetEventInfo ( const EventContext &  ctx) const
inherited

Return a ReadHandle for an EventInfo object (get run/event numbers, etc.)

Parameters
ctxEventContext for the event
Returns
a SG::ReadHandle<xAOD::EventInfo>

Definition at line 107 of file AthMonitorAlgorithm.cxx.

107  {
109 }

◆ getGroup()

const ToolHandle< GenericMonitoringTool > & AthMonitorAlgorithm::getGroup ( const std::string &  name) const
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.

Parameters
namestring name of the desired tool
Returns
reference to the desired monitoring tool

Definition at line 164 of file AthMonitorAlgorithm.cxx.

164  {
165  // get the pointer to the tool, and check that it exists
166  auto idx = m_toolLookupMap.find(name);
167  if (ATH_LIKELY(idx != m_toolLookupMap.end())) {
168  return m_tools[idx->second];
169  }
170  else {
171  if (!isInitialized()) {
173  "It seems that the AthMonitorAlgorithm::initialize was not called "
174  "in derived class initialize method");
175  } else {
176  std::string available = std::accumulate(
177  m_toolLookupMap.begin(), m_toolLookupMap.end(), std::string(""),
178  [](const std::string& s, auto h) { return s + "," + h.first; });
179  ATH_MSG_FATAL("The tool " << name << " could not be found in the tool array of the "
180  << "monitoring algorithm " << m_name << ". This probably reflects a discrepancy between "
181  << "your python configuration and c++ filling code. Note: your available groups are {"
182  << available << "}.");
183  }
184  }
185  return m_dummy;
186 }

◆ getL1cTAUs()

std::vector< std::pair< const xAOD::eFexTauRoI *, const xAOD::jFexTauRoI * > > TrigTauMonitorBaseAlgorithm::getL1cTAUs ( const EventContext &  ctx,
const std::string &  l1_item 
) const
protectedinherited

Definition at line 189 of file TrigTauMonitorBaseAlgorithm.cxx.

190 {
191  std::vector<std::pair<const xAOD::eFexTauRoI*, const xAOD::jFexTauRoI*>> roi_vec;
192 
194  if(!rois.isValid()) {
195  ATH_MSG_WARNING("Failed to retrieve the L1_cTauRoi container");
196  return roi_vec;
197  }
199  if(!jTau_roi_link.isValid()) {
200  ATH_MSG_WARNING("Failed to create jTauLink accessor for the L1_cTauRoi container");
201  return roi_vec;
202  }
203 
205  for(size_t i = 0; i < rois->size(); i++) {
206  const xAOD::eFexTauRoI* roi = (*rois)[i];
207  const xAOD::jFexTauRoI* jTau_roi = jTau_roi_link(i).isValid() ? *jTau_roi_link(i) : nullptr;
208 
209  // Select by RoI ET value only
210  if(roi->et() > m_L1_Phase1_thresholds.value().at(l1_item)) roi_vec.push_back(std::make_pair(roi, jTau_roi));
211  }
212  } else {
214  if(!thresholdPatterns.isValid()) {
215  ATH_MSG_WARNING("Failed to create thresholdPatterns property accessor for the L1_cTauRoi container");
216  return roi_vec;
217  }
218 
219  for(size_t i = 0; i < rois->size(); i++) {
220  const xAOD::eFexTauRoI* roi = (*rois)[i];
221  const xAOD::jFexTauRoI* jTau_roi = jTau_roi_link(i).isValid() ? *jTau_roi_link(i) : nullptr;
222 
223  // Check that the RoI passed the threshold selection
224  if(thresholdPatterns(*roi) & m_L1_Phase1_threshold_patterns.value().at(l1_item)) roi_vec.push_back(std::make_pair(roi, jTau_roi));
225  }
226  }
227 
228 
229  return roi_vec;
230 }

◆ getL1eTAUs()

std::vector< const xAOD::eFexTauRoI * > TrigTauMonitorBaseAlgorithm::getL1eTAUs ( const EventContext &  ctx,
const std::string &  l1_item 
) const
protectedinherited

Definition at line 125 of file TrigTauMonitorBaseAlgorithm.cxx.

126 {
127  std::vector<const xAOD::eFexTauRoI*> roi_vec;
128 
130  if(!rois.isValid()) {
131  ATH_MSG_WARNING("Failed to retrieve the L1_eTauRoi container");
132  return roi_vec;
133  }
134 
136  for(const xAOD::eFexTauRoI* roi : *rois) {
137  // Select by RoI ET value only
138  if(roi->et() > m_L1_Phase1_thresholds.value().at(l1_item)) roi_vec.push_back(roi);
139  }
140  } else {
142  if(!thresholdPatterns.isValid()) {
143  ATH_MSG_WARNING("Failed to create thresholdPatterns property accessor for the L1_eTauRoi container");
144  return roi_vec;
145  }
146 
147  for(const xAOD::eFexTauRoI* roi : *rois) {
148  // Check that the RoI passed the threshold selection
149  if(thresholdPatterns(*roi) & m_L1_Phase1_threshold_patterns.value().at(l1_item)) roi_vec.push_back(roi);
150  }
151  }
152 
153  return roi_vec;
154 }

◆ getL1jTAUs()

std::vector< const xAOD::jFexTauRoI * > TrigTauMonitorBaseAlgorithm::getL1jTAUs ( const EventContext &  ctx,
const std::string &  l1_item 
) const
protectedinherited

Definition at line 157 of file TrigTauMonitorBaseAlgorithm.cxx.

158 {
159  std::vector<const xAOD::jFexTauRoI*> roi_vec;
160 
162  if(!rois.isValid()) {
163  ATH_MSG_WARNING("Failed to retrieve the L1_jTauRoi container");
164  return roi_vec;
165  }
166 
168  for(const xAOD::jFexTauRoI* roi : *rois) {
169  // Select by RoI ET value only
170  if(roi->et() > m_L1_Phase1_thresholds.value().at(l1_item)) roi_vec.push_back(roi);
171  }
172  } else {
174  if(!thresholdPatterns.isValid()) {
175  ATH_MSG_WARNING("Failed to create thresholdPatterns property accessor for the L1_jTauRoi container");
176  return roi_vec;
177  }
178 
179  for(const xAOD::jFexTauRoI* roi : *rois) {
180  // Check that the RoI passed the threshold selection
181  if(thresholdPatterns(*roi) & m_L1_Phase1_threshold_patterns.value().at(l1_item)) roi_vec.push_back(roi);
182  }
183  }
184 
185  return roi_vec;
186 }

◆ getL1LegacyTAUs()

std::vector< const xAOD::EmTauRoI * > TrigTauMonitorBaseAlgorithm::getL1LegacyTAUs ( const EventContext &  ctx,
const std::string &  l1_item 
) const
protectedinherited

Definition at line 233 of file TrigTauMonitorBaseAlgorithm.cxx.

234 {
235  std::vector<const xAOD::EmTauRoI*> roi_vec;
236 
238  if(!rois.isValid()) {
239  ATH_MSG_WARNING("Failed to retrieve EmTauRoI ");
240  return roi_vec;
241  }
242 
243  for(const xAOD::EmTauRoI* roi : *rois) {
244  for(const std::string& thr_item : roi->thrNames()) {
245  // check which threshold has passed based on the current L1 item under monitoring
246  // reference : https://gitlab.cern.ch/atlas/athena/-/blob/master/Trigger/TriggerCommon/TriggerMenuMT/python/L1/Config/ItemDef.py
247  if((l1_item.find("TAU8") != std::string::npos && thr_item.find("HA8") != std::string::npos)
248  || (l1_item.find("TAU12IM") != std::string::npos && thr_item.find("HA12IM") != std::string::npos)
249  || (l1_item.find("TAU20IM") != std::string::npos && thr_item.find("HA20IM") != std::string::npos)
250  || (l1_item.find("TAU40") != std::string::npos && thr_item.find("HA40") != std::string::npos)
251  || (l1_item.find("TAU60") != std::string::npos && thr_item.find("HA60") != std::string::npos)
252  || (l1_item.find("TAU100") != std::string::npos && thr_item.find("HA100") != std::string::npos)) {
253  roi_vec.push_back(roi);
254  break;
255  }
256  }
257  }
258 
259  return roi_vec;
260 }

◆ getL1xTOBeTAUs()

std::vector< const xAOD::eFexTauRoI * > TrigTauMonitorL1Algorithm::getL1xTOBeTAUs ( ) const
private

Definition at line 189 of file TrigTauMonitorL1Algorithm.cxx.

190 {
191  std::vector<const xAOD::eFexTauRoI*> roi_vec;
192 
193  if(m_phase1l1eTauxRoIKey.empty()) return roi_vec;
194 
196  if(!rois.isValid()) {
197  ATH_MSG_WARNING("The L1_eTauxRoI container is not available! No e/cTAU BDT score will be retrieved");
198  return roi_vec;
199  }
200 
201  for(const xAOD::eFexTauRoI* roi : *rois) roi_vec.push_back(roi);
202  return roi_vec;
203 }

◆ getOfflineTaus()

std::pair< std::vector< const xAOD::TauJet * >, std::vector< const xAOD::TauJet * > > TrigTauMonitorBaseAlgorithm::getOfflineTaus ( const EventContext &  ctx,
const float  threshold = 20.0 
) const
protectedinherited

Definition at line 119 of file TrigTauMonitorBaseAlgorithm.cxx.

120 {
122 }

◆ getOfflineTausAll()

std::vector< const xAOD::TauJet * > TrigTauMonitorBaseAlgorithm::getOfflineTausAll ( const EventContext &  ctx,
const float  threshold = 20.0 
) const
protectedinherited

Definition at line 83 of file TrigTauMonitorBaseAlgorithm.cxx.

84 {
85  ATH_MSG_DEBUG("Retrieving offline Taus");
86 
87  std::vector<const xAOD::TauJet*> tau_vec;
88 
90  if(!taus.isValid()) {
91  ATH_MSG_WARNING("Failed to retrieve offline Taus");
92  return tau_vec;
93  }
94 
95  for(const xAOD::TauJet* const tau : *taus) {
96  // Consider only offline taus with a certain minimum pT
97  if(tau->pt() < threshold*Gaudi::Units::GeV) continue;
98 
99  // Consider only offline taus outside of the crack region
100  if(std::abs(tau->eta()) > 1.37 && std::abs(tau->eta()) < 1.52) continue;
101 
102  // Consider only offline taus which pass RNN medium WP
103  if(!tau->isTau(xAOD::TauJetParameters::JetRNNSigMedium)) continue;
104 
105  // Consider only offline taus which pass thinning
106  static const SG::ConstAccessor<char> passThinningAcc("passThinning");
107  if(!passThinningAcc.withDefault(*tau, true)) continue;
108 
109  int nTracks = -1;
110  tau->detail(xAOD::TauJetParameters::nChargedTracks, nTracks);
111  ATH_MSG_DEBUG("NTracks Offline: " << nTracks);
112  if(nTracks == 1 || nTracks == 3) tau_vec.push_back(tau);
113  }
114 
115  return tau_vec;
116 }

◆ getOnlineContainerKey()

const SG::ReadHandleKey< xAOD::TauJetContainer > & TrigTauMonitorBaseAlgorithm::getOnlineContainerKey ( const std::string &  trigger) const
privateinherited

Definition at line 263 of file TrigTauMonitorBaseAlgorithm.cxx.

264 {
265  const TrigTauInfo& info = getTrigInfo(trigger);
266  if(info.getHLTTauType() == "tracktwoMVA" || info.getHLTTauType() == "tracktwoMVABDT") return m_hltTauJetKey;
267  else if(info.getHLTTauType() == "tracktwoLLP") return m_hltTauJetLLPKey;
268  else if(info.getHLTTauType() == "trackLRT") return m_hltTauJetLRTKey;
269  else if(info.getHLTTauType() == "ptonly") return m_hltTauJetCaloMVAOnlyKey;
270  else {
271  ATH_MSG_ERROR("Unknown HLT TauJet container for chain: \"" << trigger << "\", of type \"" << info.getHLTTauType() << "\". Returning the default \"" << m_hltTauJetKey.key() << "\"");
272  return m_hltTauJetKey;
273  }
274 }

◆ getOnlineTaus()

std::tuple< std::vector< const xAOD::TauJet * >, std::vector< const xAOD::TauJet * >, std::vector< const xAOD::TauJet * > > TrigTauMonitorBaseAlgorithm::getOnlineTaus ( const std::string &  trigger) const
protectedinherited

Definition at line 77 of file TrigTauMonitorBaseAlgorithm.cxx.

78 {
79  return classifyOnlineTaus(getOnlineTausAll(trigger, true), 0.0);
80 }

◆ getOnlineTausAll()

std::vector< const xAOD::TauJet * > TrigTauMonitorBaseAlgorithm::getOnlineTausAll ( const std::string &  trigger,
bool  include_0P = true 
) const
protectedinherited

Definition at line 55 of file TrigTauMonitorBaseAlgorithm.cxx.

56 {
57  std::vector<const xAOD::TauJet*> tau_vec;
58 
59  const std::string tau_container_name = getOnlineContainerKey(trigger).key();
60  ATH_MSG_DEBUG("Tau container name is: " << tau_container_name);
61  auto vec = m_trigDecTool->features<xAOD::TauJetContainer>(trigger, TrigDefs::Physics, tau_container_name);
62  for(auto& featLinkInfo : vec) {
63  const xAOD::TauJet* feat = *(featLinkInfo.link);
64  if(!feat) continue;
65 
66  int nTracks = -1;
68  ATH_MSG_DEBUG("NTracks Online: " << nTracks);
69 
70  if(include_0P && nTracks == 0) tau_vec.push_back(feat);
71  else tau_vec.push_back(feat);
72  }
73 
74  return tau_vec;
75 }

◆ getTrigDecisionTool()

const ToolHandle< Trig::TrigDecisionTool > & AthMonitorAlgorithm::getTrigDecisionTool ( ) const
inherited

Get the trigger decision tool member.

The trigger decision tool is used to check whether a specific trigger is passed by an event.

Returns
m_trigDecTool

Definition at line 189 of file AthMonitorAlgorithm.cxx.

189  {
190  return m_trigDecTool;
191 }

◆ getTrigInfo()

const TrigTauInfo& TrigTauMonitorBaseAlgorithm::getTrigInfo ( const std::string &  trigger) const
inlineprotectedinherited

Definition at line 45 of file TrigTauMonitorBaseAlgorithm.h.

45 { return m_trigInfo.at(trigger); }

◆ getTrigInfoMap()

std::map<std::string, TrigTauInfo>& TrigTauMonitorBaseAlgorithm::getTrigInfoMap ( )
inlineprotectedinherited

Definition at line 44 of file TrigTauMonitorBaseAlgorithm.h.

44 { return m_trigInfo; }

◆ initialize()

StatusCode TrigTauMonitorL1Algorithm::initialize ( )
overridevirtual

initialize

Returns
StatusCode

Reimplemented from TrigTauMonitorBaseAlgorithm.

Definition at line 13 of file TrigTauMonitorL1Algorithm.cxx.

14 {
16 
18 
19  return StatusCode::SUCCESS;
20 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
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.

◆ isClonable()

bool AthReentrantAlgorithm::isClonable ( ) const
overridevirtualinherited

◆ matchObjects() [1/3]

template<typename T1 = xAOD::IParticle, typename T2 = xAOD::IParticle>
bool TrigTauMonitorBaseAlgorithm::matchObjects ( const T1 *  tau,
const std::vector< const T2 * > &  tau_vec,
float  threshold 
) const
inlineprotectedinherited

Definition at line 73 of file TrigTauMonitorBaseAlgorithm.h.

74  {
75  for(auto tau_2 : tau_vec) {
76  if(tau->p4().DeltaR(tau_2->p4()) < threshold) return true;
77  }
78  return false;
79  }

◆ matchObjects() [2/3]

template<typename T1 = xAOD::IParticle, typename T2 = xAOD::eFexTauRoI>
bool TrigTauMonitorBaseAlgorithm::matchObjects ( const T1 *  tau_1,
const T2 *  tau_2,
float  threshold 
) const
inlineprotectedinherited

Definition at line 90 of file TrigTauMonitorBaseAlgorithm.h.

91  {
92  return dR(tau_1->eta(), tau_1->phi(), tau_2->eta(), tau_2->phi()) < threshold;
93  }

◆ matchObjects() [3/3]

bool TrigTauMonitorBaseAlgorithm::matchObjects ( const TLorentzVector &  tau,
const std::vector< TLorentzVector > &  tau_vec,
float  threshold 
) const
inlineprotectedinherited

Definition at line 81 of file TrigTauMonitorBaseAlgorithm.h.

82  {
83  for(auto& tau_2 : tau_vec) {
84  if(tau.DeltaR(tau_2) < threshold) return true;
85  }
86  return false;
87  }

◆ matchTruthObjects()

template<typename T1 = xAOD::IParticle, typename T2 = xAOD::IParticle>
bool TrigTauMonitorBaseAlgorithm::matchTruthObjects ( const T1 *  true_tau,
const std::vector< const T2 * > &  tau_vec,
float  threshold 
) const
inlineprotectedinherited

Definition at line 96 of file TrigTauMonitorBaseAlgorithm.h.

97  {
98  static const SG::AuxElement::ConstAccessor<double> acc_ptvis("pt_vis");
99  static const SG::AuxElement::ConstAccessor<double> acc_etavis("eta_vis");
100  static const SG::AuxElement::ConstAccessor<double> acc_phivis("phi_vis");
101  static const SG::AuxElement::ConstAccessor<double> acc_mvis("mvis");
102  TLorentzVector true_tau_p4;
103  true_tau_p4.SetPtEtaPhiM(acc_ptvis(*true_tau), acc_etavis(*true_tau), acc_phivis(*true_tau), acc_mvis(*true_tau));
104 
105  for(auto tau : tau_vec) {
106  if(true_tau_p4.DeltaR(tau->p4()) < threshold) return true;
107  }
108  return false;
109  }

◆ msg() [1/2]

MsgStream& AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24  {
25  return this->msgStream();
26  }

◆ msg() [2/2]

MsgStream& AthCommonMsg< Gaudi::Algorithm >::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30  {
31  return this->msgLevel(lvl);
32  }

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
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.

◆ parseList()

StatusCode AthMonitorAlgorithm::parseList ( const std::string &  line,
std::vector< std::string > &  result 
) const
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.

Parameters
lineThe input string.
resultThe parsed output vector of strings.
Returns
StatusCode

Definition at line 336 of file AthMonitorAlgorithm.cxx.

336  {
337  std::string item;
338  std::stringstream ss(line);
339 
340  ATH_MSG_DEBUG( "AthMonitorAlgorithm::parseList()" );
341 
342  while ( std::getline(ss, item, ',') ) {
343  std::stringstream iss(item); // remove whitespace
344  iss >> item;
345  result.push_back(item);
346  }
347 
348  return StatusCode::SUCCESS;
349 }

◆ processEvent()

StatusCode TrigTauMonitorL1Algorithm::processEvent ( const EventContext &  ctx) const
overrideprivatevirtual

Implements TrigTauMonitorBaseAlgorithm.

Definition at line 22 of file TrigTauMonitorL1Algorithm.cxx.

23 {
24  constexpr float threshold_offset = 10.0;
25 
26  // Offline taus
27  auto offline_taus_all = getOfflineTausAll(ctx, 0.0);
28 
29  if(m_requireOfflineTaus && offline_taus_all.empty()) return StatusCode::SUCCESS;
30 
31  // xTOB-based eTAU RoIs
32  // If the container is not in SG, it'll return an empty vector
33  const std::vector<const xAOD::eFexTauRoI*> xtob_etau_rois = getL1xTOBeTAUs();
34 
35  for(const std::string& trigger : m_triggers) {
36  const TrigTauInfo& info = getTrigInfo(trigger);
37 
38  if(!info.isL1TauOnly()) {
39  ATH_MSG_WARNING("Chain \"" << trigger << "\" is not an L1 tau trigger. Skipping...");
40  continue;
41  }
42 
43  // Filter offline taus
44  auto offline_taus = classifyOfflineTaus(offline_taus_all, info.getL1TauThreshold() - threshold_offset);
45  std::vector<const xAOD::TauJet*> offline_taus_1p = offline_taus.first;
46  std::vector<const xAOD::TauJet*> offline_taus_3p = offline_taus.second;
47 
48  if(info.getL1TauType() == "eTAU") {
49  std::vector<const xAOD::eFexTauRoI*> rois = getL1eTAUs(ctx, info.getL1TauItem());
50 
51  if(m_do_variable_plots) fillL1eTauVars(trigger, rois, xtob_etau_rois);
53  fillL1Efficiencies(ctx, offline_taus_1p, "1P", trigger, rois);
54  fillL1Efficiencies(ctx, offline_taus_3p, "3P", trigger, rois);
55  }
56 
57  } else if(info.getL1TauType() == "jTAU") {
58  std::vector<const xAOD::jFexTauRoI*> rois = getL1jTAUs(ctx, info.getL1TauItem());
59 
62  fillL1Efficiencies(ctx, offline_taus_1p, "1P", trigger, rois);
63  fillL1Efficiencies(ctx, offline_taus_3p, "3P", trigger, rois);
64  }
65 
66  } else if(info.getL1TauType() == "cTAU") {
67  std::vector<std::pair<const xAOD::eFexTauRoI*, const xAOD::jFexTauRoI*>> rois = getL1cTAUs(ctx, info.getL1TauItem());
68 
69  std::vector<const xAOD::eFexTauRoI*> eTau_rois;
70  eTau_rois.reserve(rois.size());
71 for(const auto& [eTau_roi, jTau_roi] : rois) eTau_rois.push_back(eTau_roi);
72 
73  if(m_do_variable_plots) fillL1cTauVars(trigger, rois, xtob_etau_rois);
75  fillL1Efficiencies(ctx, offline_taus_1p, "1P", trigger, eTau_rois);
76  fillL1Efficiencies(ctx, offline_taus_3p, "3P", trigger, eTau_rois);
77  }
78 
79  } else { // Legacy
80  std::vector<const xAOD::EmTauRoI*> rois = getL1LegacyTAUs(ctx, info.getL1TauItem());
81 
84  fillL1Efficiencies(ctx, offline_taus_1p, "1P", trigger, rois);
85  fillL1Efficiencies(ctx, offline_taus_3p, "3P", trigger, rois);
86  }
87  }
88  }
89 
90  return StatusCode::SUCCESS;
91 }

◆ renounce()

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> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ setFilterPassed()

virtual void AthReentrantAlgorithm::setFilterPassed ( bool  state,
const EventContext &  ctx 
) const
inlinevirtualinherited

Definition at line 139 of file AthReentrantAlgorithm.h.

139  {
140  execState( ctx ).setFilterPassed( state );
141  }

◆ sysExecute()

StatusCode AthReentrantAlgorithm::sysExecute ( const EventContext &  ctx)
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.

68 {
69  return Gaudi::Algorithm::sysExecute (ctx);
70 }

◆ sysInitialize()

StatusCode AthReentrantAlgorithm::sysInitialize ( )
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.

96  {
98 
99  if (sc.isFailure()) {
100  return sc;
101  }
102 
103  ServiceHandle<ICondSvc> cs("CondSvc",name());
104  for (auto h : outputHandles()) {
105  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
106  // do this inside the loop so we don't create the CondSvc until needed
107  if ( cs.retrieve().isFailure() ) {
108  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
109  return StatusCode::SUCCESS;
110  }
111  if (cs->regHandle(this,*h).isFailure()) {
112  sc = StatusCode::FAILURE;
113  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
114  << " with CondSvc");
115  }
116  }
117  }
118  return sc;
119 }

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ trigChainsArePassed()

bool AthMonitorAlgorithm::trigChainsArePassed ( const std::vector< std::string > &  vTrigNames) const
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.

Parameters
vTrigNamesList of trigger names.
Returns
If empty input, default to true. If at least one trigger is specified, returns whether at least one trigger was passed.

Definition at line 194 of file AthMonitorAlgorithm.cxx.

194  {
195 
196 
197  // If no triggers were given, return true.
198  if (vTrigNames.empty()) return true;
199 
200 
201  // Trigger: Check if this Algorithm is being run as an Express Stream job.
202  // Events are entering the express stream are chosen randomly, and by chain,
203  // Hence an additional check should be aplied to see if the chain(s)
204  // monitored here are responsible for the event being selected for
205  // the express stream.
206 
207  const auto group = m_trigDecTool->getChainGroup(vTrigNames);
209  const auto passedBits = m_trigDecTool->isPassedBits(group);
210  bool expressPass = passedBits & TrigDefs::Express_passed; //bitwise AND
211  if(!expressPass) {
212  return false;
213  }
214  }
215 
216  // monitor the event if any of the chains in the chain group passes the event.
217  return group->isPassed();
218 
219 }

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase &  )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308  {
309  // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310  // << " size: " << m_vhka.size() << endmsg;
311  for (auto &a : m_vhka) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ m_dataType

AthMonitorAlgorithm::DataType_t AthMonitorAlgorithm::m_dataType
protectedinherited

Instance of the DataType_t enum.

Definition at line 351 of file AthMonitorAlgorithm.h.

◆ m_dataTypeStr

Gaudi::Property<std::string> AthMonitorAlgorithm::m_dataTypeStr {this,"DataType","userDefined"}
protectedinherited

DataType string pulled from the job option and converted to enum.

Definition at line 353 of file AthMonitorAlgorithm.h.

◆ m_defaultLBDuration

Gaudi::Property<float> AthMonitorAlgorithm::m_defaultLBDuration {this,"DefaultLBDuration",60.}
protectedinherited

Default duration of one lumi block.

Definition at line 360 of file AthMonitorAlgorithm.h.

◆ m_detailLevel

Gaudi::Property<int> AthMonitorAlgorithm::m_detailLevel {this,"DetailLevel",0}
protectedinherited

Sets the level of detail used in the monitoring.

Definition at line 361 of file AthMonitorAlgorithm.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_do_efficiency_plots

Gaudi::Property<bool> TrigTauMonitorBaseAlgorithm::m_do_efficiency_plots {this, "DoEfficiencyPlots", true}
protectedinherited

Definition at line 40 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_do_variable_plots

Gaudi::Property<bool> TrigTauMonitorBaseAlgorithm::m_do_variable_plots {this, "DoVariablePlots", true}
protectedinherited

Definition at line 41 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_DQFilterTools

ToolHandleArray<IDQFilterTool> AthMonitorAlgorithm::m_DQFilterTools {this,"FilterTools",{}}
protectedinherited

Array of Data Quality filter tools.

Definition at line 341 of file AthMonitorAlgorithm.h.

◆ m_dummy

const ToolHandle<GenericMonitoringTool> AthMonitorAlgorithm::m_dummy
privateinherited

Definition at line 369 of file AthMonitorAlgorithm.h.

◆ m_enforceExpressTriggers

Gaudi::Property<bool> AthMonitorAlgorithm::m_enforceExpressTriggers
privateinherited
Initial value:
{this,
"EnforceExpressTriggers", false,
"Requires that matched triggers made the event enter the express stream"}

Definition at line 372 of file AthMonitorAlgorithm.h.

◆ m_environment

AthMonitorAlgorithm::Environment_t AthMonitorAlgorithm::m_environment
protectedinherited

Instance of the Environment_t enum.

Definition at line 350 of file AthMonitorAlgorithm.h.

◆ m_environmentStr

Gaudi::Property<std::string> AthMonitorAlgorithm::m_environmentStr {this,"Environment","user"}
protectedinherited

Environment string pulled from the job option and converted to enum.

Definition at line 352 of file AthMonitorAlgorithm.h.

◆ m_eventInfoDecorKey

SG::ReadDecorHandleKey<xAOD::EventInfo> TrigTauMonitorBaseAlgorithm::m_eventInfoDecorKey {this, "LArStatusFlag", "EventInfo.larFlags", "Key for EventInfo object"}
privateinherited

Definition at line 120 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_EventInfoKey

SG::ReadHandleKey<xAOD::EventInfo> AthMonitorAlgorithm::m_EventInfoKey {this,"EventInfoKey","EventInfo"}
protectedinherited

Key for retrieving EventInfo from StoreGate.

Definition at line 362 of file AthMonitorAlgorithm.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects
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.

◆ m_fileKey

Gaudi::Property<std::string> AthMonitorAlgorithm::m_fileKey {this,"FileKey",""}
protectedinherited

Internal Athena name for file.

Definition at line 358 of file AthMonitorAlgorithm.h.

◆ m_hltTauJetCaloMVAOnlyKey

SG::ReadHandleKey<xAOD::TauJetContainer> TrigTauMonitorBaseAlgorithm::m_hltTauJetCaloMVAOnlyKey {this, "HLTTauJetCaloMVAOnlyKey", "HLT_TrigTauRecMerged_CaloMVAOnly", "HLT ptonly taujet container key"}
privateinherited

Definition at line 136 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_hltTauJetKey

SG::ReadHandleKey<xAOD::TauJetContainer> TrigTauMonitorBaseAlgorithm::m_hltTauJetKey {this, "HLTTauJetKey", "HLT_TrigTauRecMerged_MVA", "HLT tracktwoMVA taujet container key"}
privateinherited

Definition at line 133 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_hltTauJetLLPKey

SG::ReadHandleKey<xAOD::TauJetContainer> TrigTauMonitorBaseAlgorithm::m_hltTauJetLLPKey {this, "HLTTauJetLLPKey", "HLT_TrigTauRecMerged_LLP", "HLT tracktwoLLP taujet container key"}
privateinherited

Definition at line 134 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_hltTauJetLRTKey

SG::ReadHandleKey<xAOD::TauJetContainer> TrigTauMonitorBaseAlgorithm::m_hltTauJetLRTKey {this, "HLTTauJetLRTKey", "HLT_TrigTauRecMerged_LRT", "HLT trackLRT taujet container key"}
privateinherited

Definition at line 135 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_L1_Phase1_threshold_patterns

Gaudi::Property<std::map<std::string, uint64_t> > TrigTauMonitorBaseAlgorithm::m_L1_Phase1_threshold_patterns {this, "L1Phase1ThresholdPatterns", {}}
protectedinherited

Definition at line 36 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_L1_Phase1_thresholds

Gaudi::Property<std::map<std::string, float> > TrigTauMonitorBaseAlgorithm::m_L1_Phase1_thresholds {this, "L1Phase1Thresholds", {}}
protectedinherited

Definition at line 35 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_L1_select_by_et_only

Gaudi::Property<bool> TrigTauMonitorBaseAlgorithm::m_L1_select_by_et_only {this, "SelectL1ByETOnly", false}
protectedinherited

Definition at line 37 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_lbDurationDataKey

SG::ReadCondHandleKey<LBDurationCondData> AthMonitorAlgorithm::m_lbDurationDataKey {this,"LBDurationCondDataKey","LBDurationCondData","SG Key of LBDurationCondData object"}
protectedinherited

Definition at line 345 of file AthMonitorAlgorithm.h.

◆ m_legacyl1TauRoIKey

SG::ReadHandleKey<xAOD::EmTauRoIContainer> TrigTauMonitorBaseAlgorithm::m_legacyl1TauRoIKey { this, "LegacyL1TauRoIKey", "LVL1EmTauRoIs", "Tau Legacy L1 RoI key"}
privateinherited

Definition at line 124 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_lumiDataKey

SG::ReadCondHandleKey<LuminosityCondData> AthMonitorAlgorithm::m_lumiDataKey {this,"LuminosityCondDataKey","LuminosityCondData","SG Key of LuminosityCondData object"}
protectedinherited

Definition at line 343 of file AthMonitorAlgorithm.h.

◆ m_name

std::string AthMonitorAlgorithm::m_name
privateinherited

Definition at line 366 of file AthMonitorAlgorithm.h.

◆ m_offlineTauJetKey

SG::ReadHandleKey<xAOD::TauJetContainer> TrigTauMonitorBaseAlgorithm::m_offlineTauJetKey {this, "OfflineTauJetKey", "TauJets", "Offline taujet container key"}
privateinherited

Definition at line 122 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_phase1l1cTauRoIDecorKey

SG::ReadDecorHandleKey<xAOD::eFexTauRoIContainer> TrigTauMonitorBaseAlgorithm::m_phase1l1cTauRoIDecorKey {this, "Phase1L1cTauRoIjTauRoILinkKey", "L1_cTauRoI.jTauLink", "Decoration for the link from eTau to the matching jTau"}
privateinherited

Definition at line 130 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_phase1l1cTauRoIKey

SG::ReadHandleKey<xAOD::eFexTauRoIContainer> TrigTauMonitorBaseAlgorithm::m_phase1l1cTauRoIKey {this, "Phase1L1cTauRoIKey", "L1_cTauRoI", "cTau Phase1 L1 RoI key"}
privateinherited

Definition at line 129 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_phase1l1cTauRoIThresholdPatternsKey

SG::ReadDecorHandleKey<xAOD::eFexTauRoIContainer> TrigTauMonitorBaseAlgorithm::m_phase1l1cTauRoIThresholdPatternsKey {this, "Phase1L1cTauRoIThresholdPatternsKey", "L1_cTauRoI.thresholdPatterns", "Decoration for the threshold patterns for the cTau RoIs"}
privateinherited

Definition at line 131 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_phase1l1eTauRoIKey

SG::ReadHandleKey<xAOD::eFexTauRoIContainer> TrigTauMonitorBaseAlgorithm::m_phase1l1eTauRoIKey {this, "Phase1L1eTauRoIKey", "L1_eTauRoI", "eTau Phase1 L1 RoI key"}
privateinherited

Definition at line 125 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_phase1l1eTauRoIThresholdPatternsKey

SG::ReadDecorHandleKey<xAOD::eFexTauRoIContainer> TrigTauMonitorBaseAlgorithm::m_phase1l1eTauRoIThresholdPatternsKey {this, "Phase1L1eTauRoIThresholdPatternsKey", "L1_eTauRoI.thresholdPatterns", "Decoration for the threshold patterns for the eTau RoIs"}
privateinherited

Definition at line 126 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_phase1l1eTauxRoIKey

SG::ReadHandleKey<xAOD::eFexTauRoIContainer> TrigTauMonitorL1Algorithm::m_phase1l1eTauxRoIKey {this, "Phase1L1eTauxRoIKey", "L1_eTauxRoI", "eTau Phase1 L1 xRoI key"}
private

Definition at line 21 of file TrigTauMonitorL1Algorithm.h.

◆ m_phase1l1jTauRoIKey

SG::ReadHandleKey<xAOD::jFexTauRoIContainer> TrigTauMonitorBaseAlgorithm::m_phase1l1jTauRoIKey {this, "Phase1L1jTauRoIKey", "L1_jFexTauRoI", "jTau Phase1 L1 RoI key"}
privateinherited

Definition at line 127 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_phase1l1jTauRoIThresholdPatternsKey

SG::ReadDecorHandleKey<xAOD::jFexTauRoIContainer> TrigTauMonitorBaseAlgorithm::m_phase1l1jTauRoIThresholdPatternsKey {this, "Phase1L1jTauRoIThresholdPatternsKey", "L1_jFexTauRoI.thresholdPatterns", "Decoration for the threshold patterns for the jTau RoIs"}
privateinherited

Definition at line 128 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_requireOfflineTaus

Gaudi::Property<bool> TrigTauMonitorL1Algorithm::m_requireOfflineTaus {this, "RequireOfflineTaus", true, "Require at leat 1 offline tau per event"}
private

Definition at line 18 of file TrigTauMonitorL1Algorithm.h.

◆ m_toolLookupMap

std::unordered_map<std::string, size_t> AthMonitorAlgorithm::m_toolLookupMap
privateinherited

Definition at line 367 of file AthMonitorAlgorithm.h.

◆ m_tools

ToolHandleArray<GenericMonitoringTool> AthMonitorAlgorithm::m_tools {this,"GMTools",{}}
protectedinherited

Array of Generic Monitoring Tools.

Definition at line 338 of file AthMonitorAlgorithm.h.

◆ m_trigDecTool

PublicToolHandle<Trig::TrigDecisionTool> AthMonitorAlgorithm::m_trigDecTool {this, "TrigDecisionTool",""}
protectedinherited

Tool to tell whether a specific trigger is passed.

Definition at line 340 of file AthMonitorAlgorithm.h.

◆ m_triggerChainString

Gaudi::Property<std::string> AthMonitorAlgorithm::m_triggerChainString {this,"TriggerChain",""}
protectedinherited

Trigger chain string pulled from the job option and parsed into a vector.

Definition at line 355 of file AthMonitorAlgorithm.h.

◆ m_triggers

Gaudi::Property<std::vector<std::string> > TrigTauMonitorBaseAlgorithm::m_triggers {this, "TriggerList", {}}
protectedinherited

Definition at line 32 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_trigInfo

std::map<std::string, TrigTauInfo> TrigTauMonitorBaseAlgorithm::m_trigInfo
privateinherited

Definition at line 116 of file TrigTauMonitorBaseAlgorithm.h.

◆ m_trigLiveFractionDataKey

SG::ReadCondHandleKey<TrigLiveFractionCondData> AthMonitorAlgorithm::m_trigLiveFractionDataKey {this,"TrigLiveFractionCondDataKey","TrigLiveFractionCondData", "SG Key of TrigLiveFractionCondData object"}
protectedinherited

Definition at line 347 of file AthMonitorAlgorithm.h.

◆ m_useLumi

Gaudi::Property<bool> AthMonitorAlgorithm::m_useLumi {this,"EnableLumi",false}
protectedinherited

Allows use of various luminosity functions.

Definition at line 359 of file AthMonitorAlgorithm.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.

◆ m_vTrigChainNames

std::vector<std::string> AthMonitorAlgorithm::m_vTrigChainNames
protectedinherited

Vector of trigger chain names parsed from trigger chain string.

Definition at line 356 of file AthMonitorAlgorithm.h.


The documentation for this class was generated from the following files:
grepfile.info
info
Definition: grepfile.py:38
TrigTauMonitorBaseAlgorithm::m_hltTauJetKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_hltTauJetKey
Definition: TrigTauMonitorBaseAlgorithm.h:133
xAOD::jFexTauRoI_v1
Class describing properties of a LVL1 jFEX global Trigger Object (TOB) in the xAOD format.
Definition: jFexTauRoI_v1.h:23
python.TIDAMonTool.monGroup
def monGroup(analysis_chain)
Definition: TIDAMonTool.py:297
xAOD::eFexTauRoI_v1::et
float et() const
TOB ET (decoded from TOB, stored for convenience)
AthMonitorAlgorithm::Environment_t::tier0Raw
@ tier0Raw
xAOD::EmTauRoI_v2::phi
float phi() const
The azimuthal angle ( ) of the em/tau candidate.
GeV
#define GeV
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:17
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
checkFileSG.line
line
Definition: checkFileSG.py:75
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
get_generator_info.result
result
Definition: get_generator_info.py:21
ParticleGun_SamplingFraction.eta2
eta2
Definition: ParticleGun_SamplingFraction.py:96
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
xAOD::jFexTauRoI_v1::eta
float eta() const
TauAnalysisTools::tauEta
double tauEta(const xAOD::TauJet &xTau)
return tau eta
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:99
AthMonitorAlgorithm::m_trigDecTool
PublicToolHandle< Trig::TrigDecisionTool > m_trigDecTool
Tool to tell whether a specific trigger is passed.
Definition: AthMonitorAlgorithm.h:340
AthMonitorAlgorithm::Environment_t::tier0
@ tier0
AthMonitorAlgorithm::Environment_t::AOD
@ AOD
TrigTauMonitorBaseAlgorithm::m_trigInfo
std::map< std::string, TrigTauInfo > m_trigInfo
Definition: TrigTauMonitorBaseAlgorithm.h:116
xAOD::eFexTauRoI_v1::eta
float eta() const
setter for the above
TrigTauMonitorBaseAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: TrigTauMonitorBaseAlgorithm.cxx:16
TauAnalysisTools::tauPt
double tauPt(const xAOD::TauJet &xTau)
return tau pt in GeV
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:85
TrigTauMonitorBaseAlgorithm::m_phase1l1jTauRoIThresholdPatternsKey
SG::ReadDecorHandleKey< xAOD::jFexTauRoIContainer > m_phase1l1jTauRoIThresholdPatternsKey
Definition: TrigTauMonitorBaseAlgorithm.h:128
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
TrigTauMonitorL1Algorithm::getL1xTOBeTAUs
std::vector< const xAOD::eFexTauRoI * > getL1xTOBeTAUs() const
Definition: TrigTauMonitorL1Algorithm.cxx:189
CxxUtils::wrapToPi
T wrapToPi(T phi)
Wrap angle in radians to [-pi, pi].
Definition: phihelper.h:24
TrigTauMonitorBaseAlgorithm::m_phase1l1eTauRoIKey
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_phase1l1eTauRoIKey
Definition: TrigTauMonitorBaseAlgorithm.h:125
accumulate
bool accumulate(AccumulateMap &map, std::vector< module_t > const &modules, FPGATrackSimMatrixAccumulator const &acc)
Accumulates an accumulator (e.g.
Definition: FPGATrackSimMatrixAccumulator.cxx:22
AthMonitorAlgorithm::m_vTrigChainNames
std::vector< std::string > m_vTrigChainNames
Vector of trigger chain names parsed from trigger chain string.
Definition: AthMonitorAlgorithm.h:356
AthCommonDataStore::renounce
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)
Definition: AthCommonDataStore.h:380
AthMonitorAlgorithm::m_EventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_EventInfoKey
Key for retrieving EventInfo from StoreGate.
Definition: AthMonitorAlgorithm.h:362
TrigTauMonitorL1Algorithm::fillL1LegacyVars
void fillL1LegacyVars(const std::string &trigger, const std::vector< const xAOD::EmTauRoI * > &rois) const
Definition: TrigTauMonitorL1Algorithm.cxx:169
TrigTauMonitorBaseAlgorithm::getL1cTAUs
std::vector< std::pair< const xAOD::eFexTauRoI *, const xAOD::jFexTauRoI * > > getL1cTAUs(const EventContext &ctx, const std::string &l1_item) const
Definition: TrigTauMonitorBaseAlgorithm.cxx:189
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
TrigTauMonitorBaseAlgorithm::m_phase1l1cTauRoIDecorKey
SG::ReadDecorHandleKey< xAOD::eFexTauRoIContainer > m_phase1l1cTauRoIDecorKey
Definition: TrigTauMonitorBaseAlgorithm.h:130
TrigTauMonitorBaseAlgorithm::classifyOnlineTaus
std::tuple< std::vector< const xAOD::TauJet * >, std::vector< const xAOD::TauJet * >, std::vector< const xAOD::TauJet * > > classifyOnlineTaus(const std::vector< const xAOD::TauJet * > &taus, const float threshold=0.0) const
Definition: TrigTauMonitorBaseAlgorithm.cxx:317
xAOD::eFexTauRoI_v1::rCore
float rCore() const
Jet Discriminants Derived floating point values (not used in actual algorithm)
Definition: eFexTauRoI_v1.cxx:236
AthMonitorAlgorithm::m_toolLookupMap
std::unordered_map< std::string, size_t > m_toolLookupMap
Definition: AthMonitorAlgorithm.h:367
AthMonitorAlgorithm::m_environment
AthMonitorAlgorithm::Environment_t m_environment
Instance of the Environment_t enum.
Definition: AthMonitorAlgorithm.h:350
xAOD::eta1
setEt setPhi setE277 setWeta2 eta1
Definition: TrigEMCluster_v1.cxx:41
TrigTauMonitorBaseAlgorithm::m_L1_select_by_et_only
Gaudi::Property< bool > m_L1_select_by_et_only
Definition: TrigTauMonitorBaseAlgorithm.h:37
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
TrigTauMonitorL1Algorithm::getBDTScore
unsigned int getBDTScore(const xAOD::eFexTauRoI *roi, const std::vector< const xAOD::eFexTauRoI * > &xtob_rois) const
Definition: TrigTauMonitorL1Algorithm.cxx:205
SG::ConstAccessor< char >
cosmics
Definition: cosmics.py:1
TrigTauMonitorBaseAlgorithm::m_phase1l1eTauRoIThresholdPatternsKey
SG::ReadDecorHandleKey< xAOD::eFexTauRoIContainer > m_phase1l1eTauRoIThresholdPatternsKey
Definition: TrigTauMonitorBaseAlgorithm.h:126
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
TrigTauMonitorBaseAlgorithm::getL1eTAUs
std::vector< const xAOD::eFexTauRoI * > getL1eTAUs(const EventContext &ctx, const std::string &l1_item) const
Definition: TrigTauMonitorBaseAlgorithm.cxx:125
xAOD::jFexTauRoI_v1::et
unsigned int et() const
Methods that require combining results or applying scales.
Definition: jFexTauRoI_v1.cxx:114
xAOD::EventInfo_v1::LAr
@ LAr
The LAr calorimeter.
Definition: EventInfo_v1.h:335
AthMonitorAlgorithm::trigChainsArePassed
bool trigChainsArePassed(const std::vector< std::string > &vTrigNames) const
Check whether triggers are passed.
Definition: AthMonitorAlgorithm.cxx:194
AthMonitorAlgorithm::Environment_t::user
@ user
TrigTauMonitorBaseAlgorithm::m_L1_Phase1_thresholds
Gaudi::Property< std::map< std::string, float > > m_L1_Phase1_thresholds
Definition: TrigTauMonitorBaseAlgorithm.h:35
TrigTauMonitorBaseAlgorithm::m_do_variable_plots
Gaudi::Property< bool > m_do_variable_plots
Definition: TrigTauMonitorBaseAlgorithm.h:41
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
Monitored::Collection
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
Definition: MonitoredCollection.h:38
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
AthMonitorAlgorithm::m_dummy
const ToolHandle< GenericMonitoringTool > m_dummy
Definition: AthMonitorAlgorithm.h:369
xAOD::EventInfo_v1::Error
@ Error
The sub-detector issued an error.
Definition: EventInfo_v1.h:349
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
TrigTauMonitorBaseAlgorithm::m_phase1l1jTauRoIKey
SG::ReadHandleKey< xAOD::jFexTauRoIContainer > m_phase1l1jTauRoIKey
Definition: TrigTauMonitorBaseAlgorithm.h:127
PyPoolBrowser.item
item
Definition: PyPoolBrowser.py:129
TileSynchronizeBch.online
online
Definition: TileSynchronizeBch.py:88
TrigTauMonitorBaseAlgorithm::getOnlineTausAll
std::vector< const xAOD::TauJet * > getOnlineTausAll(const std::string &trigger, bool include_0P=true) const
Definition: TrigTauMonitorBaseAlgorithm.cxx:55
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
TrigTauMonitorBaseAlgorithm::classifyOfflineTaus
std::pair< std::vector< const xAOD::TauJet * >, std::vector< const xAOD::TauJet * > > classifyOfflineTaus(const std::vector< const xAOD::TauJet * > &taus, const float threshold=0.0) const
Definition: TrigTauMonitorBaseAlgorithm.cxx:336
TrigTauMonitorBaseAlgorithm::m_L1_Phase1_threshold_patterns
Gaudi::Property< std::map< std::string, uint64_t > > m_L1_Phase1_threshold_patterns
Definition: TrigTauMonitorBaseAlgorithm.h:36
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthMonitorAlgorithm::m_DQFilterTools
ToolHandleArray< IDQFilterTool > m_DQFilterTools
Array of Data Quality filter tools.
Definition: AthMonitorAlgorithm.h:341
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
SG::ReadDecorHandle
Handle class for reading a decoration on an object.
Definition: StoreGate/StoreGate/ReadDecorHandle.h:94
TrigTauMonitorBaseAlgorithm::m_legacyl1TauRoIKey
SG::ReadHandleKey< xAOD::EmTauRoIContainer > m_legacyl1TauRoIKey
Definition: TrigTauMonitorBaseAlgorithm.h:124
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
TrigTauMonitorBaseAlgorithm::TrigTauMonitorBaseAlgorithm
TrigTauMonitorBaseAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigTauMonitorBaseAlgorithm.cxx:11
lumiFormat.i
int i
Definition: lumiFormat.py:85
xAOD::EmTauRoI_v2
Class describing a LVL1 em/tau region of interest.
Definition: EmTauRoI_v2.h:35
xAOD::eFexTauRoI_v1
Class describing a LVL1 eFEX tau region of interest.
Definition: eFexTauRoI_v1.h:29
xAOD::EmTauRoI_v2::emIsol
float emIsol() const
The EM calorimeter isolation (outer ring of EM towers)
TrigTauMonitorL1Algorithm::fillL1eTauVars
void fillL1eTauVars(const std::string &trigger, const std::vector< const xAOD::eFexTauRoI * > &rois, const std::vector< const xAOD::eFexTauRoI * > &xtob_rois) const
Definition: TrigTauMonitorL1Algorithm.cxx:94
AthMonitorAlgorithm::DataType_t::heavyIonCollisions
@ heavyIonCollisions
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
tolower
void tolower(std::string &s)
Definition: AthenaSummarySvc.cxx:111
xAOD::EmTauRoI_v2::hadCore
float hadCore() const
The ET deposited in the inner hadronic isolation region (2x2 core)
xAOD::TauJet_v3
Class describing a tau jet.
Definition: TauJet_v3.h:41
xAOD::TauJetParameters::nChargedTracks
@ nChargedTracks
Definition: TauDefs.h:322
AthMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const =0
adds event to the monitoring histograms
xAOD::eFexTauRoI_v1::rHad
float rHad() const
Definition: eFexTauRoI_v1.cxx:241
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
xAOD::jFexTauRoI_v1::phi
float phi() const
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
AthMonitorAlgorithm::fill
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.
TrigTauMonitorBaseAlgorithm::m_phase1l1cTauRoIKey
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_phase1l1cTauRoIKey
Definition: TrigTauMonitorBaseAlgorithm.h:129
AthMonitorAlgorithm::GetEventInfo
SG::ReadHandle< xAOD::EventInfo > GetEventInfo(const EventContext &) const
Return a ReadHandle for an EventInfo object (get run/event numbers, etc.)
Definition: AthMonitorAlgorithm.cxx:107
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
TrigTauMonitorL1Algorithm::fillL1cTauVars
void fillL1cTauVars(const std::string &trigger, const std::vector< std::pair< const xAOD::eFexTauRoI *, const xAOD::jFexTauRoI * >> &rois, const std::vector< const xAOD::eFexTauRoI * > &xtob_rois) const
Definition: TrigTauMonitorL1Algorithm.cxx:130
AthMonitorAlgorithm::m_dataType
AthMonitorAlgorithm::DataType_t m_dataType
Instance of the DataType_t enum.
Definition: AthMonitorAlgorithm.h:351
AthReentrantAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthReentrantAlgorithm.h:153
TrigTauMonitorBaseAlgorithm::dR
double dR(const double eta1, const double phi1, const double eta2, const double phi2) const
Definition: TrigTauMonitorBaseAlgorithm.h:65
TrigTauMonitorL1Algorithm::fillL1Efficiencies
void fillL1Efficiencies(const EventContext &ctx, const std::vector< const xAOD::TauJet * > &offline_tau_vec, const std::string &nProng, const std::string &trigger, const std::vector< const T * > &rois) const
Definition: TrigTauMonitorL1Algorithm.h:29
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
AthMonitorAlgorithm::DataType_t::cosmics
@ cosmics
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
xAOD::eFexTauRoI_v1::phi
float phi() const
Seed supercell index within central tower (0 -> 3)
AthMonitorAlgorithm::m_tools
ToolHandleArray< GenericMonitoringTool > m_tools
Array of Generic Monitoring Tools.
Definition: AthMonitorAlgorithm.h:338
AthMonitorAlgorithm::Environment_t::online
@ online
xAOD::TauJet_v3::detail
bool detail(TauJetParameters::Detail detail, int &value) const
Set veto flag.
Definition: TauJet_v3.cxx:292
xAOD::EmTauRoI_v2::hadIsol
float hadIsol() const
The hadron calorimeter isolation (outer ring of had towers)
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
AthMonitorAlgorithm::Environment_t::tier0ESD
@ tier0ESD
threshold
Definition: chainparser.cxx:74
AthMonitorAlgorithm::Environment_t::altprod
@ altprod
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
AthMonitorAlgorithm::m_enforceExpressTriggers
Gaudi::Property< bool > m_enforceExpressTriggers
Definition: AthMonitorAlgorithm.h:372
TrigTauMonitorBaseAlgorithm::m_do_efficiency_plots
Gaudi::Property< bool > m_do_efficiency_plots
Definition: TrigTauMonitorBaseAlgorithm.h:40
TrigTauMonitorL1Algorithm::m_phase1l1eTauxRoIKey
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_phase1l1eTauxRoIKey
Definition: TrigTauMonitorL1Algorithm.h:21
item
Definition: ItemListSvc.h:43
WriteBchToCool.user
user
Definition: WriteBchToCool.py:76
TrigTauMonitorBaseAlgorithm::m_offlineTauJetKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_offlineTauJetKey
Definition: TrigTauMonitorBaseAlgorithm.h:122
AthMonitorAlgorithm::lbAverageInteractionsPerCrossing
virtual float lbAverageInteractionsPerCrossing(const EventContext &ctx=Gaudi::Hive::currentContext()) const
Calculate the average mu, i.e.
Definition: AthMonitorAlgorithm.cxx:222
TrigTauMonitorL1Algorithm::m_requireOfflineTaus
Gaudi::Property< bool > m_requireOfflineTaus
Definition: TrigTauMonitorL1Algorithm.h:18
TrigTauInfo
Definition: TrigTauInfo.h:15
xAOD::TauJetParameters::JetRNNSigMedium
@ JetRNNSigMedium
Definition: TauDefs.h:147
ATH_LIKELY
#define ATH_LIKELY(x)
Definition: AthUnlikelyMacros.h:16
xAOD::jFexTauRoI_v1::iso
unsigned int iso() const
Iso on TOB scale.
Definition: jFexTauRoI_v1.cxx:120
xAOD::EventInfo_v1::Tile
@ Tile
The Tile calorimeter.
Definition: EventInfo_v1.h:336
xAOD::EmTauRoI_v2::eta
float eta() const
The pseudorapidity ( ) of the em/tau candidate.
TrigTauMonitorBaseAlgorithm::m_hltTauJetCaloMVAOnlyKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_hltTauJetCaloMVAOnlyKey
Definition: TrigTauMonitorBaseAlgorithm.h:136
a
TList * a
Definition: liststreamerinfos.cxx:10
CaloLCW_tf.group
group
Definition: CaloLCW_tf.py:28
h
TrigTauMonitorL1Algorithm::fillL1jTauVars
void fillL1jTauVars(const std::string &trigger, const std::vector< const xAOD::jFexTauRoI * > &rois) const
Definition: TrigTauMonitorL1Algorithm.cxx:112
TrigTauMonitorBaseAlgorithm::processEvent
virtual StatusCode processEvent(const EventContext &ctx) const =0
python.CaloScaleNoiseConfig.str
str
Definition: CaloScaleNoiseConfig.py:78
TrigTauMonitorBaseAlgorithm::getL1jTAUs
std::vector< const xAOD::jFexTauRoI * > getL1jTAUs(const EventContext &ctx, const std::string &l1_item) const
Definition: TrigTauMonitorBaseAlgorithm.cxx:157
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
TrigTauMonitorBaseAlgorithm::matchObjects
bool matchObjects(const T1 *tau, const std::vector< const T2 * > &tau_vec, float threshold) const
Definition: TrigTauMonitorBaseAlgorithm.h:73
AthMonitorAlgorithm::DataType_t::collisions
@ collisions
AthMonitorAlgorithm::m_name
std::string m_name
Definition: AthMonitorAlgorithm.h:366
TriggerTest.rois
rois
Definition: TriggerTest.py:23
TrigTauMonitorBaseAlgorithm::getL1LegacyTAUs
std::vector< const xAOD::EmTauRoI * > getL1LegacyTAUs(const EventContext &ctx, const std::string &l1_item) const
Definition: TrigTauMonitorBaseAlgorithm.cxx:233
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
TrigTauMonitorBaseAlgorithm::m_phase1l1cTauRoIThresholdPatternsKey
SG::ReadDecorHandleKey< xAOD::eFexTauRoIContainer > m_phase1l1cTauRoIThresholdPatternsKey
Definition: TrigTauMonitorBaseAlgorithm.h:131
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
xAOD::EmTauRoI_v2::eT
float eT() const
The ET of the cluster (from RoI word)
TrigTauMonitorBaseAlgorithm::m_triggers
Gaudi::Property< std::vector< std::string > > m_triggers
Definition: TrigTauMonitorBaseAlgorithm.h:32
str
Definition: BTagTrackIpAccessor.cxx:11
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
TrigTauMonitorBaseAlgorithm::getOnlineContainerKey
const SG::ReadHandleKey< xAOD::TauJetContainer > & getOnlineContainerKey(const std::string &trigger) const
Definition: TrigTauMonitorBaseAlgorithm.cxx:263
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
TrigTauMonitorBaseAlgorithm::getTrigInfo
const TrigTauInfo & getTrigInfo(const std::string &trigger) const
Definition: TrigTauMonitorBaseAlgorithm.h:45
Monitored::Scalar
Declare a monitored scalar variable.
Definition: MonitoredScalar.h:34
TrigTauMonitorBaseAlgorithm::m_hltTauJetLRTKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_hltTauJetLRTKey
Definition: TrigTauMonitorBaseAlgorithm.h:135
AthMonitorAlgorithm::DataType_t::userDefined
@ userDefined
SG::AllowEmpty
@ AllowEmpty
Definition: StoreGate/StoreGate/VarHandleKey.h:30
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
dumpTgcDigiThreshold.threshold
list threshold
Definition: dumpTgcDigiThreshold.py:34
xAOD::EventInfo_v1::Core
@ Core
Core flags describing the event.
Definition: EventInfo_v1.h:339
AthMonitorAlgorithm::getGroup
const ToolHandle< GenericMonitoringTool > & getGroup(const std::string &name) const
Get a specific monitoring tool from the tool handle array.
Definition: AthMonitorAlgorithm.cxx:164
TrigTauMonitorBaseAlgorithm::getOfflineTausAll
std::vector< const xAOD::TauJet * > getOfflineTausAll(const EventContext &ctx, const float threshold=20.0) const
Definition: TrigTauMonitorBaseAlgorithm.cxx:83
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35
AthMonitorAlgorithm::DataType_t::monteCarlo
@ monteCarlo
fitman.k
k
Definition: fitman.py:528
TrigTauMonitorBaseAlgorithm::m_hltTauJetLLPKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_hltTauJetLLPKey
Definition: TrigTauMonitorBaseAlgorithm.h:134
xAOD::EventInfo_v1::SCT
@ SCT
The SCT.
Definition: EventInfo_v1.h:333
ServiceHandle< ICondSvc >
xAOD::EmTauRoI_v2::tauClus
float tauClus() const
The deposited ET from the "tau cluster".
collisions
Definition: collisions.py:1