ATLAS Offline Software
Loading...
Searching...
No Matches
LArRawChannelMonAlg Class Reference

#include <LArRawChannelMonAlg.h>

Inheritance diagram for LArRawChannelMonAlg:

Public Types

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

Public Member Functions

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

Public Attributes

 flags = initConfigFlags()
 Files
 HISTFileName
 enableLumiAccess
 useTrigger
 Type
 cfg = CaloRecoCfg(flags)
 acc = LArRawChannelMonConfig(flags)
 f = open("LArRawChannelMon.pkl", "wb")

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
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.

Protected Attributes

bool _USE_LEGACY_BINNING_IN_ENDCAPS = True
ToolHandleArray< GenericMonitoringToolm_tools {this,"GMTools",{}}
 Array of Generic Monitoring Tools.
PublicToolHandle< Trig::TrigDecisionToolm_trigDecTool
 Tool to tell whether a specific trigger is passed.
ToolHandleArray< IDQFilterToolm_DQFilterTools {this,"FilterTools",{}}
 Array of Data Quality filter tools.
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.
AthMonitorAlgorithm::DataType_t m_dataType
 Instance of the DataType_t enum.
Gaudi::Property< std::string > m_environmentStr {this,"Environment","user"}
 Environment string pulled from the job option and converted to enum.
Gaudi::Property< std::string > m_dataTypeStr {this,"DataType","userDefined"}
 DataType string pulled from the job option and converted to enum.
Gaudi::Property< std::string > m_triggerChainString {this,"TriggerChain",""}
 Trigger chain string pulled from the job option and parsed into a vector.
std::vector< std::string > m_vTrigChainNames
 Vector of trigger chain names parsed from trigger chain string.
Gaudi::Property< std::string > m_fileKey {this,"FileKey",""}
 Internal Athena name for file.
Gaudi::Property< bool > m_useLumi {this,"EnableLumi",false}
 Allows use of various luminosity functions.
Gaudi::Property< float > m_defaultLBDuration {this,"DefaultLBDuration",60.}
 Default duration of one lumi block.
Gaudi::Property< int > m_detailLevel {this,"DetailLevel",0}
 Sets the level of detail used in the monitoring.
SG::ReadHandleKey< xAOD::EventInfom_EventInfoKey {this,"EventInfoKey","EventInfo"}
 Key for retrieving EventInfo from StoreGate.

Private Types

typedef std::vector< std::reference_wrapper< Monitored::IMonitoredVariable > > MonVarVec_t
typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

Gaudi::Property< bool > m_monitor_occupancy {this, "monitor_occupancy", false, ""}
Gaudi::Property< bool > m_monitor_signal {this, "monitor_signal", true, ""}
Gaudi::Property< bool > m_monitor_positive_noise {this, "monitor_positive_noise", true, ""}
Gaudi::Property< bool > m_monitor_negative_noise {this, "monitor_negative_noise", true, ""}
Gaudi::Property< bool > m_monitor_time {this, "monitor_time", true, ""}
Gaudi::Property< bool > m_monitor_quality {this, "monitor_quality", false, ""}
Gaudi::Property< bool > m_monitor_burst {this, "monitor_burst", true, ""}
Gaudi::Property< bool > m_monitor_febs {this, "monitor_febs", false, ""}
Gaudi::Property< bool > m_monitor_feedthroughs {this, "monitor_feedthroughs", false, ""}
Gaudi::Property< bool > m_monitor_detectors {this, "monitor_detectors", true, ""}
Gaudi::Property< std::vector< double > > m_occupancy_thresholds {this, "occupancy_thresholds", {8, 500. * Gaudi::Units::MeV}, ""}
Gaudi::Property< std::vector< double > > m_signal_thresholds {this, "signal_thresholds", {8, 500. * Gaudi::Units::MeV}, ""}
Gaudi::Property< std::vector< int > > m_pos_noise_thresholds {this, "pos_noise_thresholds", {8, 3}, ""}
Gaudi::Property< std::vector< int > > m_neg_noise_thresholds {this, "neg_noise_thresholds", {8, 3}, ""}
Gaudi::Property< double > m_bcid_signal_threshold {this, "bcid_signal_threshold", 500. * Gaudi::Units::MeV, ""}
Gaudi::Property< short > m_time_threshold {this, "time_threshold", 5, ""}
Gaudi::Property< unsigned short > m_quality_threshold {this, "quality_threshold", 4000, ""}
Gaudi::Property< short > m_noise_threshold {this, "noise_threshold", 3, ""}
Gaudi::Property< std::vector< double > > m_noise_burst_percent_thresholds {this, "noise_burst_percent_threshold", {8, 1.}, ""}
Gaudi::Property< std::vector< unsigned > > m_noise_burst_nChannel_thresholds {this, "noise_burst_nChannel_threshold", {8, 10}, ""}
Gaudi::Property< std::vector< std::string > > m_noise_streams {this, "noise_streams", {}, ""}
Gaudi::Property< bool > m_db_and_ofc_only
Gaudi::Property< std::vector< std::string > > m_problemsToMask {this, "ProblemsToMask", {}, "Bad-Channel categories to mask"}
ToolHandleArray< IDQFilterToolm_atlasReady_tools {this, "AtlasReadyFilterTool", {}}
SG::ReadHandleKey< LArRawChannelContainerm_LArRawChannel_container_key {this, "LArRawChannelContainerKey", "LArRawChannels"}
const LArOnlineIDm_lar_online_id_ptr {nullptr}
LArBadChannelMask m_bcMask
SG::ReadCondHandleKey< LArBadChannelContm_bcContKey {this, "BadChanKey", "LArBadChannel", "SG key for LArBadChan object"}
SG::ReadCondHandleKey< CaloNoisem_noiseKey {this, "NoiseKey", "totalNoise", "SG key for noise"}
SG::ReadCondHandleKey< LArOnOffIdMappingm_cablingKey {this, "CablingKey", "LArOnOffIdMap", "SG Key of LArOnOffIdMapping object"}
SG::ReadDecorHandleKey< xAOD::EventInfom_larFlagKey {this, "LArStatusFlag", "EventInfo.larFlags", "Key for EventInfo object"}
std::array< int, 8 > m_monitoring_tool_index
std::vector< int8_t > m_feb_hash_to_detector
std::array< uint32_t, 8 > m_det_to_nchannels
std::set< std::string > m_noise_streams_set
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.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default)
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Definition at line 33 of file LArRawChannelMonAlg.h.

Member Typedef Documentation

◆ MonVarVec_t

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

Definition at line 370 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 class 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 194 of file AthMonitorAlgorithm.h.

194 {
195 userDefined = 0,
196 monteCarlo,
197 collisions,
198 cosmics,
199 heavyIonCollisions,
200 };
AthConfigFlags cosmics(AthConfigFlags flags, str instanceName, str recoMode)

◆ Environment_t

enum class 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 175 of file AthMonitorAlgorithm.h.

175 {
176 user = 0,
177 online,
178 tier0,
179 tier0Raw,
180 tier0ESD,
181 AOD,
182 altprod,
183 };

Constructor & Destructor Documentation

◆ LArRawChannelMonAlg()

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

Definition at line 60 of file LArRawChannelMonAlg.cxx.

62 : AthMonitorAlgorithm(name, pSvcLocator) {
63 using T = decltype(m_det_to_nchannels);
64 static_assert(std::tuple_size_v<T> >= ::NDETECTORS);
65 using U = decltype(m_monitoring_tool_index);
66 static_assert(std::tuple_size_v<U> >= ::NDETECTORS);
67}
Base class for Athena Monitoring Algorithms.

◆ ~LArRawChannelMonAlg()

LArRawChannelMonAlg::~LArRawChannelMonAlg ( )
virtual

Definition at line 70 of file LArRawChannelMonAlg.cxx.

70{}

Member Function Documentation

◆ cardinality()

unsigned int AthCommonReentrantAlgorithm< Gaudi::Algorithm >::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.

Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.

64{
65 return 0;
66}

◆ dataType()

DataType_t AthMonitorAlgorithm::dataType ( ) const
inlineinherited

Accessor functions for the data type.

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

Definition at line 224 of file AthMonitorAlgorithm.h.

224{ return m_dataType; }
AthMonitorAlgorithm::DataType_t m_dataType
Instance of the DataType_t enum.

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

144 {
145 // convert the string to all lowercase
146 std::string lowerCaseStr = str;
147 std::transform(lowerCaseStr.begin(), lowerCaseStr.end(), lowerCaseStr.begin(), ::tolower);
148
149 // check if it matches one of the enum choices
150 if( lowerCaseStr == "userdefined" ) {
152 } else if( lowerCaseStr == "montecarlo" ) {
154 } else if( lowerCaseStr == "collisions" ) {
156 } else if( lowerCaseStr == "cosmics" ) {
157 return DataType_t::cosmics;
158 } else if( lowerCaseStr == "heavyioncollisions" ) {
160 } else { // otherwise, warn the user and return "userDefined"
161 ATH_MSG_WARNING("AthMonitorAlgorithm::dataTypeStringToEnum(): Unknown data type "
162 <<str<<", returning userDefined.");
164 }
165}
#define ATH_MSG_WARNING(x)
void tolower(std::string &s)

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

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

◆ 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 208 of file AthMonitorAlgorithm.h.

208{ return m_environment; }
AthMonitorAlgorithm::Environment_t m_environment
Instance of the Environment_t enum.

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

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

◆ evtStore()

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.

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

77 {
78
79 // Checks that all of the DQ filters are passed. If any one of the filters
80 // fails, return SUCCESS code and do not fill the histograms with the event.
81 for ( const auto& filterItr : m_DQFilterTools ) {
82 if (!filterItr->accept()) {
83 ATH_MSG_DEBUG("Event rejected due to filter tool.");
84 return StatusCode::SUCCESS;
85 }
86 }
87
88 // Trigger: If there is a decision tool and the chains fail, skip the event.
90 ATH_MSG_DEBUG("Event rejected due to trigger filter.");
91 return StatusCode::SUCCESS;
92 }
93
94 ATH_MSG_DEBUG("Event accepted!");
95 return fillHistograms(ctx);
96}
#define ATH_MSG_DEBUG(x)
virtual StatusCode fillHistograms(const EventContext &ctx) const =0
adds event to the monitoring histograms
bool trigChainsArePassed(const std::vector< std::string > &vTrigNames) const
Check whether triggers are passed.
std::vector< std::string > m_vTrigChainNames
Vector of trigger chain names parsed from trigger chain string.
PublicToolHandle< Trig::TrigDecisionTool > m_trigDecTool
Tool to tell whether a specific trigger is passed.
ToolHandleArray< IDQFilterTool > m_DQFilterTools
Array of Data Quality filter tools.

◆ extraDeps_update_handler()

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

Add StoreName to extra input/output deps as needed.

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

◆ extraOutputDeps()

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

Return the list of extra output dependencies.

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

Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.

90{
91 // If we didn't find any symlinks to add, just return the collection
92 // from the base class. Otherwise, return the extended collection.
93 if (!m_extendedExtraObjects.empty()) {
95 }
97}
An algorithm that can be simultaneously executed in multiple threads.

◆ fillHistograms()

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

adds event to the monitoring histograms

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

Parameters
ctxforwarded from execute
Returns
StatusCode

Implements AthMonitorAlgorithm.

Definition at line 155 of file LArRawChannelMonAlg.cxx.

156{
157 ATH_MSG_DEBUG("===> start " << name() << "::fillHistograms() <=== ");
158
159 // Retrieve raw channels
161 m_LArRawChannel_container_key, ctx};
162 if (!raw_channels.isValid()) {
163 ATH_MSG_WARNING("Cannot retrieve LArRawChannelContainer with key: "
164 << m_LArRawChannel_container_key.key());
165 return StatusCode::SUCCESS;
166 }
167
168 const bool is_atlas_ready = std::all_of(
169 m_atlasReady_tools.begin(),
170 m_atlasReady_tools.end(),
171 [](auto &f) { return f->accept(); });
172
173 SG::ReadHandle<xAOD::EventInfo> event_info{GetEventInfo(ctx)};
174 int bcid{0}, lumi_block{0};
175 bool larNoisyROAlg_flag{false};
176 bool larNoisyROAlgInTimeW_flag{false};
177 bool larNoisyROAlg_W_flag{false};
178 bool noisy_event{false};
179 if (event_info.isValid()) {
180 auto checkEventFlag = [&](auto bitinfo, const char *txt) {
181 bool flag = event_info->isEventFlagBitSet(
182 xAOD::EventInfo::LAr, bitinfo);
183 if (flag) ATH_MSG_DEBUG(" !!! Noisy event found " << txt << " !!!");
184 return flag; };
185 larNoisyROAlg_flag = checkEventFlag(
186 LArEventBitInfo::BADFEBS, "from LArNoisyROAlg");
187 larNoisyROAlg_W_flag = checkEventFlag(
188 LArEventBitInfo::BADFEBS_W, "from LArNoisyROAlg_W");
189 larNoisyROAlgInTimeW_flag = checkEventFlag(
190 3, "by LArNoisyROAlg in Time window of 500ms");
191 bcid = event_info->bcid();
192 lumi_block = event_info->lumiBlock();
193
194 const auto &tags = event_info->streamTags();
195 auto inSet = [&](auto &x){ return m_noise_streams_set.count(x.name()); };
196 noisy_event = m_noise_streams_set.empty()
197 || std::any_of(tags.begin(), tags.end(), inSet);
198 } else {
199 ATH_MSG_DEBUG("Cannot retrieve EventInfo");
200 }
201
202 std::array<uint32_t, ::NDETECTORS> det_n_noisy_channels{};
203 std::array<uint32_t, ::NDETECTORS> det_n_noisy_channels_Neg{};
204 std::array<uint32_t, ::NDETECTORS> det_n_badQ_channels{};
205 using wsum_t = std::complex<double>;
206 wsum_t event_mean_time{};
207 std::array<wsum_t, ::NDETECTORS> mean_detector_times;
208 std::vector<wsum_t> mean_feb_times(m_feb_hash_to_detector.size(), 0.);
209 std::array<double, ::NDETECTORS> per_detector_total_energy{};
210 int8_t lastdet{::UNDEF};
211 ToolHandle<GenericMonitoringTool> monitoring{nullptr};
212 SG::ReadCondHandle<CaloNoise> noiseH{m_noiseKey, ctx};
213 SG::ReadCondHandle<LArBadChannelCont> bcContH{m_bcContKey, ctx};
214 SG::ReadCondHandle<LArOnOffIdMapping> cablingH{m_cablingKey, ctx};
215 ATH_CHECK(noiseH.isValid());
216 ATH_CHECK(bcContH.isValid());
217 ATH_CHECK(cablingH.isValid());
218
219 Monitored::Scalar<int> dqm_superslot{"S", -1};
220 Monitored::Scalar<int> dqm_channel{"C", -1};
221 Monitored::Scalar<float> dqm_posn{"posn", 0};
222 Monitored::Scalar<float> dqm_negn{"negn", 0};
223 Monitored::Scalar<float> dqm_qual{"Q4k", 0};
224 Monitored::Scalar<float> dqm_energy{"E", 0};
225 Monitored::Scalar<int> dqm_gain{"G", 0};
226 Monitored::Scalar<bool> dqmf_occ{"occ", false};
227 Monitored::Scalar<bool> dqmf_sig{"sig", false};
228
229 for (const LArRawChannel &chan : *raw_channels) {
230 HWIdentifier hardware_id{chan.hardwareID()};
231 Identifier offline_id{0};
232 HWIdentifier feb_id{0};
233 IdentifierHash feb_hash{0};
234 int channel{-1};
235 int slot_number{-1}, feedthrough_number{-1};
236 int8_t det{::UNDEF};
237 float energy, time, noise, significance;
238 int gain{-1};
239 bool bad_quality;
240
241 // Skip unconnected channels
242 if (!cablingH->isOnlineConnected(hardware_id)) continue;
243 // Skip masked channels
244 if (m_bcMask.cellShouldBeMasked(*bcContH, hardware_id)) continue;
245
246 // Monitor properly reconstructed channels only:
247 // - provenance&0x00ff == 0x00a5:
248 // raw channels from OFC iteration, all calib constants found in DB
249 // - provenance&0x1000 == 0x1000:
250 // raw channels from DSP. If no constant loaded in DSP, energy==0
251 if (!m_db_and_ofc_only
252 && !LArProv::test(chan.provenance(), LArProv::DEFAULTRECO)
253 && !LArProv::test(chan.provenance(), LArProv::DSPCALC)) continue;
254
255 try {
256 feb_id = m_lar_online_id_ptr->feb_Id(hardware_id);
257 feb_hash = m_lar_online_id_ptr->feb_Hash(feb_id);
258 det = m_feb_hash_to_detector.at(feb_hash);
259 if (det != lastdet) {
260 if (det >= 0 && det < ::NDETECTORS) {
261 monitoring = m_tools[m_monitoring_tool_index[det]];
262 } else {
263 monitoring = nullptr;
264 }
265 lastdet = det;
266 }
267
268 slot_number = m_lar_online_id_ptr->slot(hardware_id);
269 feedthrough_number = m_lar_online_id_ptr->feedthrough(hardware_id);
270 channel = m_lar_online_id_ptr->channel(hardware_id);
271 energy = chan.energy() * Athena::Units::MeV; // fixed in MeV by DSP
272 time = chan.time() * Athena::Units::picosecond; // fixed in ps by DSP
273 gain = chan.gain();
274 noise = noiseH->getNoise(offline_id, gain);
275 significance = energy / noise;
276 bad_quality = (energy > 0.1 * Athena::Units::MeV)
277 && (chan.quality() > m_quality_threshold);
278 }
279 catch (const LArOnlID_Exception &) {
280 continue; // skip this channel
281 }
282 catch (const std::out_of_range &err) {
283 ATH_MSG_WARNING("FEB hash out of range. Detector undefined"
284 << err.what());
285 continue; // skip this channel
286 }
287 catch (const LArID_Exception &) {
288 ATH_MSG_WARNING("channel offline id undefined ... skipping");
289 continue; // skip this channel
290 }
291
292 // Fill per-detector histograms ---
293 if (m_monitor_detectors && monitoring) {
294 bool noisy_pos{significance > m_pos_noise_thresholds[det]};
295 bool noisy_neg{-significance > m_neg_noise_thresholds[det]};
296 per_detector_total_energy[det] += energy;
297 det_n_noisy_channels[det] += noisy_pos;
298 det_n_noisy_channels_Neg[det] += noisy_neg;
299 det_n_badQ_channels[det] += bad_quality;
300 dqm_superslot = feedthrough_number * ::numberOfSlotsPerFeedthrough(det)
301 + slot_number;
302 dqm_channel = channel;
303 dqmf_occ = noisy_event && (energy > m_occupancy_thresholds[det]);
304 dqmf_sig = noisy_event && (energy > m_signal_thresholds[det])
305 && is_atlas_ready && !larNoisyROAlgInTimeW_flag;
306 dqm_energy = energy;
307 dqm_gain = gain;
308 dqm_posn = 100 * (noisy_event && !larNoisyROAlgInTimeW_flag
309 && noisy_pos && is_atlas_ready);
310 dqm_negn = 100 * (noisy_event && !larNoisyROAlgInTimeW_flag
311 && noisy_neg && is_atlas_ready);
312 dqm_qual = 100 * (bad_quality && is_atlas_ready
313 && !larNoisyROAlgInTimeW_flag);
314 fill(monitoring, dqm_superslot, dqm_channel,
315 dqmf_occ, dqmf_sig, dqm_energy, dqm_gain,
316 dqm_posn, dqm_negn, dqm_qual);
317
318 if (m_monitor_time && significance > m_time_threshold) {
319 // The time resolution is \sigma_t = \frac{a}{E/\sigma_{E}} \oplus b
320 // where a and b depend on the channel position (partition + layer);
321 // in practice a = 30ns and b = 1ns are assumed.
322 if (significance != 0.) {
323 double weight = 1. + 900. / std::pow(significance, 2);
324 // <t> = ( \sum w*t ) / ( \sum w )
325 // -> num. & den. are accumulated separately using a complex variable
326 wsum_t datapoint{weight * (double(time) + 1i)};
327 event_mean_time += datapoint;
328 mean_detector_times[det] += datapoint;
329 mean_feb_times[feb_hash] += datapoint;
330 }
331 }
332 }
333 }
334
335 Monitored::Scalar<int> dqm_lb{"lb", lumi_block};
336 Monitored::Scalar<int> dqm_bcid{"bc", bcid};
337 Monitored::Scalar<int> dqm_qnChan{"nQ4k", 0};
338 Monitored::Scalar<float> dqm_percent_noisy{"%noisy", 0};
339 Monitored::Scalar<float> dqm_percent_neg_noisy{"%noisy_neg", 0};
340 Monitored::Scalar<bool> dqmf_burst{"burst", false};
341 Monitored::Scalar<bool> dqmf_burst_timevetoed{"burst_quietW", false};
342 Monitored::Scalar<float> dqm_total_energy{"detE", 0};
343 Monitored::Scalar<bool> dqmf_qburst{"qburst", false};
344 Monitored::Scalar<bool> dqmf_noNoisyRO{"quiet", !larNoisyROAlg_flag};
345 Monitored::Scalar<bool> dqmf_noNoisyRO_W{"quietW", !larNoisyROAlg_W_flag};
346 Monitored::Scalar<bool> dqmf_noNoisyRO_ITW{
347 "quietITW", !larNoisyROAlgInTimeW_flag};
348 for (int8_t det : ::partitions()) {
349 float scaling = 100.f / m_det_to_nchannels[det];
350 float percent_noisy = scaling * det_n_noisy_channels[det];
351 float percent_bad_quality = scaling * det_n_badQ_channels[det];
352 dqmf_burst = percent_noisy > m_noise_burst_percent_thresholds[det];
353 dqmf_burst_timevetoed = dqmf_burst && !larNoisyROAlgInTimeW_flag;
354 dqm_percent_noisy = percent_noisy;
355 dqm_percent_neg_noisy = scaling * det_n_noisy_channels_Neg[det];
356 dqm_qnChan = det_n_badQ_channels[det];
357 dqmf_qburst = percent_bad_quality > m_noise_burst_percent_thresholds[det];
358 dqm_total_energy = per_detector_total_energy[det];
359
360 if (m_monitor_burst) {
361 fill(m_tools[m_monitoring_tool_index[det]], dqm_lb, dqm_bcid,
362 dqm_percent_noisy, dqm_percent_neg_noisy,
363 dqmf_noNoisyRO, dqmf_noNoisyRO_W, dqmf_noNoisyRO_ITW,
364 dqmf_burst, dqmf_burst_timevetoed, dqmf_qburst,
365 dqm_qnChan);
366 }
367 if (m_monitor_signal) {
368 fill(m_tools[m_monitoring_tool_index[det]], dqm_lb, dqm_bcid,
369 dqmf_noNoisyRO_W, dqm_total_energy);
370 }
371 }
372
373 Monitored::Scalar<float> dqm_time{"T", 0};
374 if (m_monitor_burst && m_monitor_time) {
375 // sum w*t and sum w are accumulated respectively in Re(z) and Im(z)
376 double t{event_mean_time.real() / event_mean_time.imag()};
377 for (uint32_t h = 0; h < mean_feb_times.size(); ++h) {
378 wsum_t w{mean_feb_times[h]};
379 if (w.imag() == 0.) continue;
380 int8_t det = m_feb_hash_to_detector.at(h);
381 double t_feb = w.real() / w.imag();
382 dqm_time = (t_feb - t) / Athena::Units::nanosecond;
383 fill(m_tools[m_monitoring_tool_index[det]], dqm_time);
384 }
385 }
386
387 return StatusCode::SUCCESS;
388}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define x
SG::ReadHandle< xAOD::EventInfo > GetEventInfo(const EventContext &) const
Return a ReadHandle for an EventInfo object (get run/event numbers, etc.)
ToolHandleArray< GenericMonitoringTool > m_tools
Array of Generic Monitoring Tools.
bool cellShouldBeMasked(const LArBadChannelCont *bcCont, const HWIdentifier &hardwareId) const
int feedthrough(const HWIdentifier id) const
Return the feedthrough of a hardware cell identifier : feedthrough = [0,31] Barrel - A/C side or H/...
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...
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
IdentifierHash feb_Hash(HWIdentifier febId) const
Create feb hash identifiers from feb identifiers.
HWIdentifier feb_Id(int barrel_ec, int pos_neg, int feedthrough, int slot) const
Create feb_Id from fields.
Gaudi::Property< std::vector< int > > m_pos_noise_thresholds
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
const LArOnlineID * m_lar_online_id_ptr
ToolHandleArray< IDQFilterTool > m_atlasReady_tools
SG::ReadCondHandleKey< CaloNoise > m_noiseKey
std::vector< int8_t > m_feb_hash_to_detector
std::array< uint32_t, 8 > m_det_to_nchannels
std::set< std::string > m_noise_streams_set
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
std::array< int, 8 > m_monitoring_tool_index
Gaudi::Property< std::vector< double > > m_occupancy_thresholds
Gaudi::Property< std::vector< double > > m_noise_burst_percent_thresholds
Gaudi::Property< std::vector< int > > m_neg_noise_thresholds
Gaudi::Property< std::vector< double > > m_signal_thresholds
LArBadChannelMask m_bcMask
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const std::string & key() const
Return the StoreGate ID for the referenced object.
@ LAr
The LAr calorimeter.
std::vector< std::string > tags
Definition hcg.cxx:105
time(flags, cells_name, *args, **kw)
bool test(const uint16_t prov, const LArProvenance check)
bool flag
Definition master.py:29
setEventNumber setTimeStamp bcid
void fill(H5::Group &out_file, size_t iterations)

◆ filterPassed()

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

Definition at line 96 of file AthCommonReentrantAlgorithm.h.

96 {
97 return execState( ctx ).filterPassed();
98 }
virtual bool filterPassed(const EventContext &ctx) const

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

111 {
112 return SG::ReadHandle<xAOD::EventInfo>(m_EventInfoKey, ctx);
113}
SG::ReadHandleKey< xAOD::EventInfo > m_EventInfoKey
Key for retrieving EventInfo from StoreGate.

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

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

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

198 {
199 return m_trigDecTool;
200}

◆ initialize()

StatusCode LArRawChannelMonAlg::initialize ( )
overridevirtual

initialize

Returns
StatusCode

Reimplemented from AthMonitorAlgorithm.

Definition at line 73 of file LArRawChannelMonAlg.cxx.

74{
75 ATH_MSG_DEBUG("===> start " << name() << "::initialize <=== ");
76
77 ATH_CHECK(m_larFlagKey.initialize());
78 ATH_CHECK(m_LArRawChannel_container_key.initialize());
79 ATH_CHECK(detStore()->retrieve(m_lar_online_id_ptr, "LArOnlineID"));
80 ATH_CHECK(m_bcContKey.initialize());
81 ATH_CHECK(m_bcMask.buildBitMask(m_problemsToMask, msg()));
82 ATH_CHECK(m_atlasReady_tools.retrieve());
83 ATH_CHECK(m_noiseKey.initialize());
84 ATH_CHECK(m_cablingKey.initialize());
85
86 auto get_detector = [&](auto hwid) {
87 const bool sideA = m_lar_online_id_ptr->pos_neg(hwid);
88 if (m_lar_online_id_ptr->isEMBchannel(hwid))
89 return sideA ? ::EMBA : ::EMBC;
90 else if (m_lar_online_id_ptr->isEMECchannel(hwid))
91 return sideA ? ::EMECA : ::EMECC;
92 else if (m_lar_online_id_ptr->isHECchannel(hwid))
93 return sideA ? ::HECA : ::HECC;
94 else if (m_lar_online_id_ptr->isFCALchannel(hwid))
95 return sideA ? ::FCALA : ::FCALC;
96 return ::UNDEF; };
97
98 // Create FEB hash -> Detector map
99 std::size_t feb_hash_max = m_lar_online_id_ptr->febHashMax();
100 m_feb_hash_to_detector.resize(feb_hash_max, ::UNDEF);
101 auto end_feb = m_lar_online_id_ptr->feb_end();
102 for (auto itr = m_lar_online_id_ptr->feb_begin(); itr != end_feb; ++itr) {
103 IdentifierHash feb_hash = m_lar_online_id_ptr->feb_Hash(*itr);
104 auto det = get_detector(*itr);
105 if (feb_hash < m_feb_hash_to_detector.size()) {
106 m_feb_hash_to_detector.at(feb_hash) = det;
107 } else {
108 ATH_MSG_WARNING("FEB hash out of range, ignored.");
109 }
110 }
111
112 // Count number of channels in each detector ---
113 std::fill(m_det_to_nchannels.begin(), m_det_to_nchannels.end(), 0);
114 auto citr = m_lar_online_id_ptr->channel_begin();
115 auto citr_end = m_lar_online_id_ptr->channel_end();
116 for (; citr != citr_end; ++citr) {
117 // TODO: skip unconnected/masked channels, but these may depend on IOV...
118 auto det = get_detector(*citr);
119 if (det != ::UNDEF)
121 }
122
123 std::vector<std::string> det2str(::NDETECTORS);
124 det2str[::EMBA] = "EMBA";
125 det2str[::EMBC] = "EMBC";
126 det2str[::EMECA] = "EMECA";
127 det2str[::EMECC] = "EMECC";
128 det2str[::HECA] = "HECA";
129 det2str[::HECC] = "HECC";
130 det2str[::FCALA] = "FCalA";
131 det2str[::FCALC] = "FCalC";
132
133 if (msgLvl(MSG::DEBUG)) {
134 ATH_MSG_DEBUG("Number of channels in detectors: ");
135 for (int8_t det : partitions()) {
136 auto n = m_det_to_nchannels[det];
137 ATH_MSG_DEBUG(det2str[det] << " has " << n << "channels ");
138 }
139 }
140
142
143 auto toolmap = Monitored::buildToolMap<int>(
144 m_tools, "LArRawChannelMon", det2str);
145 for (int8_t det : partitions()) {
146 m_monitoring_tool_index[det] = toolmap.at(det2str[det]);
147 }
148
149 ATH_MSG_DEBUG("===> end " << name() << "::initialize, "
150 "will now initialize base class <=== ");
152}
bool msgLvl(const MSG::Level lvl) const
virtual StatusCode initialize() override
initialize
This is a "hash" representation of an Identifier.
StatusCode buildBitMask(const std::vector< std::string > &problemsToMask, MsgStream &msg)
bool isEMBchannel(const HWIdentifier id) const
id_iterator channel_end() const
id_iterator feb_begin() const
Returns an iterator pointing to a feb identifier collection.
id_iterator channel_begin() const
Returns an iterator pointing to a channel identifier collection.
size_type febHashMax() const
define feb hash tables max size
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...
id_iterator feb_end() const
bool isFCALchannel(const HWIdentifier id) const
bool isHECchannel(const HWIdentifier id) const override final
bool isEMECchannel(const HWIdentifier id) const override final
Gaudi::Property< std::vector< std::string > > m_noise_streams
StatusCode initialize(bool used=true)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
dict partitions
Definition DeMoScan.py:65
std::vector< V > buildToolMap(const ToolHandleArray< GenericMonitoringTool > &tools, const std::string &baseName, int nHist)
Builds an array of indices (base case)
MsgStream & msg
Definition testRead.cxx:32

◆ 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()

◆ msg()

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

Definition at line 24 of file AthCommonMsg.h.

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

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

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

◆ 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();
384 }
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)

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

◆ setFilterPassed()

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

Definition at line 100 of file AthCommonReentrantAlgorithm.h.

100 {
102 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const

◆ sysExecute()

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

Execute an algorithm.

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

Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.

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

◆ sysInitialize()

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

Override sysInitialize.

Override sysInitialize from the base class.

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

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

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

Reimplemented in HypoBase, and InputMakerBase.

Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.

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

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

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

◆ 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) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }

Member Data Documentation

◆ _USE_LEGACY_BINNING_IN_ENDCAPS

bool LArRawChannelMonAlg._USE_LEGACY_BINNING_IN_ENDCAPS = True
protected

Definition at line 15 of file LArRawChannelMonAlg.py.

◆ acc

LArRawChannelMonAlg.acc = LArRawChannelMonConfig(flags)

Definition at line 330 of file LArRawChannelMonAlg.py.

◆ cfg

LArRawChannelMonAlg.cfg = CaloRecoCfg(flags)

Definition at line 329 of file LArRawChannelMonAlg.py.

◆ enableLumiAccess

LArRawChannelMonAlg.enableLumiAccess

Definition at line 323 of file LArRawChannelMonAlg.py.

◆ f

LArRawChannelMonAlg.f = open("LArRawChannelMon.pkl", "wb")

Definition at line 332 of file LArRawChannelMonAlg.py.

◆ Files

LArRawChannelMonAlg.Files

Definition at line 321 of file LArRawChannelMonAlg.py.

◆ flags

LArRawChannelMonAlg.flags = initConfigFlags()

Definition at line 310 of file LArRawChannelMonAlg.py.

◆ HISTFileName

LArRawChannelMonAlg.HISTFileName

Definition at line 322 of file LArRawChannelMonAlg.py.

◆ m_atlasReady_tools

ToolHandleArray<IDQFilterTool> LArRawChannelMonAlg::m_atlasReady_tools {this, "AtlasReadyFilterTool", {}}
private

Definition at line 78 of file LArRawChannelMonAlg.h.

78{this, "AtlasReadyFilterTool", {}};

◆ m_bcContKey

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

Definition at line 88 of file LArRawChannelMonAlg.h.

88{this, "BadChanKey", "LArBadChannel", "SG key for LArBadChan object"};

◆ m_bcid_signal_threshold

Gaudi::Property<double> LArRawChannelMonAlg::m_bcid_signal_threshold {this, "bcid_signal_threshold", 500. * Gaudi::Units::MeV, ""}
private

Definition at line 67 of file LArRawChannelMonAlg.h.

67{this, "bcid_signal_threshold", 500. * Gaudi::Units::MeV, ""};

◆ m_bcMask

LArBadChannelMask LArRawChannelMonAlg::m_bcMask
private

Definition at line 87 of file LArRawChannelMonAlg.h.

◆ m_cablingKey

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

Definition at line 90 of file LArRawChannelMonAlg.h.

90{this, "CablingKey", "LArOnOffIdMap", "SG Key of LArOnOffIdMapping object"};

◆ m_dataType

AthMonitorAlgorithm::DataType_t AthMonitorAlgorithm::m_dataType
protectedinherited

Instance of the DataType_t enum.

Definition at line 356 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 358 of file AthMonitorAlgorithm.h.

358{this,"DataType","userDefined"};

◆ m_db_and_ofc_only

Gaudi::Property<bool> LArRawChannelMonAlg::m_db_and_ofc_only
private
Initial value:
{this, "db_and_ofc_only", true,
"use channels "
"only if pedestal and adc2e value from DB and OFC was used"}

Definition at line 74 of file LArRawChannelMonAlg.h.

74 {this, "db_and_ofc_only", true,
75 "use channels "
76 "only if pedestal and adc2e value from DB and OFC was used"};

◆ m_defaultLBDuration

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

Default duration of one lumi block.

Definition at line 365 of file AthMonitorAlgorithm.h.

365{this,"DefaultLBDuration",60.};

◆ m_det_to_nchannels

std::array<uint32_t, 8> LArRawChannelMonAlg::m_det_to_nchannels
private

Definition at line 102 of file LArRawChannelMonAlg.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 366 of file AthMonitorAlgorithm.h.

366{this,"DetailLevel",0};

◆ m_detStore

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

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_DQFilterTools

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

Array of Data Quality filter tools.

Definition at line 346 of file AthMonitorAlgorithm.h.

346{this,"FilterTools",{}};

◆ m_dummy

const ToolHandle<GenericMonitoringTool> AthMonitorAlgorithm::m_dummy
privateinherited

Definition at line 374 of file AthMonitorAlgorithm.h.

◆ m_enforceExpressTriggers

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

Definition at line 377 of file AthMonitorAlgorithm.h.

377 {this,
378 "EnforceExpressTriggers", false,
379 "Requires that matched triggers made the event enter the express stream"};

◆ m_environment

AthMonitorAlgorithm::Environment_t AthMonitorAlgorithm::m_environment
protectedinherited

Instance of the Environment_t enum.

Definition at line 355 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 357 of file AthMonitorAlgorithm.h.

357{this,"Environment","user"};

◆ m_EventInfoKey

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

Key for retrieving EventInfo from StoreGate.

Definition at line 367 of file AthMonitorAlgorithm.h.

367{this,"EventInfoKey","EventInfo"};

◆ m_evtStore

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

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

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

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

Empty if no symlinks were found.

Definition at line 114 of file AthCommonReentrantAlgorithm.h.

◆ m_feb_hash_to_detector

std::vector<int8_t> LArRawChannelMonAlg::m_feb_hash_to_detector
private

Definition at line 99 of file LArRawChannelMonAlg.h.

◆ m_fileKey

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

Internal Athena name for file.

Definition at line 363 of file AthMonitorAlgorithm.h.

363{this,"FileKey",""};

◆ m_lar_online_id_ptr

const LArOnlineID* LArRawChannelMonAlg::m_lar_online_id_ptr {nullptr}
private

Definition at line 84 of file LArRawChannelMonAlg.h.

84{nullptr};

◆ m_larFlagKey

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

Definition at line 92 of file LArRawChannelMonAlg.h.

92{this, "LArStatusFlag", "EventInfo.larFlags", "Key for EventInfo object"};

◆ m_LArRawChannel_container_key

SG::ReadHandleKey<LArRawChannelContainer> LArRawChannelMonAlg::m_LArRawChannel_container_key {this, "LArRawChannelContainerKey", "LArRawChannels"}
private

Definition at line 81 of file LArRawChannelMonAlg.h.

81{this, "LArRawChannelContainerKey", "LArRawChannels"};

◆ m_lbDurationDataKey

SG::ReadCondHandleKey<LBDurationCondData> AthMonitorAlgorithm::m_lbDurationDataKey {this,"LBDurationCondDataKey","LBDurationCondData","SG Key of LBDurationCondData object"}
protectedinherited

Definition at line 350 of file AthMonitorAlgorithm.h.

351{this,"LBDurationCondDataKey","LBDurationCondData","SG Key of LBDurationCondData object"};

◆ m_lumiDataKey

SG::ReadCondHandleKey<LuminosityCondData> AthMonitorAlgorithm::m_lumiDataKey {this,"LuminosityCondDataKey","LuminosityCondData","SG Key of LuminosityCondData object"}
protectedinherited

Definition at line 348 of file AthMonitorAlgorithm.h.

349{this,"LuminosityCondDataKey","LuminosityCondData","SG Key of LuminosityCondData object"};

◆ m_monitor_burst

Gaudi::Property<bool> LArRawChannelMonAlg::m_monitor_burst {this, "monitor_burst", true, ""}
private

Definition at line 59 of file LArRawChannelMonAlg.h.

59{this, "monitor_burst", true, ""};

◆ m_monitor_detectors

Gaudi::Property<bool> LArRawChannelMonAlg::m_monitor_detectors {this, "monitor_detectors", true, ""}
private

Definition at line 62 of file LArRawChannelMonAlg.h.

62{this, "monitor_detectors", true, ""};

◆ m_monitor_febs

Gaudi::Property<bool> LArRawChannelMonAlg::m_monitor_febs {this, "monitor_febs", false, ""}
private

Definition at line 60 of file LArRawChannelMonAlg.h.

60{this, "monitor_febs", false, ""};

◆ m_monitor_feedthroughs

Gaudi::Property<bool> LArRawChannelMonAlg::m_monitor_feedthroughs {this, "monitor_feedthroughs", false, ""}
private

Definition at line 61 of file LArRawChannelMonAlg.h.

61{this, "monitor_feedthroughs", false, ""};

◆ m_monitor_negative_noise

Gaudi::Property<bool> LArRawChannelMonAlg::m_monitor_negative_noise {this, "monitor_negative_noise", true, ""}
private

Definition at line 56 of file LArRawChannelMonAlg.h.

56{this, "monitor_negative_noise", true, ""};

◆ m_monitor_occupancy

Gaudi::Property<bool> LArRawChannelMonAlg::m_monitor_occupancy {this, "monitor_occupancy", false, ""}
private

Definition at line 53 of file LArRawChannelMonAlg.h.

53{this, "monitor_occupancy", false, ""};

◆ m_monitor_positive_noise

Gaudi::Property<bool> LArRawChannelMonAlg::m_monitor_positive_noise {this, "monitor_positive_noise", true, ""}
private

Definition at line 55 of file LArRawChannelMonAlg.h.

55{this, "monitor_positive_noise", true, ""};

◆ m_monitor_quality

Gaudi::Property<bool> LArRawChannelMonAlg::m_monitor_quality {this, "monitor_quality", false, ""}
private

Definition at line 58 of file LArRawChannelMonAlg.h.

58{this, "monitor_quality", false, ""};

◆ m_monitor_signal

Gaudi::Property<bool> LArRawChannelMonAlg::m_monitor_signal {this, "monitor_signal", true, ""}
private

Definition at line 54 of file LArRawChannelMonAlg.h.

54{this, "monitor_signal", true, ""};

◆ m_monitor_time

Gaudi::Property<bool> LArRawChannelMonAlg::m_monitor_time {this, "monitor_time", true, ""}
private

Definition at line 57 of file LArRawChannelMonAlg.h.

57{this, "monitor_time", true, ""};

◆ m_monitoring_tool_index

std::array<int, 8> LArRawChannelMonAlg::m_monitoring_tool_index
private

Definition at line 96 of file LArRawChannelMonAlg.h.

◆ m_name

std::string AthMonitorAlgorithm::m_name
privateinherited

Definition at line 371 of file AthMonitorAlgorithm.h.

◆ m_neg_noise_thresholds

Gaudi::Property<std::vector<int> > LArRawChannelMonAlg::m_neg_noise_thresholds {this, "neg_noise_thresholds", {8, 3}, ""}
private

Definition at line 66 of file LArRawChannelMonAlg.h.

66{this, "neg_noise_thresholds", {8, 3}, ""};

◆ m_noise_burst_nChannel_thresholds

Gaudi::Property<std::vector<unsigned> > LArRawChannelMonAlg::m_noise_burst_nChannel_thresholds {this, "noise_burst_nChannel_threshold", {8, 10}, ""}
private

Definition at line 72 of file LArRawChannelMonAlg.h.

72{this, "noise_burst_nChannel_threshold", {8, 10}, ""};

◆ m_noise_burst_percent_thresholds

Gaudi::Property<std::vector<double> > LArRawChannelMonAlg::m_noise_burst_percent_thresholds {this, "noise_burst_percent_threshold", {8, 1.}, ""}
private

Definition at line 71 of file LArRawChannelMonAlg.h.

71{this, "noise_burst_percent_threshold", {8, 1.}, ""};

◆ m_noise_streams

Gaudi::Property<std::vector<std::string> > LArRawChannelMonAlg::m_noise_streams {this, "noise_streams", {}, ""}
private

Definition at line 73 of file LArRawChannelMonAlg.h.

73{this, "noise_streams", {}, ""};

◆ m_noise_streams_set

std::set<std::string> LArRawChannelMonAlg::m_noise_streams_set
private

Definition at line 105 of file LArRawChannelMonAlg.h.

◆ m_noise_threshold

Gaudi::Property<short> LArRawChannelMonAlg::m_noise_threshold {this, "noise_threshold", 3, ""}
private

Definition at line 70 of file LArRawChannelMonAlg.h.

70{this, "noise_threshold", 3, ""};

◆ m_noiseKey

SG::ReadCondHandleKey<CaloNoise> LArRawChannelMonAlg::m_noiseKey {this, "NoiseKey", "totalNoise", "SG key for noise"}
private

Definition at line 89 of file LArRawChannelMonAlg.h.

89{this, "NoiseKey", "totalNoise", "SG key for noise"};

◆ m_occupancy_thresholds

Gaudi::Property<std::vector<double> > LArRawChannelMonAlg::m_occupancy_thresholds {this, "occupancy_thresholds", {8, 500. * Gaudi::Units::MeV}, ""}
private

Definition at line 63 of file LArRawChannelMonAlg.h.

63{this, "occupancy_thresholds", {8, 500. * Gaudi::Units::MeV}, ""};

◆ m_pos_noise_thresholds

Gaudi::Property<std::vector<int> > LArRawChannelMonAlg::m_pos_noise_thresholds {this, "pos_noise_thresholds", {8, 3}, ""}
private

Definition at line 65 of file LArRawChannelMonAlg.h.

65{this, "pos_noise_thresholds", {8, 3}, ""};

◆ m_problemsToMask

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

Definition at line 77 of file LArRawChannelMonAlg.h.

77{this, "ProblemsToMask", {}, "Bad-Channel categories to mask"};

◆ m_quality_threshold

Gaudi::Property<unsigned short> LArRawChannelMonAlg::m_quality_threshold {this, "quality_threshold", 4000, ""}
private

Definition at line 69 of file LArRawChannelMonAlg.h.

69{this, "quality_threshold", 4000, ""};

◆ m_signal_thresholds

Gaudi::Property<std::vector<double> > LArRawChannelMonAlg::m_signal_thresholds {this, "signal_thresholds", {8, 500. * Gaudi::Units::MeV}, ""}
private

Definition at line 64 of file LArRawChannelMonAlg.h.

64{this, "signal_thresholds", {8, 500. * Gaudi::Units::MeV}, ""};

◆ m_time_threshold

Gaudi::Property<short> LArRawChannelMonAlg::m_time_threshold {this, "time_threshold", 5, ""}
private

Definition at line 68 of file LArRawChannelMonAlg.h.

68{this, "time_threshold", 5, ""};

◆ m_toolLookupMap

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

Definition at line 372 of file AthMonitorAlgorithm.h.

◆ m_tools

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

Array of Generic Monitoring Tools.

Definition at line 341 of file AthMonitorAlgorithm.h.

341{this,"GMTools",{}};

◆ m_trigDecTool

PublicToolHandle<Trig::TrigDecisionTool> AthMonitorAlgorithm::m_trigDecTool
protectedinherited

Tool to tell whether a specific trigger is passed.

Definition at line 345 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 360 of file AthMonitorAlgorithm.h.

360{this,"TriggerChain",""};

◆ m_trigLiveFractionDataKey

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

Definition at line 352 of file AthMonitorAlgorithm.h.

353{this,"TrigLiveFractionCondDataKey","TrigLiveFractionCondData", "SG Key of TrigLiveFractionCondData object"};

◆ m_useLumi

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

Allows use of various luminosity functions.

Definition at line 364 of file AthMonitorAlgorithm.h.

364{this,"EnableLumi",false};

◆ 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 361 of file AthMonitorAlgorithm.h.

◆ Type

LArRawChannelMonAlg.Type

Definition at line 325 of file LArRawChannelMonAlg.py.

◆ useTrigger

LArRawChannelMonAlg.useTrigger

Definition at line 324 of file LArRawChannelMonAlg.py.


The documentation for this class was generated from the following files: