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

#include <LArFEBMonAlg.h>

Inheritance diagram for LArFEBMonAlg:
Collaboration diagram for LArFEBMonAlg:

Public Types

enum  Environment_t {
  Environment_t::user = 0, Environment_t::online, Environment_t::tier0, Environment_t::tier0Raw,
  Environment_t::tier0ESD, Environment_t::AOD, Environment_t::altprod
}
 Specifies the processing environment. More...
 
enum  DataType_t {
  DataType_t::userDefined = 0, DataType_t::monteCarlo, DataType_t::collisions, DataType_t::cosmics,
  DataType_t::heavyIonCollisions
}
 Specifies what type of input data is being monitored. More...
 

Public Member Functions

 LArFEBMonAlg (const std::string &name, ISvcLocator *pSvcLocator)
 
virtual ~LArFEBMonAlg ()
 
virtual StatusCode initialize () override final
 initialize More...
 
virtual StatusCode fillHistograms (const EventContext &ctx) const override final
 adds event to the monitoring histograms More...
 
StatusCode procHistograms ()
 
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, V, H > &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 = initConfigFlags()
 
 Files
 
 HISTFileName
 
 enableLumiAccess
 
 useTrigger
 
 cfg = CaloRecoCfg(flags)
 
def aff_acc = LArFEBMonConfig(flags)
 
 f = open("LArFEBMon.pkl","wb")
 

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::map< std::pair< unsigned int, unsigned int >, unsigned int > MaskedFebs
 
typedef std::vector< std::reference_wrapper< Monitored::IMonitoredVariable > > MonVarVec_t
 
typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

void fillErrorsSummary (unsigned int partitNb_2, int ft, int slot, uint16_t error, bool lar_inerror, std::bitset< 13 > &rejectionBits, bool &currentFebStatus, bool &eventRejected) const
 
void plotMaskedFEB () const
 
unsigned int returnPartition (int be, int pn, int ft, int sl) const
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

SG::ReadCondHandleKey< LArBadFebContm_BFKey {this, "MissingFEBKey", "LArBadFeb", "SG key for missing FEBs"}
 
SG::ReadCondHandleKey< LArDSPThresholdsCompletem_run1DSPThresholdsKey {this, "Run1DSPThresholdsKey", "", "SG key for DSP thresholds, run1"}
 
SG::ReadCondHandleKey< AthenaAttributeListm_run2DSPThresholdsKey {this, "Run2DSPThresholdsKey", "", "SG key for DSP thresholds, run2"}
 
SG::ReadHandleKey< LArFebHeaderContainerm_hdrContKey {this, "LArFebHeaderKey", "LArFebHeader"}
 
SG::ReadHandleKey< LArFebErrorSummarym_lArFebErrorSummaryKey {this, "LArFebErrorSummaryKey", "LArFebErrorSummary"}
 
Gaudi::Property< bool > m_ignoreMissingHeaderEMB {this, "IgnoreMissingHeaderEMB", false}
 
Gaudi::Property< bool > m_ignoreMissingHeaderPS {this, "IgnoreMissingHeaderPS", false}
 
Gaudi::Property< int > m_nFEBnominal {this,"NominalFEBNumber",1524}
 
Gaudi::Property< std::vector< std::string > > m_excoscalo {this,"ExcludeInCosmicCalo",{}, "Triggers excluded in CosmicCalo stream"}
 
Gaudi::Property< std::vector< std::string > > m_streams {this, "Streams", {}, "Which streams to monitor, if empty, only simple profile per partition (offline case)"}
 
Gaudi::Property< std::vector< std::string > > m_partitions {this, "PartitionNames", {} }
 
Gaudi::Property< std::vector< std::string > > m_SubDetNames {this, "SubDetNames", {} }
 
Gaudi::Property< std::string > m_monGroupName {this, "MonGroup", "FEBMon", "LArLARFEBMonGroup"}
 
SG::ReadDecorHandleKey< xAOD::EventInfom_eventInfoDecorKey {this, "LArStatusFlag", "EventInfo.larFlags", "Key for EventInfo object"}
 
std::vector< std::map< std::string, int > > m_histoGroups
 
const LArOnlineIDm_onlineHelper
 
bool m_trigok = false
 
bool m_dspThrDone ATLAS_THREAD_SAFE
 
bool m_maskedDone ATLAS_THREAD_SAFE
 
std::atomic< int > m_nbOfFebBlocksTotal
 
MaskedFebs m_badFebs ATLAS_THREAD_SAFE
 
std::mutex m_mut ATLAS_THREAD_SAFE
 
std::string m_name
 
std::unordered_map< std::string, size_t > m_toolLookupMap
 
const ToolHandle< GenericMonitoringToolm_dummy
 
Gaudi::Property< bool > m_enforceExpressTriggers
 
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Definition at line 27 of file LArFEBMonAlg.h.

Member Typedef Documentation

◆ MaskedFebs

typedef std::map<std::pair<unsigned int, unsigned int>, unsigned int > LArFEBMonAlg::MaskedFebs
private

Definition at line 67 of file LArFEBMonAlg.h.

◆ MonVarVec_t

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

Definition at line 365 of file AthMonitorAlgorithm.h.

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Member Enumeration Documentation

◆ DataType_t

enum AthMonitorAlgorithm::DataType_t
stronginherited

Specifies what type of input data is being monitored.

An enumeration of the different types of data the monitoring application may be running over. This can be used to select which histograms to produce, e.g. to prevent the production of colliding-beam histograms when running on cosmic-ray data. Strings of the same names may be given as jobOptions.

Enumerator
userDefined 
monteCarlo 
collisions 
cosmics 
heavyIonCollisions 

Definition at line 191 of file AthMonitorAlgorithm.h.

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

◆ Environment_t

enum AthMonitorAlgorithm::Environment_t
stronginherited

Specifies the processing environment.

The running environment may be used to select which histograms are produced, and where they are located in the output. For example, the output paths of the histograms are different for the "user", "online" and the various offline flags. Strings of the same names may be given as jobOptions.

Enumerator
user 
online 
tier0 
tier0Raw 
tier0ESD 
AOD 
altprod 

Definition at line 172 of file AthMonitorAlgorithm.h.

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

Constructor & Destructor Documentation

◆ LArFEBMonAlg()

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

Definition at line 31 of file LArFEBMonAlg.cxx.

32  : AthMonitorAlgorithm(name, pSvcLocator),
33  m_onlineHelper(nullptr),
34  m_dspThrDone(false),
35  m_maskedDone(false),
37 {
38 
39 }

◆ ~LArFEBMonAlg()

virtual LArFEBMonAlg::~LArFEBMonAlg ( )
inlinevirtual

Definition at line 32 of file LArFEBMonAlg.h.

32 {};

Member Function Documentation

◆ cardinality()

unsigned int AthCommonReentrantAlgorithm< Gaudi::Algorithm >::cardinality
overridevirtualinherited

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

Override this to return 0 for reentrant algorithms.

Override this to return 0 for reentrant algorithms.

Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.

64 {
65  return 0;
66 }

◆ 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, V, H > &  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, V, H > &  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, V, H > &  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, V, H > &  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, V, H > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

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

◆ detStore()

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

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

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ environment()

Environment_t AthMonitorAlgorithm::environment ( ) const
inlineinherited

Accessor functions for the environment.

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

Definition at line 205 of file AthMonitorAlgorithm.h.

205 { return m_environment; }

◆ envStringToEnum()

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

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

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

Definition at line 112 of file AthMonitorAlgorithm.cxx.

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

◆ evtStore() [1/2]

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

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

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

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

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

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

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

Applies filters and trigger requirements.

Then, calls fillHistograms().

Parameters
ctxevent context for reentrant Athena call
Returns
StatusCode

Definition at line 73 of file AthMonitorAlgorithm.cxx.

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

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase &  ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthCommonReentrantAlgorithm< Gaudi::Algorithm >::extraOutputDeps
overridevirtualinherited

Return the list of extra output dependencies.

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

Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.

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

◆ fillErrorsSummary()

void LArFEBMonAlg::fillErrorsSummary ( unsigned int  partitNb_2,
int  ft,
int  slot,
uint16_t  error,
bool  lar_inerror,
std::bitset< 13 > &  rejectionBits,
bool &  currentFebStatus,
bool &  eventRejected 
) const
private

Definition at line 421 of file LArFEBMonAlg.cxx.

422 {
423 
424  if (m_badFebs.count(std::make_pair(slot,ft)) != 0) return;
425 
426 
427  auto part = Monitored::Scalar<int>("part",partitNb_2);
428  auto ferror = Monitored::Scalar<int>("febError",-1);
429  if ( error & (1<<0) ){
430  unsigned subdet = partitNb_2 / 2;
431  auto sl = Monitored::Scalar<int>("slotPar",slot);
432  auto ftmon = Monitored::Scalar<int>("FTPar",ft);
433  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitNb_2])],sl,ftmon);
434  currentFebStatus = true;
435  rejectionBits.set(0);
436  ferror=1;
437  fill(m_monGroupName, ferror, part);
438  }
439 
440  if ( error & (1<<1) ){
441  unsigned subdet = partitNb_2 / 2;
442  auto sl = Monitored::Scalar<int>("slotBcid",slot);
443  auto ftmon = Monitored::Scalar<int>("FTBcid",ft);
444  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitNb_2])],sl,ftmon);
445  currentFebStatus = true;
446  rejectionBits.set(1);
447  ferror=2;
448  fill(m_monGroupName, ferror, part);
449  }
450 
451  if ( error & (1<<2) ){
452  unsigned subdet = partitNb_2 / 2;
453  auto sl = Monitored::Scalar<int>("slotRadd",slot);
454  auto ftmon = Monitored::Scalar<int>("FTRadd",ft);
455  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitNb_2])],sl,ftmon);
456  currentFebStatus = true;
457  rejectionBits.set(2);
458  ferror=3;
459  fill(m_monGroupName, ferror, part);
460  }
461 
462  if ( error & (1<<3) ){
463  unsigned subdet = partitNb_2 / 2;
464  auto sl = Monitored::Scalar<int>("slotEvtid",slot);
465  auto ftmon = Monitored::Scalar<int>("FTEvtid",ft);
466  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitNb_2])],sl,ftmon);
467  currentFebStatus = true;
468  rejectionBits.set(3);
469  ferror=4;
470  fill(m_monGroupName, ferror, part);
471  }
472 
473  if ( error & (1<<4) ){
474  unsigned subdet = partitNb_2 / 2;
475  auto sl = Monitored::Scalar<int>("slotScac",slot);
476  auto ftmon = Monitored::Scalar<int>("FTScac",ft);
477  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitNb_2])],sl,ftmon);
478  currentFebStatus = true;
479  rejectionBits.set(4);
480  ferror=5;
481  fill(m_monGroupName, ferror, part);
482  }
483 
484  if ( error & (1<<5) ){
485  unsigned subdet = partitNb_2 / 2;
486  auto sl = Monitored::Scalar<int>("slotscout",slot);
487  auto ftmon = Monitored::Scalar<int>("FTscout",ft);
488  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitNb_2])],sl,ftmon);
489  currentFebStatus = true;
490  rejectionBits.set(5);
491  ferror=6;
492  fill(m_monGroupName, ferror, part);
493  }
494 
495  if ( error & (1<<6) ){
496  unsigned subdet = partitNb_2 / 2;
497  auto sl = Monitored::Scalar<int>("slotgain",slot);
498  auto ftmon = Monitored::Scalar<int>("FTgain",ft);
499  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitNb_2])],sl,ftmon);
500  currentFebStatus = true;
501  rejectionBits.set(6);
502  ferror=7;
503  fill(m_monGroupName, ferror, part);
504  }
505 
506  if ( error & (1<<7) ){
507  unsigned subdet = partitNb_2 / 2;
508  auto sl = Monitored::Scalar<int>("slottype",slot);
509  auto ftmon = Monitored::Scalar<int>("FTtype",ft);
510  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitNb_2])],sl,ftmon);
511  currentFebStatus = true;
512  rejectionBits.set(7);
513  ferror=8;
514  fill(m_monGroupName, ferror, part);
515  }
516 
517  if ( error & (1<<8) ){
518  unsigned subdet = partitNb_2 / 2;
519  auto sl = Monitored::Scalar<int>("slotsmp",slot);
520  auto ftmon = Monitored::Scalar<int>("FTsmp",ft);
521  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitNb_2])],sl,ftmon);
522  currentFebStatus = true;
523  rejectionBits.set(8);
524  ferror=9;
525  fill(m_monGroupName, ferror, part);
526  }
527 
528  if ( error & (1<<9) ){
529  unsigned subdet = partitNb_2 / 2;
530  auto sl = Monitored::Scalar<int>("slotzero",slot);
531  auto ftmon = Monitored::Scalar<int>("FTzero",ft);
532  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitNb_2])],sl,ftmon);
533  currentFebStatus = true;
534  rejectionBits.set(9);
535  ferror=10;
536  fill(m_monGroupName, ferror, part);
537  }
538 
539 
540  if ( error & (1<<11) ){
541  unsigned subdet = partitNb_2 / 2;
542  auto sl = Monitored::Scalar<int>("slotsum",slot);
543  auto ftmon = Monitored::Scalar<int>("FTsum",ft);
544  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitNb_2])],sl,ftmon);
545  currentFebStatus = true;
546  rejectionBits.set(10);
547  ferror=11;
548  fill(m_monGroupName, ferror, part);
549  }
550 
551  if ( error & (1<<12) ){
552  // Check whether this error can be ignored. Useful for calibration run of PS or EMB
553  if (!((m_ignoreMissingHeaderEMB && partitNb_2<2 && slot>=2) || (m_ignoreMissingHeaderPS && partitNb_2<2 && slot==1))){
554  unsigned subdet = partitNb_2 / 2;
555  auto sl = Monitored::Scalar<int>("slotmis",slot);
556  auto ftmon = Monitored::Scalar<int>("FTmis",ft);
557  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitNb_2])],sl,ftmon);
558  currentFebStatus = true;
559  rejectionBits.set(11);
560  ferror=12;
561  fill(m_monGroupName, ferror, part);
562  }
563  }
564 
565  if ( error & (1<<13) ){
566  unsigned subdet = partitNb_2 / 2;
567  auto sl = Monitored::Scalar<int>("slotgain",slot);
568  auto ftmon = Monitored::Scalar<int>("FTgain",ft);
569  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitNb_2])],sl,ftmon);
570  currentFebStatus = true;
571  rejectionBits.set(12);
572  ferror=13;
573  fill(m_monGroupName, ferror, part);
574  }
575 
576 
577  unsigned subdet = partitNb_2 / 2;
578  float ferr=0.;
579  if (currentFebStatus){
580  auto sl = Monitored::Scalar<int>("slotabs",slot);
581  auto ftmon = Monitored::Scalar<int>("FTabs",ft);
582  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitNb_2])],sl,ftmon);
583  if (lar_inerror) {// LArinError
584  eventRejected = true;
585  if(environment() == Environment_t::online) ferr=100.;
586  } else {
587  if(environment() == Environment_t::online) ferr=50.;
588  }
589  }
591  auto lbf = Monitored::Scalar<float>("LBf",0.5);
592  auto erry = Monitored::Scalar<float>("erronl",ferr);
593  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitNb_2])],lbf,erry);
594  }
595 
596  return;
597 }

◆ fillHistograms()

StatusCode LArFEBMonAlg::fillHistograms ( const EventContext &  ctx) const
finaloverridevirtual

adds event to the monitoring histograms

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

Parameters
ctxforwarded from execute
Returns
StatusCode

Implements AthMonitorAlgorithm.

Definition at line 80 of file LArFEBMonAlg.cxx.

80  {
81 
82  bool eventRejected = false;
83  std::bitset<13> rejectionBits;
84  // for TTree
85  std::vector<int> febInErrorTree(0);
86  std::vector<int> febErrorTypeTree(0);
87 
88  // Retrieve event info to get event time,trigger type...
89  // Retrieved at beg of method now to get the LVL1 type
90  // to check consistency with DSP trigger type
92  ATH_CHECK(thisEvent.isValid());
93  unsigned int l1Trig = thisEvent->level1TriggerType();
94  auto l1 = Monitored::Scalar<int>("LVL1Trig",l1Trig);
96 
97  auto eventTime = Monitored::Scalar<int>("timestamp",thisEvent->timeStamp());
98  auto eventTime_ns = Monitored::Scalar<int>("time_ns",thisEvent->timeStampNSOffset());
99 
100  unsigned lumi_block = thisEvent->lumiBlock();
101  bool lar_inerror = (thisEvent->errorState(xAOD::EventInfo::LAr)==xAOD::EventInfo::Error) ? true : false;
102 
103  ATH_MSG_DEBUG( "LArFEBMonAlg Lumi block: "<<lumi_block);
104 
107  if (!hdrCont.isValid()) {
108  ATH_MSG_ERROR( "No LArFebHeaderContainer found in TDS" );
109  return StatusCode::FAILURE;
110  }
111 
112  if (hdrCont->size()==0) {
113  ATH_MSG_WARNING( "Got empty LArFebHeaderContainer. Do nothing" );
114  return StatusCode::SUCCESS;
115  }
116 
117  if (!lArFebErrorSummary.isValid()) {
118  ATH_MSG_ERROR( "No LArFebErrorSummary found in TDS" );
119  return StatusCode::FAILURE;
120  }
121 
122  bool trigok=true;
124  const ToolHandle<Trig::TrigDecisionTool> trigTool=getTrigDecisionTool();
125  //const Trig::TrigDecisionTool *trigTool = dynamic_cast<const Trig::TrigDecisionTool * > (&*trigHdl);
126  std::vector<std::string> l1triggers;
127  if(!trigTool.empty()) {
128  const Trig::ChainGroup* allL1 = trigTool->getChainGroup("L1_.*");
129  l1triggers = allL1->getListOfTriggers();
130  ATH_MSG_DEBUG( "lvl1 item names: [" );
131  for (unsigned int i=0;i< l1triggers.size();i++) {
132  ATH_MSG_DEBUG( i << " " << l1triggers.at(i) << " , " );
133  }
134  ATH_MSG_DEBUG( "] " );
135  } else {
136  ATH_MSG_WARNING("TrigDecisionTool is empty");
137  }
138  if (l1triggers.size()>0) {trigok=true;} else {trigok=false;}
139  }
140 
141  uint32_t firstEventType = (*hdrCont->begin())->DetEventType();
142 
143  { // adding scope for locking
144  std::lock_guard<std::mutex> lock(m_mut);
145  if(!m_maskedDone) { // should be done once at the beginning
146  plotMaskedFEB();
147  m_maskedDone=true;
148  }
149  }
150 
151  // At 1st event, retrieve DSP thresholds and fill histogram with values for all channels
152  { // adding scope for locking
153  std::lock_guard<std::mutex> lock(m_mut);
154  if (!m_dspThrDone && firstEventType == 4) {
155 
156  auto dspADC = Monitored::Scalar<unsigned int>("dspThrADC",-1);
157  auto dspQT = Monitored::Scalar<unsigned int>("dspThrQT",-1);
158  if (!m_run1DSPThresholdsKey.empty()) {
159  ATH_MSG_DEBUG("Loading run1 version of LAr DSP Thresholds");
162  dspADC=dspThresh->samplesThr(ch);
163  dspQT=dspThresh->tQThr(ch);
164  fill(m_monGroupName, dspADC, dspQT);
165  }//end loop over channels
166  }
167  else if (!m_run2DSPThresholdsKey.empty()) {
168  ATH_MSG_DEBUG("Loading run2 version of LAr DSP Thresholds");
170  LArDSPThresholdsFlat dspThreshFlat(*dspThrshAttr);
171  if (!dspThreshFlat.good()) {
172  ATH_MSG_WARNING( "Failed to initialize LArDSPThresholdFlat from attribute list loaded from " << m_run2DSPThresholdsKey.key()
173  << ". Will not fill histograms." );
174  }//end if not good
176  for (unsigned iChan=0;iChan<chanMax;++iChan) {
177  dspADC=dspThreshFlat.samplesThrByHash(iChan);
178  dspQT=dspThreshFlat.tQThrByHash(iChan);
179  fill(m_monGroupName, dspADC, dspQT);
180  }
181  }
182  else
183  ATH_MSG_WARNING( "No LArDSPThresholds key specified. Will not fill these histograms" );
184  m_dspThrDone=true;
185  }//m_dspThrDone
186  } // locking scope
187 
188 
189  //Adjust event type if we have raw data in the ROD block
190  if (firstEventType == 4 && (*hdrCont->begin())->RodRawDataSize() != 0) firstEventType = 14;
191 
192  std::vector<unsigned int> nfeb(m_partitions.size());
193  int firstEventNbSp=-1;
194  unsigned int totNbOfSweet2 = 0;
195  float larEventSize = 0;
196  float larEventSize_part[8] = {0.,0.,0.,0.,0.,0.,0.,0.};
197 
198  LArFebHeaderContainer::const_iterator it = hdrCont->begin();
199  LArFebHeaderContainer::const_iterator it_e = hdrCont->end();
200 
201  auto l1word = Monitored::Scalar<int>("LVL1TrigAllDSP",0);
202  // Loop on all available FEBHeader to fill basic parameters histogram : event type, event size, nb of sweet cells...
203  auto slmon = Monitored::Scalar<int>("slotnb",-1);
204  auto ftmon = Monitored::Scalar<int>("FTnb",-1);
205  auto sw1 = Monitored::Scalar<int>("weightsweet1",-1);
206  auto sw2 = Monitored::Scalar<int>("weightsweet2",-1);
207  auto slmis = Monitored::Scalar<int>("slotmist",-1);
208  auto ftmis = Monitored::Scalar<int>("FTmist",-1);
209  for ( ; it!=it_e;++it) {
210  HWIdentifier febid=(*it)->FEBId();
211 
212  if (febid.get_identifier32().get_compact() >= 0x38000000 && febid.get_identifier32().get_compact() <= 0x3bc60000 && !(febid.get_identifier32().get_compact() & 0xFFF)) {
213  int barrel_ec = m_onlineHelper->barrel_ec(febid);
214  int pos_neg = m_onlineHelper->pos_neg(febid);
215  int ft = m_onlineHelper->feedthrough(febid);
216  int slot = m_onlineHelper->slot(febid);
217  unsigned int partitionNb_dE = returnPartition(barrel_ec,pos_neg,ft,slot);
218  unsigned int subdet = partitionNb_dE / 2;
219 
220  if (partitionNb_dE < m_partitions.size()) {
221  nfeb[partitionNb_dE]++ ;
222  }else{
223  ATH_MSG_WARNING("Unknown partition number: "<< partitionNb_dE << " not filling !");
224  continue;
225  }
226  larEventSize += (float) ((*it)->RodRawDataSize() + (*it)->RodResults1Size() + (*it)->RodResults2Size()); // This quantity is now in megabytes
227  if(partitionNb_dE<8) larEventSize_part[partitionNb_dE] += (float) ((*it)->RodRawDataSize() + (*it)->RodResults1Size() + (*it)->RodResults2Size());
228 
229  // Eventype = 2 : transparent/raw data - 4 : Physic - 7 : calibration - 10 : pedestal - 14 : raw data + results
230  uint32_t eventType = (*it)->DetEventType();
231  // If physic mode && raw data != 0, we are in rawdata+results
232  if (eventType == 4 && (*it)->RodRawDataSize() != 0) eventType = 14;
233  //if (firstEventType == 999) firstEventType = eventType;
234  if (firstEventNbSp < 0)
235  if ((*it)->NbSamples() != 0)
236  firstEventNbSp=(*it)->NbSamples();
237 
238 
239  l1word = (*it)->LVL1TigType();
240  fill(m_monGroupName,l1word);
241 
242  if (firstEventType == 4) totNbOfSweet2 = totNbOfSweet2+(*it)->NbSweetCells2();
243  // Fill (nb of evnts and sweet cells per FEB) histos
244  slmon = slot;
245  ftmon = ft;
246  sw1 = (*it)->NbSweetCells1();
247  sw2 = (*it)->NbSweetCells2();
248  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitionNb_dE])],slmon,ftmon,sw1,sw2);
249  if ((*it)->LVL1TigType() == 0 || (*it)->LVL1TigType() == 170 || (*it)->LVL1TigType() != l1Trig){
250  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitionNb_dE])],slmis,ftmis);
251  }
252  }//Test on FEBid
253  }//end of loop over FEB headers
254 
255  // Loop over all febs to plot the error from statusword
256  // This is mandatory to also monitor the FEBs with missing headers
257 
258  bool anyfebIE = false;
259  for (std::vector<HWIdentifier>::const_iterator allFeb = m_onlineHelper->feb_begin();
260  allFeb != m_onlineHelper->feb_end(); ++allFeb) {
261  HWIdentifier febid = HWIdentifier(*allFeb);
262  bool currentFebStatus = false;
263  uint16_t feberrorSummary = lArFebErrorSummary->feb_error(febid);
264 
265  if ( feberrorSummary != 0 ){
266  int barrel_ec = m_onlineHelper->barrel_ec(febid);
267  int pos_neg = m_onlineHelper->pos_neg(febid);
268  int ft = m_onlineHelper->feedthrough(febid);
269  int slot = m_onlineHelper->slot(febid);
270  unsigned int partitionNb_dE = returnPartition(barrel_ec,pos_neg,ft,slot);
271 
272  if (partitionNb_dE < m_partitions.size()) {
273  // Fill the errors in partition histograms
274  fillErrorsSummary(partitionNb_dE,ft,slot,feberrorSummary,lar_inerror, rejectionBits, currentFebStatus, eventRejected);
275  }else{
276  ATH_MSG_WARNING("Unknown partition number: "<< partitionNb_dE << " not filling !");
277  }
278 
279  if (currentFebStatus && febInErrorTree.size()<33){
280  febInErrorTree.push_back(febid.get_identifier32().get_compact());
281  febErrorTypeTree.push_back(rejectionBits.to_ulong());
282  }
283  }
284  if(currentFebStatus) anyfebIE = currentFebStatus;
285  }
286 
287  //Fill general data histos
288  auto evttype = Monitored::Scalar<int>("EvtType",firstEventType);
289 
290  float nbOfFeb = 0.;
291  for(auto nf: nfeb) nbOfFeb+=nf;// (nfeb[0]+nfeb[1]+nfeb[2]+nfeb[3]+nfeb[4]+nfeb[5]+nfeb[6]+nfeb[7]);
292  if (firstEventType == 2 || firstEventType == 4 || firstEventType == 14) {
293  auto nbsamp = Monitored::Scalar<int>("NbOfSamp",firstEventNbSp);
294  fill(m_monGroupName, nbsamp);
295  }
296 
297  bool newHighWaterMarkNFebBlocksTotal = false;
298  if(m_nbOfFebBlocksTotal < nbOfFeb){ // new number of Febs
299  if(m_nbOfFebBlocksTotal >= 0) newHighWaterMarkNFebBlocksTotal = true;
300  m_nbOfFebBlocksTotal = nbOfFeb;
301  }
302  auto nbfeb = Monitored::Scalar<int>("nbFEB",nbOfFeb);
303  fill(m_monGroupName, evttype, nbfeb);
304 
305  auto part = Monitored::Scalar<int>("part",-1);
306  auto nbfebpart = Monitored::Scalar<int>("nbFEBpart",-1);
307  for(unsigned i=0; i<m_partitions.size(); ++i) {
308  part=i;
309  unsigned subdet = i / 2;
310  nbfebpart=nfeb[i];
311  fill(m_monGroupName,part,nbfebpart);
312  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[i])],nbfebpart);
313  }
314 
315  // If the nb of DSP headers is lower than the maximum, this means that there are some missing FEBs, probably
316  // due to missing ROS fragment
317 
318  auto evtrej = Monitored::Scalar<int>("EvtRej",-1);
319  float evt_yield=-1;
320  auto evtyield = Monitored::Scalar<float>("EvtRejYield",-1);
321  auto evtyieldout = Monitored::Scalar<float>("EvtRejYieldOut",-1);
322  if (febInErrorTree.size()>=1 || newHighWaterMarkNFebBlocksTotal || nbOfFeb < m_nbOfFebBlocksTotal ){
323  evtrej=0; evt_yield = 100.;
324  if (febInErrorTree.size()>=4) evtrej=1;
325  if (thisEvent->isEventFlagBitSet(xAOD::EventInfo::LAr,LArEventBitInfo::DATACORRUPTEDVETO)) evtyieldout=0.; // Vetoed
326  else evtyieldout=100.; // not vetoed
327  }
328  if(evtrej > -1) {
329  fill(m_monGroupName,evtrej);
330  evtrej=-1;
331  }
332 
333  if (thisEvent->isEventFlagBitSet(xAOD::EventInfo::LAr,LArEventBitInfo::DATACORRUPTED) || thisEvent->isEventFlagBitSet(xAOD::EventInfo::LAr,LArEventBitInfo::DATACORRUPTEDVETO) || nbOfFeb != m_nbOfFebBlocksTotal){ // Event corrupted (>=1/4 FEBs in error)
334  evtrej=2;
335  auto rbits = Monitored::Scalar<unsigned long>("rejBits", rejectionBits.to_ulong());
336  fill(m_monGroupName, rbits, evtrej);
337 
338  evt_yield = 100.;
339  if (thisEvent->isEventFlagBitSet(xAOD::EventInfo::LAr,LArEventBitInfo::DATACORRUPTEDVETO)) {
340  evtrej=4;
341  evtyieldout=0.; // Vetoed
342  } else {
343  evtrej=3;
344  evtyieldout=100.; // not vetoed
345  }
346  } else{ // The event is NOT in error. Fill per LB TProfile
347  evtrej=6; evt_yield = 0.; evtyieldout=0.;
348  }
349  evtyield=evt_yield;
350  auto evSize = Monitored::Scalar<float>("LArEvSize",larEventSize/sizeNorm);
351  auto sweet2 = Monitored::Scalar<int>("NbOfSweet2",totNbOfSweet2);
352  auto lb0 = Monitored::Scalar<int>("LB0",lumi_block); //to avoid 'NbOfEventsVSLB' being filled multiple times
353  fill(m_monGroupName,evtrej,evtyieldout,evtyield,evSize, sweet2, lb0);
354  if (thisEvent->isEventFlagBitSet(xAOD::EventInfo::LAr,LArEventBitInfo::NOISEBURSTVETO)) {
355  evtrej=5;
356  fill(m_monGroupName,evtrej);
357  }
358  evtrej=7;
359  fill(m_monGroupName,evtrej);
361  auto lbfake = Monitored::Scalar<int>("LBf",0);
362  fill(m_monGroupName,evtyield,lbfake);
363  }
364 
365  if(anyfebIE) {
366  //Fill LArCorrupted tree and >=1FEB in errors
367  auto mon_febInErrorTree = Monitored::Collection("febHwId", febInErrorTree);
368  auto mon_febErrorTypeTree = Monitored::Collection("febErrorType", febErrorTypeTree);
369  auto evtonerej = Monitored::Scalar<int>("EvtOneErrorYield",100);
370  fill(m_monGroupName,mon_febInErrorTree,mon_febErrorTypeTree,eventTime,eventTime_ns,evtonerej);
371  }
372 
373  // Now we could fill the event size
374  auto lb = Monitored::Scalar<int>("LB",lumi_block);
375  auto evsize=Monitored::Scalar<float>("LArEvSizePart",-1);
376  if(environment() == Environment_t::online && m_streams.size() > 0) {
377  std::vector<unsigned int> streamsThisEvent=LArMon::trigStreamMatching(m_streams,thisEvent->streamTags());
378  if(streamsThisEvent.size()==1 && streamsThisEvent[0] == m_streams.size()) streamsThisEvent[0]=m_streams.size()-1; // assuming others are last in the list of streams
379 
380  auto streambin=Monitored::Scalar<float>("streamBin",-1);
381 
382  unsigned ie(0);
383  for(unsigned int str=0; str<streamsThisEvent.size(); ++str) {
384  if(streamsThisEvent[str] > m_streams.size()) break;
385  if(trigok && streamsThisEvent[str] < m_streams.size() && (m_streams[streamsThisEvent[str]].find("CosmicCalo") != std::string::npos)) { // test excluding events
386  if (!getTrigDecisionTool().empty()) {
387  for(ie=0; ie<m_excoscalo.size(); ++ie) {
388  if(getTrigDecisionTool()->isPassed(m_excoscalo[ie])) break;
389  }
390  }
391  if(ie<m_excoscalo.size()) {
392  ATH_MSG_INFO("Skipping "<<m_excoscalo[ie]<<" for CosmicCalo ");
393  continue; // we should skip this trigger
394  }
395  }
396  streambin = streamsThisEvent[str];
397  evsize = larEventSize/262144;
398  fill(m_monGroupName,lb,streambin,evsize);
399 
400  for(unsigned i=0; i <m_partitions.size(); ++i){
401  unsigned subdet = i / 2;
402  evsize = larEventSize_part[i]/sizeNorm;
403  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[i])],lb,streambin,evsize);
404  }
405 
406  }
407  } else { // we are filling only simple profiles
408  for(unsigned i=0; i<m_partitions.size(); ++i) {
409  unsigned subdet = i / 2;
410  evsize=larEventSize_part[i]/sizeNorm;
411  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[i])],lb,evsize);
412  }
413  }
414 
415 
416  return StatusCode::SUCCESS;
417 }

◆ filterPassed()

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

Definition at line 96 of file AthCommonReentrantAlgorithm.h.

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

◆ GetEventInfo()

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

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

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

Definition at line 107 of file AthMonitorAlgorithm.cxx.

107  {
109 }

◆ getGroup()

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

Get a specific monitoring tool from the tool handle array.

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

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

Definition at line 164 of file AthMonitorAlgorithm.cxx.

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

◆ getTrigDecisionTool()

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

Get the trigger decision tool member.

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

Returns
m_trigDecTool

Definition at line 194 of file AthMonitorAlgorithm.cxx.

194  {
195  return m_trigDecTool;
196 }

◆ initialize()

StatusCode LArFEBMonAlg::initialize ( )
finaloverridevirtual

initialize

Returns
StatusCode

Reimplemented from AthMonitorAlgorithm.

Definition at line 43 of file LArFEBMonAlg.cxx.

43  {
44 
45  ATH_MSG_INFO( "Initializing LArFEBMonAlg " );
46 
47  StatusCode sc = detStore()->retrieve(m_onlineHelper, "LArOnlineID");
48  if (sc.isFailure()) {
49  ATH_MSG_ERROR( "Could not get LArOnlineID helper !" );
50  return StatusCode::FAILURE;
51  }
52 
53  sc=m_BFKey.initialize();
54  if (sc.isFailure()) {
55  ATH_MSG_ERROR( "Could not initialize Missing FEBs key " << m_BFKey.key() );
56  return StatusCode::FAILURE;
57  } else {
58  ATH_MSG_DEBUG( "Missing FEBs key" << m_BFKey.key() << " initialized" );
59  }
60 
63 
64  m_histoGroups.reserve(m_SubDetNames.size());
65  for (unsigned i=0; i<m_SubDetNames.size(); ++i) {
66  std::vector<std::string> part;
67  part.push_back(m_partitions[2*i]);
68  part.push_back(m_partitions[2*i+1]);
69  m_histoGroups.push_back(Monitored::buildToolMap<int>(m_tools,m_SubDetNames[i],part));
70  }
71 
74  ATH_CHECK( m_eventInfoDecorKey.initialize() );
75 
77 }

◆ inputHandles()

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

Return this algorithm's input handles.

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

◆ isClonable()

bool AthCommonReentrantAlgorithm< Gaudi::Algorithm >::isClonable
overridevirtualinherited

Specify if the algorithm is clonable.

Reentrant algorithms are clonable.

Definition at line 68 of file AthCommonReentrantAlgorithm.cxx.

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

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 27 of file AthCommonMsg.h.

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

◆ msgLvl()

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

Definition at line 30 of file AthCommonMsg.h.

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

◆ outputHandles()

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

Return this algorithm's output handles.

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

◆ parseList()

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

Parse a string into a vector.

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

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

Definition at line 341 of file AthMonitorAlgorithm.cxx.

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

◆ plotMaskedFEB()

void LArFEBMonAlg::plotMaskedFEB ( ) const
private

Definition at line 601 of file LArFEBMonAlg.cxx.

601  {
602 
604  const LArBadFebCont* badFebCont=(*badFebHdl);
605  if(!badFebCont) {
606  ATH_MSG_WARNING( "Do not have Misisng FEB container, no plots !!!" );
607  return;
608  }
609  m_badFebs.clear();
610  // Loop over all FEBs
611  for (std::vector<HWIdentifier>::const_iterator allFeb = m_onlineHelper->feb_begin();
612  allFeb != m_onlineHelper->feb_end(); ++allFeb) {
613  HWIdentifier febid = HWIdentifier(*allFeb);
614  const LArBadFeb febStatus = badFebCont->status(febid);
615  unsigned int binContent = 0;
616  if (febStatus.inError() || febStatus.deadReadout() || febStatus.deadAll() || febStatus.deactivatedInOKS()) binContent = 2;
617  if (febStatus.ignoreErrors() > 0) binContent = 1;
618  if (binContent != 0){
619  int barrel_ec = m_onlineHelper->barrel_ec(febid);
620  int pos_neg = m_onlineHelper->pos_neg(febid);
621  int ft = m_onlineHelper->feedthrough(febid);
622  int slot = m_onlineHelper->slot(febid);
623  unsigned int partitionNb_dE = returnPartition(barrel_ec,pos_neg,ft,slot);
624  int subdet = partitionNb_dE / 2;
625 
626  m_badFebs[std::make_pair(slot,ft)] = binContent;
627  if (partitionNb_dE < m_partitions.size()) {
628  auto sl = Monitored::Scalar<int>("slotMasked",slot);
629  auto ftmon = Monitored::Scalar<int>("FTMasked",ft);
630  ATH_MSG_INFO("filling for " << partitionNb_dE << " partition, slot: " << slot << "FT: " << ft);
631  fill(m_tools[m_histoGroups.at(subdet).at(m_partitions[partitionNb_dE])],sl,ftmon);
632  }else{
633  ATH_MSG_WARNING("Unknown partition number: "<< partitionNb_dE << " not filling !");
634  }
635  }
636  }
637 }

◆ procHistograms()

StatusCode LArFEBMonAlg::procHistograms ( )

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

◆ returnPartition()

unsigned int LArFEBMonAlg::returnPartition ( int  be,
int  pn,
int  ft,
int  sl 
) const
private

Definition at line 744 of file LArFEBMonAlg.cxx.

744  {
745  // partitionNb_dE = 0 : EMBC / 1 : EMBA / 2 : EMECC / 3 : EMECA / 4 : HECC / 5 : HECA / 6 : FCALC / 7 : FCALA
746  unsigned int part = be*2+pn;
747  if (be == 1){
748  // This is a HEC FEB - Dirty method as IsHECOnlineFEBId is buggy!
749  if ((ft == 3 || ft == 10 || ft == 16 || ft == 22) && (sl > 2)) part = be*2+pn + 2;
750  if (ft == 6) part = be*2 + pn + 4; // This is FCAL FEB
751  }
752  return part;
753 }

◆ setFilterPassed()

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

Definition at line 100 of file AthCommonReentrantAlgorithm.h.

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

◆ sysExecute()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext &  ctx)
overridevirtualinherited

Execute an algorithm.

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

Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.

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

◆ sysInitialize()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

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

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

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

Reimplemented in InputMakerBase, and HypoBase.

Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.

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

◆ sysStart()

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

Handle START transition.

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

◆ trigChainsArePassed()

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

Check whether triggers are passed.

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

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

Definition at line 199 of file AthMonitorAlgorithm.cxx.

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

◆ updateVHKA()

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

Definition at line 308 of file AthCommonDataStore.h.

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

Member Data Documentation

◆ aff_acc

def LArFEBMonAlg.aff_acc = LArFEBMonConfig(flags)

Definition at line 415 of file LArFEBMonAlg.py.

◆ ATLAS_THREAD_SAFE [1/4]

bool m_dspThrDone LArFEBMonAlg::ATLAS_THREAD_SAFE
mutableprivate

Definition at line 73 of file LArFEBMonAlg.h.

◆ ATLAS_THREAD_SAFE [2/4]

bool m_maskedDone LArFEBMonAlg::ATLAS_THREAD_SAFE
mutableprivate

Definition at line 74 of file LArFEBMonAlg.h.

◆ ATLAS_THREAD_SAFE [3/4]

MaskedFebs m_badFebs LArFEBMonAlg::ATLAS_THREAD_SAFE
mutableprivate

Definition at line 76 of file LArFEBMonAlg.h.

◆ ATLAS_THREAD_SAFE [4/4]

std::mutex m_mut LArFEBMonAlg::ATLAS_THREAD_SAFE
mutableprivate

Definition at line 77 of file LArFEBMonAlg.h.

◆ cfg

LArFEBMonAlg.cfg = CaloRecoCfg(flags)

Definition at line 410 of file LArFEBMonAlg.py.

◆ enableLumiAccess

LArFEBMonAlg.enableLumiAccess

Definition at line 404 of file LArFEBMonAlg.py.

◆ f

LArFEBMonAlg.f = open("LArFEBMon.pkl","wb")

Definition at line 421 of file LArFEBMonAlg.py.

◆ Files

LArFEBMonAlg.Files

Definition at line 401 of file LArFEBMonAlg.py.

◆ flags

LArFEBMonAlg.flags = initConfigFlags()

Definition at line 391 of file LArFEBMonAlg.py.

◆ HISTFileName

LArFEBMonAlg.HISTFileName

Definition at line 403 of file LArFEBMonAlg.py.

◆ m_BFKey

SG::ReadCondHandleKey<LArBadFebCont> LArFEBMonAlg::m_BFKey {this, "MissingFEBKey", "LArBadFeb", "SG key for missing FEBs"}
private

Definition at line 40 of file LArFEBMonAlg.h.

◆ m_dataType

AthMonitorAlgorithm::DataType_t AthMonitorAlgorithm::m_dataType
protectedinherited

Instance of the DataType_t enum.

Definition at line 351 of file AthMonitorAlgorithm.h.

◆ m_dataTypeStr

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

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

Definition at line 353 of file AthMonitorAlgorithm.h.

◆ m_defaultLBDuration

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

Default duration of one lumi block.

Definition at line 360 of file AthMonitorAlgorithm.h.

◆ m_detailLevel

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

Sets the level of detail used in the monitoring.

Definition at line 361 of file AthMonitorAlgorithm.h.

◆ m_detStore

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

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_DQFilterTools

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

Array of Data Quality filter tools.

Definition at line 341 of file AthMonitorAlgorithm.h.

◆ m_dummy

const ToolHandle<GenericMonitoringTool> AthMonitorAlgorithm::m_dummy
privateinherited

Definition at line 369 of file AthMonitorAlgorithm.h.

◆ m_enforceExpressTriggers

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

Definition at line 372 of file AthMonitorAlgorithm.h.

◆ m_environment

AthMonitorAlgorithm::Environment_t AthMonitorAlgorithm::m_environment
protectedinherited

Instance of the Environment_t enum.

Definition at line 350 of file AthMonitorAlgorithm.h.

◆ m_environmentStr

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

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

Definition at line 352 of file AthMonitorAlgorithm.h.

◆ m_eventInfoDecorKey

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

Definition at line 57 of file LArFEBMonAlg.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_excoscalo

Gaudi::Property<std::vector<std::string> > LArFEBMonAlg::m_excoscalo {this,"ExcludeInCosmicCalo",{}, "Triggers excluded in CosmicCalo stream"}
private

Definition at line 50 of file LArFEBMonAlg.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

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

Empty if no symlinks were found.

Definition at line 114 of file AthCommonReentrantAlgorithm.h.

◆ m_fileKey

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

Internal Athena name for file.

Definition at line 358 of file AthMonitorAlgorithm.h.

◆ m_hdrContKey

SG::ReadHandleKey<LArFebHeaderContainer> LArFEBMonAlg::m_hdrContKey {this, "LArFebHeaderKey", "LArFebHeader"}
private

Definition at line 45 of file LArFEBMonAlg.h.

◆ m_histoGroups

std::vector<std::map<std::string,int> > LArFEBMonAlg::m_histoGroups
private

Definition at line 60 of file LArFEBMonAlg.h.

◆ m_ignoreMissingHeaderEMB

Gaudi::Property<bool> LArFEBMonAlg::m_ignoreMissingHeaderEMB {this, "IgnoreMissingHeaderEMB", false}
private

Definition at line 47 of file LArFEBMonAlg.h.

◆ m_ignoreMissingHeaderPS

Gaudi::Property<bool> LArFEBMonAlg::m_ignoreMissingHeaderPS {this, "IgnoreMissingHeaderPS", false}
private

Definition at line 48 of file LArFEBMonAlg.h.

◆ m_lArFebErrorSummaryKey

SG::ReadHandleKey<LArFebErrorSummary> LArFEBMonAlg::m_lArFebErrorSummaryKey {this, "LArFebErrorSummaryKey", "LArFebErrorSummary"}
private

Definition at line 46 of file LArFEBMonAlg.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_monGroupName

Gaudi::Property<std::string> LArFEBMonAlg::m_monGroupName {this, "MonGroup", "FEBMon", "LArLARFEBMonGroup"}
private

Definition at line 55 of file LArFEBMonAlg.h.

◆ m_name

std::string AthMonitorAlgorithm::m_name
privateinherited

Definition at line 366 of file AthMonitorAlgorithm.h.

◆ m_nbOfFebBlocksTotal

std::atomic<int> LArFEBMonAlg::m_nbOfFebBlocksTotal
mutableprivate

Definition at line 75 of file LArFEBMonAlg.h.

◆ m_nFEBnominal

Gaudi::Property<int> LArFEBMonAlg::m_nFEBnominal {this,"NominalFEBNumber",1524}
private

Definition at line 49 of file LArFEBMonAlg.h.

◆ m_onlineHelper

const LArOnlineID* LArFEBMonAlg::m_onlineHelper
private

Definition at line 63 of file LArFEBMonAlg.h.

◆ m_partitions

Gaudi::Property<std::vector<std::string> > LArFEBMonAlg::m_partitions {this, "PartitionNames", {} }
private

Definition at line 52 of file LArFEBMonAlg.h.

◆ m_run1DSPThresholdsKey

SG::ReadCondHandleKey<LArDSPThresholdsComplete> LArFEBMonAlg::m_run1DSPThresholdsKey {this, "Run1DSPThresholdsKey", "", "SG key for DSP thresholds, run1"}
private

Definition at line 41 of file LArFEBMonAlg.h.

◆ m_run2DSPThresholdsKey

SG::ReadCondHandleKey<AthenaAttributeList> LArFEBMonAlg::m_run2DSPThresholdsKey {this, "Run2DSPThresholdsKey", "", "SG key for DSP thresholds, run2"}
private

Definition at line 43 of file LArFEBMonAlg.h.

◆ m_streams

Gaudi::Property<std::vector<std::string> > LArFEBMonAlg::m_streams {this, "Streams", {}, "Which streams to monitor, if empty, only simple profile per partition (offline case)"}
private

Definition at line 51 of file LArFEBMonAlg.h.

◆ m_SubDetNames

Gaudi::Property<std::vector<std::string> > LArFEBMonAlg::m_SubDetNames {this, "SubDetNames", {} }
private

Definition at line 53 of file LArFEBMonAlg.h.

◆ m_toolLookupMap

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

Definition at line 367 of file AthMonitorAlgorithm.h.

◆ m_tools

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

Array of Generic Monitoring Tools.

Definition at line 338 of file AthMonitorAlgorithm.h.

◆ m_trigDecTool

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

Tool to tell whether a specific trigger is passed.

Definition at line 340 of file AthMonitorAlgorithm.h.

◆ m_triggerChainString

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

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

Definition at line 355 of file AthMonitorAlgorithm.h.

◆ m_trigLiveFractionDataKey

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

Definition at line 347 of file AthMonitorAlgorithm.h.

◆ m_trigok

bool LArFEBMonAlg::m_trigok = false
private

Definition at line 65 of file LArFEBMonAlg.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.

◆ useTrigger

LArFEBMonAlg.useTrigger

Definition at line 405 of file LArFEBMonAlg.py.


The documentation for this class was generated from the following files:
LArG4FSStartPointFilter.part
part
Definition: LArG4FSStartPointFilter.py:21
AthMonitorAlgorithm::environment
Environment_t environment() const
Accessor functions for the environment.
Definition: AthMonitorAlgorithm.h:205
AthMonitorAlgorithm::Environment_t::tier0Raw
@ tier0Raw
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
sendEI_SPB.ch
ch
Definition: sendEI_SPB.py:35
PlotCalibFromCool.ft
ft
Definition: PlotCalibFromCool.py:329
get_generator_info.result
result
Definition: get_generator_info.py:21
LArFEBMonAlg::returnPartition
unsigned int returnPartition(int be, int pn, int ft, int sl) const
Definition: LArFEBMonAlg.cxx:744
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
DeMoUpdate.lb0
def lb0
Definition: DeMoUpdate.py:1051
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
python.ZdcOnlineRecMonitorConfig.pn
pn
Definition: ZdcOnlineRecMonitorConfig.py:341
AthMonitorAlgorithm::Environment_t::tier0
@ tier0
AthMonitorAlgorithm::Environment_t::AOD
@ AOD
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:67
LArFEBMonAlg::m_eventInfoDecorKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition: LArFEBMonAlg.h:57
runITkAlign.accumulate
accumulate
Update flags based on parser line args.
Definition: runITkAlign.py:62
LArFEBMonAlg::m_monGroupName
Gaudi::Property< std::string > m_monGroupName
Definition: LArFEBMonAlg.h:55
LArBadXCont
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
Definition: LArBadChannelCont.h:28
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
LArFEBMonAlg::fillErrorsSummary
void fillErrorsSummary(unsigned int partitNb_2, int ft, int slot, uint16_t error, bool lar_inerror, std::bitset< 13 > &rejectionBits, bool &currentFebStatus, bool &eventRejected) const
Definition: LArFEBMonAlg.cxx:421
skel.it
it
Definition: skel.GENtoEVGEN.py:407
LArBadFeb::deadReadout
bool deadReadout() const
FEB is not sending readout data, but the L1 trigger path is working.
Definition: LArBadFeb.h:33
AthMonitorAlgorithm::getTrigDecisionTool
const ToolHandle< Trig::TrigDecisionTool > & getTrigDecisionTool() const
Get the trigger decision tool member.
Definition: AthMonitorAlgorithm.cxx:194
LArOnlineID_Base::slot
int slot(const HWIdentifier id) const
Return the slot number of a hardware cell identifier: slot = [1,15] Slot-ID in top part of the crat...
Definition: LArOnlineID_Base.cxx:1961
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
Identifier::get_identifier32
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
LArEventBitInfo::DATACORRUPTED
@ DATACORRUPTED
Definition: LArEventBitInfo.h:14
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
AthMonitorAlgorithm::m_environment
AthMonitorAlgorithm::Environment_t m_environment
Instance of the Environment_t enum.
Definition: AthMonitorAlgorithm.h:350
LArFEBMonAlg::m_hdrContKey
SG::ReadHandleKey< LArFebHeaderContainer > m_hdrContKey
Definition: LArFEBMonAlg.h:45
LArFEBMonAlg::m_SubDetNames
Gaudi::Property< std::vector< std::string > > m_SubDetNames
Definition: LArFEBMonAlg.h:53
LArOnlineID_Base::feb_begin
id_iterator feb_begin() const
Returns an iterator pointing to a feb identifier collection.
Definition: LArOnlineID_Base.cxx:1910
cosmics
Definition: cosmics.py:1
python.RatesEmulationExample.lock
lock
Definition: RatesEmulationExample.py:148
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
LArDSPThresholdsFlat
Definition: LArDSPThresholdsFlat.h:17
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
LArFEBMonAlg::m_onlineHelper
const LArOnlineID * m_onlineHelper
Definition: LArFEBMonAlg.h:63
SG::VarHandleKey::empty
bool empty() const
Test if the key is blank.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:150
HWIdentifier
Definition: HWIdentifier.h:13
LArOnlineID_Base::barrel_ec
int barrel_ec(const HWIdentifier id) const
Return the position barrel or endcap of a hardware cell identifier: barrel_ec = [0,...
Definition: LArOnlineID_Base.cxx:1942
xAOD::EventInfo_v1::LAr
@ LAr
The LAr calorimeter.
Definition: EventInfo_v1.h:335
LArBadXCont::status
LArBC_t status(const HWIdentifier channel) const
Query the status of a particular channel or FEB This is the main client access method.
LArFEBMonAlg::m_nbOfFebBlocksTotal
std::atomic< int > m_nbOfFebBlocksTotal
Definition: LArFEBMonAlg.h:75
Identifier32::get_compact
value_type get_compact() const
Get the compact id.
Definition: Identifier32.h:44
dq_defect_bulk_create_defects.line
line
Definition: dq_defect_bulk_create_defects.py:27
AthMonitorAlgorithm::trigChainsArePassed
bool trigChainsArePassed(const std::vector< std::string > &vTrigNames) const
Check whether triggers are passed.
Definition: AthMonitorAlgorithm.cxx:199
AthMonitorAlgorithm::Environment_t::user
@ user
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
xAOD::EventInfo_v1::Error
@ Error
The sub-detector issued an error.
Definition: EventInfo_v1.h:349
PlotCalibFromCool.ie
ie
Definition: PlotCalibFromCool.py:420
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
LArOnlineID_Base::channelHashMax
size_type channelHashMax() const
Define channel hash tables max size.
Definition: LArOnlineID_Base.cxx:1901
PyPoolBrowser.item
item
Definition: PyPoolBrowser.py:129
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
LArEventBitInfo::NOISEBURSTVETO
@ NOISEBURSTVETO
Definition: LArEventBitInfo.h:13
TileSynchronizeBch.online
online
Definition: TileSynchronizeBch.py:88
AthCommonReentrantAlgorithm::extraOutputDeps
virtual const DataObjIDColl & extraOutputDeps() const override
Return the list of extra output dependencies.
Definition: AthCommonReentrantAlgorithm.cxx:89
LArFEBMonAlg::m_run2DSPThresholdsKey
SG::ReadCondHandleKey< AthenaAttributeList > m_run2DSPThresholdsKey
Definition: LArFEBMonAlg.h:44
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:209
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthMonitorAlgorithm::m_DQFilterTools
ToolHandleArray< IDQFilterTool > m_DQFilterTools
Array of Data Quality filter tools.
Definition: AthMonitorAlgorithm.h:341
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
python.BunchSpacingUtils.lb
lb
Definition: BunchSpacingUtils.py:86
LArOnlineID_Base::channel_range
id_range channel_range() const
Definition: LArOnlineID_Base.cxx:1936
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
lumiFormat.i
int i
Definition: lumiFormat.py:85
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
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Definition: AthCommonDataStore.h:145
LArBadFeb::deadAll
bool deadAll() const
FEB is completely missing, e.g. powered off.
Definition: LArBadFeb.h:30
tolower
void tolower(std::string &s)
Definition: AthenaSummarySvc.cxx:108
python.CaloAddPedShiftConfig.str
str
Definition: CaloAddPedShiftConfig.py:42
AthMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const =0
adds event to the monitoring histograms
AthCommonReentrantAlgorithm::sysExecute
virtual StatusCode sysExecute(const EventContext &ctx) override
Execute an algorithm.
Definition: AthCommonReentrantAlgorithm.cxx:76
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
LArOnlineID_Base::pos_neg
int pos_neg(const HWIdentifier id) const
Return the side of a hardware cell identifier pos_neg = [0,1] positive-side or negative-side Barrel...
Definition: LArOnlineID_Base.cxx:1954
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
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.
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
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
AthMonitorAlgorithm::m_dataType
AthMonitorAlgorithm::DataType_t m_dataType
Instance of the DataType_t enum.
Definition: AthMonitorAlgorithm.h:351
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
LArFEBMonAlg::m_streams
Gaudi::Property< std::vector< std::string > > m_streams
Definition: LArFEBMonAlg.h:51
Trig::ChainGroup
Definition: ChainGroup.h:51
LArOnlineID_Base::feb_end
id_iterator feb_end() const
Definition: LArOnlineID_Base.cxx:1915
AthMonitorAlgorithm::m_tools
ToolHandleArray< GenericMonitoringTool > m_tools
Array of Generic Monitoring Tools.
Definition: AthMonitorAlgorithm.h:338
AthMonitorAlgorithm::Environment_t::online
@ online
LArFEBMonAlg::m_ignoreMissingHeaderPS
Gaudi::Property< bool > m_ignoreMissingHeaderPS
Definition: LArFEBMonAlg.h:48
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
LArFEBMonAlg::m_histoGroups
std::vector< std::map< std::string, int > > m_histoGroups
Definition: LArFEBMonAlg.h:60
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
AthMonitorAlgorithm::Environment_t::tier0ESD
@ tier0ESD
LArBadFeb::ignoreErrors
unsigned int ignoreErrors() const
Definition: LArBadFeb.h:65
LArBadFeb
Definition: LArBadFeb.h:10
AthMonitorAlgorithm::Environment_t::altprod
@ altprod
AthMonitorAlgorithm::m_enforceExpressTriggers
Gaudi::Property< bool > m_enforceExpressTriggers
Definition: AthMonitorAlgorithm.h:372
LArFEBMonAlg::plotMaskedFEB
void plotMaskedFEB() const
Definition: LArFEBMonAlg.cxx:601
LArFEBMonAlg::m_excoscalo
Gaudi::Property< std::vector< std::string > > m_excoscalo
Definition: LArFEBMonAlg.h:50
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
WriteBchToCool.user
user
Definition: WriteBchToCool.py:76
LArBadFeb::inError
bool inError() const
FEB has readout errors, cannot be used.
Definition: LArBadFeb.h:36
LArFEBMonAlg::m_partitions
Gaudi::Property< std::vector< std::string > > m_partitions
Definition: LArFEBMonAlg.h:52
LArBadFeb::deactivatedInOKS
bool deactivatedInOKS() const
Deactivated in OKS.
Definition: LArBadFeb.h:39
AthMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: AthMonitorAlgorithm.cxx:18
ATH_LIKELY
#define ATH_LIKELY(x)
Definition: AthUnlikelyMacros.h:16
LArOnlineID_Base::feedthrough
int feedthrough(const HWIdentifier id) const
Return the feedthrough of a hardware cell identifier : feedthrough = [0,31] Barrel - A/C side or H/...
Definition: LArOnlineID_Base.cxx:1948
a
TList * a
Definition: liststreamerinfos.cxx:10
columnar::empty
bool empty() const noexcept
Definition: ObjectRange.h:163
CaloLCW_tf.group
group
Definition: CaloLCW_tf.py:28
h
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
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
AthMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: AthMonitorAlgorithm.cxx:7
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:629
python.SystemOfUnits.s
float s
Definition: SystemOfUnits.py:147
AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthCommonReentrantAlgorithm.cxx:107
LArFEBMonAlg::m_ignoreMissingHeaderEMB
Gaudi::Property< bool > m_ignoreMissingHeaderEMB
Definition: LArFEBMonAlg.h:47
str
Definition: BTagTrackIpAccessor.cxx:11
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:801
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
skel.l1
l1
Definition: skel.GENtoEVGEN.py:409
Monitored::Scalar
Declare a monitored scalar variable.
Definition: MonitoredScalar.h:34
Trig::ChainGroup::getListOfTriggers
std::vector< std::string > getListOfTriggers() const
Definition: ChainGroup.cxx:467
LArEventBitInfo::DATACORRUPTEDVETO
@ DATACORRUPTEDVETO
Definition: LArEventBitInfo.h:15
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
LArFEBMonAlg::m_lArFebErrorSummaryKey
SG::ReadHandleKey< LArFebErrorSummary > m_lArFebErrorSummaryKey
Definition: LArFEBMonAlg.h:46
AthMonitorAlgorithm::DataType_t::userDefined
@ userDefined
LArMon::trigStreamMatching
std::vector< unsigned > trigStreamMatching(const std::vector< std::string > &streamsFromJobO, const std::vector< xAOD::EventInfo::StreamTag > &streamInEvent)
Definition: LArTrigStreamMatching.cxx:7
sizeNorm
const unsigned sizeNorm
Definition: LArFEBMonAlg.cxx:28
AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthCommonReentrantAlgorithm.h:114
SG::AllowEmpty
@ AllowEmpty
Definition: StoreGate/StoreGate/VarHandleKey.h:27
error
Definition: IImpactPoint3dEstimator.h:70
PlotCalibFromCool.be
be
Definition: PlotCalibFromCool.py:398
AthMonitorAlgorithm::DataType_t::monteCarlo
@ monteCarlo
LArFEBMonAlg::m_BFKey
SG::ReadCondHandleKey< LArBadFebCont > m_BFKey
Definition: LArFEBMonAlg.h:40
fitman.k
k
Definition: fitman.py:528
LArFEBMonAlg::m_run1DSPThresholdsKey
SG::ReadCondHandleKey< LArDSPThresholdsComplete > m_run1DSPThresholdsKey
Definition: LArFEBMonAlg.h:42
python.LArMinBiasAlgConfig.float
float
Definition: LArMinBiasAlgConfig.py:65
ServiceHandle< ICondSvc >
collisions
Definition: collisions.py:1