Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
TileJetMonitorAlgorithm Class Reference

Class for Tile Jet based monitoring. More...

#include <TileJetMonitorAlgorithm.h>

Inheritance diagram for TileJetMonitorAlgorithm:
Collaboration diagram for TileJetMonitorAlgorithm:

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

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

Public Attributes

 flags
 
 Files
 
 HISTFileName
 
 useTrigger
 
 enableLumiAccess
 
 MaxEvents
 
 cfg
 
 tileJetMonitorAccumulator
 
 Do1DHistograms
 
 DoEnergyDiffHistograms
 
 DoCellHistograms
 
 sc
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
 
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed. More...
 

Protected Attributes

ToolHandleArray< 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

StatusCode fillTimeHistograms (const xAOD::Jet &jet, uint32_t lumiBlock, std::set< Identifier > &usedCells) const
 
unsigned int findIndex (const int gain, const float energy) const
 
bool isGoodChannel (int part, int module, int channel, uint32_t bad, unsigned int qbit, Identifier id) const
 
bool passesJvt (const xAOD::Jet &jet) const
 
bool isGoodJet (const xAOD::Jet &jet) const
 
bool isGoodEvent (const EventContext &ctx) const
 
std::string sampleName (const int ros, const int sample, const int tower) const
 
std::string cellName (const int ros, const int sample, const int tower, const int module) const
 
bool matchesEnergyRange (const int sample, const int tower, const float energy, const int gain) 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< float > m_jetPtMin {this, "JetPtMin", 20000., "Threshold in MeV"}
 
Gaudi::Property< float > m_jetPtMax {this, "JetPtMax", 120000, ""}
 
Gaudi::Property< float > m_jetEtaMax {this, "JetEtaMax", 1.6, ""}
 
Gaudi::Property< float > m_energyChanMin {this, "ChannelEnergyMin", 2000, ""}
 
Gaudi::Property< float > m_energyChanMax {this, "ChannelEnergyMax", 4000, ""}
 
Gaudi::Property< float > m_gain {this, "Gain", 1, ""}
 
Gaudi::Property< float > m_energyE1Min {this, "E1EnergyMin", -1, ""}
 
Gaudi::Property< float > m_energyE1Max {this, "E1EnergyMax", -1, ""}
 
Gaudi::Property< float > m_gainE1 {this, "GainE1", -1, ""}
 
Gaudi::Property< float > m_energyE2Min {this, "E2EnergyMin", -1, ""}
 
Gaudi::Property< float > m_energyE2Max {this, "E2EnergyMax", -1, ""}
 
Gaudi::Property< float > m_gainE2 {this, "GainE2", -1, ""}
 
Gaudi::Property< float > m_energyE3Min {this, "E3EnergyMin", -1, ""}
 
Gaudi::Property< float > m_energyE3Max {this, "E3EnergyMax", -1, ""}
 
Gaudi::Property< float > m_gainE3 {this, "GainE3", -1, ""}
 
Gaudi::Property< float > m_energyE4Min {this, "E4EnergyMin", -1, ""}
 
Gaudi::Property< float > m_energyE4Max {this, "E4EnergyMax", -1, ""}
 
Gaudi::Property< float > m_gainE4 {this, "GainE4", -1, ""}
 
Gaudi::Property< bool > m_do1DHistograms {this, "Do1DHistograms", false, ""}
 
Gaudi::Property< bool > m_do2DHistograms {this, "Do2DHistograms", false, ""}
 
Gaudi::Property< bool > m_doCellHistograms {this, "DoCellHistograms", false, ""}
 
Gaudi::Property< bool > m_doEnergyDiffHistograms {this, "DoEnergyDiffHistograms", false, ""}
 
Gaudi::Property< float > m_energyDiffThreshold {this, "EnergyDiffThreshold", 2000, ""}
 
Gaudi::Property< bool > m_doEnergyProfiles {this, "DoEnergyProfiles", true, ""}
 
Gaudi::Property< bool > m_doEventCleaning {this, "DoEventCleaning", true, ""}
 
Gaudi::Property< bool > m_doJetCleaning {this, "DoJetCleaning", false, ""}
 
Gaudi::Property< float > m_jetTrackingEtaLimit {this, "JetTrackingEtaLimit", 2.4, ""}
 
Gaudi::Property< float > m_jvtThreshold {this, "JvtThreshold", 0.59, ""}
 
Gaudi::Property< std::vector< float > > m_cellEnergyUpperLimitsHG
 
Gaudi::Property< std::vector< float > > m_cellEnergyUpperLimitsLG
 
ToolHandle< ITileBadChanToolm_tileBadChanTool
 
ToolHandle< IJetUpdateJvtm_jvt {this, "JVT", "", ""}
 
ToolHandle< IJetSelectorm_jetCleaningTool {this, "JetCleaningTool", "", ""}
 
ToolHandle< ECUtils::IEventCleaningToolm_eventCleaningTool {this, "EventCleaningTool", "", ""}
 
SG::ReadHandleKey< xAOD::JetContainerm_jetContainerKey
 
SG::ReadHandleKey< CaloCellContainerm_caloCellContainerKey
 
const TileIDm_tileID
 
const TileHWIDm_tileHWID
 
const TileCablingServicem_cabling
 TileCabling instance. More...
 
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

Class for Tile Jet based monitoring.

Definition at line 33 of file TileJetMonitorAlgorithm.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

◆ TileJetMonitorAlgorithm()

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

Definition at line 22 of file TileJetMonitorAlgorithm.cxx.

23  : AthMonitorAlgorithm(name, pSvcLocator)
24  , m_tileID{nullptr}
25  , m_tileHWID{nullptr}
26  , m_cabling{nullptr}
27 {}

◆ ~TileJetMonitorAlgorithm()

TileJetMonitorAlgorithm::~TileJetMonitorAlgorithm ( )
virtual

Definition at line 30 of file TileJetMonitorAlgorithm.cxx.

30 {}

Member Function Documentation

◆ cardinality()

unsigned int AthCommonReentrantAlgorithm< Gaudi::Algorithm >::cardinality
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 75 of file AthCommonReentrantAlgorithm.cxx.

64 {
65  return 0;
66 }

◆ cellName()

std::string TileJetMonitorAlgorithm::cellName ( const int  ros,
const int  sample,
const int  tower,
const int  module 
) const
private

Definition at line 481 of file TileJetMonitorAlgorithm.cxx.

481  {
482 /*---------------------------------------------------------*/
483  // names compatible with names in TileMonitoringCfgHelper.py
484  std::array<std::string, 3> sample_Name_LB{"A", "B", "D"};
485  std::array<std::string, 4> sample_Name_EB{"A", "B", "D", "E"};
486  std::string c_name;
487  if (ros < 3) { // LBA, LBC
488  c_name = sample_Name_LB[sample] + std::to_string(tower + 1); // default, standard cells
489  if ((sample == TileID::SAMP_BC) && (tower == 8)) { // cell B9
490  c_name = "B9";
491  }
492  if ((sample == TileID::SAMP_D) && (tower == 0)) { // cell D0
493  c_name = "D0";
494  }
495  if ((sample == TileID::SAMP_D) && (tower == 2)) { // cell D1
496  c_name = "D1";
497  }
498  if ((sample == TileID::SAMP_D) && (tower == 4)) { // cell D2
499  c_name = "D2";
500  }
501  if ((sample == TileID::SAMP_D) && (tower == 6)) { // cell D3
502  c_name = "D3";
503  }
504  } else { // EBA, EBC
505  c_name = sample_Name_EB[sample] + std::to_string(tower + 1); // default, standard cells
506  if ((sample == TileID::SAMP_C) && (tower == 9)) { // cell C10
507  c_name = "C10";
508  }
509  if ((sample == TileID::SAMP_D) && (tower == 8)) { // cell D4
510  c_name = "D4";
511  }
512  if ((sample == TileID::SAMP_D) && (tower == 10)) { // cell D5
513  c_name = "D5";
514  }
515  if ((sample == TileID::SAMP_D) && (tower == 12)) { // cell D6
516  c_name = "D6";
517  }
518  if ((sample == TileID::SAMP_E) && (tower == 10)) { // cell E1
519  c_name = "E1";
520  }
521  if ((sample == TileID::SAMP_E) && (tower == 11)) { // cell E2
522  c_name = "E2";
523  }
524  if ((sample == TileID::SAMP_E) && (tower == 13)) { // cell E3
525  if (((ros == 3) && ((module + 1) == 15)) || ((ros == 4) && ((module + 1) == 18))) { // special modules EBA15 & EBC18
526  c_name = "E3*";
527  } else {
528  c_name = "E3";
529  }
530  }
531  if ((sample == TileID::SAMP_E) && (tower == 15)) { // cell E4
532  if (((ros == 3) && ((module + 1) == 15)) || ((ros == 4) && ((module + 1) == 18))) { // special modules EBA15 & EBC18
533  c_name = "E4*";
534  } else {
535  c_name = "E4";
536  }
537  }
538  }
539  return c_name;
540 }

◆ 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; }

◆ 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 & AthCommonReentrantAlgorithm< Gaudi::Algorithm >::extraOutputDeps
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.

90 {
91  // If we didn't find any symlinks to add, just return the collection
92  // from the base class. Otherwise, return the extended collection.
93  if (!m_extendedExtraObjects.empty()) {
95  }
96  return BaseAlg::extraOutputDeps();
97 }

◆ fillHistograms()

StatusCode TileJetMonitorAlgorithm::fillHistograms ( const EventContext &  ctx) const
overridevirtual

adds event to the monitoring histograms

User will overwrite this function. Histogram booking is no longer done in C++. This function is called in execute once the filters are all passed.

Parameters
ctxforwarded from execute
Returns
StatusCode

Implements AthMonitorAlgorithm.

Definition at line 99 of file TileJetMonitorAlgorithm.cxx.

99  {
100 
101  // In case you want to measure the execution time
102  auto timer = Monitored::Timer("TIME_execute");
103 
104  if (!isGoodEvent(ctx)) {
105  ATH_MSG_DEBUG("::fillHistograms(), event skipped ");
106  return StatusCode::SUCCESS;
107  } else {
108  ATH_MSG_DEBUG("::fillHistograms(), event accepted ");
109  }
110 
112  if (!jetContainer.isValid()) {
113  ATH_MSG_WARNING("Can't retrieve Jet Container: " << m_jetContainerKey.key());
114  return StatusCode::SUCCESS;
115  }
116 
117  uint32_t lumiBlock = GetEventInfo(ctx)->lumiBlock();
118 
119  ATH_MSG_VERBOSE("::fillHistograms(), lumiblock " << lumiBlock);
120 
121  std::set<Identifier> usedCells; // cells already used in the given event
122 
123  int iJet = 0;
124  for (const xAOD::Jet* jet : *jetContainer) {
125  if ((jet->pt() > m_jetPtMin) && (fabs(jet->eta()) < m_jetEtaMax)) {
126  if (isGoodJet(*jet)) {
127  ATH_MSG_DEBUG("::fillHistograms, jet " << iJet
128  << ", eta " << jet->eta()
129  << ", phi " << jet->phi()
130  << ", constituents " << jet->numConstituents());
131  CHECK(fillTimeHistograms(*jet, lumiBlock, usedCells));
132  } else {
133  ATH_MSG_DEBUG("::fillHistogram, BAD jet " << iJet
134  << ", eta " << jet->eta()
135  << ", phi " << jet->phi()
136  << ", constituents " << jet->numConstituents());
137  }
138  }
139  ++iJet;
140  }
141 
142 
143  fill("TileJetMonExecuteTime", timer);
144 
145  ATH_MSG_VERBOSE("::fillHistograms(), end-of-loops ");
146 
147  return StatusCode::SUCCESS;
148 }

◆ fillTimeHistograms()

StatusCode TileJetMonitorAlgorithm::fillTimeHistograms ( const xAOD::Jet jet,
uint32_t  lumiBlock,
std::set< Identifier > &  usedCells 
) const
private

Definition at line 152 of file TileJetMonitorAlgorithm.cxx.

152  {
153 /*---------------------------------------------------------*/
154 
155  ATH_MSG_VERBOSE( "in fillTimeHistograms()" );
156 
157  if( jet.numConstituents() == 0 || !jet.getConstituents().isValid()) return StatusCode::SUCCESS;
158 
159  int cellIndex(-1);
160 
161  ToolHandle<GenericMonitoringTool> tileJetChannTimeDQTool = getGroup("TileJetChanTimeDQ");
162 
163  std::array<std::string, 2> gainName{"LG", "HG"};
164  std::array<std::string, 5> partitionName{"AUX", "LBA", "LBC", "EBA", "EBC"};
165 
166  for (const xAOD::JetConstituent* jet_constituent : jet.getConstituents()) {
167  if( jet_constituent->type() == xAOD::Type::CaloCluster ){
168  const xAOD::CaloCluster* calo_cluster = static_cast<const xAOD::CaloCluster*>(jet_constituent->rawConstituent());
169  if (calo_cluster && calo_cluster->getCellLinks()) {
170  for (const CaloCell* cell : *calo_cluster) {
171  cellIndex++;
172  if (cell->caloDDE()->getSubCalo() == CaloCell_ID::TILE) { // a Tile Cell
173  ATH_MSG_DEBUG("Cell " << cellIndex << " IS TILECAL !!");
174  const TileCell *tilecell = (TileCell*) cell;
175  Identifier id = tilecell->ID();
176  if (usedCells.find(id) == usedCells.end()) {
177  usedCells.insert(id);
178  } else {
179  continue;
180  }
181  // int section= m_tileID->section(id);
182  // int module = m_tileID->module(id); // ranges 0..63
183  auto module = Monitored::Scalar<int>("module", m_tileID->module(id));
184  int sample = m_tileID->sample(id); // ranges 0..3 (A, BC, D, E)
185  int tower = m_tileID->tower(id);
186  int ros1 = 0;
187  int ros2 = 0;
188  int chan1 = -1;
189  int chan2 = -1;
190  uint32_t bad1 = 0;
191  uint32_t bad2 = 0;
192  int gain1 = tilecell->gain1();
193  int gain2 = tilecell->gain2();
194  unsigned int qbit1 = tilecell->qbit1();
195  unsigned int qbit2 = tilecell->qbit2();
196 
197  const CaloDetDescrElement * caloDDE = tilecell->caloDDE();
198  IdentifierHash hash1 = caloDDE->onl1();
199  if (hash1 != TileHWID::NOT_VALID_HASH) {
200  HWIdentifier adc_id = m_tileHWID->adc_id(hash1, gain1);
201  ros1 = m_tileHWID->ros(adc_id);
202  chan1 = m_tileHWID->channel(adc_id);
203  bad1 = m_tileBadChanTool->encodeStatus(m_tileBadChanTool->getAdcStatus(adc_id));
204  }
205 
206  // How is it here with partition? D0 spans two partitions....
207  // It should be ok to treat it in this way:
208  IdentifierHash hash2 = caloDDE->onl2();
209  if (hash2 != TileHWID::NOT_VALID_HASH) {
210  HWIdentifier adc_id = m_tileHWID->adc_id(hash2, gain2);
211  ros2 = m_tileHWID->ros(adc_id);
212  chan2 = m_tileHWID->channel(adc_id);
213  bad2 = m_tileBadChanTool->encodeStatus(m_tileBadChanTool->getAdcStatus(adc_id));
214  }
215 
216  bool is_good1 = isGoodChannel(ros1, module, chan1, bad1, qbit1, id);
217  bool is_good2 = isGoodChannel(ros2, module, chan2, bad2, qbit2, id);
218  float ene1 = is_good1 ? tilecell->ene1() : -1;
219  float ene2 = is_good2 ? tilecell->ene2() : -1;
220 
222  << ", ch1 " << chan1
223  << ", ch2 " << chan2
224  << ", qbit " << qbit1 << "/" << qbit2
225  << ", is_bad " << bad1 << "/" << bad2
226  << ", isGood " << is_good1
227  << "/" << is_good2
228  << ", ene " << tilecell->energy());
229  /*
230  Now really fill the histograms time vs lumiblock and 1dim time
231  */
232 
233  // first channel
234  if (is_good1 && matchesEnergyRange(sample, tower, ene1, gain1)) {
235  if (m_do1DHistograms) {
236  std::string name = TileCalibUtils::getDrawerString(ros1, module) + "_ch_" + std::to_string(chan1) + "_1d";
237  auto channelTime = Monitored::Scalar<float>(name, tilecell->time1());
238  fill("TileJetChanTime1D", channelTime);
239  }
240 
241  if (m_do2DHistograms) {
242  ATH_MSG_WARNING("This histograms are not implemented yet!");
243  }
244 
245  // info for DQ histograms
246  auto moduleDQ = Monitored::Scalar<int>("module" + partitionName[ros1], module + 1);
247  auto channelDQ = Monitored::Scalar<int>("channel" + partitionName[ros1], chan1);
248  auto timeDQ = Monitored::Scalar<float>("time" + partitionName[ros1], tilecell->time1());
249  Monitored::fill(tileJetChannTimeDQTool, moduleDQ, channelDQ, timeDQ);
250 
251  // general histograms, only require non-affected channels
252  if (bad1 < 2) {
253  ATH_MSG_DEBUG( "Filling in time1 for " << TileCalibUtils::getDrawerString(ros1, module)
254  << ", ch " << chan1
255  << ", ene " << ene1
256  << ", LB " << lumiBlock
257  << ", time: " << tilecell->time1());
258 
259  std::string name("channelTime" + partitionName[ros1]);
260  auto channelTime = Monitored::Scalar<float>(name, tilecell->time1());
261  fill("TileJetChanTime", channelTime);
262 
263  if ((ros1 > 2) && (sample < TileID::SAMP_E)) {
264  std::string nameNoScint("channelTime" + partitionName[ros1] + "_NoScint");
265  auto channelTimeNoScint = Monitored::Scalar<float>(nameNoScint, tilecell->time1());
266  fill("TileJetChanTime", channelTimeNoScint);
267  }
268  }
269  }
270 
271  // second channel
272  if (is_good2 && matchesEnergyRange(sample, tower, ene2, gain2)) {
273  if (m_do1DHistograms) {
274  std::string name = TileCalibUtils::getDrawerString(ros2, module) + "_ch_" + std::to_string(chan2) + "_1d";
275  auto channelTime = Monitored::Scalar<float>(name, tilecell->time2());
276  fill("TileJetChanTime1D", channelTime);
277  }
278 
279  if (m_do2DHistograms) {
280  ATH_MSG_WARNING("This histograms are not implemented yet!");
281  }
282 
283  // info for DQ histograms
284  auto moduleDQ = Monitored::Scalar<int>("module" + partitionName[ros2], module + 1);
285  auto channelDQ = Monitored::Scalar<int>("channel" + partitionName[ros2], chan2);
286  auto timeDQ = Monitored::Scalar<float>("time" + partitionName[ros2], tilecell->time2());
287  Monitored::fill(tileJetChannTimeDQTool, moduleDQ, channelDQ, timeDQ);
288 
289  // general histograms, only require non-affected channels
290  if (bad2 < 2) {
291  ATH_MSG_DEBUG( "Filling in time2 for " << TileCalibUtils::getDrawerString(ros2, module)
292  << ", ch " << chan2
293  << ", ene " << ene2
294  << ", LB " << lumiBlock
295  << ", time: " << tilecell->time2()
296  <<" (qbit2 " << qbit2 << ", ch1 " << chan1 << ", ene1 " << ene1 << ", bad1 " << bad1 << ", qbit1 " << qbit1 << ")" );
297 
298  std::string name("channelTime" + partitionName[ros2]);
299  auto channelTime = Monitored::Scalar<float>(name, tilecell->time2());
300  fill("TileJetChanTime", channelTime);
301 
302  if ((ros2 > 2) && (sample < TileID::SAMP_E)) {
303  std::string nameNoScint("channelTime" + partitionName[ros2] + "_NoScint");
304  auto channelTimeNoScint = Monitored::Scalar<float>(nameNoScint, tilecell->time2());
305  fill("TileJetChanTime", channelTimeNoScint);
306  }
307  }
308  }
309 
310  /*
311  Now filling the cell-based histograms,
312  HG-HG and LG-LG combinations only for normal cells,
313  also include E-cells
314  */
315  if ((is_good1) && (((is_good2) && (gain1 == gain2)) || (sample == TileID::SAMP_E))) {
316  // E-cells are read-out by one channel only, so is_good2 = false for E-cells
317 
318  if (m_doEnergyDiffHistograms && (tilecell->energy() > m_energyDiffThreshold)) {
319  // EneDiff histograms
320 
321  int evenChannnel = (chan1 % 2 == 0) ? chan1 : chan2;
322  std::string name = TileCalibUtils::getDrawerString(ros1, module) + "_enediff_"
323  + gainName[gain1] + "_ch1_" + std::to_string(evenChannnel);
324  auto energyDifference = Monitored::Scalar<float>(name, tilecell->eneDiff() / tilecell->energy());
325  fill("TileJetEnergyDiff", energyDifference);
326  }
327 
328  if ((bad1 < 2) && (bad2 < 2)) {
329 
330  // cell-time histograms, only overall, require not affected channels
331  int index = findIndex(gain1, tilecell->energy());
332  ATH_MSG_DEBUG( "Filling in cell-time for " << TileCalibUtils::getDrawerString(ros1, module)
333  << ", ch1 " << chan1
334  << ", ch2 " << chan2
335  << ", ene " << tilecell->energy()
336  << ", index " << index
337  << ", time: " << tilecell->time());
338 
339  // TD adding histograms per partition and per radial sampling
340  std::string name1("Cell_time_" + partitionName[ros1] + "_" + sampleName(ros1, sample, tower) + "_" + gainName[gain1] + "_slice_" + std::to_string(index));
341  auto cellTime1 = Monitored::Scalar<float>(name1, tilecell->time());
342  fill("TileJetCellTime", cellTime1);
343 
344  // Adding histograms per selected individual cell
345  int index_ch1 = -1;
346  int index_ch2 = -1;
347  if (m_doCellHistograms)
348  {
349  std::string name_sel("Cell_time_" + TileCalibUtils::getDrawerString(ros1, module) + "_" + cellName(ros1, sample, tower, module) + "_" + gainName[gain1] + "_slice_" + std::to_string(index));
350  auto cellTime_sel = Monitored::Scalar<float>(name_sel, tilecell->time());
351  fill("TileJetSelCellTime", cellTime_sel);
352 
353  // Adding histograms per channels of selected individual cell
354  // First channel
355  index_ch1 = findIndex(gain1, tilecell->ene1() * 2); // Using twice the channel energy to find the correct index
356  std::string name_selCh1("Cell_time_" + TileCalibUtils::getDrawerString(ros1, module) + "_" + cellName(ros1, sample, tower, module) + "_ch" + std::to_string(chan1) + "_" + gainName[gain1] + "_slice_" + std::to_string(index_ch1));
357  auto cellTime_selCh1 = Monitored::Scalar<float>(name_selCh1, tilecell->time1());
358  fill("TileJetSelChanTime", cellTime_selCh1);
359 
360  // Second channel
361  index_ch2 = findIndex(gain2, tilecell->ene2() * 2); // Using twice the channel energy to find the correct index
362  std::string name_selCh2("Cell_time_" + TileCalibUtils::getDrawerString(ros1, module) + "_" + cellName(ros1, sample, tower, module) + "_ch" + std::to_string(chan2) + "_" + gainName[gain2] + "_slice_" + std::to_string(index_ch2));
363  auto cellTime_selCh2 = Monitored::Scalar<float>(name_selCh2, tilecell->time2());
364  fill("TileJetSelChanTime", cellTime_selCh2);
365  }
366 
367  if (m_doEnergyProfiles) {
368  // TD adding energy profiles per partition and per radial sampling
369  std::string indexName1("index_" + partitionName[ros1] + "_" + sampleName(ros1, sample, tower) + "_" + gainName[gain1]);
370  auto energyIndex1 = Monitored::Scalar<float>(indexName1, index);
371 
372  std::string energyName1("energy_" + partitionName[ros1] + "_" + sampleName(ros1, sample, tower) + "_" + gainName[gain1]);
373  auto cellEnergy1 = Monitored::Scalar<float>(energyName1, tilecell->energy());
374 
375  fill("TileJetCellEnergyProfile", energyIndex1, cellEnergy1);
376 
377  // Adding energy profiles per selected individual cell
378  if (m_doCellHistograms)
379  {
380  std::string indexname_sel("index_" + TileCalibUtils::getDrawerString(ros1, module) + "_" + cellName(ros1, sample, tower, module) + "_" + gainName[gain1]);
381  auto energyIndex_sel = Monitored::Scalar<float>(indexname_sel, index);
382 
383  std::string energyname_sel("energy_" + TileCalibUtils::getDrawerString(ros1, module) + "_" + cellName(ros1, sample, tower, module) + "_" + gainName[gain1]);
384  auto cellEnergy_sel = Monitored::Scalar<float>(energyname_sel, tilecell->energy());
385 
386  fill("TileJetSelCellEnergyProfile", energyIndex_sel, cellEnergy_sel);
387 
388  // Adding histograms per channels of selected individual cell
389  // First channel
390  std::string indexname_selCh1("index_" + TileCalibUtils::getDrawerString(ros1, module) + "_" + cellName(ros1, sample, tower, module) + "_ch" + std::to_string(chan1) + "_" + gainName[gain1]);
391  auto energyIndex_selCh1 = Monitored::Scalar<float>(indexname_selCh1, index_ch1);
392 
393  std::string energyname_selCh1("energy_" + TileCalibUtils::getDrawerString(ros1, module) + "_" + cellName(ros1, sample, tower, module) + "_ch" + std::to_string(chan1) + "_" + gainName[gain1]);
394  auto cellEnergy_selCh1 = Monitored::Scalar<float>(energyname_selCh1, tilecell->ene1());
395 
396  fill("TileJetSelChanEnergyProfile", energyIndex_selCh1, cellEnergy_selCh1);
397 
398  // Second channel
399  std::string indexname_selCh2("index_" + TileCalibUtils::getDrawerString(ros1, module) + "_" + cellName(ros1, sample, tower, module) + "_ch" + std::to_string(chan2) + "_" + gainName[gain2]);
400  auto energyIndex_selCh2 = Monitored::Scalar<float>(indexname_selCh2, index_ch2);
401 
402  std::string energyname_selCh2("energy_" + TileCalibUtils::getDrawerString(ros1, module) + "_" + cellName(ros1, sample, tower, module) + "_ch" + std::to_string(chan2) + "_" + gainName[gain2]);
403  auto cellEnergy_selCh2 = Monitored::Scalar<float>(energyname_selCh2, tilecell->ene2());
404 
405  fill("TileJetSelChanEnergyProfile", energyIndex_selCh2, cellEnergy_selCh2);
406  }
407  } else {
408  // TD adding energy histograms per partition and per radial sampling
409  std::string name1("Cell_ene_" + partitionName[ros1] + "_" + sampleName(ros1, sample, tower) + "_" + gainName[gain1] + "_slice_" + std::to_string(index));
410  auto cellEnergy1 = Monitored::Scalar<float>(name1, tilecell->energy());
411  fill("TileJetCellEnergy", cellEnergy1);
412 
413  // Adding energy histograms per selected individual cell
414  if (m_doCellHistograms)
415  {
416  std::string name_sel("Cell_ene_" + TileCalibUtils::getDrawerString(ros1, module) + "_" + cellName(ros1, sample, tower, module) + "_" + gainName[gain1] + "_slice_" + std::to_string(index));
417  auto cellEnergy_sel = Monitored::Scalar<float>(name_sel, tilecell->energy());
418  fill("TileJetSelCellEnergy", cellEnergy_sel);
419 
420  // Adding histograms per channels of selected individual cell
421  // First channel
422  std::string name_selCh1("Cell_ene_" + TileCalibUtils::getDrawerString(ros1, module) + "_" + cellName(ros1, sample, tower, module) + "_ch" + std::to_string(chan1) + "_" + gainName[gain1] + "_slice_" + std::to_string(index_ch1));
423  auto cellEnergy_selCh1 = Monitored::Scalar<float>(name_selCh1, tilecell->ene1());
424  fill("TileJetSelChanEnergy", cellEnergy_selCh1);
425 
426  // Second channel
427  std::string name_selCh2("Cell_ene_" + TileCalibUtils::getDrawerString(ros1, module) + "_" + cellName(ros1, sample, tower, module) + "_ch" + std::to_string(chan2) + "_" + gainName[gain2] + "_slice_" + std::to_string(index_ch2));
428  auto cellEnergy_selCh2 = Monitored::Scalar<float>(name_selCh2, tilecell->ene2());
429  fill("TileJetSelChanEnergy", cellEnergy_selCh2);
430  }
431  }
432  }
433  }
434  } else {
435  ATH_MSG_DEBUG("Cell " << cellIndex << " is NOT Tilecal");
436  }
437  }
438  }
439  }
440  }
441 
442  return StatusCode::SUCCESS;
443 }

◆ filterPassed()

virtual bool AthCommonReentrantAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext &  ctx) const
inlinevirtualinherited

Definition at line 96 of file AthCommonReentrantAlgorithm.h.

96  {
97  return execState( ctx ).filterPassed();
98  }

◆ findIndex()

unsigned int TileJetMonitorAlgorithm::findIndex ( const int  gain,
const float  energy 
) const
private

Definition at line 682 of file TileJetMonitorAlgorithm.cxx.

682  {
683 
684  if (gain == 1) {
685  return (std::upper_bound(m_cellEnergyUpperLimitsHG.begin(), m_cellEnergyUpperLimitsHG.end(), energy)
686  - m_cellEnergyUpperLimitsHG.begin());
687  } else {
688  return (std::upper_bound(m_cellEnergyUpperLimitsLG.begin(), m_cellEnergyUpperLimitsLG.end(), energy)
689  - m_cellEnergyUpperLimitsLG.begin());
690  }
691 
692 }

◆ 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  // treat empty tool handle case as in Monitored::Group
172  if (m_toolLookupMap.empty()) {
173  return m_dummy;
174  }
175 
176  if (!isInitialized()) {
178  "It seems that the AthMonitorAlgorithm::initialize was not called "
179  "in derived class initialize method");
180  } else {
181  std::string available = std::accumulate(
182  m_toolLookupMap.begin(), m_toolLookupMap.end(), std::string(""),
183  [](const std::string& s, auto h) { return s + "," + h.first; });
184  ATH_MSG_FATAL("The tool " << name << " could not be found in the tool array of the "
185  << "monitoring algorithm " << m_name << ". This probably reflects a discrepancy between "
186  << "your python configuration and c++ filling code. Note: your available groups are {"
187  << available << "}.");
188  }
189  }
190  return m_dummy;
191 }

◆ 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 194 of file AthMonitorAlgorithm.cxx.

194  {
195  return m_trigDecTool;
196 }

◆ initialize()

StatusCode TileJetMonitorAlgorithm::initialize ( )
overridevirtual

initialize

Returns
StatusCode

Reimplemented from AthMonitorAlgorithm.

Definition at line 33 of file TileJetMonitorAlgorithm.cxx.

33  {
34 
36 
37  ATH_MSG_INFO("in initialize()");
38 
41 
42  //=== get TileCablingSvc
43  ServiceHandle<TileCablingSvc> cablingSvc("TileCablingSvc", name());
44  ATH_CHECK( cablingSvc.retrieve() );
45 
46  //=== cache pointers to cabling helpers
47  m_cabling = cablingSvc->cablingService();
48 
49  if (!m_cabling) {
50  ATH_MSG_ERROR( "Pointer to TileCablingService is zero: " << m_cabling);
51  return StatusCode::FAILURE;
52  }
53 
54  ATH_MSG_INFO("value of m_doJetCleaning: " << m_doJetCleaning);
55 
56  //=== get TileBadChanTool
57  ATH_MSG_DEBUG("::Retrieving tile bad channel tool");
58  ATH_CHECK(m_tileBadChanTool.retrieve());
59  ATH_MSG_DEBUG("::Retrieved tile bad channel tool");
60 
61  if (m_doJetCleaning) {
62  ATH_MSG_DEBUG("::initializing JVT updater");
63  ATH_CHECK(m_jvt.retrieve());
64  ATH_MSG_DEBUG("::initialized JVT updater");
65 
66  ATH_MSG_DEBUG("::initializing JetCleaningTool");
67  ATH_CHECK(m_jetCleaningTool.retrieve());
68  ATH_CHECK(m_eventCleaningTool.retrieve());
69  ATH_MSG_DEBUG("::initialized JetCleaningTool");
70  } else {
71  m_jvt.disable();
72  m_jetCleaningTool.disable();
73  m_eventCleaningTool.disable();
74  }
75 
78 
79  /* Initialize Gain and Min/Max cell energies for E-cells:
80  if they are not explicitly given, set them as for the ordinary cells
81  */
84  if (m_gainE1 < 0) m_gainE1 = m_gain;
87  if (m_gainE2 < 0) m_gainE2 = m_gainE1;
90  if (m_gainE3 < 0) m_gainE3 = m_gainE2;
93  if (m_gainE4 < 0) m_gainE4 = m_gainE3;
94 
95  return StatusCode::SUCCESS;
96 }

◆ 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 AthCommonReentrantAlgorithm< Gaudi::Algorithm >::isClonable
overridevirtualinherited

Specify if the algorithm is clonable.

Reentrant algorithms are clonable.

Definition at line 68 of file AthCommonReentrantAlgorithm.cxx.

52 {
53  // Reentrant algorithms are clonable.
54  return true;
55 }

◆ isGoodChannel()

bool TileJetMonitorAlgorithm::isGoodChannel ( int  part,
int  module,
int  channel,
uint32_t  bad,
unsigned int  qbit,
Identifier  id 
) const
private

Definition at line 573 of file TileJetMonitorAlgorithm.cxx.

573  {
574 
575  if ((ros < 1) || (ros >= (int) TileCalibUtils::MAX_ROS)) return false; // invalid partition
576 
577  if ((module < 0) || (module >= (int) TileCalibUtils::MAX_DRAWER)) return false; // invalid module number
578 
580  return false; // non-existing PMT (empty hole)
581  }
582 
583  if (((qbit & TileCell::MASK_BADCH) != 0) || // masked as bad
584  ((qbit & TileCell::MASK_TIME) != TileCell::MASK_TIME) || // flagged
585  ((qbit & TileCell::MASK_ALGO) == TileFragHash::OptFilterDsp)) // in DSP
586 
587  return false;
588  /*
589  bad is the status in the DB (see http://alxr.usatlas.bnl.gov/lxr-stb6/source/atlas/TileCalorimeter/TileConditions/src/TileBadChanTool.cxx#390).
590  Meaning:
591  0 = good, 1 = noisy, 2 = affected, 3 = bad, 4 = otherwise
592  */
593  if (bad > 2) return false;
594 
595  /*
596  Now check for special C10, merged E1, E4'
597  C10 spec is ok only if channel = 5 (i.e. pmt=6). The other is pmt=5
598  E1 merged and E4' should be dropped if channel = 12 (i.e. pmt=13)
599  */
600  return ((( channel != 4) && (channel != 12)) || m_cabling->TileGap_connected(id));
601 }

◆ isGoodEvent()

bool TileJetMonitorAlgorithm::isGoodEvent ( const EventContext &  ctx) const
private

Definition at line 604 of file TileJetMonitorAlgorithm.cxx.

604  {
605  /* check for errors in LAr and Tile, see https://twiki.cern.ch/twiki/bin/viewauth/Atlas/DataPreparationCheckListForPhysicsAnalysis
606  */
607  if (! m_doEventCleaning) return true;
608 
609  ATH_MSG_DEBUG("::isGoodEvent()....");
610 
612 
613  if (eventInfo->errorState(xAOD::EventInfo::LAr) == xAOD::EventInfo::Error) return false;
614  if (eventInfo->errorState(xAOD::EventInfo::Tile) == xAOD::EventInfo::Error) return false;
615 
616  /* see https://twiki.cern.ch/twiki/bin/view/AtlasProtected/HowToCleanJets2017
617  */
618  if (! m_doJetCleaning) return true;
619 
620  const xAOD::JetContainer* jetContainer = SG::get(m_jetContainerKey);
621  if (! jetContainer){
622  ATH_MSG_INFO("Cannot retrieve " << m_jetContainerKey << ". However, returning true.");
623  return true;
624  }
625 
626  auto jetsSC = xAOD::shallowCopyContainer(*jetContainer);
627  std::unique_ptr< xAOD::JetContainer > jetsCopy(jetsSC.first);
628  std::unique_ptr< xAOD::ShallowAuxContainer > jetsCopyAux(jetsSC.second);
629 
630  // We're attaching decorations here to a temporary object that
631  // is not recorded, so we shouldn't use a WriteDecorHandle.
632  static const SG::AuxElement::Decorator<char> passOR ("passOR");
633  static const SG::AuxElement::Decorator<char> passJvt ("passJvt");
634 
635  int iJet = 0;
636  for (auto jet : *jetsCopy) {
637  ATH_MSG_DEBUG("Jet " << iJet << ", pT " << jet->pt()/1000.0 << " GeV, eta "
638  << jet->eta());
639  passJvt(*jet) = passesJvt(*jet);
640  passOR(*jet) = true;
641  ATH_MSG_DEBUG("... done with jet " << iJet);
642  ++iJet;
643  }
644 
645  bool accept = m_eventCleaningTool->acceptEvent(&*jetsCopy);
646 
647  return accept;
648 }

◆ isGoodJet()

bool TileJetMonitorAlgorithm::isGoodJet ( const xAOD::Jet jet) const
private

Definition at line 666 of file TileJetMonitorAlgorithm.cxx.

666  {
667 
668  if (m_doJetCleaning) {
669 
670  if (jet.pt() >= m_jetPtMin && passesJvt(jet) && m_jetCleaningTool->keep(jet)) {
671  return true;
672  } else {
673  return false;
674  }
675 
676  } else {
677  return true;
678  }
679 
680 }

◆ matchesEnergyRange()

bool TileJetMonitorAlgorithm::matchesEnergyRange ( const int  sample,
const int  tower,
const float  energy,
const int  gain 
) const
private

Definition at line 543 of file TileJetMonitorAlgorithm.cxx.

543  {
544 /*---------------------------------------------------------*/
545  /* Want to separate E-cells, D4 and C10 from the rest:
546  ros: 1-2 LBA/LBC, 3-4 EBA/EBC
547  sample: 0 = A, 1 = B/BC/C, D = 2, E = 3
548  tower: 10 = E1, 11 = E2, 13 = E3, 14 = E4, 8 = D4, 9 = C10
549  Nevertheless, C10 and D4 have the same limits, since these are ordinary cells
550  */
551  if (sample != TileID::SAMP_E) {
552  return((energy > m_energyChanMin) && (energy < m_energyChanMax) && (gain == m_gain));
553  } else {
554  switch (tower) {
555  case 10:
556  return((energy > m_energyE1Min) && (energy < m_energyE1Max) && (gain == m_gainE1));
557  break;
558  case 11:
559  return((energy > m_energyE2Min) && (energy < m_energyE2Max) && (gain == m_gainE2));
560  break;
561  case 13:
562  return((energy > m_energyE3Min) && (energy < m_energyE3Max) && (gain == m_gainE3));
563  break;
564  case 15:
565  return((energy > m_energyE4Min) && (energy < m_energyE4Max) && (gain == m_gainE4));
566  break;
567  default:
568  return false;
569  }
570  }
571 }

◆ 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 341 of file AthMonitorAlgorithm.cxx.

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

◆ passesJvt()

bool TileJetMonitorAlgorithm::passesJvt ( const xAOD::Jet jet) const
private

Definition at line 651 of file TileJetMonitorAlgorithm.cxx.

651  {
652 
653  if (jet.pt() > m_jetPtMin
654  && jet.pt() < m_jetPtMax
655  && fabs(jet.getAttribute<float>("DetectorEta")) < m_jetTrackingEtaLimit
656  && m_jvt->updateJvt(jet) < m_jvtThreshold) {
657 
658  return false;
659 
660  } else {
661  return true;
662  }
663 
664 }

◆ 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  }

◆ sampleName()

std::string TileJetMonitorAlgorithm::sampleName ( const int  ros,
const int  sample,
const int  tower 
) const
private

Definition at line 446 of file TileJetMonitorAlgorithm.cxx.

446  {
447 /*---------------------------------------------------------*/
448  std::array<std::string, 3> sample_Name_LB{"A", "B", "D"};
449  std::array<std::string, 4> sample_Name_EB{"A", "B", "D", "E"};
450  std::string s_name;
451  if (ros < 3) { // LBA, LBC
452  s_name = sample_Name_LB[sample]; // default, standard cells
453  if ((sample == TileID::SAMP_BC) && (tower == 8)) { // cell B9
454  s_name = "B9";
455  }
456  } else { // EBA, EBC
457  s_name = sample_Name_EB[sample]; //default, standard cells
458  if ((sample == TileID::SAMP_C) && (tower == 9)) { // cell C10
459  s_name = "C10";
460  }
461  if ((sample == TileID::SAMP_D) && (tower == 8)) { // cell D4
462  s_name = "D4";
463  }
464  if ((sample == TileID::SAMP_E) && (tower == 10)) { // cell E1
465  s_name = "E1";
466  }
467  if ((sample == TileID::SAMP_E) && (tower == 11)) { // cell E2
468  s_name = "E2";
469  }
470  if ((sample == TileID::SAMP_E) && (tower == 13)) { // cell E3
471  s_name = "E3";
472  }
473  if ((sample == TileID::SAMP_E) && (tower == 15)) { // cell E4
474  s_name = "E4";
475  }
476  }
477  return s_name;
478 }

◆ setFilterPassed()

virtual void AthCommonReentrantAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool  state,
const EventContext &  ctx 
) const
inlinevirtualinherited

Definition at line 100 of file AthCommonReentrantAlgorithm.h.

100  {
101  execState( ctx ).setFilterPassed( state );
102  }

◆ sysExecute()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::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 85 of file AthCommonReentrantAlgorithm.cxx.

77 {
78  return BaseAlg::sysExecute (ctx);
79 }

◆ sysInitialize()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::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 61 of file AthCommonReentrantAlgorithm.cxx.

107  {
109 
110  if (sc.isFailure()) {
111  return sc;
112  }
113 
114  ServiceHandle<ICondSvc> cs("CondSvc",name());
115  for (auto h : outputHandles()) {
116  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
117  // do this inside the loop so we don't create the CondSvc until needed
118  if ( cs.retrieve().isFailure() ) {
119  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
120  return StatusCode::SUCCESS;
121  }
122  if (cs->regHandle(this,*h).isFailure()) {
123  sc = StatusCode::FAILURE;
124  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
125  << " with CondSvc");
126  }
127  }
128  }
129  return sc;
130 }

◆ 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 199 of file AthMonitorAlgorithm.cxx.

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

◆ 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

◆ cfg

TileJetMonitorAlgorithm.cfg

Definition at line 400 of file TileJetMonitorAlgorithm.py.

◆ Do1DHistograms

TileJetMonitorAlgorithm.Do1DHistograms

Definition at line 404 of file TileJetMonitorAlgorithm.py.

◆ DoCellHistograms

TileJetMonitorAlgorithm.DoCellHistograms

Definition at line 406 of file TileJetMonitorAlgorithm.py.

◆ DoEnergyDiffHistograms

TileJetMonitorAlgorithm.DoEnergyDiffHistograms

Definition at line 405 of file TileJetMonitorAlgorithm.py.

◆ enableLumiAccess

TileJetMonitorAlgorithm.enableLumiAccess

Definition at line 392 of file TileJetMonitorAlgorithm.py.

◆ Files

TileJetMonitorAlgorithm.Files

Definition at line 389 of file TileJetMonitorAlgorithm.py.

◆ flags

TileJetMonitorAlgorithm.flags

Definition at line 388 of file TileJetMonitorAlgorithm.py.

◆ HISTFileName

TileJetMonitorAlgorithm.HISTFileName

Definition at line 390 of file TileJetMonitorAlgorithm.py.

◆ m_cabling

const TileCablingService* TileJetMonitorAlgorithm::m_cabling
private

TileCabling instance.

Definition at line 108 of file TileJetMonitorAlgorithm.h.

◆ m_caloCellContainerKey

SG::ReadHandleKey<CaloCellContainer> TileJetMonitorAlgorithm::m_caloCellContainerKey
private
Initial value:
{this,
"CaloCellContainer", "AllCalo", "Calo cell container name"}

Definition at line 102 of file TileJetMonitorAlgorithm.h.

◆ m_cellEnergyUpperLimitsHG

Gaudi::Property<std::vector<float> > TileJetMonitorAlgorithm::m_cellEnergyUpperLimitsHG
private
Initial value:
{this,
"CellEnergyUpperLimitsHG", {}, "Energy upper limits of the HG cell-time histograms"}

Definition at line 83 of file TileJetMonitorAlgorithm.h.

◆ m_cellEnergyUpperLimitsLG

Gaudi::Property<std::vector<float> > TileJetMonitorAlgorithm::m_cellEnergyUpperLimitsLG
private
Initial value:
{this,
"CellEnergyUpperLimitsLG", {}, "Energy upper limits of the LG cell-time histograms"}

Definition at line 85 of file TileJetMonitorAlgorithm.h.

◆ 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_do1DHistograms

Gaudi::Property<bool> TileJetMonitorAlgorithm::m_do1DHistograms {this, "Do1DHistograms", false, ""}
private

Definition at line 73 of file TileJetMonitorAlgorithm.h.

◆ m_do2DHistograms

Gaudi::Property<bool> TileJetMonitorAlgorithm::m_do2DHistograms {this, "Do2DHistograms", false, ""}
private

Definition at line 74 of file TileJetMonitorAlgorithm.h.

◆ m_doCellHistograms

Gaudi::Property<bool> TileJetMonitorAlgorithm::m_doCellHistograms {this, "DoCellHistograms", false, ""}
private

Definition at line 75 of file TileJetMonitorAlgorithm.h.

◆ m_doEnergyDiffHistograms

Gaudi::Property<bool> TileJetMonitorAlgorithm::m_doEnergyDiffHistograms {this, "DoEnergyDiffHistograms", false, ""}
private

Definition at line 76 of file TileJetMonitorAlgorithm.h.

◆ m_doEnergyProfiles

Gaudi::Property<bool> TileJetMonitorAlgorithm::m_doEnergyProfiles {this, "DoEnergyProfiles", true, ""}
private

Definition at line 78 of file TileJetMonitorAlgorithm.h.

◆ m_doEventCleaning

Gaudi::Property<bool> TileJetMonitorAlgorithm::m_doEventCleaning {this, "DoEventCleaning", true, ""}
private

Definition at line 79 of file TileJetMonitorAlgorithm.h.

◆ m_doJetCleaning

Gaudi::Property<bool> TileJetMonitorAlgorithm::m_doJetCleaning {this, "DoJetCleaning", false, ""}
private

Definition at line 80 of file TileJetMonitorAlgorithm.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_energyChanMax

Gaudi::Property<float> TileJetMonitorAlgorithm::m_energyChanMax {this, "ChannelEnergyMax", 4000, ""}
private

Definition at line 58 of file TileJetMonitorAlgorithm.h.

◆ m_energyChanMin

Gaudi::Property<float> TileJetMonitorAlgorithm::m_energyChanMin {this, "ChannelEnergyMin", 2000, ""}
private

Definition at line 57 of file TileJetMonitorAlgorithm.h.

◆ m_energyDiffThreshold

Gaudi::Property<float> TileJetMonitorAlgorithm::m_energyDiffThreshold {this, "EnergyDiffThreshold", 2000, ""}
private

Definition at line 77 of file TileJetMonitorAlgorithm.h.

◆ m_energyE1Max

Gaudi::Property<float> TileJetMonitorAlgorithm::m_energyE1Max {this, "E1EnergyMax", -1, ""}
private

Definition at line 61 of file TileJetMonitorAlgorithm.h.

◆ m_energyE1Min

Gaudi::Property<float> TileJetMonitorAlgorithm::m_energyE1Min {this, "E1EnergyMin", -1, ""}
private

Definition at line 60 of file TileJetMonitorAlgorithm.h.

◆ m_energyE2Max

Gaudi::Property<float> TileJetMonitorAlgorithm::m_energyE2Max {this, "E2EnergyMax", -1, ""}
private

Definition at line 64 of file TileJetMonitorAlgorithm.h.

◆ m_energyE2Min

Gaudi::Property<float> TileJetMonitorAlgorithm::m_energyE2Min {this, "E2EnergyMin", -1, ""}
private

Definition at line 63 of file TileJetMonitorAlgorithm.h.

◆ m_energyE3Max

Gaudi::Property<float> TileJetMonitorAlgorithm::m_energyE3Max {this, "E3EnergyMax", -1, ""}
private

Definition at line 67 of file TileJetMonitorAlgorithm.h.

◆ m_energyE3Min

Gaudi::Property<float> TileJetMonitorAlgorithm::m_energyE3Min {this, "E3EnergyMin", -1, ""}
private

Definition at line 66 of file TileJetMonitorAlgorithm.h.

◆ m_energyE4Max

Gaudi::Property<float> TileJetMonitorAlgorithm::m_energyE4Max {this, "E4EnergyMax", -1, ""}
private

Definition at line 70 of file TileJetMonitorAlgorithm.h.

◆ m_energyE4Min

Gaudi::Property<float> TileJetMonitorAlgorithm::m_energyE4Min {this, "E4EnergyMin", -1, ""}
private

Definition at line 69 of file TileJetMonitorAlgorithm.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_eventCleaningTool

ToolHandle<ECUtils::IEventCleaningTool> TileJetMonitorAlgorithm::m_eventCleaningTool {this, "EventCleaningTool", "", ""}
private

Definition at line 96 of file TileJetMonitorAlgorithm.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 AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 114 of file AthCommonReentrantAlgorithm.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_gain

Gaudi::Property<float> TileJetMonitorAlgorithm::m_gain {this, "Gain", 1, ""}
private

Definition at line 59 of file TileJetMonitorAlgorithm.h.

◆ m_gainE1

Gaudi::Property<float> TileJetMonitorAlgorithm::m_gainE1 {this, "GainE1", -1, ""}
private

Definition at line 62 of file TileJetMonitorAlgorithm.h.

◆ m_gainE2

Gaudi::Property<float> TileJetMonitorAlgorithm::m_gainE2 {this, "GainE2", -1, ""}
private

Definition at line 65 of file TileJetMonitorAlgorithm.h.

◆ m_gainE3

Gaudi::Property<float> TileJetMonitorAlgorithm::m_gainE3 {this, "GainE3", -1, ""}
private

Definition at line 68 of file TileJetMonitorAlgorithm.h.

◆ m_gainE4

Gaudi::Property<float> TileJetMonitorAlgorithm::m_gainE4 {this, "GainE4", -1, ""}
private

Definition at line 71 of file TileJetMonitorAlgorithm.h.

◆ m_jetCleaningTool

ToolHandle<IJetSelector> TileJetMonitorAlgorithm::m_jetCleaningTool {this, "JetCleaningTool", "", ""}
private

Definition at line 95 of file TileJetMonitorAlgorithm.h.

◆ m_jetContainerKey

SG::ReadHandleKey<xAOD::JetContainer> TileJetMonitorAlgorithm::m_jetContainerKey
private
Initial value:
{this,
"JetContainer", "AntiKt4EMTopoJets", "Jet container for monitoring"}

Definition at line 99 of file TileJetMonitorAlgorithm.h.

◆ m_jetEtaMax

Gaudi::Property<float> TileJetMonitorAlgorithm::m_jetEtaMax {this, "JetEtaMax", 1.6, ""}
private

Definition at line 56 of file TileJetMonitorAlgorithm.h.

◆ m_jetPtMax

Gaudi::Property<float> TileJetMonitorAlgorithm::m_jetPtMax {this, "JetPtMax", 120000, ""}
private

Definition at line 55 of file TileJetMonitorAlgorithm.h.

◆ m_jetPtMin

Gaudi::Property<float> TileJetMonitorAlgorithm::m_jetPtMin {this, "JetPtMin", 20000., "Threshold in MeV"}
private

Definition at line 54 of file TileJetMonitorAlgorithm.h.

◆ m_jetTrackingEtaLimit

Gaudi::Property<float> TileJetMonitorAlgorithm::m_jetTrackingEtaLimit {this, "JetTrackingEtaLimit", 2.4, ""}
private

Definition at line 81 of file TileJetMonitorAlgorithm.h.

◆ m_jvt

ToolHandle<IJetUpdateJvt> TileJetMonitorAlgorithm::m_jvt {this, "JVT", "", ""}
private

Definition at line 92 of file TileJetMonitorAlgorithm.h.

◆ m_jvtThreshold

Gaudi::Property<float> TileJetMonitorAlgorithm::m_jvtThreshold {this, "JvtThreshold", 0.59, ""}
private

Definition at line 82 of file TileJetMonitorAlgorithm.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_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_tileBadChanTool

ToolHandle<ITileBadChanTool> TileJetMonitorAlgorithm::m_tileBadChanTool
private
Initial value:
{this,
"TileBadChanTool", "TileBadChanTool", "Tile bad channel tool"}

Definition at line 88 of file TileJetMonitorAlgorithm.h.

◆ m_tileHWID

const TileHWID* TileJetMonitorAlgorithm::m_tileHWID
private

Definition at line 106 of file TileJetMonitorAlgorithm.h.

◆ m_tileID

const TileID* TileJetMonitorAlgorithm::m_tileID
private

Definition at line 105 of file TileJetMonitorAlgorithm.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_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.

◆ MaxEvents

TileJetMonitorAlgorithm.MaxEvents

Definition at line 393 of file TileJetMonitorAlgorithm.py.

◆ sc

TileJetMonitorAlgorithm.sc

Definition at line 413 of file TileJetMonitorAlgorithm.py.

◆ tileJetMonitorAccumulator

TileJetMonitorAlgorithm.tileJetMonitorAccumulator

Definition at line 403 of file TileJetMonitorAlgorithm.py.

◆ useTrigger

TileJetMonitorAlgorithm.useTrigger

Definition at line 391 of file TileJetMonitorAlgorithm.py.


The documentation for this class was generated from the following files:
TileJetMonitorAlgorithm::m_jetCleaningTool
ToolHandle< IJetSelector > m_jetCleaningTool
Definition: TileJetMonitorAlgorithm.h:95
TileJetMonitorAlgorithm::m_doCellHistograms
Gaudi::Property< bool > m_doCellHistograms
Definition: TileJetMonitorAlgorithm.h:75
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
bad
@ bad
Definition: SUSYToolsTester.cxx:100
TileCell
Definition: TileCell.h:57
CaloDetDescrElement::onl2
IdentifierHash onl2() const
cell online identifier 2
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:408
TileCell::time1
float time1(void) const
get time of first PMT
Definition: TileCell.h:198
TileJetMonitorAlgorithm::m_jetTrackingEtaLimit
Gaudi::Property< float > m_jetTrackingEtaLimit
Definition: TileJetMonitorAlgorithm.h:81
TileJetMonitorAlgorithm::passesJvt
bool passesJvt(const xAOD::Jet &jet) const
Definition: TileJetMonitorAlgorithm.cxx:651
TileCablingService::TileGap_connected
bool TileGap_connected(const Identifier &id) const
Definition: TileCablingService.cxx:1756
AthMonitorAlgorithm::Environment_t::tier0Raw
@ tier0Raw
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
ReadCellNoiseFromCool.name1
name1
Definition: ReadCellNoiseFromCool.py:233
get_generator_info.result
result
Definition: get_generator_info.py:21
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
TileJetMonitorAlgorithm::m_energyE3Max
Gaudi::Property< float > m_energyE3Max
Definition: TileJetMonitorAlgorithm.h:67
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
AthMonitorAlgorithm::m_trigDecTool
PublicToolHandle< Trig::TrigDecisionTool > m_trigDecTool
Tool to tell whether a specific trigger is passed.
Definition: AthMonitorAlgorithm.h:340
TileCell::MASK_ALGO
@ MASK_ALGO
Definition: TileCell.h:62
TileJetMonitorAlgorithm::m_energyE4Min
Gaudi::Property< float > m_energyE4Min
Definition: TileJetMonitorAlgorithm.h:69
collListGuids.line
string line
Definition: collListGuids.py:77
AthMonitorAlgorithm::Environment_t::tier0
@ tier0
AthMonitorAlgorithm::Environment_t::AOD
@ AOD
TileJetMonitorAlgorithm::m_energyChanMax
Gaudi::Property< float > m_energyChanMax
Definition: TileJetMonitorAlgorithm.h:58
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
TileCell::time2
float time2(void) const
get time of second PMT
Definition: TileCell.h:200
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:67
index
Definition: index.py:1
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
TileJetMonitorAlgorithm::m_energyE3Min
Gaudi::Property< float > m_energyE3Min
Definition: TileJetMonitorAlgorithm.h:66
TileJetMonitorAlgorithm::m_gainE1
Gaudi::Property< float > m_gainE1
Definition: TileJetMonitorAlgorithm.h:62
TileJetMonitorAlgorithm::m_jetEtaMax
Gaudi::Property< float > m_jetEtaMax
Definition: TileJetMonitorAlgorithm.h:56
CutsMETMaker::accept
StatusCode accept(const xAOD::Muon *mu)
Definition: CutsMETMaker.cxx:18
TileCell::ene1
float ene1(void) const
get energy of first PMT
Definition: TileCell.h:193
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
AthMonitorAlgorithm::m_vTrigChainNames
std::vector< std::string > m_vTrigChainNames
Vector of trigger chain names parsed from trigger chain string.
Definition: AthMonitorAlgorithm.h:356
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
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
Tile_Base_ID::SAMP_BC
@ SAMP_BC
Definition: Tile_Base_ID.h:54
CaloTime_fillDB.gain2
gain2
Definition: CaloTime_fillDB.py:357
AthMonitorAlgorithm::m_EventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_EventInfoKey
Key for retrieving EventInfo from StoreGate.
Definition: AthMonitorAlgorithm.h:362
TileJetMonitorAlgorithm::m_tileHWID
const TileHWID * m_tileHWID
Definition: TileJetMonitorAlgorithm.h:106
Tile_Base_ID::sample
int sample(const Identifier &id) const
Definition: Tile_Base_ID.cxx:171
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
TileJetMonitorAlgorithm::m_cellEnergyUpperLimitsLG
Gaudi::Property< std::vector< float > > m_cellEnergyUpperLimitsLG
Definition: TileJetMonitorAlgorithm.h:85
TileJetMonitorAlgorithm::m_doJetCleaning
Gaudi::Property< bool > m_doJetCleaning
Definition: TileJetMonitorAlgorithm.h:80
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
Tile_Base_ID::tower
int tower(const Identifier &id) const
Definition: Tile_Base_ID.cxx:165
cosmics
Definition: cosmics.py:1
TileJetMonitorAlgorithm::fillTimeHistograms
StatusCode fillTimeHistograms(const xAOD::Jet &jet, uint32_t lumiBlock, std::set< Identifier > &usedCells) const
Definition: TileJetMonitorAlgorithm.cxx:152
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
Tile_Base_ID::SAMP_E
@ SAMP_E
Definition: Tile_Base_ID.h:55
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
GlobalMonitoring.partitionName
partitionName
Definition: GlobalMonitoring.py:40
CaloCell::time
float time() const
get time (data member)
Definition: CaloCell.h:352
HWIdentifier
Definition: HWIdentifier.h:13
TileCell::MASK_BADCH
@ MASK_BADCH
Definition: TileCell.h:63
xAOD::EventInfo_v1::LAr
@ LAr
The LAr calorimeter.
Definition: EventInfo_v1.h:335
TileFragHash::OptFilterDsp
@ OptFilterDsp
Definition: TileFragHash.h:34
TileHWID::NOT_VALID_HASH
@ NOT_VALID_HASH
Definition: TileHWID.h:314
AthMonitorAlgorithm::trigChainsArePassed
bool trigChainsArePassed(const std::vector< std::string > &vTrigNames) const
Check whether triggers are passed.
Definition: AthMonitorAlgorithm.cxx:199
AthMonitorAlgorithm::Environment_t::user
@ user
TileHWID::channel
int channel(const HWIdentifier &id) const
extract channel field from HW identifier
Definition: TileHWID.h:189
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition: Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
TileJetMonitorAlgorithm::m_caloCellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_caloCellContainerKey
Definition: TileJetMonitorAlgorithm.h:102
python.utils.AtlRunQueryTimer.timer
def timer(name, disabled=False)
Definition: AtlRunQueryTimer.py:86
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
TileCalibUtils::MAX_DRAWER
static const unsigned int MAX_DRAWER
Number of drawers in ROS 1-4.
Definition: TileCalibUtils.h:139
TileJetMonitorAlgorithm::isGoodChannel
bool isGoodChannel(int part, int module, int channel, uint32_t bad, unsigned int qbit, Identifier id) const
Definition: TileJetMonitorAlgorithm.cxx:573
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
AthMonitorAlgorithm::m_dummy
const ToolHandle< GenericMonitoringTool > m_dummy
Definition: AthMonitorAlgorithm.h:369
CaloCell::energy
double energy() const
get energy (data member)
Definition: CaloCell.h:311
xAOD::EventInfo_v1::Error
@ Error
The sub-detector issued an error.
Definition: EventInfo_v1.h:349
Tile_Base_ID::SAMP_C
@ SAMP_C
Definition: Tile_Base_ID.h:54
TileHWID::ros
int ros(const HWIdentifier &id) const
extract ros field from HW identifier
Definition: TileHWID.h:167
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
CaloDetDescrElement::onl1
IdentifierHash onl1() const
cell online identifier 1
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:404
PyPoolBrowser.item
item
Definition: PyPoolBrowser.py:129
TileJetMonitorAlgorithm::m_gainE3
Gaudi::Property< float > m_gainE3
Definition: TileJetMonitorAlgorithm.h:68
python.PyAthena.module
module
Definition: PyAthena.py:131
TileJetMonitorAlgorithm::m_energyDiffThreshold
Gaudi::Property< float > m_energyDiffThreshold
Definition: TileJetMonitorAlgorithm.h:77
TileSynchronizeBch.online
online
Definition: TileSynchronizeBch.py:88
AthCommonReentrantAlgorithm::extraOutputDeps
virtual const DataObjIDColl & extraOutputDeps() const override
Return the list of extra output dependencies.
Definition: AthCommonReentrantAlgorithm.cxx:89
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:62
TileJetMonitorAlgorithm::m_jetPtMin
Gaudi::Property< float > m_jetPtMin
Definition: TileJetMonitorAlgorithm.h:54
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthMonitorAlgorithm::m_DQFilterTools
ToolHandleArray< IDQFilterTool > m_DQFilterTools
Array of Data Quality filter tools.
Definition: AthMonitorAlgorithm.h:341
TileJetMonitorAlgorithm::findIndex
unsigned int findIndex(const int gain, const float energy) const
Definition: TileJetMonitorAlgorithm.cxx:682
TileJetMonitorAlgorithm::isGoodEvent
bool isGoodEvent(const EventContext &ctx) const
Definition: TileJetMonitorAlgorithm.cxx:604
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
Tile_Base_ID::module
int module(const Identifier &id) const
Definition: Tile_Base_ID.cxx:159
SG::Decorator
Helper class to provide type-safe access to aux data.
Definition: Decorator.h:59
FullCPAlgorithmsTest_eljob.sample
sample
Definition: FullCPAlgorithmsTest_eljob.py:116
TileJetMonitorAlgorithm::m_jetContainerKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerKey
Definition: TileJetMonitorAlgorithm.h:99
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
TileJetMonitorAlgorithm::m_energyE2Min
Gaudi::Property< float > m_energyE2Min
Definition: TileJetMonitorAlgorithm.h:63
SG::get
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
Definition: ReadCondHandle.h:287
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
TileJetMonitorAlgorithm::m_cabling
const TileCablingService * m_cabling
TileCabling instance.
Definition: TileJetMonitorAlgorithm.h:108
CaloCell::caloDDE
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
Definition: CaloCell.h:305
tolower
void tolower(std::string &s)
Definition: AthenaSummarySvc.cxx:111
python.CaloAddPedShiftConfig.str
str
Definition: CaloAddPedShiftConfig.py:42
AthMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const =0
adds event to the monitoring histograms
AthCommonReentrantAlgorithm::sysExecute
virtual StatusCode sysExecute(const EventContext &ctx) override
Execute an algorithm.
Definition: AthCommonReentrantAlgorithm.cxx:76
TileJetMonitorAlgorithm::m_do1DHistograms
Gaudi::Property< bool > m_do1DHistograms
Definition: TileJetMonitorAlgorithm.h:73
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
TileJetMonitorAlgorithm::m_jvt
ToolHandle< IJetUpdateJvt > m_jvt
Definition: TileJetMonitorAlgorithm.h:92
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
python.LArCondContChannels.chan1
chan1
Definition: LArCondContChannels.py:666
CaloCell_Base_ID::TILE
@ TILE
Definition: CaloCell_Base_ID.h:46
TileCell::qbit1
uint8_t qbit1(void) const
get quality bits of first PMT (data member)
Definition: TileCell.h:209
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
TileJetMonitorAlgorithm::m_energyE2Max
Gaudi::Property< float > m_energyE2Max
Definition: TileJetMonitorAlgorithm.h:64
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.
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
TileCalibUtils::MAX_ROS
static const unsigned int MAX_ROS
Number of ROSs
Definition: TileCalibUtils.h:138
TileJetMonitorAlgorithm::m_energyE4Max
Gaudi::Property< float > m_energyE4Max
Definition: TileJetMonitorAlgorithm.h:70
maskDeadModules.ros
ros
Definition: maskDeadModules.py:35
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
TileCell::gain1
int gain1(void) const
get gain of first PMT
Definition: TileCell.cxx:182
Monitored::fill
void fill(const ToolHandle< GenericMonitoringTool > &tool, T &&... variables)
Definition: MonitoredGroup.h:122
TileCell::eneDiff
float eneDiff(void) const
all get methods
Definition: TileCell.h:188
xAOD::CaloCluster_v1::getCellLinks
const CaloClusterCellLink * getCellLinks() const
Get a pointer to the CaloClusterCellLink object (const version)
Definition: CaloCluster_v1.cxx:859
AthMonitorAlgorithm::m_dataType
AthMonitorAlgorithm::DataType_t m_dataType
Instance of the DataType_t enum.
Definition: AthMonitorAlgorithm.h:351
TileJetMonitorAlgorithm::m_energyE1Min
Gaudi::Property< float > m_energyE1Min
Definition: TileJetMonitorAlgorithm.h:60
TileJetMonitorAlgorithm::m_doEnergyDiffHistograms
Gaudi::Property< bool > m_doEnergyDiffHistograms
Definition: TileJetMonitorAlgorithm.h:76
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
CaloTime_fillDB.gain1
gain1
Definition: CaloTime_fillDB.py:356
AthMonitorAlgorithm::m_tools
ToolHandleArray< GenericMonitoringTool > m_tools
Array of Generic Monitoring Tools.
Definition: AthMonitorAlgorithm.h:338
AthMonitorAlgorithm::Environment_t::online
@ online
TileJetMonitorAlgorithm::m_doEventCleaning
Gaudi::Property< bool > m_doEventCleaning
Definition: TileJetMonitorAlgorithm.h:79
TileJetMonitorAlgorithm::m_gainE4
Gaudi::Property< float > m_gainE4
Definition: TileJetMonitorAlgorithm.h:71
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition: GeometryDefs.h:34
AthMonitorAlgorithm::Environment_t::tier0ESD
@ tier0ESD
AthMonitorAlgorithm::Environment_t::altprod
@ altprod
AthMonitorAlgorithm::m_enforceExpressTriggers
Gaudi::Property< bool > m_enforceExpressTriggers
Definition: AthMonitorAlgorithm.h:372
CaloCell::ID
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
Definition: CaloCell.h:279
item
Definition: ItemListSvc.h:43
WriteBchToCool.user
user
Definition: WriteBchToCool.py:76
TileJetMonitorAlgorithm::m_energyE1Max
Gaudi::Property< float > m_energyE1Max
Definition: TileJetMonitorAlgorithm.h:61
TileJetMonitorAlgorithm::m_do2DHistograms
Gaudi::Property< bool > m_do2DHistograms
Definition: TileJetMonitorAlgorithm.h:74
columnar::ContainerId::eventInfo
@ eventInfo
xAOD::shallowCopyContainer
std::pair< std::unique_ptr< T >, std::unique_ptr< ShallowAuxContainer > > shallowCopyContainer(const T &cont, [[maybe_unused]] const EventContext &ctx)
Function making a shallow copy of a constant container.
Definition: ShallowCopy.h:110
TileJetMonitorAlgorithm::cellName
std::string cellName(const int ros, const int sample, const int tower, const int module) const
Definition: TileJetMonitorAlgorithm.cxx:481
AthMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: AthMonitorAlgorithm.cxx:18
TileJetMonitorAlgorithm::m_jvtThreshold
Gaudi::Property< float > m_jvtThreshold
Definition: TileJetMonitorAlgorithm.h:82
TileHWID::adc_id
HWIdentifier adc_id(int ros, int drawer, int channel, int adc) const
adc HWIdentifer
Definition: TileHWID.cxx:229
TileCell::qbit2
uint8_t qbit2(void) const
get quality bits of second PMT (data member)
Definition: TileCell.h:212
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
Tile_Base_ID::SAMP_D
@ SAMP_D
Definition: Tile_Base_ID.h:55
ATH_LIKELY
#define ATH_LIKELY(x)
Definition: AthUnlikelyMacros.h:16
TileCalibUtils::getDrawerString
static std::string getDrawerString(unsigned int ros, unsigned int drawer)
Return the drawer name, e.g.
Definition: TileCalibUtils.cxx:145
TileCell::gain2
int gain2(void) const
get gain of second PMT
Definition: TileCell.cxx:189
xAOD::EventInfo_v1::Tile
@ Tile
The Tile calorimeter.
Definition: EventInfo_v1.h:336
TileCell::MASK_TIME
@ MASK_TIME
Definition: TileCell.h:67
TileCell::ene2
float ene2(void) const
get energy of second PMT
Definition: TileCell.h:195
runIDAlign.accumulate
accumulate
Update flags based on parser line args.
Definition: runIDAlign.py:63
TileCablingService::isDisconnected
bool isDisconnected(int ros, int drawer, int channel) const
Definition: TileCablingService.cxx:2461
a
TList * a
Definition: liststreamerinfos.cxx:10
CaloLCW_tf.group
group
Definition: CaloLCW_tf.py:28
h
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
AthMonitorAlgorithm::DataType_t::collisions
@ collisions
AthMonitorAlgorithm::m_name
std::string m_name
Definition: AthMonitorAlgorithm.h:366
TileJetMonitorAlgorithm::m_gainE2
Gaudi::Property< float > m_gainE2
Definition: TileJetMonitorAlgorithm.h:65
TileJetMonitorAlgorithm::m_energyChanMin
Gaudi::Property< float > m_energyChanMin
Definition: TileJetMonitorAlgorithm.h:57
TileJetMonitorAlgorithm::m_tileBadChanTool
ToolHandle< ITileBadChanTool > m_tileBadChanTool
Definition: TileJetMonitorAlgorithm.h:88
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
AthMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: AthMonitorAlgorithm.cxx:7
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:629
TileJetMonitorAlgorithm::sampleName
std::string sampleName(const int ros, const int sample, const int tower) const
Definition: TileJetMonitorAlgorithm.cxx:446
TileJetMonitorAlgorithm::m_gain
Gaudi::Property< float > m_gain
Definition: TileJetMonitorAlgorithm.h:59
AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthCommonReentrantAlgorithm.cxx:107
xAOD::JetConstituent
4-vector of jet constituent at the scale used during jet finding.
Definition: JetConstituentVector.h:61
str
Definition: BTagTrackIpAccessor.cxx:11
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
Monitored::Scalar
Declare a monitored scalar variable.
Definition: MonitoredScalar.h:34
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
TileJetMonitorAlgorithm::m_jetPtMax
Gaudi::Property< float > m_jetPtMax
Definition: TileJetMonitorAlgorithm.h:55
AthMonitorAlgorithm::DataType_t::userDefined
@ userDefined
TileJetMonitorAlgorithm::isGoodJet
bool isGoodJet(const xAOD::Jet &jet) const
Definition: TileJetMonitorAlgorithm.cxx:666
TileJetMonitorAlgorithm::m_cellEnergyUpperLimitsHG
Gaudi::Property< std::vector< float > > m_cellEnergyUpperLimitsHG
Definition: TileJetMonitorAlgorithm.h:83
xAOD::lumiBlock
setTeId lumiBlock
Definition: L2StandAloneMuon_v1.cxx:327
AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthCommonReentrantAlgorithm.h:114
passOR
@ passOR
Definition: SUSYToolsTester.cxx:105
TileJetMonitorAlgorithm::m_doEnergyProfiles
Gaudi::Property< bool > m_doEnergyProfiles
Definition: TileJetMonitorAlgorithm.h:78
TileJetMonitorAlgorithm::m_tileID
const TileID * m_tileID
Definition: TileJetMonitorAlgorithm.h:105
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
TileJetMonitorAlgorithm::matchesEnergyRange
bool matchesEnergyRange(const int sample, const int tower, const float energy, const int gain) const
Definition: TileJetMonitorAlgorithm.cxx:543
TileJetMonitorAlgorithm::m_eventCleaningTool
ToolHandle< ECUtils::IEventCleaningTool > m_eventCleaningTool
Definition: TileJetMonitorAlgorithm.h:96
Monitored::Timer
A monitored timer.
Definition: MonitoredTimer.h:32
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
AthMonitorAlgorithm::DataType_t::monteCarlo
@ monteCarlo
fitman.k
k
Definition: fitman.py:528
ServiceHandle< TileCablingSvc >
collisions
Definition: collisions.py:1
Identifier
Definition: IdentifierFieldParser.cxx:14