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

#include <LArRODMonAlg.h>

Inheritance diagram for LArRODMonAlg:
Collaboration diagram for LArRODMonAlg:

Classes

struct  diff_t
 
class  ERRCOUNTER
 

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

virtual ~LArRODMonAlg ()
 Default destructor. More...
 
virtual StatusCode initialize () override final
 initialize More...
 
virtual StatusCode finalize () override final
 
virtual StatusCode fillHistograms (const EventContext &ctx) const override final
 adds event to the monitoring histograms More...
 
 AthMonitorAlgorithm (const std::string &name, ISvcLocator *pSvcLocator)
 Constructor. More...
 
virtual StatusCode execute (const EventContext &ctx) const override
 Applies filters and trigger requirements. More...
 
void fill (const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
 Fills a vector of variables to a group by reference. More...
 
void fill (const ToolHandle< GenericMonitoringTool > &groupHandle, const std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &variables) const
 Fills a vector of variables to a group by reference. More...
 
template<typename... T>
void fill (const ToolHandle< GenericMonitoringTool > &groupHandle, T &&... variables) const
 Fills a variadic list of variables to a group by reference. More...
 
void fill (const std::string &groupName, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
 Fills a vector of variables to a group by name. More...
 
void fill (const std::string &groupName, const std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &variables) const
 Fills a vector of variables to a group by name. More...
 
template<typename... T>
void fill (const std::string &groupName, T &&... variables) const
 Fills a variadic list of variables to a group by name. More...
 
Environment_t environment () const
 Accessor functions for the environment. More...
 
Environment_t envStringToEnum (const std::string &str) const
 Convert the environment string from the python configuration to an enum object. More...
 
DataType_t dataType () const
 Accessor functions for the data type. More...
 
DataType_t dataTypeStringToEnum (const std::string &str) const
 Convert the data type string from the python configuration to an enum object. More...
 
const ToolHandle< GenericMonitoringTool > & getGroup (const std::string &name) const
 Get a specific monitoring tool from the tool handle array. More...
 
const ToolHandle< Trig::TrigDecisionTool > & getTrigDecisionTool () const
 Get the trigger decision tool member. More...
 
bool trigChainsArePassed (const std::vector< std::string > &vTrigNames) const
 Check whether triggers are passed. More...
 
SG::ReadHandle< xAOD::EventInfoGetEventInfo (const EventContext &) const
 Return a ReadHandle for an EventInfo object (get run/event numbers, etc.) More...
 
virtual float lbAverageInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const
 Calculate the average mu, i.e. More...
 
virtual float lbInteractionsPerCrossing (const EventContext &ctx=Gaudi::Hive::currentContext()) const
 Calculate instantaneous number of interactions, i.e. More...
 
virtual float lbAverageLuminosity (const EventContext &ctx=Gaudi::Hive::currentContext()) const
 Calculate average luminosity (in ub-1 s-1 => 10^30 cm-2 s-1). More...
 
virtual float lbLuminosityPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const
 Calculate the instantaneous luminosity per bunch crossing. More...
 
virtual double lbDuration (const EventContext &ctx=Gaudi::Hive::currentContext()) const
 Calculate the duration of the luminosity block (in seconds) More...
 
virtual float lbAverageLivefraction (const EventContext &ctx=Gaudi::Hive::currentContext()) const
 Calculate the average luminosity livefraction. More...
 
virtual float livefractionPerBCID (const EventContext &ctx=Gaudi::Hive::currentContext()) const
 Calculate the live fraction per bunch crossing ID. More...
 
virtual double lbLumiWeight (const EventContext &ctx=Gaudi::Hive::currentContext()) const
 Calculate the average integrated luminosity multiplied by the live fraction. More...
 
virtual StatusCode parseList (const std::string &line, std::vector< std::string > &result) const
 Parse a string into a vector. More...
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual bool isClonable () const override
 Specify if the algorithm is clonable. More...
 
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
 
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
virtual bool filterPassed (const EventContext &ctx) const
 
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Public Attributes

 flags = initConfigFlags()
 
 Files
 
 HISTFileName
 
 enableLumiAccess
 
 useTrigger
 
 cfg = CaloRecoCfg(flags)
 
def aff_acc = LArRODMonConfig(flags)
 
 f = open("LArRODMon.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

enum  PARTITION {
  EMBC =0, EMBA, EMECC, EMECA,
  HECC, HECA, FCALC, FCALA,
  N_PARTITIONS
}
 
typedef std::vector< std::reference_wrapper< Monitored::IMonitoredVariable > > MonVarVec_t
 
typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

PARTITION getPartition (const HWIdentifier chid) const
 
const char * getPartitionName (const HWIdentifier chid) const
 
diff_t compareChannel (const LArRawChannel &rcDig, const LArRawChannel &rcBS) const
 
void detailedOutput (const LArRODMonAlg::diff_t &, const LArDigit &dig, const EventContext &ctx) const
 
void dumpCellInfo (const HWIdentifier chid, const int gain, const EventContext &ctx, const diff_t &comp) const
 Dump a cell's information and calculated energies into a txt file. More...
 
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

const LArOnlineIDm_LArOnlineIDHelper =nullptr
 
SG::ReadHandleKey< LArRawChannelContainerm_channelKey_fromBytestream {this,"LArRawChannelKey_fromBytestream","LArRawChannels","SG key of LArRawChannels produced by teh DSP"}
 
SG::ReadHandleKey< LArRawChannelContainerm_channelKey_fromDigits {this,"LArRawChannelKey_fromDigits","LArRawChannels_FromDigits","SG key of LArRawChannels produced offline"}
 
SG::ReadHandleKey< LArDigitContainerm_digitContainerKey {this,"LArDigitContainerKey","FREE","SG key of LArDigitContainer read from Bytestream"}
 
SG::ReadHandleKey< LArFebHeaderContainerm_headerContainerKey {this,"LArFebHeaderKey","LArFebHeader","SG key of LArFebHeader"}
 
SG::ReadCondHandleKey< ILArOFCm_keyOFC {this,"KeyOFC","LArOFC","SG key of LArOFC CDO"}
 
SG::ReadCondHandleKey< ILArShapem_keyShape {this,"KeyShape","LArShape","SG key of LArShape CDO"}
 
SG::ReadCondHandleKey< ILArHVScaleCorrm_keyHVScaleCorr {this,"KeyHVScaleCorr","LArHVScaleCorr","SG key of LArHVScaleCorr CDO"}
 
SG::ReadCondHandleKey< ILArPedestalm_keyPedestal {this,"LArPedestalKey","LArPedestal","SG key of LArPedestal CDO"}
 
SG::ReadCondHandleKey< LArADC2MeVm_adc2mevKey {this,"LArADC2MeVKey","LArADC2MeV","SG Key of the LArADC2MeV CDO"}
 
LArBadChannelMask m_bcMask
 
SG::ReadCondHandleKey< LArBadChannelContm_bcContKey {this, "BadChanKey", "LArBadChannel", "SG key for LArBadChan object"}
 
Gaudi::Property< std::vector< std::string > > m_problemsToMask {this,"ProblemsToMask",{}, "Bad-Channel categories to mask"}
 
SG::ReadCondHandleKey< CaloNoisem_noiseCDOKey {this,"CaloNoiseKey","totalNoise","SG Key of CaloNoise data object"}
 
SG::ReadCondHandleKey< LArOnOffIdMappingm_cablingKey {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping CDO"}
 
SG::ReadDecorHandleKey< xAOD::EventInfom_eventInfoKey {this, "LArStatusFlag", "EventInfo.larFlags", "Key for EventInfo object"}
 
Gaudi::Property< std::string > m_MonGroupName {this, "MonGroup", "RODMon"}
 
Gaudi::Property< std::vector< std::string > > m_SubDetNames {this, "LArRODSubDetNames", {} }
 
Gaudi::Property< std::vector< std::string > > m_partitions {this, "LArRODPartitionNames", {} }
 
Gaudi::Property< std::vector< int > > m_Nslots {this, "LArRODNslots", {} }
 
Gaudi::Property< std::string > m_DigitsFileName {this, "DigitsFileName","digits.txt","Digits dump output filename"}
 
Gaudi::Property< std::string > m_EnergyFileName {this,"EnergyFileName","energy.txt"," Energies dump output filename"}
 
Gaudi::Property< std::string > m_AiFileName {this,"AiFileName","Calib_ai.dat","dump output filename"}
 
Gaudi::Property< std::string > m_DumpCellsFileName {this,"DumpCellsFileName","dumpCells.txt","Cells dump output filename"}
 
Gaudi::Property< bool > m_doDspTestDump {this, "DoDspTestDump", false, "dsp dump switch"}
 
Gaudi::Property< bool > m_doCellsDump {this, "DoCellsDump", false, "cell dump switch"}
 
Gaudi::Property< bool > m_doCheckSum {this, "DoCheckSum", true, "checksum test switch"}
 
Gaudi::Property< bool > m_doRodStatus {this, "DoRodStatus", true, "ROD status test switch"}
 
Gaudi::Property< bool > m_printEnergyErrors {this, "PrintEnergyErrors", true, "energy errors printing"}
 
Gaudi::Property< bool > m_removeNoiseBursts {this, "RemoveNoiseBursts", true, "removing events with noise bursts"}
 
Gaudi::Property< bool > m_skipKnownProblematicChannels {this, "SkipKnownProblematicChannels", false, "skipping known problems?"}
 
Gaudi::Property< bool > m_skipNullPed {this, "SkipNullPed", false, "skipping no pedestal channels ?"}
 
Gaudi::Property< bool > m_skipNullQT {this, "SkipNullQT", false, "skipping no quality channe4ls ?"}
 
Gaudi::Property< float > m_timeOffset {this, "TimeOffset", 0.}
 
Gaudi::Property< short > m_adc_th {this, "ADCthreshold", 50, "Minimal number of ADC amplitude among samples required to compare online/offline"}
 
Gaudi::Property< float > m_peakTime_cut {this, "peakTimeCut", 5., "Cut on abs(peak time) to compare online/offline (all quantities)"}
 
Gaudi::Property< std::vector< std::pair< int, int > > > m_E_precision
 
Gaudi::Property< std::vector< std::pair< int, int > > > m_T_precision
 
Gaudi::Property< std::vector< std::pair< int, int > > > m_Q_precision
 
const float m_BC =25000
 
std::map< std::string, int > m_histoGroups
 
Gaudi::Property< std::vector< std::string > > m_streams {this, "Streams", {} }
 
Gaudi::Property< unsigned > m_max_dump {this, "MaxEvDump", 0, "max number of channels for detailed log-output"}
 
std::atomic< unsigned > m_ndump {0}
 
std::ofstream m_fai ATLAS_THREAD_SAFE
 
std::ofstream m_fdig ATLAS_THREAD_SAFE
 
std::ofstream m_fen ATLAS_THREAD_SAFE
 
std::ofstream m_fdump 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
 

Static Private Attributes

static constexpr auto m_PARTNAMES =std::to_array<const char*>({"EMBC","EMBA","EMECC","EMECA","HECC","HECA","FCalC","FCalA","UNKNOWN"})
 

Detailed Description

Definition at line 32 of file LArRODMonAlg.h.

Member Typedef Documentation

◆ MonVarVec_t

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

Definition at line 365 of file AthMonitorAlgorithm.h.

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Member Enumeration Documentation

◆ DataType_t

enum AthMonitorAlgorithm::DataType_t
stronginherited

Specifies what type of input data is being monitored.

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

Enumerator
userDefined 
monteCarlo 
collisions 
cosmics 
heavyIonCollisions 

Definition at line 191 of file AthMonitorAlgorithm.h.

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

◆ Environment_t

enum AthMonitorAlgorithm::Environment_t
stronginherited

Specifies the processing environment.

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

Enumerator
user 
online 
tier0 
tier0Raw 
tier0ESD 
AOD 
altprod 

Definition at line 172 of file AthMonitorAlgorithm.h.

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

◆ PARTITION

Enumerator
EMBC 
EMBA 
EMECC 
EMECA 
HECC 
HECA 
FCALC 
FCALA 
N_PARTITIONS 

Definition at line 52 of file LArRODMonAlg.h.

Constructor & Destructor Documentation

◆ ~LArRODMonAlg()

LArRODMonAlg::~LArRODMonAlg ( )
virtual

Default destructor.

Definition at line 31 of file LArRODMonAlg.cxx.

31 {}

Member Function Documentation

◆ AthMonitorAlgorithm()

AthMonitorAlgorithm::AthMonitorAlgorithm

Constructor.

Definition at line 42 of file AthMonitorAlgorithm.cxx.

◆ cardinality()

unsigned int AthReentrantAlgorithm::cardinality ( ) const
overridevirtualinherited

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

Override this to return 0 for reentrant algorithms.

Override this to return 0 for reentrant algorithms.

Definition at line 55 of file AthReentrantAlgorithm.cxx.

56 {
57  return 0;
58 }

◆ compareChannel()

LArRODMonAlg::diff_t LArRODMonAlg::compareChannel ( const LArRawChannel rcDig,
const LArRawChannel rcBS 
) const
private

Definition at line 374 of file LArRODMonAlg.cxx.

375  {
376  diff_t result;
377  const HWIdentifier chid=rcDig.channelID();
378  const int slot_fD = m_LArOnlineIDHelper->slot(chid);
379  const int feedthrough_fD = m_LArOnlineIDHelper->feedthrough(chid);
380  const float timeOffline = rcDig.time() - m_timeOffset*m_BC;
381 
382  const float& en_fB=rcBS.energy();
383  const float& en_fD=rcDig.energy();
384 
385  ATH_MSG_VERBOSE(chid.getString()<<" | "<<timeOffline<<" "<<rcBS.time()<<" | "<<en_fB<<" "<<en_fD);
386 
387  if (fabs(timeOffline) > m_peakTime_cut*1000.){
388  ATH_MSG_DEBUG( " timeOffline too large " << timeOffline );
389  return result;
390  }
391 
392  const std::string & hg=getPartitionName(chid);
393  auto slot = Monitored::Scalar<int>("slot",slot_fD);
394  auto ft = Monitored::Scalar<int>("FT",feedthrough_fD);
395 
396  auto pairValueCmp = [](const int& a, const std::pair<int,int>& b){return a<b.first;};
397  //Energy check:
398  //Find expected precision given the cell-energy:
399  auto e_Precision=std::upper_bound(m_E_precision.begin(),m_E_precision.end(),std::abs(en_fB),pairValueCmp);
400  const size_t energyrange=e_Precision-m_E_precision.begin();
401  auto erange = Monitored::Scalar<int>("Erange",energyrange);
402  auto DiffE = Monitored::Scalar<float>("Ediff",en_fD - en_fB);
403  fill(m_MonGroupName,DiffE,erange);
404 
405  auto Eon = Monitored::Scalar<float>("Eon",en_fB);
406  auto Eoff = Monitored::Scalar<float>("Eoff",en_fD);
407  fill(m_tools[m_histoGroups.at(hg)],DiffE,erange,Eon,Eoff);
408 
409  if (std::abs(en_fD-en_fB) > e_Precision->second) {
410  //Fill results object for error counting, and dumping (if needed)compRes.e_on!=compRes.e_off)
411  result.e_off=en_fD;
412  result.e_on=en_fB;
413  auto weight_e = Monitored::Scalar<float>("weight_e",1.);
414  fill(m_tools[m_histoGroups.at(hg)],slot,ft,weight_e);
415  }
416 
417  const float q_fB=rcBS.quality();
418  const float q_fD=rcDig.quality();
419  const float t_fB=rcBS.time();
420 
421  if ((rcDig.provenance() & 0x2000) == 0 || q_fD==0 || t_fB==0 || q_fB==0 || timeOffline==0) {
422  // Skip time/Quality comparison if
423  // * provenance bits indicate the LArRawChannel builder didn't calculate these quantities
424  // * the offline time is zero (may happen if the OFC amplitude < 0.1 )
425  // * online value are zero
426  // * offline quality is 0 (avoid div-by-zero later on)
427  ATH_MSG_VERBOSE("Skip time/Quality comparison, not computed either online or offline");
428  return result;
429  }
430 
431  auto DiffT = Monitored::Scalar<float>("Tdiff",timeOffline - t_fB);
432  //Find expected precision given the cell-time:
433  auto t_Precision=std::upper_bound(m_T_precision.begin(),m_T_precision.end(),std::abs(t_fB),pairValueCmp);
434 
435  auto Ton = Monitored::Scalar<float>("Ton",t_fB);
436  auto Toff = Monitored::Scalar<float>("Toff",timeOffline);
437  fill(m_tools[m_histoGroups.at(hg)],DiffT,Ton,Toff);
438  fill(m_MonGroupName,DiffT);
439  if (fabs(DiffT) > t_Precision->second) {
440  auto weight_t = Monitored::Scalar<float>("weight_t",1.);
441  fill(m_tools[m_histoGroups.at(hg)],slot,ft,weight_t);
442  result.t_on=t_fB;
443  result.t_off=timeOffline;
444  }
445 
446 
447  //Quality check:
448  float qdiff = 65535.0; // max possible quality
449  if (q_fD > 0.) qdiff = (q_fD - q_fB)/std::sqrt(q_fD);
450 
451  //Find expected precision given the cell-quality:
452  auto q_Precision=std::upper_bound(m_Q_precision.begin(),m_Q_precision.end(),std::abs(q_fB),pairValueCmp);
453 
454  auto DiffQ = Monitored::Scalar<float>("Qdiff", qdiff);
455  auto Qon = Monitored::Scalar<float>("Qon",q_fB);
456  auto Qoff = Monitored::Scalar<float>("Qoff",q_fD);
457  fill(m_tools[m_histoGroups.at(hg)],DiffQ,Qon,Qoff);
458  fill(m_MonGroupName,DiffQ);
459 
460  if (fabs(DiffQ) > q_Precision->second) {
461  auto weight_q = Monitored::Scalar<float>("weight_q",1.);
462  fill(m_tools[m_histoGroups.at(hg)],slot,ft,weight_q);
463  result.q_on=q_fB;
464  result.q_off=q_fD;
465  }
466  return result;
467 }

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

◆ detailedOutput()

void LArRODMonAlg::detailedOutput ( const LArRODMonAlg::diff_t cmp,
const LArDigit dig,
const EventContext &  ctx 
) const
private

Definition at line 469 of file LArRODMonAlg.cxx.

471  {
472 
473 
474  const HWIdentifier chid=dig.channelID();
475  const auto gain=dig.gain();
476 
478  const CaloNoise *noisep = *noiseHdl;
479 
481  const ILArPedestal* pedestals=*pedestalHdl;
482 
484  const ILArOFC* ofcs=*ofcHdl;
485  const ILArOFC::OFCRef_t& OFCa = ofcs->OFC_a(chid,gain);
486  const ILArOFC::OFCRef_t& OFCb = ofcs->OFC_b(chid,gain);
488 
489  const ILArShape* shapes=*shapeHdl;
490  const ILArShape::ShapeRef_t& shape = shapes->Shape(chid,gain);
491  const ILArShape::ShapeRef_t& shapeDer = shapes->ShapeDer(chid,gain);
492 
494  const ILArHVScaleCorr* hvScaleCorrs=*hvScaleCorrHdl;
495 
497  const LArADC2MeV* adc2mev=*adc2MeVHdl;
498  const auto& polynom_adc2mev=adc2mev->ADC2MEV(chid,gain);
499  const float escale = (polynom_adc2mev)[1];
500  float ramp0 = (polynom_adc2mev)[0];
502  const LArOnOffIdMapping* cabling=*cablingHdl;
503 
504  const float hvscale = hvScaleCorrs->HVScaleCorr(chid);
505  const int channel=m_LArOnlineIDHelper->channel(chid);
506  const HWIdentifier febid=m_LArOnlineIDHelper->feb_Id(chid);
507  const std::vector<short>& samples=dig.samples();
508  if (gain == 0) ramp0 = 0.; // no ramp intercepts in HG
509  const float ped = pedestals->pedestal(chid,dig.gain());
510 
511 
512  //Log-file output if requested ...
514  ATH_MSG_WARNING("Channel " << m_LArOnlineIDHelper->channel_name(chid) << ", gain " << gain
515  <<", run " << ctx.eventID().run_number() << ", evt " << ctx.eventID().event_number());
516  if (cmp.e_on!=cmp.e_off) {
517  ATH_MSG_WARNING("DSP Energy Error:");
518  ATH_MSG_WARNING( " Eonl = " << cmp.e_on << " , Eoff = " << cmp.e_off
519  << " , Eoff - Eonl = " << cmp.e_off-cmp.e_on);
520  }
521  else {
522  ATH_MSG_WARNING("Eonl=Eofl="<< cmp.e_on);
523  }
524  if(cmp.t_off!=cmp.t_on ) {
525  ATH_MSG_WARNING( "DSP Time Error:");
526  ATH_MSG_WARNING( " Tonl = " << cmp.t_on << " , Toff = " << cmp.t_off
527  << " , Toff - Tonl = " << cmp.t_off - cmp.t_on);
528  }
529  if (cmp.q_off!=cmp.q_on) {
530  ATH_MSG_WARNING( "DSP Quality Error");
531  ATH_MSG_WARNING( " Qonl = " << cmp.q_on << " , Qoff = " << cmp.q_off
532  << " (Qoff - Qnl)/sqrt(Qoff) = " << (cmp.q_off - cmp.q_on)/std::sqrt(cmp.q_off));
533  }
534  }
535  if (m_ndump<m_max_dump) {
536  std::string output;
537  output="Digits : ";
538  for (const short s : samples) {output+=std::to_string(s)+ " ";}
540 
541  output="OFCa : ";
542  for (const auto o : OFCa) {output+=std::to_string(o)+" ";}
544 
545  output="OFCb : ";
546  for (const auto o : OFCb) {output+=std::to_string(o)+" ";}
548 
549  output="Shape : ";
550  for (const auto s : shape) {output+=std::to_string(s)+" ";}
552 
553  output="ShapeDer : ";
554  for (const auto s : shapeDer) {output+=std::to_string(s)+" ";}
555  ATH_MSG_INFO( output );
556 
557  ATH_MSG_INFO( "Escale: "<<escale<<" intercept: "<<ramp0<<" pedestal: "<<ped<<" gain: "<<dig.gain() );
558  const Identifier cellid=cabling->cnvToIdentifier(chid);
559  const float noise=noisep->getNoise(cellid,gain);
560  ATH_MSG_INFO( "Noise: "<<noise);
561  ATH_MSG_INFO( "HVScaleCorr: "<<hvscale);
562  double emon=0.;
563  const unsigned nOFCSamp=std::min(samples.size(),OFCa.size());
564  for (unsigned k=0; k<nOFCSamp; ++k) emon += (samples.at(k)-ped)*OFCa.at(k);
565  emon *= escale;
566  emon += ramp0;
567  ATH_MSG_INFO( "intercept + Escale*Sum[(sample-ped)*OFCa] "<<emon);
568  }//end log-file dump
569 
570  if(m_doCellsDump) {
571  float sumai = 0.;
572  for (const float a : OFCa) {sumai += a;}
573  float pedplusoffset=0;
574  if (escale*sumai != 0) pedplusoffset = ped - ramp0/(escale*sumai);
575  else pedplusoffset = 0;
576  const float inv_Escale = 1. / escale;
577 
578  m_fai << channel<<"\t"<< ped<<"\t"<< pedplusoffset<<"\t"
579  << OFCa[0]*escale<<"\t"<< OFCa[1]*escale<<"\t"<< OFCa[2]*escale<<"\t"<< OFCa[3]*escale<<"\t"<< OFCa[4]*escale<<"\t"
580  << OFCb[0]*escale<<"\t"<< OFCb[1]*escale<<"\t"<< OFCb[2]*escale<<"\t"<< OFCb[3]*escale<<"\t"<< OFCb[4]*escale<<"\t"
581  << shape[0]*inv_Escale<<"\t"<< shape[1]*inv_Escale<<"\t"<< shape[2]*inv_Escale<<"\t"<< shape[3]*inv_Escale<<"\t"<< shape[4]*inv_Escale<<"\t"
582  << shapeDer[0]*inv_Escale<<"\t"<< shapeDer[1]*inv_Escale<<"\t"<< shapeDer[2]*inv_Escale<<"\t"<< shape[3]*inv_Escale<<"\t"<< shapeDer[4]*inv_Escale << std::endl;
583 
584  // Dumping file with offline energy and online energ
585  m_fen << m_ndump << " " << cmp.e_off << " " << cmp.e_on ;
586  m_fen << " // FEB " << febid.get_identifier32().get_compact() << " ( channel " << channel << " ), event " << ctx.eventID().event_number() << std::endl;
587 
588  // Dumping file with digits
589  m_fdig << channel << " ";
590  for (const short d : samples) {
591  m_fdig << d << " ";
592  }
593  m_fdig << " // FEB " << febid.get_identifier32().get_compact() << " ( channel " << channel << " ), event " << ctx.eventID().event_number() << std::endl;
594  } //end if m_doCellsDump
595  return;
596 }

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

◆ dumpCellInfo()

void LArRODMonAlg::dumpCellInfo ( const HWIdentifier  chid,
const int  gain,
const EventContext &  ctx,
const diff_t comp 
) const
private

Dump a cell's information and calculated energies into a txt file.

Definition at line 598 of file LArRODMonAlg.cxx.

601  {
602 
603  // Dumping cell information in a text file so that it can be compared to unhappy channels lists for instance ...
604 
605  const int barrel_ec=m_LArOnlineIDHelper->barrel_ec(chid);
606  const int posneg=m_LArOnlineIDHelper->pos_neg(chid);
607  const int slot = m_LArOnlineIDHelper->slot(chid);
608  const int FT = m_LArOnlineIDHelper->feedthrough(chid);
609  const int channel = m_LArOnlineIDHelper->channel(chid);
610  const HWIdentifier febid= m_LArOnlineIDHelper->feb_Id(chid);
611  m_fdump << "0x" << std::hex << std::setw(8)<<febid.get_identifier32().get_compact() << " " << std::dec << std::setw(3) << std::right << channel << " 0x" << std::hex << std::setw(8)<<chid.get_identifier32().get_compact()
612  <<std::dec << std::setw(3) << std::right << slot << std::setw(3) << std::right << FT << std::setw(3) << std::right << barrel_ec << std::setw(3) << std::right<< posneg << std::setw(6) << std::right << getPartitionName(chid)
613  << " " << gain << " " << " " << cmp.e_off << " "<< cmp.e_on << " "<<cmp.t_off << " "<<cmp.t_on <<" "<<cmp.q_off << " "<<cmp.q_on <<ctx.eventID().event_number()<<std::endl;
614  return;
615 }

◆ environment()

Environment_t AthMonitorAlgorithm::environment ( ) const
inlineinherited

Accessor functions for the environment.

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

Definition at line 205 of file AthMonitorAlgorithm.h.

205 { return m_environment; }

◆ envStringToEnum()

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

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

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

Definition at line 112 of file AthMonitorAlgorithm.cxx.

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

◆ evtStore() [1/2]

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

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

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

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

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

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

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

Applies filters and trigger requirements.

Then, calls fillHistograms().

Parameters
ctxevent context for reentrant Athena call
Returns
StatusCode

Definition at line 73 of file AthMonitorAlgorithm.cxx.

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

◆ extraDeps_update_handler()

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

Add StoreName to extra input/output deps as needed.

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

◆ extraOutputDeps()

const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

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

Definition at line 79 of file AthReentrantAlgorithm.cxx.

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

◆ fillHistograms()

StatusCode LArRODMonAlg::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 112 of file LArRODMonAlg.cxx.

112  {
113  ATH_MSG_VERBOSE( "In LArRODMonAlg::fillHistograms()");
114 
115  //monitored variables
116  auto weight_e = Monitored::Scalar<float>("weight_e",1.);
117  auto weight_q = Monitored::Scalar<float>("weight_q",1.);
118  auto weight_t = Monitored::Scalar<float>("weight_t",1.);
119  auto numE = Monitored::Scalar<int>("numE",1.);
120  auto numQ = Monitored::Scalar<int>("numQ",1.);
121  auto numT = Monitored::Scalar<int>("numT",1.);
122  auto gain = Monitored::Scalar<int>("gain",-1);
123  auto partition = Monitored::Scalar<int>("partition",-1);
124  auto partitionI = Monitored::Scalar<int>("partitionI",-1);
125  auto lb = Monitored::Scalar<int>("LBN",0);
126  auto sweetc = Monitored::Scalar<float>("Sweetc",1.);
127 
128  SG::ReadHandle<xAOD::EventInfo> thisEventInfo{GetEventInfo(ctx)};
129 
131  const ILArPedestal* pedestals=*pedestalHdl;
132 
133  //retrieve BadChannel info:
135  const LArBadChannelCont* bcCont{*bcContHdl};
136 
137  bool isEventFlaggedByLArNoisyROAlg = false; // keep default as false
138  bool isEventFlaggedByLArNoisyROAlgInTimeW = false; // keep deault as false
139 
140  if ( thisEventInfo->isEventFlagBitSet(xAOD::EventInfo::LAr,0) ) {
141  isEventFlaggedByLArNoisyROAlg = true;
142  ATH_MSG_DEBUG( "Event flagged as Noisy" );
143  }
144 
145  if ( thisEventInfo->isEventFlagBitSet(xAOD::EventInfo::LAr,3) ) {
146  isEventFlaggedByLArNoisyROAlgInTimeW = true;
147  ATH_MSG_DEBUG( " !!! Noisy event found by LArNoisyROAlg in Time window of 500ms!!!" );
148  }
149 
150  // Noise bursts cleaning (LArNoisyRO_Std or TimeWindowVeto) added by B.Trocme - 19/7/12
151  if (m_removeNoiseBursts && (isEventFlaggedByLArNoisyROAlg || isEventFlaggedByLArNoisyROAlgInTimeW)) return StatusCode::SUCCESS;
152 
153  // Retrieve stream info
154  int nStreams = m_streams.size();
155  // if ((nStreams == 1 && m_streams[0] == "all") || nStreams <= 0) selectstreams = false;
156 
157  lb = thisEventInfo->lumiBlock();
158 
159  //Fixme: Use LArTrigStreamMatching also here.
160  const int streamsize = nStreams + 1;
161  std::vector<int> hasStream(streamsize,0);
162  // for (int str = 0; str < nStreams + 1; str++) hasStream[str] = 0;
163 
164  bool hasstrlist = false;
165  const std::vector< xAOD::EventInfo::StreamTag >& evtStreamTags=thisEventInfo->streamTags();
166  for (const auto& evtStreamTag : evtStreamTags) {
167  std::vector<std::string>::const_iterator evtStreamTagIt=std::find(m_streams.begin(),m_streams.end(),evtStreamTag.name());
168  if (evtStreamTagIt!=m_streams.end()) {
169  const unsigned str=evtStreamTagIt-m_streams.begin();
170  ATH_MSG_VERBOSE( "Keeping Stream Tag: " << evtStreamTag.type() << "_" << evtStreamTag.name());
171  hasStream[str] = 1;
172  hasstrlist = true;
173  }
174  }
175  if (! hasstrlist) hasStream[nStreams] = 1;
176 
177 
179 
181 
183 
184  std::set<HWIdentifier> ignoreFEBs;
185 
186  if (m_doCheckSum || m_doRodStatus) {
187  const LArFebHeaderContainer* febCont = SG::get(m_headerContainerKey, ctx);
188  if (!febCont) {
189  ATH_MSG_WARNING( "No LArFEB container found in TDS" );
190  } else {
191  for (const auto* febH : *febCont) {
192  if (((m_doCheckSum && febH->ChecksumVerification()==false)) ||
193  (m_doRodStatus && febH->RodStatus()!=0))
194  ignoreFEBs.insert(febH->FEBId());
195  }
196  }
197  ATH_MSG_DEBUG("Found " << ignoreFEBs.size() << " FEBs with checksum errors or statatus errors. Will ignore these FEBs.");
198  }
199 
200  std::vector<ERRCOUNTER> errcounters(N_PARTITIONS);
201  ERRCOUNTER allEC;
202 
203  std::vector<unsigned> errsPerFEB;
204  errsPerFEB.resize(m_LArOnlineIDHelper->febHashMax(),0);
205 
206  const bool ignoreFebs=(ignoreFEBs.size()>0);
207  std::set<HWIdentifier>::const_iterator ignoreFebsEnd=ignoreFEBs.end();
208 
209  unsigned count_gain[(int)CaloGain::LARNGAIN] = {0};
210 
211  //Build an association of channels in the two LArRawChannelContainers.
212  //The LArRawChannelContainers are unordered collections of LArRawChannels.
213  //But we know that they have the same order because they were built from the same source (namely the LArDigits and RawChannels in the Bytestream)
214  //and we know that the LArRawChannels built offline are a subset of the LArRawChannelContainers read from Bytestream.
215  //Therfore we can search much more efficiently
216  LArRawChannelContainer::const_iterator rcDigIt=rawColl_fromDigits->begin();
217  LArRawChannelContainer::const_iterator rcDigIt_e=rawColl_fromDigits->end();
218  LArRawChannelContainer::const_iterator rcBSIt=rawColl_fromBytestream->begin();
219  LArRawChannelContainer::const_iterator rcBSIt_e=rawColl_fromBytestream->end();
220 
221  LArDigitContainer::const_iterator digIt=pLArDigitContainer->begin();
222  LArDigitContainer::const_iterator digIt_e=pLArDigitContainer->end();
223 
224 
225  //Loop over indices in LArRawChannelContainer built offline (the small one)
226  ATH_MSG_DEBUG( "Entering the LArRawChannel loop." );
227 
228  for (;rcDigIt!=rcDigIt_e;++rcDigIt) {
229  const HWIdentifier idDig=rcDigIt->hardwareID();
230  const HWIdentifier febId=m_LArOnlineIDHelper->feb_Id(idDig);
231  // Check if this FEB should be ignored
232  if (ignoreFebs) {
233  if (ignoreFEBs.find(febId)!=ignoreFebsEnd) continue;
234  }
235  //Check if this is a bad channel
236  if (m_skipKnownProblematicChannels && m_bcMask.cellShouldBeMasked(bcCont,idDig)) continue;
237 
238  const CaloGain::CaloGain gain = rcDigIt->gain();
239  //Check pedestal if needed
240  if (m_skipNullPed) {
241  const float ped = pedestals->pedestal(idDig,gain);
242  if(ped <= (1.0+LArElecCalib::ERRORCODE)) continue;
243  }
244 
245  //Now look for corresponding channel in the LArRawChannelContainer read from Bytestream (the big one)
246  LArRawChannelContainer::const_iterator currIt=rcBSIt; //Remember current position in container
247  for (;rcBSIt!=rcBSIt_e && rcBSIt->hardwareID() != idDig; ++rcBSIt);
248  if (rcBSIt==rcBSIt_e) {
249  ATH_MSG_WARNING( "LArDigitContainer not in the expected order. Change of LArByteStream format?" );
250  //Wrap-around
251  for (rcBSIt=rawColl_fromBytestream->begin();rcBSIt!=currIt && rcBSIt->hardwareID() != idDig; ++rcBSIt);
252  if (rcBSIt==currIt) {
253  ATH_MSG_ERROR( "Channel " << m_LArOnlineIDHelper->channel_name(idDig) << " not found." );
254  return StatusCode::FAILURE;
255  }
256  }
257 
258  //Now look for corresponding channel in the LArDigitContainer read from Bytestream
259  //Should be in almost in sync with the RawChannelContainer we are iterating over,
260  //but contains disconnected channels that are not part of the LArRawChannelContainer
261  LArDigitContainer::const_iterator currDigIt=digIt; //Remember current position in digit-container
262  for (;digIt!=digIt_e && (*digIt)->hardwareID() != idDig; ++digIt);
263  if (digIt==digIt_e) {
264  ATH_MSG_WARNING( "LArRawChannelContainer not in the expected order. Change of LArRawChannelBuilder behavior?" );
265  //Wrap-around
266  for (digIt=pLArDigitContainer->begin();digIt!=currDigIt && (*digIt)->hardwareID() != idDig; ++digIt);
267  if (digIt==currDigIt) {
268  ATH_MSG_ERROR( "Channel " << m_LArOnlineIDHelper->channel_name(idDig) << " not found in LArDigitContainer." );
269  return StatusCode::FAILURE;
270  }
271  }
272  const LArDigit* dig=*digIt;
273  const std::vector<short>& samples=dig->samples();
274  const auto [minSamplesIt, maxSamplesIt] = std::minmax_element(samples.begin(),samples.end());
275  if (m_adc_th<=0 || (*maxSamplesIt-*minSamplesIt)>m_adc_th) {
276  const diff_t compRes=compareChannel(*rcDigIt,*rcBSIt);
277  if (compRes.e_on!=compRes.e_off || compRes.t_on!=compRes.t_off || compRes.q_on!=compRes.q_off) {
279  detailedOutput(compRes,*dig,ctx);
280  ++m_ndump;
281  }
282  if (m_doCellsDump) {
283  dumpCellInfo(idDig,gain,ctx,compRes);
284  }
285  }
286  //Count errors:
287  const PARTITION p=getPartition(idDig);
288  if (compRes.e_on!=compRes.e_off) {
289  ++(errcounters[p].errors_E[gain]);
290  ++(allEC.errors_E[gain]);
291 
293  ++(errsPerFEB[febHash]);
294  }
295  if (compRes.t_on!=compRes.t_off) {//Time-error
296  ++(errcounters[p].errors_T[gain]);
297  ++(allEC.errors_T[gain]);
298  }
299 
300  if (compRes.q_on!=compRes.q_off) {//Quality-error
301  ++(errcounters[p].errors_Q[gain]);
302  ++(allEC.errors_Q[gain]);
303  }
304 
305  }
306  else {
307  ATH_MSG_DEBUG( "Samples : "<< *maxSamplesIt << " " << *minSamplesIt );
308  }
309  }//end loop over rawColl_fromDigits
310 
311  ATH_MSG_DEBUG( "End of rawChannels loop" );
312 
313  for (unsigned i=0;i<m_LArOnlineIDHelper->febHashMax();++i) {
315  const std::string pn=getPartitionName(febid);
316  sweetc = errsPerFEB[i];
317  fill(m_tools[m_histoGroups.at(pn)],sweetc);
318  }
319 
320 
321  ATH_MSG_VERBOSE( "*Number of errors in Energy Computation : " );
322  ATH_MSG_VERBOSE( "* Low Gain : " << allEC.errors_E[2] << " / " << count_gain[CaloGain::LARLOWGAIN] );
323  ATH_MSG_VERBOSE( "* Medium Gain : " << allEC.errors_E[1] << " / " << count_gain[CaloGain::LARMEDIUMGAIN] );
324  ATH_MSG_VERBOSE( "* High Gain : " << allEC.errors_E[0] << " / " << count_gain[CaloGain::LARHIGHGAIN] );
325  ATH_MSG_VERBOSE( "*Number of errors in Time Computation : " );
326  ATH_MSG_VERBOSE( "* Low Gain : " << allEC.errors_T[2] << " / " << count_gain[CaloGain::LARLOWGAIN] );
327  ATH_MSG_VERBOSE( "* Medium Gain : " << allEC.errors_T[1] << " / " << count_gain[CaloGain::LARMEDIUMGAIN] );
328  ATH_MSG_VERBOSE( "* High Gain : " << allEC.errors_T[0] << " / " << count_gain[CaloGain::LARHIGHGAIN] );
329  ATH_MSG_VERBOSE( "*Number of errors in Quality Computation : " );
330  ATH_MSG_VERBOSE( "* Low Gain : " << allEC.errors_Q[2] << " / " << count_gain[CaloGain::LARLOWGAIN] );
331  ATH_MSG_VERBOSE( "* Medium Gain : " << allEC.errors_Q[1] << " / " << count_gain[CaloGain::LARMEDIUMGAIN] );
332  ATH_MSG_VERBOSE( "* High Gain : " << allEC.errors_Q[0] << " / " << count_gain[CaloGain::LARHIGHGAIN] );
333 
334  for (unsigned p=0;p<N_PARTITIONS;++p) {
335  unsigned allErrsPartE=0;
336  unsigned allErrsPartT=0;
337  unsigned allErrsPartQ=0;
338  partition = p;
339  for (unsigned g=0;g<3;++g) {
340  gain = g;
341  weight_e = (float)errcounters[p].errors_E[g];
342  weight_q = (float)errcounters[p].errors_Q[g];
343  weight_t = (float)errcounters[p].errors_T[g];
344  fill(m_MonGroupName, partition, gain, weight_e, weight_q, weight_t);
345 
346  allErrsPartE+=errcounters[p].errors_E[g];
347  allErrsPartT+=errcounters[p].errors_T[g];
348  allErrsPartQ+=errcounters[p].errors_Q[g];
349  }
350  partitionI = p;
351  numE = (float)allErrsPartE;
352  numT = (float)allErrsPartT;
353  numQ = (float)allErrsPartQ;
354  fill(m_MonGroupName, lb, partitionI, numE, numT, numQ);
355  }//end loop over partitions
356 
357  /*
358  for(int str = 0; str < nStreams + 1; str++) {
359  if (hasStream[str] == 1) {
360 
361  m_hEErrors_LB_stream->Fill((float)m_curr_lb,(float)str,(float)allErr_E);
362  m_hTErrors_LB_stream->Fill((float)m_curr_lb,(float)str,(float)allErr_T);
363  m_hQErrors_LB_stream->Fill((float)m_curr_lb,(float)str,(float)allErr_Q);
364  FIXME
365  }
366  }
367  */
368 
369  return StatusCode::SUCCESS;
370 }

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

◆ finalize()

StatusCode LArRODMonAlg::finalize ( )
finaloverridevirtual

Definition at line 624 of file LArRODMonAlg.cxx.

624  {
625  m_fai.close();
626  m_fdig.close();
627  m_fen.close();
628  m_fdump.close();
629  return StatusCode::SUCCESS;
630 }

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

◆ getPartition()

LArRODMonAlg::PARTITION LArRODMonAlg::getPartition ( const HWIdentifier  chid) const
inlineprivate

Definition at line 187 of file LArRODMonAlg.h.

187  {
188  const int side=m_LArOnlineIDHelper->pos_neg(chid);
189  if (m_LArOnlineIDHelper->isEMBchannel(chid)) {
190  if (side==0)
191  return EMBC;
192  else
193  return EMBA;
194  }
195  if (m_LArOnlineIDHelper->isEMECchannel(chid)) {
196  if (side==0)
197  return EMECC;
198  else
199  return EMECA;
200  }
201  if (m_LArOnlineIDHelper->isHECchannel(chid)){
202  if (side==0)
203  return HECC;
204  else
205  return HECA;
206  }
207  if (m_LArOnlineIDHelper->isFCALchannel(chid)) {
208  if (side==0)
209  return FCALC;
210  else
211  return FCALA;
212  }
213 
214  ATH_MSG_FATAL(std::format("Channel {:#x} neither EMB nor EMEC nor HEC nor FCAL???",chid.get_identifier32().get_compact()));
215  return N_PARTITIONS;
216 }

◆ getPartitionName()

const char * LArRODMonAlg::getPartitionName ( const HWIdentifier  chid) const
inlineprivate

Definition at line 219 of file LArRODMonAlg.h.

219  {
220  return m_PARTNAMES[getPartition(chid)];
221 }

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

initialize

Returns
StatusCode

Reimplemented from AthMonitorAlgorithm.

Definition at line 35 of file LArRODMonAlg.cxx.

35  {
36  ATH_MSG_VERBOSE( "In LArRODMonAlg::initialize() ");
37 
38  ATH_CHECK(detStore()->retrieve(m_LArOnlineIDHelper, "LArOnlineID"));
39 
44 
49 
51 
54 
55  ATH_CHECK(m_bcContKey.initialize());
57 
58  ATH_CHECK( m_eventInfoKey.initialize() );
59 
60 
61  //Check properties ...
62  if (Gaudi::Concurrency::ConcurrencyFlags::numThreads() > 1) { //MT environment
63  if (m_doDspTestDump) {
64  ATH_MSG_ERROR("Property 'DoDspTestDump' must not be true if nThreads>1");
65  return StatusCode::FAILURE;
66  }
67  if (m_doCellsDump) {
68  ATH_MSG_ERROR("Property 'DoCellsDump' must not be true if nThreads>1");
69  return StatusCode::FAILURE;
70  }
71  }
72 
73 
74  auto pairCmp = [](const std::pair<int,int>& p1, const std::pair<int,int>& p2) {return (p1.first<p2.first);};
75  if (!std::is_sorted(m_E_precision.begin(),m_E_precision.end(),pairCmp)) {
76  ATH_MSG_ERROR("Configuration problem: Energy ranges not in ascending order!");
77  return StatusCode::FAILURE;
78  }
79 
80  if (!std::is_sorted(m_T_precision.begin(),m_T_precision.end(),pairCmp)) {
81  ATH_MSG_ERROR("Configuration problem: Time ranges not in ascending order!");
82  return StatusCode::FAILURE;
83  }
84 
85  if (!std::is_sorted(m_Q_precision.begin(),m_Q_precision.end(),pairCmp)) {
86  ATH_MSG_ERROR("Configuration problem: Quality ranges not in ascending order!");
87  return StatusCode::FAILURE;
88  }
89 
90 
91  // Open output files for DspTest
92  if (m_doDspTestDump) {
93  m_fai.open(m_AiFileName,std::ios::trunc);
94  m_fdig.open(m_DigitsFileName,std::ios::trunc);
95  m_fen.open(m_EnergyFileName,std::ios::trunc);
96  }
97 
98  // Output file
99  if (m_doCellsDump) {
100  m_fdump.open(m_DumpCellsFileName);
101  m_fdump<<"febid channel CellID slot FT barrel_ec posneg partition E_off E_on T_off T_on Q_off Q_on event "<<std::endl;
102  }
103 
104 
105  ATH_MSG_DEBUG("Setting an offset time of " << m_timeOffset << " BC, i.e. " << m_timeOffset*m_BC << " ps");
106 
107  m_histoGroups = Monitored::buildToolMap<int>(m_tools,m_MonGroupName, m_partitions);
108 
110 }

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

◆ renounce()

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

Definition at line 380 of file AthCommonDataStore.h.

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

◆ renounceArray()

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

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ setFilterPassed()

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

Definition at line 139 of file AthReentrantAlgorithm.h.

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

◆ sysExecute()

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

Execute an algorithm.

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

Definition at line 67 of file AthReentrantAlgorithm.cxx.

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

◆ sysInitialize()

StatusCode AthReentrantAlgorithm::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

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

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

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

Reimplemented in InputMakerBase, and HypoBase.

Definition at line 96 of file AthReentrantAlgorithm.cxx.

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

◆ sysStart()

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

Handle START transition.

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

◆ trigChainsArePassed()

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

Check whether triggers are passed.

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

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

Definition at line 194 of file AthMonitorAlgorithm.cxx.

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

◆ updateVHKA()

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

Definition at line 308 of file AthCommonDataStore.h.

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

Member Data Documentation

◆ aff_acc

def LArRODMonAlg.aff_acc = LArRODMonConfig(flags)

Definition at line 234 of file LArRODMonAlg.py.

◆ ATLAS_THREAD_SAFE [1/4]

std::ofstream m_fai LArRODMonAlg::ATLAS_THREAD_SAFE
mutableprivate

Definition at line 178 of file LArRODMonAlg.h.

◆ ATLAS_THREAD_SAFE [2/4]

std::ofstream m_fdig LArRODMonAlg::ATLAS_THREAD_SAFE
mutableprivate

Definition at line 179 of file LArRODMonAlg.h.

◆ ATLAS_THREAD_SAFE [3/4]

std::ofstream m_fen LArRODMonAlg::ATLAS_THREAD_SAFE
mutableprivate

Definition at line 180 of file LArRODMonAlg.h.

◆ ATLAS_THREAD_SAFE [4/4]

std::ofstream m_fdump LArRODMonAlg::ATLAS_THREAD_SAFE
mutableprivate

Definition at line 181 of file LArRODMonAlg.h.

◆ cfg

LArRODMonAlg.cfg = CaloRecoCfg(flags)

Definition at line 229 of file LArRODMonAlg.py.

◆ enableLumiAccess

LArRODMonAlg.enableLumiAccess

Definition at line 223 of file LArRODMonAlg.py.

◆ f

LArRODMonAlg.f = open("LArRODMon.pkl","wb")

Definition at line 240 of file LArRODMonAlg.py.

◆ Files

LArRODMonAlg.Files

Definition at line 220 of file LArRODMonAlg.py.

◆ flags

LArRODMonAlg.flags = initConfigFlags()

Definition at line 210 of file LArRODMonAlg.py.

◆ HISTFileName

LArRODMonAlg.HISTFileName

Definition at line 222 of file LArRODMonAlg.py.

◆ m_adc2mevKey

SG::ReadCondHandleKey<LArADC2MeV> LArRODMonAlg::m_adc2mevKey {this,"LArADC2MeVKey","LArADC2MeV","SG Key of the LArADC2MeV CDO"}
private

Definition at line 108 of file LArRODMonAlg.h.

◆ m_adc_th

Gaudi::Property<short> LArRODMonAlg::m_adc_th {this, "ADCthreshold", 50, "Minimal number of ADC amplitude among samples required to compare online/offline"}
private

Definition at line 146 of file LArRODMonAlg.h.

◆ m_AiFileName

Gaudi::Property<std::string> LArRODMonAlg::m_AiFileName {this,"AiFileName","Calib_ai.dat","dump output filename"}
private

Definition at line 130 of file LArRODMonAlg.h.

◆ m_BC

const float LArRODMonAlg::m_BC =25000
private

Definition at line 166 of file LArRODMonAlg.h.

◆ m_bcContKey

SG::ReadCondHandleKey<LArBadChannelCont> LArRODMonAlg::m_bcContKey {this, "BadChanKey", "LArBadChannel", "SG key for LArBadChan object"}
private

Definition at line 111 of file LArRODMonAlg.h.

◆ m_bcMask

LArBadChannelMask LArRODMonAlg::m_bcMask
private

Definition at line 110 of file LArRODMonAlg.h.

◆ m_cablingKey

SG::ReadCondHandleKey<LArOnOffIdMapping> LArRODMonAlg::m_cablingKey {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping CDO"}
private

Definition at line 116 of file LArRODMonAlg.h.

◆ m_channelKey_fromBytestream

SG::ReadHandleKey<LArRawChannelContainer> LArRODMonAlg::m_channelKey_fromBytestream {this,"LArRawChannelKey_fromBytestream","LArRawChannels","SG key of LArRawChannels produced by teh DSP"}
private

Definition at line 96 of file LArRODMonAlg.h.

◆ m_channelKey_fromDigits

SG::ReadHandleKey<LArRawChannelContainer> LArRODMonAlg::m_channelKey_fromDigits {this,"LArRawChannelKey_fromDigits","LArRawChannels_FromDigits","SG key of LArRawChannels produced offline"}
private

Definition at line 97 of file LArRODMonAlg.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_digitContainerKey

SG::ReadHandleKey<LArDigitContainer> LArRODMonAlg::m_digitContainerKey {this,"LArDigitContainerKey","FREE","SG key of LArDigitContainer read from Bytestream"}
private

Definition at line 99 of file LArRODMonAlg.h.

◆ m_DigitsFileName

Gaudi::Property<std::string> LArRODMonAlg::m_DigitsFileName {this, "DigitsFileName","digits.txt","Digits dump output filename"}
private

Definition at line 128 of file LArRODMonAlg.h.

◆ m_doCellsDump

Gaudi::Property<bool> LArRODMonAlg::m_doCellsDump {this, "DoCellsDump", false, "cell dump switch"}
private

Definition at line 134 of file LArRODMonAlg.h.

◆ m_doCheckSum

Gaudi::Property<bool> LArRODMonAlg::m_doCheckSum {this, "DoCheckSum", true, "checksum test switch"}
private

Definition at line 135 of file LArRODMonAlg.h.

◆ m_doDspTestDump

Gaudi::Property<bool> LArRODMonAlg::m_doDspTestDump {this, "DoDspTestDump", false, "dsp dump switch"}
private

Definition at line 133 of file LArRODMonAlg.h.

◆ m_doRodStatus

Gaudi::Property<bool> LArRODMonAlg::m_doRodStatus {this, "DoRodStatus", true, "ROD status test switch"}
private

Definition at line 136 of file LArRODMonAlg.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_DumpCellsFileName

Gaudi::Property<std::string> LArRODMonAlg::m_DumpCellsFileName {this,"DumpCellsFileName","dumpCells.txt","Cells dump output filename"}
private

Definition at line 131 of file LArRODMonAlg.h.

◆ m_E_precision

Gaudi::Property<std::vector<std::pair<int, int> > > LArRODMonAlg::m_E_precision
private
Initial value:
{this,"EnergyPrecisionRanges",
{{8192,2},{65536,9},{524288,65},{4194304,513},{std::numeric_limits<int>::max(),8193}},
"Energy precision ranges vector<pair<upperLimit,ExpectedPrecision>"}

Definition at line 157 of file LArRODMonAlg.h.

◆ m_EnergyFileName

Gaudi::Property<std::string> LArRODMonAlg::m_EnergyFileName {this,"EnergyFileName","energy.txt"," Energies dump output filename"}
private

Definition at line 129 of file LArRODMonAlg.h.

◆ m_enforceExpressTriggers

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

Definition at line 372 of file AthMonitorAlgorithm.h.

◆ m_environment

AthMonitorAlgorithm::Environment_t AthMonitorAlgorithm::m_environment
protectedinherited

Instance of the Environment_t enum.

Definition at line 350 of file AthMonitorAlgorithm.h.

◆ m_environmentStr

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

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

Definition at line 352 of file AthMonitorAlgorithm.h.

◆ m_eventInfoKey

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

Definition at line 119 of file LArRODMonAlg.h.

◆ m_EventInfoKey

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

Key for retrieving EventInfo from StoreGate.

Definition at line 362 of file AthMonitorAlgorithm.h.

◆ m_evtStore

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

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects
privateinherited

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

Empty if no symlinks were found.

Definition at line 153 of file AthReentrantAlgorithm.h.

◆ m_fileKey

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

Internal Athena name for file.

Definition at line 358 of file AthMonitorAlgorithm.h.

◆ m_headerContainerKey

SG::ReadHandleKey<LArFebHeaderContainer> LArRODMonAlg::m_headerContainerKey {this,"LArFebHeaderKey","LArFebHeader","SG key of LArFebHeader"}
private

Definition at line 100 of file LArRODMonAlg.h.

◆ m_histoGroups

std::map<std::string,int> LArRODMonAlg::m_histoGroups
private

Definition at line 169 of file LArRODMonAlg.h.

◆ m_keyHVScaleCorr

SG::ReadCondHandleKey<ILArHVScaleCorr> LArRODMonAlg::m_keyHVScaleCorr {this,"KeyHVScaleCorr","LArHVScaleCorr","SG key of LArHVScaleCorr CDO"}
private

Definition at line 105 of file LArRODMonAlg.h.

◆ m_keyOFC

SG::ReadCondHandleKey<ILArOFC> LArRODMonAlg::m_keyOFC {this,"KeyOFC","LArOFC","SG key of LArOFC CDO"}
private

Definition at line 103 of file LArRODMonAlg.h.

◆ m_keyPedestal

SG::ReadCondHandleKey<ILArPedestal> LArRODMonAlg::m_keyPedestal {this,"LArPedestalKey","LArPedestal","SG key of LArPedestal CDO"}
private

Definition at line 106 of file LArRODMonAlg.h.

◆ m_keyShape

SG::ReadCondHandleKey<ILArShape> LArRODMonAlg::m_keyShape {this,"KeyShape","LArShape","SG key of LArShape CDO"}
private

Definition at line 104 of file LArRODMonAlg.h.

◆ m_LArOnlineIDHelper

const LArOnlineID* LArRODMonAlg::m_LArOnlineIDHelper =nullptr
private

Definition at line 50 of file LArRODMonAlg.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_max_dump

Gaudi::Property<unsigned> LArRODMonAlg::m_max_dump {this, "MaxEvDump", 0, "max number of channels for detailed log-output"}
private

Definition at line 173 of file LArRODMonAlg.h.

◆ m_MonGroupName

Gaudi::Property<std::string> LArRODMonAlg::m_MonGroupName {this, "MonGroup", "RODMon"}
private

Definition at line 122 of file LArRODMonAlg.h.

◆ m_name

std::string AthMonitorAlgorithm::m_name
privateinherited

Definition at line 366 of file AthMonitorAlgorithm.h.

◆ m_ndump

std::atomic<unsigned> LArRODMonAlg::m_ndump {0}
mutableprivate

Definition at line 174 of file LArRODMonAlg.h.

◆ m_noiseCDOKey

SG::ReadCondHandleKey<CaloNoise> LArRODMonAlg::m_noiseCDOKey {this,"CaloNoiseKey","totalNoise","SG Key of CaloNoise data object"}
private

Definition at line 115 of file LArRODMonAlg.h.

◆ m_Nslots

Gaudi::Property<std::vector<int> > LArRODMonAlg::m_Nslots {this, "LArRODNslots", {} }
private

Definition at line 125 of file LArRODMonAlg.h.

◆ m_partitions

Gaudi::Property<std::vector<std::string> > LArRODMonAlg::m_partitions {this, "LArRODPartitionNames", {} }
private

Definition at line 124 of file LArRODMonAlg.h.

◆ m_PARTNAMES

constexpr auto LArRODMonAlg::m_PARTNAMES =std::to_array<const char*>({"EMBC","EMBA","EMECC","EMECA","HECC","HECA","FCalC","FCalA","UNKNOWN"})
staticconstexprprivate

Definition at line 53 of file LArRODMonAlg.h.

◆ m_peakTime_cut

Gaudi::Property<float> LArRODMonAlg::m_peakTime_cut {this, "peakTimeCut", 5., "Cut on abs(peak time) to compare online/offline (all quantities)"}
private

Definition at line 147 of file LArRODMonAlg.h.

◆ m_printEnergyErrors

Gaudi::Property<bool> LArRODMonAlg::m_printEnergyErrors {this, "PrintEnergyErrors", true, "energy errors printing"}
private

Definition at line 137 of file LArRODMonAlg.h.

◆ m_problemsToMask

Gaudi::Property<std::vector<std::string> > LArRODMonAlg::m_problemsToMask {this,"ProblemsToMask",{}, "Bad-Channel categories to mask"}
private

Definition at line 112 of file LArRODMonAlg.h.

◆ m_Q_precision

Gaudi::Property<std::vector<std::pair<int, int> > > LArRODMonAlg::m_Q_precision
private
Initial value:
{this,"QualityPrecisionRanges",
"Quality precision ranges as vector<pair<upperLImit,ExpectedPrecision"}

Definition at line 163 of file LArRODMonAlg.h.

◆ m_removeNoiseBursts

Gaudi::Property<bool> LArRODMonAlg::m_removeNoiseBursts {this, "RemoveNoiseBursts", true, "removing events with noise bursts"}
private

Definition at line 138 of file LArRODMonAlg.h.

◆ m_skipKnownProblematicChannels

Gaudi::Property<bool> LArRODMonAlg::m_skipKnownProblematicChannels {this, "SkipKnownProblematicChannels", false, "skipping known problems?"}
private

Definition at line 141 of file LArRODMonAlg.h.

◆ m_skipNullPed

Gaudi::Property<bool> LArRODMonAlg::m_skipNullPed {this, "SkipNullPed", false, "skipping no pedestal channels ?"}
private

Definition at line 142 of file LArRODMonAlg.h.

◆ m_skipNullQT

Gaudi::Property<bool> LArRODMonAlg::m_skipNullQT {this, "SkipNullQT", false, "skipping no quality channe4ls ?"}
private

Definition at line 143 of file LArRODMonAlg.h.

◆ m_streams

Gaudi::Property<std::vector<std::string> > LArRODMonAlg::m_streams {this, "Streams", {} }
private

Definition at line 171 of file LArRODMonAlg.h.

◆ m_SubDetNames

Gaudi::Property<std::vector<std::string> > LArRODMonAlg::m_SubDetNames {this, "LArRODSubDetNames", {} }
private

Definition at line 123 of file LArRODMonAlg.h.

◆ m_T_precision

Gaudi::Property<std::vector<std::pair<int, int> > > LArRODMonAlg::m_T_precision
private
Initial value:
{this,"TimePrecisionRanges",
{{1000,340},{5000,340},{25000,340},{50000,340},{std::numeric_limits<int>::max(),340}},
"Time precision ranges as vector<pair<upperLImit,ExpectedPrecision"}

Definition at line 160 of file LArRODMonAlg.h.

◆ m_timeOffset

Gaudi::Property<float> LArRODMonAlg::m_timeOffset {this, "TimeOffset", 0.}
private

Definition at line 145 of file LArRODMonAlg.h.

◆ m_toolLookupMap

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

Definition at line 367 of file AthMonitorAlgorithm.h.

◆ m_tools

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

Array of Generic Monitoring Tools.

Definition at line 338 of file AthMonitorAlgorithm.h.

◆ m_trigDecTool

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

Tool to tell whether a specific trigger is passed.

Definition at line 340 of file AthMonitorAlgorithm.h.

◆ m_triggerChainString

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

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

Definition at line 355 of file AthMonitorAlgorithm.h.

◆ m_trigLiveFractionDataKey

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

Definition at line 347 of file AthMonitorAlgorithm.h.

◆ m_useLumi

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

Allows use of various luminosity functions.

Definition at line 359 of file AthMonitorAlgorithm.h.

◆ m_varHandleArraysDeclared

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

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.

◆ m_vTrigChainNames

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

Vector of trigger chain names parsed from trigger chain string.

Definition at line 356 of file AthMonitorAlgorithm.h.

◆ useTrigger

LArRODMonAlg.useTrigger

Definition at line 224 of file LArRODMonAlg.py.


The documentation for this class was generated from the following files:
python.EI_Lib.cmp
def cmp(x, y)
Definition: EI_Lib.py:6
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
ILArPedestal::pedestal
virtual float pedestal(const HWIdentifier &id, int gain) const =0
LArRODMonAlg::m_adc2mevKey
SG::ReadCondHandleKey< LArADC2MeV > m_adc2mevKey
Definition: LArRODMonAlg.h:108
LArADC2MeV::ADC2MEV
const LArVectorProxy ADC2MEV(const HWIdentifier &id, int gain) const
Definition: LArADC2MeV.h:32
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
LArRODMonAlg::m_E_precision
Gaudi::Property< std::vector< std::pair< int, int > > > m_E_precision
Definition: LArRODMonAlg.h:157
PlotCalibFromCool.ft
ft
Definition: PlotCalibFromCool.py:329
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
ILArHVScaleCorr
Definition: ILArHVScaleCorr.h:13
LArRODMonAlg::m_Q_precision
Gaudi::Property< std::vector< std::pair< int, int > > > m_Q_precision
Definition: LArRODMonAlg.h:163
get_generator_info.result
result
Definition: get_generator_info.py:21
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
max
#define max(a, b)
Definition: cfImp.cxx:41
LArOnlineID_Base::febHashMax
size_type febHashMax(void) const
define feb hash tables max size
Definition: LArOnlineID_Base.cxx:1896
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:28
LArRODMonAlg::m_bcMask
LArBadChannelMask m_bcMask
Definition: LArRODMonAlg.h:110
vtune_athena.format
format
Definition: vtune_athena.py:14
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
LArRawChannel::channelID
HWIdentifier channelID() const
Definition: LArRawChannel.h:158
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
LArRODMonAlg::PARTITION
PARTITION
Definition: LArRODMonAlg.h:52
LArRODMonAlg::m_doCellsDump
Gaudi::Property< bool > m_doCellsDump
Definition: LArRODMonAlg.h:134
AthMonitorAlgorithm::m_trigDecTool
PublicToolHandle< Trig::TrigDecisionTool > m_trigDecTool
Tool to tell whether a specific trigger is passed.
Definition: AthMonitorAlgorithm.h:340
find
std::string find(const std::string &s)
return a remapped string
Definition: hcg.cxx:135
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
AthMonitorAlgorithm::Environment_t::tier0
@ tier0
AthMonitorAlgorithm::Environment_t::AOD
@ AOD
LArRODMonAlg::m_keyPedestal
SG::ReadCondHandleKey< ILArPedestal > m_keyPedestal
Definition: LArRODMonAlg.h:106
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
hist_file_dump.d
d
Definition: hist_file_dump.py:137
ILArPedestal
Definition: ILArPedestal.h:12
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
LArRODMonAlg::m_EnergyFileName
Gaudi::Property< std::string > m_EnergyFileName
Definition: LArRODMonAlg.h:129
AthMonitorAlgorithm::m_vTrigChainNames
std::vector< std::string > m_vTrigChainNames
Vector of trigger chain names parsed from trigger chain string.
Definition: AthMonitorAlgorithm.h:356
LArRODMonAlg::m_AiFileName
Gaudi::Property< std::string > m_AiFileName
Definition: LArRODMonAlg.h:130
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
ILArOFC::OFC_b
virtual OFCRef_t OFC_b(const HWIdentifier &id, int gain, int tbin=0) const =0
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
ReadCellNoiseFromCool.cabling
cabling
Definition: ReadCellNoiseFromCool.py:154
AthMonitorAlgorithm::m_EventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_EventInfoKey
Key for retrieving EventInfo from StoreGate.
Definition: AthMonitorAlgorithm.h:362
ILArShape::ShapeDer
virtual ShapeRef_t ShapeDer(const HWIdentifier &id, int gain, int tbin=0, int mode=0) const =0
LArDigit::samples
const std::vector< short > & samples() const
Definition: LArDigit.h:78
LArRODMonAlg::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArRODMonAlg.h:116
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
LArRODMonAlg::m_bcContKey
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
Definition: LArRODMonAlg.h:111
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
LArBadChannelMask::buildBitMask
StatusCode buildBitMask(const std::vector< std::string > &problemsToMask, MsgStream &msg)
Definition: LArBadChannelMask.cxx:10
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
LArRawChannel::quality
uint16_t quality() const
Definition: LArRawChannel.h:174
cosmics
Definition: cosmics.py:1
LArRODMonAlg::EMBC
@ EMBC
Definition: LArRODMonAlg.h:52
LArRODMonAlg::m_printEnergyErrors
Gaudi::Property< bool > m_printEnergyErrors
Definition: LArRODMonAlg.h:137
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
LArRODMonAlg::m_removeNoiseBursts
Gaudi::Property< bool > m_removeNoiseBursts
Definition: LArRODMonAlg.h:138
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
HWIdentifier
Definition: HWIdentifier.h:13
CaloNoise::getNoise
float getNoise(const IdentifierHash h, const int gain) const
Accessor by IdentifierHash and gain.
Definition: CaloNoise.h:34
LArBadChannelMask::cellShouldBeMasked
bool cellShouldBeMasked(const LArBadChannelCont *bcCont, const HWIdentifier &hardwareId) const
Definition: LArBadChannelMask.h:42
CaloGain::LARNGAIN
@ LARNGAIN
Definition: CaloGain.h:19
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
LArRODMonAlg::m_skipNullPed
Gaudi::Property< bool > m_skipNullPed
Definition: LArRODMonAlg.h:142
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
LArRODMonAlg::m_doCheckSum
Gaudi::Property< bool > m_doCheckSum
Definition: LArRODMonAlg.h:135
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
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
AthMonitorAlgorithm::m_dummy
const ToolHandle< GenericMonitoringTool > m_dummy
Definition: AthMonitorAlgorithm.h:369
LArRODMonAlg::m_PARTNAMES
static constexpr auto m_PARTNAMES
Definition: LArRODMonAlg.h:53
MissingETBase::Types::weight_t
xAOD::MissingETComponent_v1::Weight weight_t
Type for kinematic weight.
Definition: MissingETComponent_v1.h:264
TRT::Hit::side
@ side
Definition: HitInfo.h:83
LArRODMonAlg::m_DumpCellsFileName
Gaudi::Property< std::string > m_DumpCellsFileName
Definition: LArRODMonAlg.h:131
python.ZdcRecConfig.pn
pn
Definition: ZdcRecConfig.py:357
LArRODMonAlg::m_doDspTestDump
Gaudi::Property< bool > m_doDspTestDump
Definition: LArRODMonAlg.h:133
PyPoolBrowser.item
item
Definition: PyPoolBrowser.py:129
LArOnlineID_Base::isFCALchannel
bool isFCALchannel(const HWIdentifier id) const
Definition: LArOnlineID_Base.cxx:1657
LArRODMonAlg::m_headerContainerKey
SG::ReadHandleKey< LArFebHeaderContainer > m_headerContainerKey
Definition: LArRODMonAlg.h:100
TileSynchronizeBch.online
online
Definition: TileSynchronizeBch.py:88
LArOnlineID_Base::channel
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
Definition: LArOnlineID_Base.cxx:1967
LArOnlineID::isEMECchannel
bool isEMECchannel(const HWIdentifier id) const override final
Definition: LArOnlineID.cxx:774
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthMonitorAlgorithm::m_DQFilterTools
ToolHandleArray< IDQFilterTool > m_DQFilterTools
Array of Data Quality filter tools.
Definition: AthMonitorAlgorithm.h:341
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
LArRODMonAlg::m_skipKnownProblematicChannels
Gaudi::Property< bool > m_skipKnownProblematicChannels
Definition: LArRODMonAlg.h:141
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
LArRODMonAlg::m_T_precision
Gaudi::Property< std::vector< std::pair< int, int > > > m_T_precision
Definition: LArRODMonAlg.h:160
python.BunchSpacingUtils.lb
lb
Definition: BunchSpacingUtils.py:88
Identifier32::get_compact
value_type get_compact(void) const
Get the compact id.
Definition: Identifier32.h:171
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
LArRODMonAlg::HECA
@ HECA
Definition: LArRODMonAlg.h:52
sim_rttUpdate.user
def user
Definition: sim_rttUpdate.py:662
LArDigit
Liquid Argon digit base class.
Definition: LArDigit.h:25
lumiFormat.i
int i
Definition: lumiFormat.py:92
LArRODMonAlg::m_ndump
std::atomic< unsigned > m_ndump
Definition: LArRODMonAlg.h:174
LArRODMonAlg::HECC
@ HECC
Definition: LArRODMonAlg.h:52
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
python.CaloCondTools.g
g
Definition: CaloCondTools.py:15
AthMonitorAlgorithm::DataType_t::heavyIonCollisions
@ heavyIonCollisions
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArRODMonAlg::getPartition
PARTITION getPartition(const HWIdentifier chid) const
Definition: LArRODMonAlg.h:187
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
01SubmitToGrid.samples
samples
Definition: 01SubmitToGrid.py:58
tolower
void tolower(std::string &s)
Definition: AthenaSummarySvc.cxx:113
AthMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const =0
adds event to the monitoring histograms
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
LArRODMonAlg::m_MonGroupName
Gaudi::Property< std::string > m_MonGroupName
Definition: LArRODMonAlg.h:122
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
LArRODMonAlg::m_BC
const float m_BC
Definition: LArRODMonAlg.h:166
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
LArRODMonAlg::m_timeOffset
Gaudi::Property< float > m_timeOffset
Definition: LArRODMonAlg.h:145
LArRODMonAlg::m_partitions
Gaudi::Property< std::vector< std::string > > m_partitions
Definition: LArRODMonAlg.h:124
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
LArOnlineID_Base::feb_Id
HWIdentifier feb_Id(int barrel_ec, int pos_neg, int feedthrough, int slot) const
Create feb_Id from fields.
Definition: LArOnlineID_Base.cxx:1483
LArRODMonAlg::getPartitionName
const char * getPartitionName(const HWIdentifier chid) const
Definition: LArRODMonAlg.h:219
min
#define min(a, b)
Definition: cfImp.cxx:40
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
ILArOFC
Definition: ILArOFC.h:14
CaloNoise
Definition: CaloNoise.h:16
merge.output
output
Definition: merge.py:17
LArRODMonAlg::dumpCellInfo
void dumpCellInfo(const HWIdentifier chid, const int gain, const EventContext &ctx, const diff_t &comp) const
Dump a cell's information and calculated energies into a txt file.
Definition: LArRODMonAlg.cxx:598
AthMonitorAlgorithm::m_tools
ToolHandleArray< GenericMonitoringTool > m_tools
Array of Generic Monitoring Tools.
Definition: AthMonitorAlgorithm.h:338
AthMonitorAlgorithm::Environment_t::online
@ online
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition: GeometryDefs.h:34
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
AthMonitorAlgorithm::Environment_t::tier0ESD
@ tier0ESD
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
LArRODMonAlg::FCALC
@ FCALC
Definition: LArRODMonAlg.h:52
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
LArRODMonAlg::m_adc_th
Gaudi::Property< short > m_adc_th
Definition: LArRODMonAlg.h:146
LArRODMonAlg::m_max_dump
Gaudi::Property< unsigned > m_max_dump
Definition: LArRODMonAlg.h:173
item
Definition: ItemListSvc.h:43
CaloGain::LARHIGHGAIN
@ LARHIGHGAIN
Definition: CaloGain.h:18
LArRODMonAlg::m_doRodStatus
Gaudi::Property< bool > m_doRodStatus
Definition: LArRODMonAlg.h:136
LArOnlineID_Base::isEMBchannel
bool isEMBchannel(const HWIdentifier id) const
Definition: LArOnlineID_Base.cxx:1652
LArRODMonAlg::detailedOutput
void detailedOutput(const LArRODMonAlg::diff_t &, const LArDigit &dig, const EventContext &ctx) const
Definition: LArRODMonAlg.cxx:469
CaloGain::CaloGain
CaloGain
Definition: CaloGain.h:11
Example_ReadSampleNoise.ped
ped
Definition: Example_ReadSampleNoise.py:45
AthMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: AthMonitorAlgorithm.cxx:18
LArRODMonAlg::EMECC
@ EMECC
Definition: LArRODMonAlg.h:52
LArADC2MeV
Definition: LArADC2MeV.h:21
LArNewCalib_Delay_OFC_Cali.FT
FT
Definition: LArNewCalib_Delay_OFC_Cali.py:120
ATH_LIKELY
#define ATH_LIKELY(x)
Definition: AthUnlikelyMacros.h:16
CaloGain::LARMEDIUMGAIN
@ LARMEDIUMGAIN
Definition: CaloGain.h:18
Identifier::getString
std::string getString() const
Provide a string form of the identifier - hexadecimal.
Definition: Identifier.cxx:25
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
LArDigit::gain
CaloGain::CaloGain gain() const
Definition: LArDigit.h:72
a
TList * a
Definition: liststreamerinfos.cxx:10
CaloLCW_tf.group
group
Definition: CaloLCW_tf.py:28
LArRODMonAlg::m_keyOFC
SG::ReadCondHandleKey< ILArOFC > m_keyOFC
Definition: LArRODMonAlg.h:103
h
python.CaloScaleNoiseConfig.str
str
Definition: CaloScaleNoiseConfig.py:78
LArRODMonAlg::compareChannel
diff_t compareChannel(const LArRawChannel &rcDig, const LArRawChannel &rcBS) const
Definition: LArRODMonAlg.cxx:374
python.BackTrackingConfig.numThreads
int numThreads
Definition: BackTrackingConfig.py:61
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
AthMonitorAlgorithm::DataType_t::collisions
@ collisions
LArRODMonAlg::EMECA
@ EMECA
Definition: LArRODMonAlg.h:52
LArRODMonAlg::m_peakTime_cut
Gaudi::Property< float > m_peakTime_cut
Definition: LArRODMonAlg.h:147
AthMonitorAlgorithm::m_name
std::string m_name
Definition: AthMonitorAlgorithm.h:366
AthCommonMsg< Gaudi::Algorithm >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
StateLessPT_NewConfig.partition
partition
Definition: StateLessPT_NewConfig.py:49
LArRawChannel::time
int time() const
Definition: LArRawChannel.h:170
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
LArRODMonAlg::m_channelKey_fromBytestream
SG::ReadHandleKey< LArRawChannelContainer > m_channelKey_fromBytestream
Definition: LArRODMonAlg.h:96
ILArOFC::OFC_a
virtual OFCRef_t OFC_a(const HWIdentifier &id, int gain, int tbin=0) const =0
access to OFCs by online ID, gain, and tbin (!=0 for testbeam)
LArRODMonAlg::m_LArOnlineIDHelper
const LArOnlineID * m_LArOnlineIDHelper
Definition: LArRODMonAlg.h:50
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
LArRawChannel::energy
int energy() const
Definition: LArRawChannel.h:166
LArFebHeaderContainer
Container class for LArFebHeader.
Definition: LArFebHeaderContainer.h:20
LArDigit::channelID
const HWIdentifier & channelID() const
Definition: LArDigit.h:69
LArElecCalib::ERRORCODE
@ ERRORCODE
Definition: LArCalibErrorCode.h:17
LArRODMonAlg::m_problemsToMask
Gaudi::Property< std::vector< std::string > > m_problemsToMask
Definition: LArRODMonAlg.h:112
str
Definition: BTagTrackIpAccessor.cxx:11
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
LArRODMonAlg::m_noiseCDOKey
SG::ReadCondHandleKey< CaloNoise > m_noiseCDOKey
Definition: LArRODMonAlg.h:115
ILArHVScaleCorr::HVScaleCorr
virtual const float & HVScaleCorr(const HWIdentifier &id) const =0
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
LArRODMonAlg::m_DigitsFileName
Gaudi::Property< std::string > m_DigitsFileName
Definition: LArRODMonAlg.h:128
LArOnlineID::isHECchannel
bool isHECchannel(const HWIdentifier id) const override final
Definition: LArOnlineID.cxx:734
Monitored::Scalar
Declare a monitored scalar variable.
Definition: MonitoredScalar.h:34
LArRODMonAlg::FCALA
@ FCALA
Definition: LArRODMonAlg.h:52
LArRODMonAlg::m_keyShape
SG::ReadCondHandleKey< ILArShape > m_keyShape
Definition: LArRODMonAlg.h:104
CaloGain::LARLOWGAIN
@ LARLOWGAIN
Definition: CaloGain.h:18
IdentifierHash
Definition: IdentifierHash.h:38
Identifier::get_identifier32
Identifier32 get_identifier32(void) const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
AthMonitorAlgorithm::DataType_t::userDefined
@ userDefined
LArRODMonAlg::m_histoGroups
std::map< std::string, int > m_histoGroups
Definition: LArRODMonAlg.h:169
LArOnlineID_Base::channel_name
std::string channel_name(const HWIdentifier id) const
Return a string corresponding to a feedthrough name given an identifier.
Definition: LArOnlineID_Base.cxx:218
SG::get
const T * get(const ReadHandleKey< T > &key)
Convenience function to retrieve an object given a ReadHandleKey.
ILArShape
Definition: ILArShape.h:13
LArRODMonAlg::m_eventInfoKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: LArRODMonAlg.h:119
LArRODMonAlg::EMBA
@ EMBA
Definition: LArRODMonAlg.h:52
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
LArRODMonAlg::m_streams
Gaudi::Property< std::vector< std::string > > m_streams
Definition: LArRODMonAlg.h:171
readCCLHist.float
float
Definition: readCCLHist.py:83
LArOnlineID_Base::feb_Hash
IdentifierHash feb_Hash(HWIdentifier febId) const
Create feb hash identifiers from feb identifiers.
Definition: LArOnlineID_Base.cxx:1516
WriteCellNoiseToCool.noise
noise
Definition: WriteCellNoiseToCool.py:380
LArRODMonAlg::m_keyHVScaleCorr
SG::ReadCondHandleKey< ILArHVScaleCorr > m_keyHVScaleCorr
Definition: LArRODMonAlg.h:105
LArRawChannel::provenance
uint16_t provenance() const
Definition: LArRawChannel.h:178
AthMonitorAlgorithm::DataType_t::monteCarlo
@ monteCarlo
LArRODMonAlg::m_digitContainerKey
SG::ReadHandleKey< LArDigitContainer > m_digitContainerKey
Definition: LArRODMonAlg.h:99
fitman.k
k
Definition: fitman.py:528
LArVectorProxy
Proxy for accessing a range of float values like a vector.
Definition: LArVectorProxy.h:38
LArRODMonAlg::m_channelKey_fromDigits
SG::ReadHandleKey< LArRawChannelContainer > m_channelKey_fromDigits
Definition: LArRODMonAlg.h:97
LArRODMonAlg::N_PARTITIONS
@ N_PARTITIONS
Definition: LArRODMonAlg.h:52
ServiceHandle< ICondSvc >
LArOnOffIdMapping
Definition: LArOnOffIdMapping.h:20
ILArShape::Shape
virtual ShapeRef_t Shape(const HWIdentifier &id, int gain, int tbin=0, int mode=0) const =0
collisions
Definition: collisions.py:1