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 > &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 > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

SG::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 29 of file LArFEBMonAlg.cxx.

30  : AthMonitorAlgorithm(name, pSvcLocator),
31  m_onlineHelper(nullptr),
32  m_dspThrDone(false),
33  m_maskedDone(false),
35 {
36 
37 }

◆ ~LArFEBMonAlg()

virtual LArFEBMonAlg::~LArFEBMonAlg ( )
inlinevirtual

Definition at line 32 of file LArFEBMonAlg.h.

32 {};

Member Function Documentation

◆ cardinality()

unsigned int AthReentrantAlgorithm::cardinality ( ) const
overridevirtualinherited

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

Override this to return 0 for reentrant algorithms.

Override this to return 0 for reentrant algorithms.

Definition at line 55 of file AthReentrantAlgorithm.cxx.

56 {
57  return 0;
58 }

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

◆ 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 419 of file LArFEBMonAlg.cxx.

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

◆ 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 78 of file LArFEBMonAlg.cxx.

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

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

◆ 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 LArFEBMonAlg::initialize ( )
finaloverridevirtual

initialize

Returns
StatusCode

Reimplemented from AthMonitorAlgorithm.

Definition at line 41 of file LArFEBMonAlg.cxx.

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

◆ 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

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

◆ plotMaskedFEB()

void LArFEBMonAlg::plotMaskedFEB ( ) const
private

Definition at line 599 of file LArFEBMonAlg.cxx.

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

◆ 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 742 of file LArFEBMonAlg.cxx.

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

◆ setFilterPassed()

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

Definition at line 139 of file AthReentrantAlgorithm.h.

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

◆ sysExecute()

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

Execute an algorithm.

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

Definition at line 67 of file AthReentrantAlgorithm.cxx.

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

◆ sysInitialize()

StatusCode AthReentrantAlgorithm::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

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

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

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

Reimplemented in InputMakerBase, and HypoBase.

Definition at line 96 of file AthReentrantAlgorithm.cxx.

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

◆ sysStart()

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

Handle START transition.

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

◆ trigChainsArePassed()

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

Check whether triggers are passed.

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

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

Definition at line 194 of file AthMonitorAlgorithm.cxx.

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

◆ updateVHKA()

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

Definition at line 308 of file AthCommonDataStore.h.

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

Member Data Documentation

◆ aff_acc

def LArFEBMonAlg.aff_acc = LArFEBMonConfig(flags)

Definition at line 413 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 408 of file LArFEBMonAlg.py.

◆ enableLumiAccess

LArFEBMonAlg.enableLumiAccess

Definition at line 402 of file LArFEBMonAlg.py.

◆ f

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

Definition at line 419 of file LArFEBMonAlg.py.

◆ Files

LArFEBMonAlg.Files

Definition at line 399 of file LArFEBMonAlg.py.

◆ flags

LArFEBMonAlg.flags = initConfigFlags()

Definition at line 389 of file LArFEBMonAlg.py.

◆ HISTFileName

LArFEBMonAlg.HISTFileName

Definition at line 401 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 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_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 403 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
checkFileSG.line
line
Definition: checkFileSG.py:75
sendEI_SPB.ch
ch
Definition: sendEI_SPB.py:35
PlotCalibFromCool.ft
ft
Definition: PlotCalibFromCool.py:329
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
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:742
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
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:70
LArFEBMonAlg::m_eventInfoDecorKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition: LArFEBMonAlg.h:57
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
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
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
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:419
skel.it
it
Definition: skel.GENtoEVGEN.py:396
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:189
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:1957
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:1906
cosmics
Definition: cosmics.py:1
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:1938
xAOD::EventInfo_v1::LAr
@ LAr
The LAr calorimeter.
Definition: EventInfo_v1.h:335
empty
bool empty(TH1 *h)
Definition: computils.cxx:294
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
AthMonitorAlgorithm::trigChainsArePassed
bool trigChainsArePassed(const std::vector< std::string > &vTrigNames) const
Check whether triggers are passed.
Definition: AthMonitorAlgorithm.cxx:194
AthMonitorAlgorithm::Environment_t::user
@ user
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:27
python.ZdcRecConfig.pn
pn
Definition: ZdcRecConfig.py:506
PyPoolBrowser.item
item
Definition: PyPoolBrowser.py:129
LArEventBitInfo::NOISEBURSTVETO
@ NOISEBURSTVETO
Definition: LArEventBitInfo.h:13
TileSynchronizeBch.online
online
Definition: TileSynchronizeBch.py:88
LArFEBMonAlg::m_run2DSPThresholdsKey
SG::ReadCondHandleKey< AthenaAttributeList > m_run2DSPThresholdsKey
Definition: LArFEBMonAlg.h:44
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
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:88
LArOnlineID_Base::channel_range
id_range channel_range() const
Definition: LArOnlineID_Base.cxx:1932
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
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
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:111
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
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:1950
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
AthReentrantAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthReentrantAlgorithm.h:153
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:1911
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:221
AthMonitorAlgorithm::Environment_t::tier0ESD
@ tier0ESD
LArBadFeb::ignoreErrors
unsigned int ignoreErrors() const
Definition: LArBadFeb.h:65
LArOnlineID_Base::channelHashMax
size_type channelHashMax(void) const
Define channel hash tables max size.
Definition: LArOnlineID_Base.cxx:1897
LArBadFeb
Definition: LArBadFeb.h:10
AthMonitorAlgorithm::Environment_t::altprod
@ altprod
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
AthMonitorAlgorithm::m_enforceExpressTriggers
Gaudi::Property< bool > m_enforceExpressTriggers
Definition: AthMonitorAlgorithm.h:372
LArFEBMonAlg::plotMaskedFEB
void plotMaskedFEB() const
Definition: LArFEBMonAlg.cxx:599
LArFEBMonAlg::m_excoscalo
Gaudi::Property< std::vector< std::string > > m_excoscalo
Definition: LArFEBMonAlg.h:50
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
item
Definition: ItemListSvc.h:43
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:1944
a
TList * a
Definition: liststreamerinfos.cxx:10
CaloLCW_tf.group
group
Definition: CaloLCW_tf.py:28
h
python.CaloScaleNoiseConfig.str
str
Definition: CaloScaleNoiseConfig.py:78
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:623
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:798
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
skel.l1
l1
Definition: skel.GENtoEVGEN.py:398
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:26
SG::AllowEmpty
@ AllowEmpty
Definition: StoreGate/StoreGate/VarHandleKey.h:30
error
Definition: IImpactPoint3dEstimator.h:70
PlotCalibFromCool.be
be
Definition: PlotCalibFromCool.py:398
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
readCCLHist.float
float
Definition: readCCLHist.py:83
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
ServiceHandle< ICondSvc >
collisions
Definition: collisions.py:1