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

Class for Tile digi noise based monitoring. More...

#include <TileRODMonitorAlgorithm.h>

Inheritance diagram for TileRODMonitorAlgorithm:
Collaboration diagram for TileRODMonitorAlgorithm:

Public Types

enum  L1TriggerTypeBit {
  BIT0_RNDM, BIT1_ZEROBIAS, BIT2_L1CAL, BIT3_MUON,
  BIT4_RPC, BIT5_FTK, BIT6_CTP, BIT7_CALIB,
  ANY_PHYSICS
}
 Describes L1 trigger type bits. More...
 
enum  AuxiliarySampling { SAMP_ALL = 4, MAX_SAMP = 5 }
 Describes Tile auxiliary sampling. More...
 
enum  Partition {
  PART_LBA, PART_LBC, PART_EBA, PART_EBC,
  PART_ALL, MAX_PART
}
 Describes Tile partitions (ROS - 1) More...
 
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

virtual ~TileRODMonitorAlgorithm ()=default
 
virtual StatusCode initialize () override
 initialize More...
 
virtual StatusCode fillHistograms (const EventContext &ctx) const override
 adds event to the monitoring histograms More...
 
 TileMonitorAlgorithm (const std::string &name, ISvcLocator *svcLocator)
 
std::vector< int > getL1TriggerIndices (uint32_t lvl1TriggerType) const
 Return indices of histograms to be filled according fired L1 trigger type. More...
 
L1TriggerTypeBit getL1TriggerTypeBit (int lvl1TriggerIdx) const
 Return Level1 Trigger type bit according trigger index. More...
 
int getNumberOfL1Triggers (void) const
 Return number of L1 triggers for which histograms should be filled. More...
 
bool isPhysicsEvent (uint32_t lvl1TriggerType) const
 Return true if it is physics event or false for calibration event. More...
 
Partition getPartition (const CaloCell *cell, const TileID *tileID) const
 Return Partition for Tile cell or MAX_PART otherwise. More...
 
Partition getPartition (Identifier id, const TileID *tileID) const
 Return Partition for Tile cell identifier or MAX_PART otherwise. More...
 
Partition getPartition (IdentifierHash hash, const TileID *tileID) const
 Return Partition for Tile cell identifier hash or MAX_PART otherwise. More...
 
 AthMonitorAlgorithm (const std::string &name, ISvcLocator *pSvcLocator)
 Constructor. 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
 
 AtlasVersion
 
 GlobalTag
 
 HISTFileName
 
 useTrigger
 
 enableLumiAccess
 
 doOptATLAS
 
 MaxEvents
 
 cfg
 
 readMuRcv
 
 withDetails
 
 True
 
 summariseProps
 
 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

L1TriggerTypeBit getL1TriggerTypeBitFromName (const std::string &triggerBitName) const
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

Gaudi::Property< bool > m_checkDCS {this, "CheckDCS", false, "Check Tile DCS status"}
 
Gaudi::Property< std::vector< unsigned int > > m_triggerTypes
 
Gaudi::Property< std::vector< int > > m_fragIDsToIgnoreDMUerrors
 
Gaudi::Property< unsigned int > m_comparisonUnit
 
Gaudi::Property< float > m_energyThreshold
 
Gaudi::Property< std::vector< float > > m_timeRange
 
Gaudi::Property< unsigned int > m_nROBs
 
Gaudi::Property< bool > m_fillRODfragSizeHistograms
 
SG::ReadHandleKey< TileDQstatusm_DQstatusKey
 
SG::ReadCondHandleKey< TileDCSStatem_DCSStateKey
 Name of TileDCSState object in condition store. More...
 
SG::ReadHandleKey< TileRawChannelContainerm_rawChannelContainerKey
 
SG::ReadHandleKey< TileRawChannelContainerm_dspRawChannelContainerKey
 
SG::ReadCondHandleKey< TileBadChannelsm_badChannelsKey
 Name of TileBadChannels in condition store. More...
 
SG::ReadCondHandleKey< TileEMScalem_emScaleKey
 Name of TileEMScale in condition store. More...
 
ServiceHandle< TileCablingSvcm_cablingSvc
 Name of Tile cabling service. More...
 
ServiceHandle< IROBDataProviderSvcm_robSvc
 Name of ROB data provider service. More...
 
const TileHWIDm_tileHWID {nullptr}
 
const TileCablingServicem_cabling {nullptr}
 
TileRawChannelUnit::UNIT m_finalRawChannelUnit {TileRawChannelUnit::Invalid}
 
std::vector< int > m_rodFragSizeMapGroups
 
std::vector< int > m_rodFragSizeLBGroups
 
std::vector< std::vector< std::vector< int > > > m_rodFragSizeGroups
 
std::vector< std::vector< int > > m_energyDiffGroups
 
std::vector< std::vector< int > > m_energyDiffVsTimeGroups
 
std::vector< std::vector< int > > m_energyDiffVsEnergyGroups
 
std::vector< std::vector< int > > m_timeDiffGroups
 
std::vector< std::vector< int > > m_timeDiffVsTimeGroups
 
std::vector< std::vector< int > > m_timeDiffVsEnergyGroups
 
std::vector< std::vector< int > > m_dspChanTimeGroups
 
std::vector< uint32_t > m_tileRobIds
 
Gaudi::Property< std::vector< std::string > > m_fillHistogramsForL1Triggers
 
std::vector< L1TriggerTypeBitm_l1Triggers
 
std::vector< int > m_l1TriggerIndices
 
std::vector< std::string > m_l1TriggerBitNames
 
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
 

Static Private Attributes

static constexpr int MAX_TILE_ROBS = 32
 

Detailed Description

Class for Tile digi noise based monitoring.

Definition at line 29 of file TileRODMonitorAlgorithm.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

◆ AuxiliarySampling

Describes Tile auxiliary sampling.

Enumerator
SAMP_ALL 
MAX_SAMP 

Definition at line 40 of file TileMonitorAlgorithm.h.

40 {SAMP_ALL = 4, MAX_SAMP = 5};

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

◆ L1TriggerTypeBit

Describes L1 trigger type bits.

Enumerator
BIT0_RNDM 
BIT1_ZEROBIAS 
BIT2_L1CAL 
BIT3_MUON 
BIT4_RPC 
BIT5_FTK 
BIT6_CTP 
BIT7_CALIB 
ANY_PHYSICS 

Definition at line 33 of file TileMonitorAlgorithm.h.

◆ Partition

Describes Tile partitions (ROS - 1)

Enumerator
PART_LBA 
PART_LBC 
PART_EBA 
PART_EBC 
PART_ALL 
MAX_PART 

Definition at line 46 of file TileMonitorAlgorithm.h.

47  PART_EBC, PART_ALL, MAX_PART}; // ROS - 1

Constructor & Destructor Documentation

◆ ~TileRODMonitorAlgorithm()

virtual TileRODMonitorAlgorithm::~TileRODMonitorAlgorithm ( )
virtualdefault

Member Function Documentation

◆ AthMonitorAlgorithm()

AthMonitorAlgorithm::AthMonitorAlgorithm
inherited

Constructor.

Definition at line 42 of file AthMonitorAlgorithm.cxx.

◆ cardinality()

unsigned int AthReentrantAlgorithm::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Override this to return 0 for reentrant algorithms.

Definition at line 55 of file AthReentrantAlgorithm.cxx.

56 {
57  return 0;
58 }

◆ 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 & AthReentrantAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

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

Definition at line 79 of file AthReentrantAlgorithm.cxx.

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

◆ fillHistograms()

StatusCode TileRODMonitorAlgorithm::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 TileMonitorAlgorithm.

Definition at line 92 of file TileRODMonitorAlgorithm.cxx.

92  {
93 
94  using Tile = TileCalibUtils;
95 
96  // In case you want to measure the execution time
97  auto timer = Monitored::Timer("TIME_execute");
98 
99  const xAOD::EventInfo* eventInfo = GetEventInfo(ctx).get();
100 
101  ATH_MSG_DEBUG(*eventInfo);
102 
103  const TileDQstatus* dqStatus = SG::makeHandle(m_DQstatusKey, ctx).get();
104  const TileDCSState* dcsState = m_checkDCS ? SG::ReadCondHandle(m_DCSStateKey, ctx).cptr() : nullptr;
105 
108 
110  ATH_CHECK( rawChannelContainer.isValid() );
111 
112  TileRawChannelUnit::UNIT rawChannelUnit = rawChannelContainer->get_unit();
113 
114  float referenceTimes[Tile::MAX_ROS - 1][Tile::MAX_DRAWER][Tile::MAX_CHAN] = {{{0}}};
115  float referenceEnergies[Tile::MAX_ROS - 1][Tile::MAX_DRAWER][Tile::MAX_CHAN] = {{{0}}};
116 
117  for (const TileRawChannelCollection* rawChannelCollection : *rawChannelContainer) {
118  if (rawChannelCollection->empty() ) continue;
119 
120  HWIdentifier adc_id = rawChannelCollection->front()->adc_HWID();
121  int ros = m_tileHWID->ros(adc_id);
122  int drawer = m_tileHWID->drawer(adc_id);
123  unsigned int drawerIdx = TileCalibUtils::getDrawerIdx(ros, drawer);
124  int partition = ros - 1;
125 
126  bool checkDQ = true;
127 
128  int fragId = rawChannelCollection->identify();
129  if (std::binary_search(m_fragIDsToIgnoreDMUerrors.begin(), m_fragIDsToIgnoreDMUerrors.end(), fragId)) {
130  checkDQ = false;
131  }
132 
133  for (const TileRawChannel* rawChannel : *rawChannelCollection) {
134 
135  adc_id = rawChannel->adc_HWID();
136  int channel = m_tileHWID->channel(adc_id);
137  int adc = m_tileHWID->adc(adc_id);
138 
140  ATH_MSG_VERBOSE(m_tileHWID->to_string(adc_id) << ": channlel is disconnected => skipping!");
141  continue;
142  }
143 
144  if (checkDQ && !(dqStatus->isAdcDQgood(ros, drawer, channel, adc))) {
145  ATH_MSG_VERBOSE(m_tileHWID->to_string(adc_id) << ": DQ is BAD => skipping!");
146  continue;
147  }
148 
149  if (m_checkDCS && dcsState->isStatusBad(ros, drawer, channel)) {
150  ATH_MSG_VERBOSE(m_tileHWID->to_string(adc_id) << ": DCS is Bad => skipping!");
151  continue;
152  }
153 
154  if (badChannels->getAdcStatus(adc_id).isBad()) {
155  ATH_MSG_VERBOSE(m_tileHWID->to_string(adc_id) << ": Status is BAD => skipping!");
156  continue;
157  }
158 
159  if (ros > 2) { // Check if channel is MBTS, no MBTS in LB
160  int pmt;
161  int index;
163  if (index < -1) {
164  ATH_MSG_VERBOSE(m_tileHWID->to_string(adc_id) << ": MBTS => skipping!");
165  continue;
166  }
167  }
168 
169  float amplitude = rawChannel->amplitude();
170  if (rawChannelUnit != m_comparisonUnit) {
171  amplitude = emScale->calibrateChannel(drawerIdx, channel, adc, amplitude, rawChannelUnit, m_finalRawChannelUnit);
172  }
173 
174  float time = rawChannel->uncorrTime();
175  if (amplitude > m_energyThreshold && time > m_timeRange[0] && time < m_timeRange[1]) {
176  referenceEnergies[partition][drawer][channel] = amplitude;
177  referenceTimes[partition][drawer][channel] = time;
178  }
179  }
180  }
181 
182  std::vector<float> timeDiffs[Tile::MAX_ROS - 1];
183  std::vector<float> energyDiffs[Tile::MAX_ROS - 1];
184  std::vector<float> offlineEnergies[Tile::MAX_ROS - 1];
185  std::vector<float> offlineTimes[Tile::MAX_ROS - 1];
186 
187  std::vector<float> dspTimes[Tile::MAX_ROS - 1];
188  std::vector<float> dspTimesChannels[Tile::MAX_ROS - 1];
189  std::vector<float> dspTimesDrawers[Tile::MAX_ROS - 1];
190 
192  ATH_CHECK( dspRawChannelContainer.isValid() );
193 
194  TileRawChannelUnit::UNIT dspRawChannelUnit = dspRawChannelContainer->get_unit();
195  for (const TileRawChannelCollection* rawChannelCollection : *dspRawChannelContainer) {
196  if (rawChannelCollection->empty() ) continue;
197 
198  HWIdentifier adc_id = rawChannelCollection->front()->adc_HWID();
199  int ros = m_tileHWID->ros(adc_id);
200  int drawer = m_tileHWID->drawer(adc_id);
201  unsigned int drawerIdx = TileCalibUtils::getDrawerIdx(ros, drawer);
202  int partition = ros - 1;
203 
204  for (const TileRawChannel* rawChannel : *rawChannelCollection) {
205  adc_id = rawChannel->adc_HWID();
206  int channel = m_tileHWID->channel(adc_id);
207  int adc = m_tileHWID->adc(adc_id);
208 
209  float offlineEnergy = referenceEnergies[partition][drawer][channel];
210  if (offlineEnergy > m_energyThreshold) {
211  offlineEnergies[partition].push_back(offlineEnergy);
212 
213  float offlineTime = referenceTimes[partition][drawer][channel];
214  offlineTimes[partition].push_back(offlineTime);
215 
216  float dspEnergy = rawChannel->amplitude();
217  float dspTime = rawChannel->uncorrTime();
218  dspTimes[partition].push_back(dspTime);
219  dspTimesDrawers[partition].push_back(drawer);
220  dspTimesChannels[partition].push_back(channel);
221 
222  if (dspRawChannelUnit != m_finalRawChannelUnit) {
223  dspEnergy = emScale->calibrateChannel(drawerIdx, channel, adc, dspEnergy, dspRawChannelUnit, m_finalRawChannelUnit);
224  }
225 
226  float energyDiff = (dspEnergy - offlineEnergy) / offlineEnergy;
227  energyDiffs[partition].push_back(energyDiff);
228 
229  float timeDiff = dspTime - offlineTime;
230  timeDiffs[partition].push_back(timeDiff);
231 
232  ATH_MSG_VERBOSE(m_tileHWID->to_string(adc_id) << ": (DSP/OFFLINE)"
233  << ", energy " << dspEnergy << "/" << offlineEnergy
234  << ", time " << dspTime << "/" << offlineTime);
235  }
236  }
237  }
238 
239  // Indices of L1 trigger histograms to be filled in the current event
240  std::vector<int> l1TriggersIndices = getL1TriggerIndices(eventInfo->level1TriggerType());
241 
242  for (unsigned int partition = 0; partition < Tile::MAX_ROS - 1; ++partition) {
243  if (!energyDiffs[partition].empty()) {
244  auto monTime = Monitored::Collection("time", offlineTimes[partition]);
245  auto monEnergy = Monitored::Collection("energy", offlineEnergies[partition]);
246  auto monEnergyDiff = Monitored::Collection("energyDiff", energyDiffs[partition]);
247  for (int l1TriggerIdx : l1TriggersIndices) {
248  fill(m_tools[m_energyDiffGroups[partition][l1TriggerIdx]], monEnergyDiff);
249  fill(m_tools[m_energyDiffVsTimeGroups[partition][l1TriggerIdx]], monTime, monEnergyDiff);
250  fill(m_tools[m_energyDiffVsEnergyGroups[partition][l1TriggerIdx]], monEnergy, monEnergyDiff);
251  }
252  }
253 
254  if (!timeDiffs[partition].empty()) {
255  auto monTime = Monitored::Collection("time", offlineTimes[partition]);
256  auto monEnergy = Monitored::Collection("energy", offlineEnergies[partition]);
257  auto monTimeDiff = Monitored::Collection("timeDiff", timeDiffs[partition]);
258  for (int l1TriggerIdx : l1TriggersIndices) {
259  fill(m_tools[m_timeDiffGroups[partition][l1TriggerIdx]], monTimeDiff);
260  fill(m_tools[m_timeDiffVsTimeGroups[partition][l1TriggerIdx]], monTime, monTimeDiff);
261  fill(m_tools[m_timeDiffVsEnergyGroups[partition][l1TriggerIdx]], monEnergy, monTimeDiff);
262  }
263  }
264  if (!timeDiffs[partition].empty()) {
265  auto monTime = Monitored::Collection("time", offlineTimes[partition]);
266  auto monEnergy = Monitored::Collection("energy", offlineEnergies[partition]);
267  auto monTimeDiff = Monitored::Collection("timeDiff", timeDiffs[partition]);
268  for (int l1TriggerIdx : l1TriggersIndices) {
269  fill(m_tools[m_timeDiffGroups[partition][l1TriggerIdx]], monTimeDiff);
270  fill(m_tools[m_timeDiffVsTimeGroups[partition][l1TriggerIdx]], monTime, monTimeDiff);
271  fill(m_tools[m_timeDiffVsEnergyGroups[partition][l1TriggerIdx]], monEnergy, monTimeDiff);
272  }
273  }
274 
275  if (!dspTimes[partition].empty()) {
276  auto monTime = Monitored::Collection("time", dspTimes[partition]);
277  auto monModule = Monitored::Collection("module", dspTimesDrawers[partition]);
278  auto monChannel = Monitored::Collection("channel", dspTimesChannels[partition]);
279  for (int l1TriggerIdx : l1TriggersIndices) {
280  fill(m_tools[m_dspChanTimeGroups[partition][l1TriggerIdx]], monModule, monChannel, monTime);
281  }
282  }
283 
284  }
285 
286 
288  int allTileRodFragsSize = 0;
289  std::vector<int> roses;
290  std::vector<int> fragments;
291  std::vector<int> fragmentSizes;
292 
293  std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*> robFragments;
294  m_robSvc->getROBData(m_tileRobIds, robFragments);
295 
296  for (const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment* robFragment : robFragments) {
297  uint32_t rodSourceId = robFragment->rod_source_id();
298  unsigned int ros = (rodSourceId & 0x0F0000) >> 16;
299  unsigned int fragment = rodSourceId & 0x0000FF;
300  int rodFragmentSize = robFragment->rod_fragment_size_word();
301 
302  allTileRodFragsSize += rodFragmentSize;
303  if (ros > 0 && ros < Tile::MAX_ROS && fragment < m_nROBs) {
304  roses.push_back(ros);
305  fragments.push_back(fragment);
306  fragmentSizes.push_back(rodFragmentSize);
307  ATH_MSG_VERBOSE("ROS = " << ros << ", ROD fragment = " << fragment << ", size = " << rodFragmentSize);
308  }
309  }
310 
311  ATH_MSG_DEBUG( "All Tile ROD fragemsts size: " << allTileRodFragsSize << " in LB " << eventInfo->lumiBlock());
312 
313  auto lumiBlock = Monitored::Scalar<int>("lumiBlock", eventInfo->lumiBlock());
314  auto monRodFragsSize = Monitored::Scalar<int>("allRodFragsSize", allTileRodFragsSize);
315  for (int l1TriggerIdx : l1TriggersIndices) {
316  fill(m_tools[m_rodFragSizeLBGroups[l1TriggerIdx]], lumiBlock, monRodFragsSize);
317  }
318 
319  if (!fragmentSizes.empty()) {
320  auto monPartition = Monitored::Collection("partition", roses);
321  auto monFragment = Monitored::Collection("fragment", fragments);
322  auto monFragmentSize = Monitored::Collection("rodFragSize", fragmentSizes);
323  for (int l1TriggerIdx : l1TriggersIndices) {
324  fill(m_tools[m_rodFragSizeMapGroups[l1TriggerIdx]], monFragment, monPartition, monFragmentSize);
325  }
326  }
327  }
328 
329 
330  fill("TileRODMonExecuteTime", timer);
331 
332  return StatusCode::SUCCESS;
333 }

◆ filterPassed()

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

Definition at line 135 of file AthReentrantAlgorithm.h.

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

◆ GetEventInfo()

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

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

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

Definition at line 107 of file AthMonitorAlgorithm.cxx.

107  {
109 }

◆ getGroup()

const ToolHandle< GenericMonitoringTool > & AthMonitorAlgorithm::getGroup ( const std::string &  name) const
inherited

Get a specific monitoring tool from the tool handle array.

Finds a specific GenericMonitoringTool instance from the list of monitoring tools (a ToolHandleArray). Throws a FATAL warning if the object found is empty.

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

Definition at line 164 of file AthMonitorAlgorithm.cxx.

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

◆ getL1TriggerIndices()

std::vector< int > TileMonitorAlgorithm::getL1TriggerIndices ( uint32_t  lvl1TriggerType) const
inherited

Return indices of histograms to be filled according fired L1 trigger type.

Parameters
lvl1TriggerTypeLevel1 Trigger Type
Returns
vector of indices of histograms to be filled

Definition at line 67 of file TileMonitorAlgorithm.cxx.

67  {
68 
69  std::vector<int> triggerIndices;
70  int triggerIdx{-1};
71 
72  if (lvl1TriggerType != 0) {
73  // First bit tells if physics (=1) or calibration (=0) event
74  if ((lvl1TriggerType >> BIT7_CALIB) & 1) { // format is 0x1AAAAAAA
75  // Always try store at least AnyPhysTrig (=8)
76  triggerIdx = m_l1TriggerIndices[ANY_PHYSICS];
77  if (triggerIdx >= 0) triggerIndices.push_back(triggerIdx);
78  // Adding the phys triggers one by one
79  for (int bitTrigger = 0; bitTrigger < BIT7_CALIB; ++bitTrigger) {
80  if ((lvl1TriggerType >> bitTrigger) & 1) {
81  triggerIdx = m_l1TriggerIndices[bitTrigger];
82  if (triggerIdx >= 0) triggerIndices.push_back(triggerIdx);
83  }
84  }
85  } else { // Calibration event foramt is 0x0AAAAAAA
86  triggerIdx = m_l1TriggerIndices[BIT7_CALIB];
87  if (triggerIdx >= 0) triggerIndices.push_back(triggerIdx);
88  }
89  } else {
90  // Always try store at least AnyPhysTrig (=8)
91  triggerIdx = m_l1TriggerIndices[ANY_PHYSICS];
92  if (triggerIdx >= 0) triggerIndices.push_back(triggerIdx);
93  }
94 
95  return triggerIndices;
96 }

◆ getL1TriggerTypeBit()

TileMonitorAlgorithm::L1TriggerTypeBit TileMonitorAlgorithm::getL1TriggerTypeBit ( int  lvl1TriggerIdx) const
inherited

Return Level1 Trigger type bit according trigger index.

Parameters
lvl1TriggerIdxLevel1 Trigger index
Returns
level1 trigger type bit according trigger index

Definition at line 104 of file TileMonitorAlgorithm.cxx.

104  {
105  return m_l1Triggers.at(lvl1TriggerIdx);
106 }

◆ getL1TriggerTypeBitFromName()

TileMonitorAlgorithm::L1TriggerTypeBit TileMonitorAlgorithm::getL1TriggerTypeBitFromName ( const std::string &  triggerBitName) const
privateinherited

Definition at line 35 of file TileMonitorAlgorithm.cxx.

35  {
36 
37  // Convert the triger name to lower case
38  std::string loCaseTriggerBitName = triggerBitName;
39  std::transform(triggerBitName.begin(), triggerBitName.end(), loCaseTriggerBitName.begin(), ::tolower);
40 
41  if( loCaseTriggerBitName == "bit0_rndm" ) {
42  return L1TriggerTypeBit::BIT0_RNDM;
43  } else if( loCaseTriggerBitName == "bit1_zerobias" ) {
44  return L1TriggerTypeBit::BIT1_ZEROBIAS;
45  } else if( loCaseTriggerBitName == "bit2_l1cal" ) {
46  return L1TriggerTypeBit::BIT2_L1CAL;
47  } else if( loCaseTriggerBitName == "bit3_muon" ) {
48  return L1TriggerTypeBit::BIT3_MUON;
49  } else if( loCaseTriggerBitName == "bit4_rpc" ) {
50  return L1TriggerTypeBit::BIT4_RPC;
51  } else if( loCaseTriggerBitName == "bit5_ftk" ) {
52  return L1TriggerTypeBit::BIT5_FTK;
53  } else if( loCaseTriggerBitName == "bit6_ctp" ) {
54  return L1TriggerTypeBit::BIT6_CTP;
55  } else if( loCaseTriggerBitName == "bit7_calib" ) {
56  return L1TriggerTypeBit::BIT7_CALIB;
57  } else if( loCaseTriggerBitName == "anyphystrig" ) {
58  return L1TriggerTypeBit::ANY_PHYSICS;
59  } else { // Otherwise, warn the user and return "AnyPhysTrig"
60  ATH_MSG_WARNING("::getL1TriggerTypeBitFromName(): Unknown L1 trigger type bit name: "
61  << triggerBitName << ", returning AnyPhysTrig.");
62  return L1TriggerTypeBit::ANY_PHYSICS;
63  }
64 }

◆ getNumberOfL1Triggers()

int TileMonitorAlgorithm::getNumberOfL1Triggers ( void  ) const
inlineinherited

Return number of L1 triggers for which histograms should be filled.

Definition at line 66 of file TileMonitorAlgorithm.h.

66 {return m_fillHistogramsForL1Triggers.size();};

◆ getPartition() [1/3]

TileMonitorAlgorithm::Partition TileMonitorAlgorithm::getPartition ( const CaloCell cell,
const TileID tileID 
) const
inherited

Return Partition for Tile cell or MAX_PART otherwise.

Parameters
cellCalo cell

Definition at line 109 of file TileMonitorAlgorithm.cxx.

109  {
110  return cell ? getPartition(cell->ID(), tileID) : MAX_PART;
111 }

◆ getPartition() [2/3]

TileMonitorAlgorithm::Partition TileMonitorAlgorithm::getPartition ( Identifier  id,
const TileID tileID 
) const
inherited

Return Partition for Tile cell identifier or MAX_PART otherwise.

Parameters
idCalo cell identifier

Definition at line 120 of file TileMonitorAlgorithm.cxx.

120  {
121 
122  Partition partition = MAX_PART; // by default for non Tile cell
123 
124  if (tileID->is_tile(id)) {
125  int section = tileID->section(id);
126  int side = tileID->side(id);
127 
128  if (section == 1) {
129  partition = (side == 1) ? PART_LBA : PART_LBC;
130  } else if (section == 2 || section == 3) {
131  partition = (side == 1) ? PART_EBA : PART_EBC;
132  }
133  }
134 
135  return partition;
136 }

◆ getPartition() [3/3]

TileMonitorAlgorithm::Partition TileMonitorAlgorithm::getPartition ( IdentifierHash  hash,
const TileID tileID 
) const
inherited

Return Partition for Tile cell identifier hash or MAX_PART otherwise.

Parameters
hashCalo cell identifier hash

Definition at line 114 of file TileMonitorAlgorithm.cxx.

114  {
115  return getPartition(tileID->cell_id(hash), tileID);
116 }

◆ getTrigDecisionTool()

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

Get the trigger decision tool member.

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

Returns
m_trigDecTool

Definition at line 189 of file AthMonitorAlgorithm.cxx.

189  {
190  return m_trigDecTool;
191 }

◆ initialize()

StatusCode TileRODMonitorAlgorithm::initialize ( )
overridevirtual

initialize

Returns
StatusCode

Reimplemented from TileMonitorAlgorithm.

Definition at line 12 of file TileRODMonitorAlgorithm.cxx.

12  {
13 
14  ATH_MSG_DEBUG("in initialize()");
15 
16  // initialize superclass
18 
20 
22 
23  ATH_CHECK( m_cablingSvc.retrieve() );
24  m_cabling = m_cablingSvc->cablingService();
25 
32 
35  }
36 
37  if (m_timeRange.size() != 2) {
38  ATH_MSG_FATAL( "Size of TimeRange should be 2 (from,to), but is " << m_timeRange.size() );
39  return StatusCode::FAILURE;
40  }
41 
42  using namespace Monitored;
43  using Tile = TileCalibUtils;
44 
45  int nL1Triggers = getNumberOfL1Triggers();
46 
47  m_energyDiffGroups = buildToolMap<std::vector<int>>(m_tools, "TileDspEnergyDiff",
48  Tile::MAX_ROS - 1, nL1Triggers);
49 
50  m_energyDiffVsTimeGroups = buildToolMap<std::vector<int>>(m_tools, "TileDspEnergyDiffVsTime",
51  Tile::MAX_ROS - 1, nL1Triggers);
52 
53  m_energyDiffVsEnergyGroups = buildToolMap<std::vector<int>>(m_tools, "TileDspEnergyDiffVsEnergy",
54  Tile::MAX_ROS - 1, nL1Triggers);
55 
56  m_timeDiffGroups = buildToolMap<std::vector<int>>(m_tools, "TileDspTimeDiff",
57  Tile::MAX_ROS - 1, nL1Triggers);
58 
59  m_timeDiffVsTimeGroups = buildToolMap<std::vector<int>>(m_tools, "TileDspTimeDiffVsTime",
60  Tile::MAX_ROS - 1, nL1Triggers);
61 
62  m_timeDiffVsEnergyGroups = buildToolMap<std::vector<int>>(m_tools, "TileDspTimeDiffVsEnergy",
63  Tile::MAX_ROS - 1, nL1Triggers);
64 
65  m_dspChanTimeGroups = buildToolMap<std::vector<int>>(m_tools, "TileDspChannelTime",
66  Tile::MAX_ROS - 1, nL1Triggers);
67 
69  ATH_CHECK( m_robSvc.retrieve() );
70 
71  if (m_nROBs > MAX_TILE_ROBS) {
72  int nROBsSetUp = m_nROBs;
74  ATH_MSG_INFO( "Decreasing number of ROBs from " << nROBsSetUp << " to " << m_nROBs );
75  }
76 
77  m_tileRobIds.reserve((Tile::MAX_ROS - 1) * m_nROBs); // Partitions * fragments
78  for (unsigned int rodId : {0x510000, 0x520000, 0x530000, 0x540000}) {
79  for (unsigned int fragment = 0; fragment < m_nROBs; ++fragment) {
80  m_tileRobIds.push_back(rodId + fragment);
81  }
82  }
83 
84  m_rodFragSizeMapGroups = buildToolMap<int>(m_tools, "TileRodFragmentMapSize", nL1Triggers);
85  m_rodFragSizeLBGroups = buildToolMap<int>(m_tools, "TileRodFragmentSizeLB", nL1Triggers);
86  }
87 
88  return StatusCode::SUCCESS;
89 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ isClonable()

bool AthReentrantAlgorithm::isClonable ( ) const
overridevirtualinherited

◆ isPhysicsEvent()

bool TileMonitorAlgorithm::isPhysicsEvent ( uint32_t  lvl1TriggerType) const
inherited

Return true if it is physics event or false for calibration event.

Parameters
lvl1TriggerTypeLevel1 Trigger Type
Returns
true if it is physics event according L1 trigger type

Definition at line 98 of file TileMonitorAlgorithm.cxx.

98  {
99  // First bit tells if physics (=1) or calibration (=0) event
100  return (lvl1TriggerType == 0) || (((lvl1TriggerType >> BIT7_CALIB) & 1) == 1);
101 }

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 27 of file AthCommonMsg.h.

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

◆ msgLvl()

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

Definition at line 30 of file AthCommonMsg.h.

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

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ parseList()

StatusCode AthMonitorAlgorithm::parseList ( const std::string &  line,
std::vector< std::string > &  result 
) const
virtualinherited

Parse a string into a vector.

The input string is a single long string of all of the trigger names. It parses this string and turns it into a vector, where each element is one trigger or trigger category.

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

Definition at line 336 of file AthMonitorAlgorithm.cxx.

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

◆ renounce()

std::enable_if_t<std::is_void_v<std::result_of_t<decltype(&T::renounce)(T)> > && !std::is_base_of_v<SG::VarHandleKeyArray, T> && std::is_base_of_v<Gaudi::DataHandle, T>, void> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

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

◆ renounceArray()

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

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ setFilterPassed()

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

Definition at line 139 of file AthReentrantAlgorithm.h.

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

◆ sysExecute()

StatusCode AthReentrantAlgorithm::sysExecute ( const EventContext &  ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 67 of file AthReentrantAlgorithm.cxx.

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

◆ sysInitialize()

StatusCode AthReentrantAlgorithm::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in InputMakerBase, and HypoBase.

Definition at line 96 of file AthReentrantAlgorithm.cxx.

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

◆ sysStart()

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

Handle START transition.

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

◆ TileMonitorAlgorithm()

TileMonitorAlgorithm::TileMonitorAlgorithm
inline

Definition at line 21 of file TileMonitorAlgorithm.h.

22  :AthMonitorAlgorithm(name, svcLocator), m_l1TriggerIndices(9, -1) {}

◆ trigChainsArePassed()

bool AthMonitorAlgorithm::trigChainsArePassed ( const std::vector< std::string > &  vTrigNames) const
inherited

Check whether triggers are passed.

For the event, use the trigger decision tool to check that at least one of the triggers listed in the supplied vector is passed.

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

Definition at line 194 of file AthMonitorAlgorithm.cxx.

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

◆ updateVHKA()

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

Definition at line 308 of file AthCommonDataStore.h.

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

Member Data Documentation

◆ AtlasVersion

TileRODMonitorAlgorithm.AtlasVersion

Definition at line 181 of file TileRODMonitorAlgorithm.py.

◆ cfg

TileRODMonitorAlgorithm.cfg

Definition at line 193 of file TileRODMonitorAlgorithm.py.

◆ doOptATLAS

TileRODMonitorAlgorithm.doOptATLAS

Definition at line 186 of file TileRODMonitorAlgorithm.py.

◆ enableLumiAccess

TileRODMonitorAlgorithm.enableLumiAccess

Definition at line 185 of file TileRODMonitorAlgorithm.py.

◆ Files

TileRODMonitorAlgorithm.Files

Definition at line 180 of file TileRODMonitorAlgorithm.py.

◆ flags

TileRODMonitorAlgorithm.flags

Definition at line 179 of file TileRODMonitorAlgorithm.py.

◆ GlobalTag

TileRODMonitorAlgorithm.GlobalTag

Definition at line 182 of file TileRODMonitorAlgorithm.py.

◆ HISTFileName

TileRODMonitorAlgorithm.HISTFileName

Definition at line 183 of file TileRODMonitorAlgorithm.py.

◆ m_badChannelsKey

SG::ReadCondHandleKey<TileBadChannels> TileRODMonitorAlgorithm::m_badChannelsKey
private
Initial value:
{this,
"TileBadChannels", "TileBadChannels", "Input Tile bad channel status"}

Name of TileBadChannels in condition store.

Definition at line 80 of file TileRODMonitorAlgorithm.h.

◆ m_cabling

const TileCablingService* TileRODMonitorAlgorithm::m_cabling {nullptr}
private

Definition at line 102 of file TileRODMonitorAlgorithm.h.

◆ m_cablingSvc

ServiceHandle<TileCablingSvc> TileRODMonitorAlgorithm::m_cablingSvc
private
Initial value:
{ this,
"TileCablingSvc", "TileCablingSvc", "The Tile cabling service"}

Name of Tile cabling service.

Definition at line 92 of file TileRODMonitorAlgorithm.h.

◆ m_checkDCS

Gaudi::Property<bool> TileRODMonitorAlgorithm::m_checkDCS {this, "CheckDCS", false, "Check Tile DCS status"}
private

Definition at line 40 of file TileRODMonitorAlgorithm.h.

◆ m_comparisonUnit

Gaudi::Property<unsigned int> TileRODMonitorAlgorithm::m_comparisonUnit
private
Initial value:
{this,
"ComparisonUnit", TileRawChannelUnit::MegaElectronVolts, "Units to compare Tile raw channel containers"}

Definition at line 47 of file TileRODMonitorAlgorithm.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_DCSStateKey

SG::ReadCondHandleKey<TileDCSState> TileRODMonitorAlgorithm::m_DCSStateKey
private
Initial value:
{this,
"TileDCS", "TileDCS", "Input Tile DCS status"}

Name of TileDCSState object in condition store.

Definition at line 68 of file TileRODMonitorAlgorithm.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_DQFilterTools

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

Array of Data Quality filter tools.

Definition at line 341 of file AthMonitorAlgorithm.h.

◆ m_DQstatusKey

SG::ReadHandleKey<TileDQstatus> TileRODMonitorAlgorithm::m_DQstatusKey
private
Initial value:
{this,
"TileDQstatus", "TileDQstatus", "Tile DQ status name"}

Definition at line 62 of file TileRODMonitorAlgorithm.h.

◆ m_dspChanTimeGroups

std::vector<std::vector<int> > TileRODMonitorAlgorithm::m_dspChanTimeGroups
private

Definition at line 115 of file TileRODMonitorAlgorithm.h.

◆ m_dspRawChannelContainerKey

SG::ReadHandleKey<TileRawChannelContainer> TileRODMonitorAlgorithm::m_dspRawChannelContainerKey
private
Initial value:
{this,
"TileRawChannelContainerDSP", "TileRawChannelCnt", "Input Tile DSP raw channel container key"}

Definition at line 74 of file TileRODMonitorAlgorithm.h.

◆ m_dummy

const ToolHandle<GenericMonitoringTool> AthMonitorAlgorithm::m_dummy
privateinherited

Definition at line 369 of file AthMonitorAlgorithm.h.

◆ m_emScaleKey

SG::ReadCondHandleKey<TileEMScale> TileRODMonitorAlgorithm::m_emScaleKey
private
Initial value:
{this,
"TileEMScale", "TileEMScale", "Input Tile EMS calibration constants"}

Name of TileEMScale in condition store.

Definition at line 86 of file TileRODMonitorAlgorithm.h.

◆ m_energyDiffGroups

std::vector<std::vector<int> > TileRODMonitorAlgorithm::m_energyDiffGroups
private

Definition at line 109 of file TileRODMonitorAlgorithm.h.

◆ m_energyDiffVsEnergyGroups

std::vector<std::vector<int> > TileRODMonitorAlgorithm::m_energyDiffVsEnergyGroups
private

Definition at line 111 of file TileRODMonitorAlgorithm.h.

◆ m_energyDiffVsTimeGroups

std::vector<std::vector<int> > TileRODMonitorAlgorithm::m_energyDiffVsTimeGroups
private

Definition at line 110 of file TileRODMonitorAlgorithm.h.

◆ m_energyThreshold

Gaudi::Property<float> TileRODMonitorAlgorithm::m_energyThreshold
private
Initial value:
{this,
"EnergyThreshold", 300.0F, "Energy threshold in MeV"}

Definition at line 50 of file TileRODMonitorAlgorithm.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_EventInfoKey

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

Key for retrieving EventInfo from StoreGate.

Definition at line 362 of file AthMonitorAlgorithm.h.

◆ m_evtStore

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

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects
privateinherited

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

Empty if no symlinks were found.

Definition at line 153 of file AthReentrantAlgorithm.h.

◆ m_fileKey

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

Internal Athena name for file.

Definition at line 358 of file AthMonitorAlgorithm.h.

◆ m_fillHistogramsForL1Triggers

Gaudi::Property<std::vector<std::string> > TileMonitorAlgorithm::m_fillHistogramsForL1Triggers
privateinherited
Initial value:
{this,
"fillHistogramsForL1Triggers", {}, "Fill histograms per given L1 trigger types"}

Definition at line 98 of file TileMonitorAlgorithm.h.

◆ m_fillRODfragSizeHistograms

Gaudi::Property<bool> TileRODMonitorAlgorithm::m_fillRODfragSizeHistograms
private
Initial value:
{this,
"fillRODFragmentSizeHistograms", true, "Fill summary histograms with ROD fragment size"}

Definition at line 59 of file TileRODMonitorAlgorithm.h.

◆ m_finalRawChannelUnit

TileRawChannelUnit::UNIT TileRODMonitorAlgorithm::m_finalRawChannelUnit {TileRawChannelUnit::Invalid}
private

Definition at line 103 of file TileRODMonitorAlgorithm.h.

◆ m_fragIDsToIgnoreDMUerrors

Gaudi::Property<std::vector<int> > TileRODMonitorAlgorithm::m_fragIDsToIgnoreDMUerrors
private
Initial value:
{this,
"FragIDsToIgnoreDMUErrors", {}, "List of Tile frag IDs for which ignore DMU errors"}

Definition at line 44 of file TileRODMonitorAlgorithm.h.

◆ m_l1TriggerBitNames

std::vector<std::string> TileMonitorAlgorithm::m_l1TriggerBitNames
privateinherited
Initial value:
{"bit0_RNDM", "bit1_ZeroBias", "bit2_L1CAL", "bit3_MUON",
"bit4_RPC", "bit5_FTK", "bti6_CTP", "bit7_Calib", "AnyPhysTrig"}

Definition at line 103 of file TileMonitorAlgorithm.h.

◆ m_l1TriggerIndices

std::vector<int> TileMonitorAlgorithm::m_l1TriggerIndices
privateinherited

Definition at line 102 of file TileMonitorAlgorithm.h.

◆ m_l1Triggers

std::vector<L1TriggerTypeBit> TileMonitorAlgorithm::m_l1Triggers
privateinherited

Definition at line 101 of file TileMonitorAlgorithm.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_nROBs

Gaudi::Property<unsigned int> TileRODMonitorAlgorithm::m_nROBs
private
Initial value:
{this,
"NumberOfROBFragmets", MAX_TILE_ROBS, "Number of Tile ROB fragments"}

Definition at line 56 of file TileRODMonitorAlgorithm.h.

◆ m_rawChannelContainerKey

SG::ReadHandleKey<TileRawChannelContainer> TileRODMonitorAlgorithm::m_rawChannelContainerKey
private
Initial value:
{this,
"TileRawChannelContainer", "TileRawChannelOpt2", "Input Tile reference raw channel container key"}

Definition at line 71 of file TileRODMonitorAlgorithm.h.

◆ m_robSvc

ServiceHandle<IROBDataProviderSvc> TileRODMonitorAlgorithm::m_robSvc
private
Initial value:
{this,
"ROBDataProviderSvc", "ROBDataProviderSvc", "The ROB data provider service"}

Name of ROB data provider service.

Definition at line 98 of file TileRODMonitorAlgorithm.h.

◆ m_rodFragSizeGroups

std::vector<std::vector<std::vector<int> > > TileRODMonitorAlgorithm::m_rodFragSizeGroups
private

Definition at line 107 of file TileRODMonitorAlgorithm.h.

◆ m_rodFragSizeLBGroups

std::vector<int> TileRODMonitorAlgorithm::m_rodFragSizeLBGroups
private

Definition at line 106 of file TileRODMonitorAlgorithm.h.

◆ m_rodFragSizeMapGroups

std::vector<int> TileRODMonitorAlgorithm::m_rodFragSizeMapGroups
private

Definition at line 105 of file TileRODMonitorAlgorithm.h.

◆ m_tileHWID

const TileHWID* TileRODMonitorAlgorithm::m_tileHWID {nullptr}
private

Definition at line 101 of file TileRODMonitorAlgorithm.h.

◆ m_tileRobIds

std::vector<uint32_t> TileRODMonitorAlgorithm::m_tileRobIds
private

Definition at line 117 of file TileRODMonitorAlgorithm.h.

◆ m_timeDiffGroups

std::vector<std::vector<int> > TileRODMonitorAlgorithm::m_timeDiffGroups
private

Definition at line 112 of file TileRODMonitorAlgorithm.h.

◆ m_timeDiffVsEnergyGroups

std::vector<std::vector<int> > TileRODMonitorAlgorithm::m_timeDiffVsEnergyGroups
private

Definition at line 114 of file TileRODMonitorAlgorithm.h.

◆ m_timeDiffVsTimeGroups

std::vector<std::vector<int> > TileRODMonitorAlgorithm::m_timeDiffVsTimeGroups
private

Definition at line 113 of file TileRODMonitorAlgorithm.h.

◆ m_timeRange

Gaudi::Property<std::vector<float> > TileRODMonitorAlgorithm::m_timeRange
private
Initial value:
{this,
"TimeRange", {-65.0F, 65.0F}, "Time range to be monitored, default: (-65,65)"}

Definition at line 53 of file TileRODMonitorAlgorithm.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_triggerTypes

Gaudi::Property<std::vector<unsigned int> > TileRODMonitorAlgorithm::m_triggerTypes
private
Initial value:
{this,
"TriggerTypes", {}, "Given trigger types only events with these TT will be used, otherwise all"}

Definition at line 41 of file TileRODMonitorAlgorithm.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.

◆ MAX_TILE_ROBS

constexpr int TileRODMonitorAlgorithm::MAX_TILE_ROBS = 32
staticconstexprprivate

Definition at line 118 of file TileRODMonitorAlgorithm.h.

◆ MaxEvents

TileRODMonitorAlgorithm.MaxEvents

Definition at line 187 of file TileRODMonitorAlgorithm.py.

◆ readMuRcv

TileRODMonitorAlgorithm.readMuRcv

Definition at line 196 of file TileRODMonitorAlgorithm.py.

◆ sc

TileRODMonitorAlgorithm.sc

Definition at line 208 of file TileRODMonitorAlgorithm.py.

◆ summariseProps

TileRODMonitorAlgorithm.summariseProps

Definition at line 203 of file TileRODMonitorAlgorithm.py.

◆ True

TileRODMonitorAlgorithm.True

Definition at line 203 of file TileRODMonitorAlgorithm.py.

◆ useTrigger

TileRODMonitorAlgorithm.useTrigger

Definition at line 184 of file TileRODMonitorAlgorithm.py.

◆ withDetails

TileRODMonitorAlgorithm.withDetails

Definition at line 203 of file TileRODMonitorAlgorithm.py.


The documentation for this class was generated from the following files:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
TileMonitorAlgorithm::getL1TriggerIndices
std::vector< int > getL1TriggerIndices(uint32_t lvl1TriggerType) const
Return indices of histograms to be filled according fired L1 trigger type.
Definition: TileMonitorAlgorithm.cxx:67
AthMonitorAlgorithm::Environment_t::tier0Raw
@ tier0Raw
TileMonitorAlgorithm::BIT2_L1CAL
@ BIT2_L1CAL
Definition: TileMonitorAlgorithm.h:33
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
TileMonitorAlgorithm::BIT4_RPC
@ BIT4_RPC
Definition: TileMonitorAlgorithm.h:34
checkFileSG.line
line
Definition: checkFileSG.py:75
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
get_generator_info.result
result
Definition: get_generator_info.py:21
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
TileRODMonitorAlgorithm::m_finalRawChannelUnit
TileRawChannelUnit::UNIT m_finalRawChannelUnit
Definition: TileRODMonitorAlgorithm.h:103
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:28
TileRODMonitorAlgorithm::m_nROBs
Gaudi::Property< unsigned int > m_nROBs
Definition: TileRODMonitorAlgorithm.h:56
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
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
TileRODMonitorAlgorithm::m_comparisonUnit
Gaudi::Property< unsigned int > m_comparisonUnit
Definition: TileRODMonitorAlgorithm.h:47
TileMonitorAlgorithm::PART_EBA
@ PART_EBA
Definition: TileMonitorAlgorithm.h:46
TileMonitorAlgorithm::PART_EBC
@ PART_EBC
Definition: TileMonitorAlgorithm.h:47
AthMonitorAlgorithm::Environment_t::tier0
@ tier0
AthMonitorAlgorithm::Environment_t::AOD
@ AOD
TileRODMonitorAlgorithm::m_tileHWID
const TileHWID * m_tileHWID
Definition: TileRODMonitorAlgorithm.h:101
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
index
Definition: index.py:1
TileMonitorAlgorithm::ANY_PHYSICS
@ ANY_PHYSICS
Definition: TileMonitorAlgorithm.h:34
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
TileRODMonitorAlgorithm::m_energyDiffVsTimeGroups
std::vector< std::vector< int > > m_energyDiffVsTimeGroups
Definition: TileRODMonitorAlgorithm.h:110
ReadBchFromCool.pmt
pmt
Definition: ReadBchFromCool.py:62
TileMonitorAlgorithm::BIT3_MUON
@ BIT3_MUON
Definition: TileMonitorAlgorithm.h:33
TileRODMonitorAlgorithm::m_DCSStateKey
SG::ReadCondHandleKey< TileDCSState > m_DCSStateKey
Name of TileDCSState object in condition store.
Definition: TileRODMonitorAlgorithm.h:68
accumulate
bool accumulate(AccumulateMap &map, std::vector< module_t > const &modules, FPGATrackSimMatrixAccumulator const &acc)
Accumulates an accumulator (e.g.
Definition: FPGATrackSimMatrixAccumulator.cxx:22
AthMonitorAlgorithm::m_vTrigChainNames
std::vector< std::string > m_vTrigChainNames
Vector of trigger chain names parsed from trigger chain string.
Definition: AthMonitorAlgorithm.h:356
AthCommonDataStore::renounce
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
Definition: AthCommonDataStore.h:380
AthMonitorAlgorithm::m_EventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_EventInfoKey
Key for retrieving EventInfo from StoreGate.
Definition: AthMonitorAlgorithm.h:362
Tile_Base_ID::side
int side(const Identifier &id) const
Definition: Tile_Base_ID.cxx:153
TileMonitorAlgorithm::m_l1Triggers
std::vector< L1TriggerTypeBit > m_l1Triggers
Definition: TileMonitorAlgorithm.h:101
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
AthMonitorAlgorithm::m_toolLookupMap
std::unordered_map< std::string, size_t > m_toolLookupMap
Definition: AthMonitorAlgorithm.h:367
TileRODMonitorAlgorithm::m_timeDiffGroups
std::vector< std::vector< int > > m_timeDiffGroups
Definition: TileRODMonitorAlgorithm.h:112
AthMonitorAlgorithm::m_environment
AthMonitorAlgorithm::Environment_t m_environment
Instance of the Environment_t enum.
Definition: AthMonitorAlgorithm.h:350
TileCablingService::h2s_cell_id_index
Identifier h2s_cell_id_index(const HWIdentifier &id, int &index, int &pmt) const
Definition: TileCablingService.cxx:2418
TileMonitorAlgorithm::m_fillHistogramsForL1Triggers
Gaudi::Property< std::vector< std::string > > m_fillHistogramsForL1Triggers
Definition: TileMonitorAlgorithm.h:98
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
TileMonitorAlgorithm::MAX_SAMP
@ MAX_SAMP
Definition: TileMonitorAlgorithm.h:40
TileRODMonitorAlgorithm::m_DQstatusKey
SG::ReadHandleKey< TileDQstatus > m_DQstatusKey
Definition: TileRODMonitorAlgorithm.h:62
TileRODMonitorAlgorithm::m_timeDiffVsTimeGroups
std::vector< std::vector< int > > m_timeDiffVsTimeGroups
Definition: TileRODMonitorAlgorithm.h:113
empty
bool empty(TH1 *h)
Definition: computils.cxx:294
TileDCSState::isStatusBad
bool isStatusBad(unsigned int ros, unsigned int drawer) const
Return true if given Tile drawer considered as bad by summary drawer states per LVPS otherwise return...
Definition: TileDCSState.h:320
Example_ReadSampleNoise.drawer
drawer
Definition: Example_ReadSampleNoise.py:39
AthMonitorAlgorithm::trigChainsArePassed
bool trigChainsArePassed(const std::vector< std::string > &vTrigNames) const
Check whether triggers are passed.
Definition: AthMonitorAlgorithm.cxx:194
TileMonitorAlgorithm::BIT5_FTK
@ BIT5_FTK
Definition: TileMonitorAlgorithm.h:34
AthMonitorAlgorithm::Environment_t::user
@ user
TileHWID::channel
int channel(const HWIdentifier &id) const
extract channel field from HW identifier
Definition: TileHWID.h:189
TileRODMonitorAlgorithm::m_checkDCS
Gaudi::Property< bool > m_checkDCS
Definition: TileRODMonitorAlgorithm.h:40
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
Monitored::Collection
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
Definition: MonitoredCollection.h:38
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
AthMonitorAlgorithm::m_dummy
const ToolHandle< GenericMonitoringTool > m_dummy
Definition: AthMonitorAlgorithm.h:369
TileHWID::ros
int ros(const HWIdentifier &id) const
extract ros field from HW identifier
Definition: TileHWID.h:167
TileMonitorAlgorithm::BIT6_CTP
@ BIT6_CTP
Definition: TileMonitorAlgorithm.h:34
TRT::Hit::side
@ side
Definition: HitInfo.h:83
TileMonitorAlgorithm::SAMP_ALL
@ SAMP_ALL
Definition: TileMonitorAlgorithm.h:40
TileRODMonitorAlgorithm::m_energyDiffVsEnergyGroups
std::vector< std::vector< int > > m_energyDiffVsEnergyGroups
Definition: TileRODMonitorAlgorithm.h:111
TileMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: TileMonitorAlgorithm.cxx:10
SG::makeHandle
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
Definition: ReadCondHandle.h:269
PyPoolBrowser.item
item
Definition: PyPoolBrowser.py:129
TileRODMonitorAlgorithm::m_timeDiffVsEnergyGroups
std::vector< std::vector< int > > m_timeDiffVsEnergyGroups
Definition: TileRODMonitorAlgorithm.h:114
TileSynchronizeBch.online
online
Definition: TileSynchronizeBch.py:88
TileDQstatus
Class that holds Data Quality fragment information and provides functions to extract the data quality...
Definition: TileDQstatus.h:49
TileHWID::adc
int adc(const HWIdentifier &id) const
extract adc field from HW identifier
Definition: TileHWID.h:193
Tile
Definition: TileVolumeBuilder.h:43
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthMonitorAlgorithm::m_DQFilterTools
ToolHandleArray< IDQFilterTool > m_DQFilterTools
Array of Data Quality filter tools.
Definition: AthMonitorAlgorithm.h:341
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
sim_rttUpdate.user
def user
Definition: sim_rttUpdate.py:662
eformat::ROBFragment
Definition: L1CaloBsDecoderUtil.h:12
Monitored
Generic monitoring tool for athena components.
Definition: GenericMonitoringTool.h:30
TileMonitorAlgorithm::BIT7_CALIB
@ BIT7_CALIB
Definition: TileMonitorAlgorithm.h:34
TileRODMonitorAlgorithm::m_cabling
const TileCablingService * m_cabling
Definition: TileRODMonitorAlgorithm.h:102
TileRODMonitorAlgorithm::m_fillRODfragSizeHistograms
Gaudi::Property< bool > m_fillRODfragSizeHistograms
Definition: TileRODMonitorAlgorithm.h:59
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
TileMonitorAlgorithm::BIT0_RNDM
@ BIT0_RNDM
Definition: TileMonitorAlgorithm.h:33
TileMonitorAlgorithm::Partition
Partition
Describes Tile partitions (ROS - 1)
Definition: TileMonitorAlgorithm.h:46
tolower
void tolower(std::string &s)
Definition: AthenaSummarySvc.cxx:113
AthMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const =0
adds event to the monitoring histograms
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
TileRawChannelUnit::MegaElectronVolts
@ MegaElectronVolts
Definition: TileRawChannelUnit.h:20
TileRawChannel
Definition: TileRawChannel.h:35
TileMonitorAlgorithm::PART_ALL
@ PART_ALL
Definition: TileMonitorAlgorithm.h:47
TileMonitorAlgorithm::PART_LBC
@ PART_LBC
Definition: TileMonitorAlgorithm.h:46
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AtlasDetectorID::is_tile
bool is_tile(Identifier id) const
Definition: AtlasDetectorID.h:695
TileRODMonitorAlgorithm::m_energyDiffGroups
std::vector< std::vector< int > > m_energyDiffGroups
Definition: TileRODMonitorAlgorithm.h:109
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
AthMonitorAlgorithm::fill
void fill(const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
Fills a vector of variables to a group by reference.
python.BuildSignatureFlags.cosmics
AthConfigFlags cosmics(AthConfigFlags flags, str instanceName, str recoMode)
Definition: BuildSignatureFlags.py:472
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
TileRODMonitorAlgorithm::m_badChannelsKey
SG::ReadCondHandleKey< TileBadChannels > m_badChannelsKey
Name of TileBadChannels in condition store.
Definition: TileRODMonitorAlgorithm.h:80
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
TileRODMonitorAlgorithm::m_emScaleKey
SG::ReadCondHandleKey< TileEMScale > m_emScaleKey
Name of TileEMScale in condition store.
Definition: TileRODMonitorAlgorithm.h:86
TileRawChannelUnit::UNIT
UNIT
Definition: TileRawChannelUnit.h:16
TileRODMonitorAlgorithm::m_energyThreshold
Gaudi::Property< float > m_energyThreshold
Definition: TileRODMonitorAlgorithm.h:50
xAOD::EventInfo_v1::lumiBlock
uint32_t lumiBlock() const
The current event's luminosity block number.
AthMonitorAlgorithm::m_dataType
AthMonitorAlgorithm::DataType_t m_dataType
Instance of the DataType_t enum.
Definition: AthMonitorAlgorithm.h:351
TileDQstatus::isAdcDQgood
bool isAdcDQgood(int partition, int drawer, int ch, int gain) const
returns status of single ADC returns False if there are any errors
Definition: TileDQstatus.cxx:178
AthReentrantAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthReentrantAlgorithm.h:153
TileRODMonitorAlgorithm::m_timeRange
Gaudi::Property< std::vector< float > > m_timeRange
Definition: TileRODMonitorAlgorithm.h:53
TileRODMonitorAlgorithm::m_rodFragSizeMapGroups
std::vector< int > m_rodFragSizeMapGroups
Definition: TileRODMonitorAlgorithm.h:105
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
AthMonitorAlgorithm::m_tools
ToolHandleArray< GenericMonitoringTool > m_tools
Array of Generic Monitoring Tools.
Definition: AthMonitorAlgorithm.h:338
AthMonitorAlgorithm::Environment_t::online
@ online
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
AthMonitorAlgorithm::Environment_t::tier0ESD
@ tier0ESD
AthMonitorAlgorithm::Environment_t::altprod
@ altprod
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
TileRawChannelCollection
Definition: TileRawChannelCollection.h:12
AthMonitorAlgorithm::m_enforceExpressTriggers
Gaudi::Property< bool > m_enforceExpressTriggers
Definition: AthMonitorAlgorithm.h:372
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
TileMonitorAlgorithm::m_l1TriggerIndices
std::vector< int > m_l1TriggerIndices
Definition: TileMonitorAlgorithm.h:102
item
Definition: ItemListSvc.h:43
TileRODMonitorAlgorithm::m_cablingSvc
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
Definition: TileRODMonitorAlgorithm.h:92
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
ATH_LIKELY
#define ATH_LIKELY(x)
Definition: AthUnlikelyMacros.h:16
DeMoScan.index
string index
Definition: DeMoScan.py:362
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
TileHWID::drawer
int drawer(const HWIdentifier &id) const
extract drawer field from HW identifier
Definition: TileHWID.h:171
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109
python.CaloScaleNoiseConfig.str
str
Definition: CaloScaleNoiseConfig.py:78
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
TileMonitorAlgorithm::getNumberOfL1Triggers
int getNumberOfL1Triggers(void) const
Return number of L1 triggers for which histograms should be filled.
Definition: TileMonitorAlgorithm.h:66
ReadFloatFromCool.adc
adc
Definition: ReadFloatFromCool.py:48
TileMonitorAlgorithm::MAX_PART
@ MAX_PART
Definition: TileMonitorAlgorithm.h:47
std::sort
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.
Definition: DVL_algorithms.h:623
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
TileRODMonitorAlgorithm::m_rawChannelContainerKey
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
Definition: TileRODMonitorAlgorithm.h:71
TileMonitorAlgorithm::BIT1_ZEROBIAS
@ BIT1_ZEROBIAS
Definition: TileMonitorAlgorithm.h:33
TileRODMonitorAlgorithm::m_tileRobIds
std::vector< uint32_t > m_tileRobIds
Definition: TileRODMonitorAlgorithm.h:117
python.Classes.TileCalibUtils
TileCalibUtils
Definition: TileCalib/TileCalibBlobObjs/python/Classes.py:5
StateLessPT_NewConfig.partition
partition
Definition: StateLessPT_NewConfig.py:49
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
xAOD::EventInfo_v1::level1TriggerType
uint16_t level1TriggerType() const
The Level-1 trigger type.
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
TileRODMonitorAlgorithm::m_robSvc
ServiceHandle< IROBDataProviderSvc > m_robSvc
Name of ROB data provider service.
Definition: TileRODMonitorAlgorithm.h:98
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
TileDCSState
Condition object to keep Tile DCS status from DB.
Definition: TileDCSState.h:24
TileRODMonitorAlgorithm::MAX_TILE_ROBS
static constexpr int MAX_TILE_ROBS
Definition: TileRODMonitorAlgorithm.h:118
TileRODMonitorAlgorithm::m_fragIDsToIgnoreDMUerrors
Gaudi::Property< std::vector< int > > m_fragIDsToIgnoreDMUerrors
Definition: TileRODMonitorAlgorithm.h:44
str
Definition: BTagTrackIpAccessor.cxx:11
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
TileCalibUtils::getDrawerIdx
static unsigned int getDrawerIdx(unsigned int ros, unsigned int drawer)
Returns a drawer hash.
Definition: TileCalibUtils.cxx:60
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
TileAANtupleConfig.rawChannelContainer
rawChannelContainer
Definition: TileAANtupleConfig.py:120
Tile_Base_ID::section
int section(const Identifier &id) const
Definition: Tile_Base_ID.cxx:147
Monitored::Scalar
Declare a monitored scalar variable.
Definition: MonitoredScalar.h:34
TileHWID::to_string
std::string to_string(const HWIdentifier &id, int level=0) const
extract all fields from HW identifier HWIdentifier get_all_fields ( const HWIdentifier & id,...
Definition: TileHWID.cxx:49
section
void section(const std::string &sec)
Definition: TestTriggerMenuAccess.cxx:22
AthMonitorAlgorithm::DataType_t::userDefined
@ userDefined
Tile_Base_ID::cell_id
Identifier cell_id(const Identifier &any_id) const
Definition: Tile_Base_ID.cxx:581
xAOD::lumiBlock
setTeId lumiBlock
Definition: L2StandAloneMuon_v1.cxx:327
TileRODMonitorAlgorithm::m_dspRawChannelContainerKey
SG::ReadHandleKey< TileRawChannelContainer > m_dspRawChannelContainerKey
Definition: TileRODMonitorAlgorithm.h:74
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
TileRODMonitorAlgorithm::m_dspChanTimeGroups
std::vector< std::vector< int > > m_dspChanTimeGroups
Definition: TileRODMonitorAlgorithm.h:115
Monitored::Timer
A monitored timer.
Definition: MonitoredTimer.h:32
TileMonitorAlgorithm::getPartition
Partition getPartition(const CaloCell *cell, const TileID *tileID) const
Return Partition for Tile cell or MAX_PART otherwise.
Definition: TileMonitorAlgorithm.cxx:109
TileRODMonitorAlgorithm::m_rodFragSizeLBGroups
std::vector< int > m_rodFragSizeLBGroups
Definition: TileRODMonitorAlgorithm.h:106
AthMonitorAlgorithm::DataType_t::monteCarlo
@ monteCarlo
fitman.k
k
Definition: fitman.py:528
TileRawChannelUnit::OnlineMegaElectronVolts
@ OnlineMegaElectronVolts
Definition: TileRawChannelUnit.h:24
TileMonitorAlgorithm::PART_LBA
@ PART_LBA
Definition: TileMonitorAlgorithm.h:46
ServiceHandle< ICondSvc >
SG::ReadCondHandle::cptr
const_pointer_type cptr()
Definition: ReadCondHandle.h:67
collisions
Definition: collisions.py:1