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

Class for Tile TB based monitoring. More...

#include <TileTBMonitorAlgorithm.h>

Inheritance diagram for TileTBMonitorAlgorithm:

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

virtual ~TileTBMonitorAlgorithm ()=default
virtual StatusCode initialize () override
 initialize
virtual StatusCode fillHistograms (const EventContext &ctx) const override
 adds event to the monitoring histograms
 AthMonitorAlgorithm (const std::string &name, ISvcLocator *pSvcLocator)
 Constructor.
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()
 parser = flags.getArgumentParser()
 help
 default
 dest
 nargs
 type
 int
 args
list fragIDs = [int(fragID, base=16) for fragID in args.fragIDs]
 Files
 HISTFileName
 useTrigger
 enableLumiAccess
 MaxEvents
 isOnline
 doFit
 useDCS
 NoiseFilter
 correctTime
 correctTimeJumps
 BestPhaseFromCOOL
 doOverflowFit
 pattern
 evaluate
 cfg = MainServicesCfg(flags)
 rawChannels = args.channels
 cells = args.cells
str readDigitsFlx = 'Flx' in args.digits
 rawChMaker = cfg.getEventAlgo('TileRChMaker')
 Cardinality
str cells = 'AllCalo'
 tileInfoLoader = cfg.getService('TileInfoLoader')
 NSamples
 TrigSample
 withDetails
 True
 summariseProps
 sc = cfg.run()

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

 _
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

SG::ReadHandleKey< CaloCellContainerm_caloCellContainerKey
Gaudi::Property< float > m_cellEnergyThreshold
Gaudi::Property< float > m_energyThresholdForTime
Gaudi::Property< float > m_beamEnergy
Gaudi::Property< std::vector< std::string > > m_masked
Gaudi::Property< std::vector< int > > m_fragIDs
Gaudi::Property< std::vector< std::vector< double > > > m_xCellLB_A
Gaudi::Property< std::vector< std::vector< double > > > m_xCellLB_BC
Gaudi::Property< std::vector< std::vector< double > > > m_xCellLB_D
Gaudi::Property< std::vector< std::vector< double > > > m_yCellLB_A
Gaudi::Property< std::vector< std::vector< double > > > m_yCellLB_BC
Gaudi::Property< std::vector< std::vector< double > > > m_yCellLB_D
Gaudi::Property< std::vector< std::vector< double > > > m_xCellEB_A
Gaudi::Property< std::vector< std::vector< double > > > m_xCellEB_BC
Gaudi::Property< std::vector< std::vector< double > > > m_xCellEB_D
Gaudi::Property< std::vector< std::vector< double > > > m_yCellEB_A
Gaudi::Property< std::vector< std::vector< double > > > m_yCellEB_BC
Gaudi::Property< std::vector< std::vector< double > > > m_yCellEB_D
ServiceHandle< TileCablingSvcm_cablingSvc
 Name of Tile cabling service.
std::map< std::string, int > m_timeGroups
std::map< std::string, int > m_cellMapGroups
const TileIDm_tileID {nullptr}
const TileHWIDm_tileHWID {nullptr}
std::vector< bool > m_monitoredDrawerIdx
std::array< std::array< unsigned char, TileCalibUtils::MAX_CHAN >, TileCalibUtils::MAX_DRAWERIDXm_maskedChannels = {{}}
std::vector< std::vector< IdentifierHash > > m_cellsNearTower {9}
std::vector< std::vector< std::vector< double > > > m_xCellLB
std::vector< std::vector< std::vector< double > > > m_yCellLB
std::vector< std::vector< std::vector< double > > > m_xCellEB
std::vector< std::vector< std::vector< double > > > m_yCellEB
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

Class for Tile TB based monitoring.

Definition at line 24 of file TileTBMonitorAlgorithm.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

◆ ~TileTBMonitorAlgorithm()

virtual TileTBMonitorAlgorithm::~TileTBMonitorAlgorithm ( )
virtualdefault

Member Function Documentation

◆ AthMonitorAlgorithm()

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

Constructor.

Definition at line 45 of file AthMonitorAlgorithm.cxx.

9:AthReentrantAlgorithm(name,pSvcLocator)
10 // Put this here rather than in the header to allow forward-declaring
11 // TrigDecisionTool.
12,m_trigDecTool{this, "TrigDecisionTool",""}
13,m_environment(Environment_t::user)
14,m_dataType(DataType_t::userDefined)
15,m_vTrigChainNames({})
16{}
An algorithm that can be simultaneously executed in multiple threads.

◆ 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 TileTBMonitorAlgorithm::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 195 of file TileTBMonitorAlgorithm.cxx.

195 {
196
197 // In case you want to measure the execution time
198 auto timer = Monitored::Timer("TIME_execute");
199
200 SG::ReadHandle<CaloCellContainer> caloCellContainer(m_caloCellContainerKey, ctx);
201 ATH_CHECK( caloCellContainer.isValid() );
202
203 if (caloCellContainer->empty()) return StatusCode::SUCCESS;
204
205 const TileCell* cellWithMaxEnergy = nullptr;
206
207 double totalEnergy(0.0);
208 bool onlyLBC04(true);
209 int nCellsOverThreshold(0);
210
211 double totalEnergyLBA01 = 0.;
212 double totalEnergyLBA02 = 0.;
213 double totalEnergyLBC01 = 0.;
214 double totalEnergyLBC02 = 0.;
215 double totalEnergyEBC03 = 0.;
216
217 for (const CaloCell* cell : *caloCellContainer) {
218 if (m_tileID->is_tile(cell->ID())) {
219 const TileCell* tile_cell = dynamic_cast<const TileCell*>(cell);
220 if (!tile_cell) continue;
221
222 const CaloDetDescrElement* caloDDE = cell->caloDDE();
223
224 IdentifierHash hash1 = caloDDE->onl1();
225 IdentifierHash hash2 = caloDDE->onl2();
226
227 int side = m_tileID->side(cell->ID());
228 int section = m_tileID->section(cell->ID());
229 int module = m_tileID->module(cell->ID());
230 int tower = m_tileID->tower(cell->ID());
231 int sample = m_tileID->sample(cell->ID());
232
233 if ((section == TileID::BARREL) && (side == TileID::NEGATIVE) && (module == 1) && (sample == TileID::SAMP_A)
234 && (!cellWithMaxEnergy || cellWithMaxEnergy->energy() < tile_cell->energy())) {
235 cellWithMaxEnergy = tile_cell;
236 }
237
238 double energy = 0.0;
239 double energy_pC(0.0);
240
241 int gain1 = tile_cell->gain1();
242
243 HWIdentifier channelId1 = m_tileHWID->channel_id(hash1);
244
245 int ros1 = m_tileHWID->ros(channelId1);
246 int drawer1 = m_tileHWID->drawer(channelId1);
247 int chan1 = m_tileHWID->channel(channelId1);
248 int drawerIdx1 = TileCalibUtils::getDrawerIdx(ros1, drawer1);
249
250 std::string moduleName1 = TileCalibUtils::getDrawerString(ros1, drawer1);
251 int drawerIdx2 = 0;
252 std::string moduleName2 = "";
253
254 if (m_monitoredDrawerIdx[drawerIdx1] && tile_cell->ene1() > m_energyThresholdForTime) {
255 auto monTime = Monitored::Scalar<float>("time", tile_cell->time1());
256 auto monChannel = Monitored::Scalar<float>("channel", chan1);
257 fill(m_tools[m_timeGroups.at(moduleName1)], monTime, monChannel);
258 }
259
260 if (onlyLBC04 && chan1 > 0 && drawerIdx1 != 87) onlyLBC04 = false;
261
262 if (hash2 == TileHWID::NOT_VALID_HASH) {
263 if (gain1 >= 0 && !((m_maskedChannels[drawerIdx1][chan1] >> gain1) & 1U)) {
264 energy = cell->energy();
265 }
266 } else {
267
268 int gain2 = tile_cell->gain2();
269
270 HWIdentifier channelId2 = m_tileHWID->channel_id(hash2);
271
272 int ros2 = m_tileHWID->ros(channelId2);
273 int drawer2 = m_tileHWID->drawer(channelId2);
274 int chan2 = m_tileHWID->channel(channelId2);
275 drawerIdx2 = TileCalibUtils::getDrawerIdx(ros2, drawer2);
276
277 moduleName2 = TileCalibUtils::getDrawerString(ros2, drawer2);
278
279 if (m_monitoredDrawerIdx[drawerIdx1] && tile_cell->ene2() > m_energyThresholdForTime) {
280 auto monTime = Monitored::Scalar<float>("time", tile_cell->time2());
281 auto monChannel = Monitored::Scalar<float>("channel", chan2);
282 fill(m_tools[m_timeGroups.at(moduleName2)], monTime, monChannel);
283 }
284
285 if (gain1 < 0 || ((m_maskedChannels[drawerIdx1][chan1] >> gain1) & 1U)) {
286 if (gain2 >= 0 && !((m_maskedChannels[drawerIdx2][chan2] >> gain2) & 1U)) {
287 energy = tile_cell->ene2() * 2;
288 }
289 } else if (gain2 >= 0 && ((m_maskedChannels[drawerIdx2][chan2] >> gain2) & 1U)) {
290 if (gain1 >= 0 && !((m_maskedChannels[drawerIdx1][chan1] >> gain1) & 1U)) {
291 energy =tile_cell->ene1() * 2;
292 }
293 } else {
294 energy = cell->energy();
295 }
296 }
297
298 energy_pC = energy * 0.001; // keep energy in pC
299 totalEnergy += energy_pC;
300
301 if (section == TileID::BARREL) {
302 if (side == TileID::POSITIVE) {
303 if (module == 0) totalEnergyLBA01 += energy_pC;
304 else if (module == 1) totalEnergyLBA02 += energy_pC;
305 } else if (side == TileID::NEGATIVE) {
306 if (module == 0) totalEnergyLBC01 += energy_pC;
307 else if (module == 1) totalEnergyLBC02 += energy_pC;
308 }
309 } else {
310 if (module == 2 && side == TileID::NEGATIVE && sample < TileID::SAMP_E) {
311 totalEnergyEBC03 += energy_pC;
312 }
313 }
314
315 if (side < 0) {
316 if (energy > m_cellEnergyThreshold) {
317 ++nCellsOverThreshold;
318 }
319 }
320
321 if (section == TileID::BARREL) {
322 if (m_monitoredDrawerIdx[drawerIdx1]) {
323 auto monX = Monitored::Collection("x", m_xCellLB[sample][tower]);
324 auto monY = Monitored::Collection("y", m_yCellLB[sample][tower]);
325
326 std::vector<double> cellEnergy(m_xCellLB[sample][tower].size(), energy_pC);
327 auto monEnergy = Monitored::Collection("energy", cellEnergy);
328 if (m_monitoredDrawerIdx[drawerIdx1]) {
329 fill(m_tools[m_cellMapGroups.at(moduleName1)], monX, monY, monEnergy);
330 }
331
332 if (tower == 0 && sample == TileID::SAMP_D && m_monitoredDrawerIdx[drawerIdx2]) {
333 fill(m_tools[m_cellMapGroups.at(moduleName2)], monX, monY, monEnergy);
334 }
335 }
336 } else if (section == TileID::EXTBAR
338 && (sample == TileID::SAMP_C || sample == TileID::SAMP_D))) {
339 if (m_monitoredDrawerIdx[drawerIdx1]) {
340 auto monX = Monitored::Collection("x", m_xCellEB[sample][tower]);
341 auto monY = Monitored::Collection("y", m_yCellEB[sample][tower]);
342
343 std::vector<double> cellEnergy(m_xCellEB[sample][tower].size(), energy_pC);
344 auto monEnergy = Monitored::Collection("energy", cellEnergy);
345
346 fill(m_tools[m_cellMapGroups.at(moduleName1)], monX, monY, monEnergy);
347 }
348 }
349 }
350 }
351
352 if (cellWithMaxEnergy && !onlyLBC04) {
353
354 int tower = m_tileID->tower(cellWithMaxEnergy->ID());
355 auto monTower = Monitored::Scalar<float>("tower", tower);
356 fill("TileTBHotCellA_LBC02", monTower);
357
358 if ((tower > 0) && (tower < 9)) {
359
360 double sumClong = 0.0;
361 double sumCtot = 0.0;
362
363 const std::vector<IdentifierHash>& cellsHashes = m_cellsNearTower[tower];
365 caloCellContainer->findCellVector(cellsHashes, cells);
366
367 float alpha = (m_beamEnergy < 100000) ? 0.6 : 0.38;
368 unsigned int nCells = cells.size();
369
370 if (nCells) {
371 double sumCellEnergyAlpha = 0.;
372 for (const CaloCell* cell : cells) {
373 double energy = cell->energy();
374 if(energy >= 0) {
375 sumCellEnergyAlpha += std::pow(energy, alpha);
376 }
377 }
378
379 double avgCellEnergyAlpha = sumCellEnergyAlpha / nCells;
380
381 for (const CaloCell* cell : cells) {
382 double energy = cell->energy();
383 if (energy >= 0) {
384 sumCtot += std::pow( std::pow(energy, alpha) - avgCellEnergyAlpha, 2 );
385 int sample = m_tileID->sample(cell->ID());
386 if (sample != TileID::SAMP_D) {
387 sumClong += energy;
388 }
389 }
390 }
391
392 double Ctot = std::sqrt(sumCtot / nCells) / sumCellEnergyAlpha;
393 double Clong = sumClong / m_beamEnergy;
394
395 auto monCtot = Monitored::Scalar<float>("Ctot", Ctot);
396 auto monClong = Monitored::Scalar<float>("Clong", Clong);
397 fill("TileTBCtot", monCtot);
398 fill("TileTBClong", monClong);
399 fill("TileTBCtotVsClong", monClong, monCtot);
400
401 }
402 }
403 }
404
405 if (!onlyLBC04) {
406
407 auto monEnergy = Monitored::Scalar<float>("energy", totalEnergy);
408 fill("TileTBTotalEventEnergy", monEnergy);
409
410 auto monCellsOvThr = Monitored::Scalar<float>("nCells", nCellsOverThreshold);
411 fill("TileTBCellsNumberVsTotalEnergy", monCellsOvThr, monEnergy);
412
413 std::vector<int> side{0,0,1,1,1};
414 auto monSide = Monitored::Collection("side", side);
415
416 std::vector<int> module{0,1,0,1,2};
417 auto monModule = Monitored::Collection("module", module);
418
419 std::vector<double> moduleEnergy{totalEnergyLBA01, totalEnergyLBA02,
420 totalEnergyLBC01, totalEnergyLBC02,
421 totalEnergyEBC03};
422 auto monModEnergy = Monitored::Collection("energy", moduleEnergy);
423
424 fill("TileTBHitMap", monSide, monModule, monModEnergy);
425 }
426
427
428 fill("TileTBMonExecuteTime", timer);
429
430 return StatusCode::SUCCESS;
431}
#define ATH_CHECK
Evaluate an expression and check for errors.
void section(const std::string &sec)
bool is_tile(Identifier id) const
std::vector< const CaloCell * > CellVector
type to be used for the internal lookup table, and to return list of cells
Data object for each calorimeter readout cell.
Definition CaloCell.h:57
double energy() const
get energy (data member)
Definition CaloCell.h:327
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
Definition CaloCell.h:295
This class groups all DetDescr information related to a CaloCell.
IdentifierHash onl2() const
cell online identifier 2
IdentifierHash onl1() const
cell online identifier 1
This is a "hash" representation of an Identifier.
Declare a monitored scalar variable.
A monitored timer.
static std::string getDrawerString(unsigned int ros, unsigned int drawer)
Return the drawer name, e.g.
static unsigned int getDrawerIdx(unsigned int ros, unsigned int drawer)
Returns a drawer hash.
float time1(void) const
get time of first PMT
Definition TileCell.h:192
int gain2(void) const
get gain of second PMT
Definition TileCell.cxx:175
int gain1(void) const
get gain of first PMT
Definition TileCell.cxx:168
float ene1(void) const
get energy of first PMT
Definition TileCell.h:187
float time2(void) const
get time of second PMT
Definition TileCell.h:194
float ene2(void) const
get energy of second PMT
Definition TileCell.h:189
int channel(const HWIdentifier &id) const
extract channel field from HW identifier
Definition TileHWID.h:189
@ NOT_VALID_HASH
Definition TileHWID.h:314
int drawer(const HWIdentifier &id) const
extract drawer field from HW identifier
Definition TileHWID.h:171
HWIdentifier channel_id(int ros, int drawer, int channel) const
channel HWIdentifer
Definition TileHWID.cxx:199
int ros(const HWIdentifier &id) const
extract ros field from HW identifier
Definition TileHWID.h:167
std::map< std::string, int > m_timeGroups
std::map< std::string, int > m_cellMapGroups
Gaudi::Property< float > m_beamEnergy
std::vector< std::vector< IdentifierHash > > m_cellsNearTower
int sample(const Identifier &id) const
int tower(const Identifier &id) const
int side(const Identifier &id) const
int section(const Identifier &id) const
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
setRawEt setRawPhi nCells
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
ToolHandleArray< GenericMonitoringTool > m_tools
Array of Generic Monitoring Tools.

◆ 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 TileTBMonitorAlgorithm::initialize ( )
overridevirtual

initialize

Returns
StatusCode

Reimplemented from AthMonitorAlgorithm.

Definition at line 17 of file TileTBMonitorAlgorithm.cxx.

17 {
18
19 ATH_MSG_INFO("in initialize()");
21
22 ATH_CHECK( m_cablingSvc.retrieve() );
23
24 ATH_CHECK( m_caloCellContainerKey.initialize() );
25
26 ATH_CHECK( detStore()->retrieve(m_tileID) );
27 ATH_CHECK( detStore()->retrieve(m_tileHWID) );
28
29 m_monitoredDrawerIdx.resize(TileCalibUtils::MAX_DRAWERIDX, false);
30
31 std::vector<std::string> modules;
32 for (int fragID : m_fragIDs) {
33 int ros = fragID >> 8;
34 int drawer = fragID & 0x3F;
35 modules.push_back(TileCalibUtils::getDrawerString(ros, drawer));
36 m_monitoredDrawerIdx[TileCalibUtils::getDrawerIdx(ros, drawer)] = true;
37 }
38
39 using namespace Monitored;
40 m_timeGroups = buildToolMap<int>(m_tools, "TileTBChannelTime", modules);
41 m_cellMapGroups = buildToolMap<int>(m_tools, "TileTBCellMap", modules);
42
43 std::ostringstream os;
44 if ( m_fragIDs.size() != 0) {
45 std::sort(m_fragIDs.begin(), m_fragIDs.end());
46 for (int fragID : m_fragIDs) {
47 unsigned int ros = fragID >> 8;
48 unsigned int drawer = fragID & 0xFF;
49 std::string module = TileCalibUtils::getDrawerString(ros, drawer);
50 os << " " << module << "/0x" << std::hex << fragID << std::dec;
51 }
52 } else {
53 os << "NONE";
54 }
55
56 ATH_MSG_INFO("Monitored modules/frag ID:" << os.str());
57
58 std::map<std::string, unsigned int> roses = { {"AUX", 0}, {"LBA", 1}, {"LBC", 2}, {"EBA", 3}, {"EBC", 4} };
59 for (const std::string& maskedModuleChannels : m_masked) {
60
61 std::string module = maskedModuleChannels.substr(0, 5);
62 std::string partition = module.substr(0, 3);
63 if (roses.count(partition) != 1) {
64 ATH_MSG_WARNING("There no such partition: " << partition << " in module: " << module
65 << " => skip because of bad format: " << maskedModuleChannels);
66 continue;
67 }
68
69 unsigned int drawer = std::stoi(module.substr(3, 2)) - 1;
70 if (drawer >= TileCalibUtils::MAX_DRAWER) {
71 ATH_MSG_WARNING("There no such drawer: " << drawer + 1 << " in module: " << module
72 << " => skip because of bad format: " << maskedModuleChannels);
73 continue;
74 }
75
76 unsigned int ros = roses.at(partition);
77 unsigned int drawerIdx = TileCalibUtils::getDrawerIdx(ros, drawer);
78
79 std::string gain = maskedModuleChannels.substr(5,7);
80 unsigned int adc = std::stoi(gain);
81
82 if (adc >= TileCalibUtils::MAX_GAIN) {
83 ATH_MSG_WARNING("There no such gain: " << gain << " => skip because of bad format: " << maskedModuleChannels);
84 continue;
85 }
86
87 std::stringstream channels(maskedModuleChannels.substr(7));
88 std::string channel;
89 while (std::getline(channels, channel, ',')) {
90 if (!channel.empty()) {
91 unsigned int chan = std::stoi(channel);
92 if (chan >= TileCalibUtils::MAX_CHAN) {
93 ATH_MSG_WARNING("There no such channel: " << chan << " in channels: " << channels.str()
94 << " => skip because of bad format: " << maskedModuleChannels);
95 continue;
96 }
97 m_maskedChannels[drawerIdx][chan] |= (1U << adc);
98 ATH_MSG_INFO(TileCalibUtils::getDrawerString(ros, drawer) << " ch" << chan << (adc ? " HG" : " LG") << ": masked!");
99 }
100 }
101
102 }
103
104 m_xCellLB.push_back(m_xCellLB_A.value());
105 m_xCellLB.push_back(m_xCellLB_BC.value());
106 m_xCellLB.push_back(m_xCellLB_D.value());
107
108 m_yCellLB.push_back(m_yCellLB_A.value());
109 m_yCellLB.push_back(m_yCellLB_BC.value());
110 m_yCellLB.push_back(m_yCellLB_D.value());
111
112 m_xCellEB.push_back(m_xCellEB_A.value());
113 m_xCellEB.push_back(m_xCellEB_BC.value());
114 m_xCellEB.push_back(m_xCellEB_D.value());
115
116 m_yCellEB.push_back(m_yCellEB_A.value());
117 m_yCellEB.push_back(m_yCellEB_BC.value());
118 m_yCellEB.push_back(m_yCellEB_D.value());
119
120 // Sanity check
121 std::vector<unsigned int> maxTower{10, 10, 16, 16};
122 std::vector<std::reference_wrapper<const std::vector<std::vector<std::vector<double>>>>> xyCells{m_xCellLB, m_yCellLB, m_xCellEB, m_yCellEB};
123 for (unsigned int i = 0; i < xyCells.size(); ++i) {
124 for (const std::vector<std::vector<double>>& xy : xyCells[i].get()) {
125 if (xy.size() != maxTower[i]) {
126 std::string properties = ((i % 2 == 0) ? "xCell" : "yCell");
127 properties += (i < 2) ? "LongBarrelSample[A,BC,D]" : "ExtendedBarrelSample[A,BC,D]";
128 ATH_MSG_ERROR("Properties " << properties << " should be configured for " << maxTower[i] << " towers");
129 return StatusCode::FAILURE;
130 }
131 }
132 }
133
134
135 const CaloCell_ID* caloID = nullptr;
136 ATH_CHECK( detStore()->retrieve(caloID) );
137
138 unsigned int minCellTower = 1;
139 unsigned int maxCellTower = 9;
140
141 std::vector<std::vector<int>> lbCellsD{{}, {0, 2}, {2, 4}, {2, 4}, {1, 4, 6}, {4, 6}, {4, 6}, {6}, {6}};
142 for (unsigned int cellTower = minCellTower; cellTower < maxCellTower; ++cellTower) {
143 std::vector<IdentifierHash>& cells = m_cellsNearTower[cellTower];
144 for (unsigned int cellModule = 0; cellModule < 2; ++cellModule) {
145 for (unsigned int cellSample = 0; cellSample < 2; ++cellSample) {
146 for (unsigned int tower = cellTower - 1; tower < cellTower + 2; ++tower) {
147 Identifier cell_id = m_tileID->cell_id(TileID::BARREL, TileID::NEGATIVE, cellModule, tower, cellSample);
148 cells.push_back(caloID->calo_cell_hash(cell_id));
149 }
150 }
151
152 const std::vector<int>& towersD = lbCellsD[cellTower];
153 for (int towerD : towersD) {
154 unsigned int side = (towerD == 0) ? TileID::POSITIVE : TileID::NEGATIVE;
155 Identifier cell_id = m_tileID->cell_id(TileID::BARREL, side, cellModule, towerD, TileID::SAMP_D);
156 cells.push_back(caloID->calo_cell_hash(cell_id));
157 }
158 }
159 }
160
161 static const std::vector<std::vector<std::vector<int>>> ebCellsNearTower{{{}},
162 {{11, 12}, {9, 10, 11, 12}, {8, 10}},
163 {{11, 12}, {9, 10, 11, 12}, {8, 10}},
164 {{12, 13}, {11, 12}, {10, 12}},
165 {{12, 13, 14}, {11, 12, 13}, {10, 12}},
166 {{13, 14}, {12, 13}, {12}},
167 {{14, 15}, {13, 14}, {12}},
168 {{14, 15}, {13, 14}, {12}},
169 {{15}, {14}, {12}}};
170 for (unsigned int cellTower = minCellTower; cellTower < maxCellTower; ++cellTower) {
171 std::vector<IdentifierHash>& cells = m_cellsNearTower[cellTower];
172 const std::vector<std::vector<int>>& ebCells = ebCellsNearTower[cellTower];
173 for (unsigned int cellSample = 0; cellSample < 3; ++cellSample) {
174 const std::vector<int>& ebCellsInSample = ebCells[cellSample];
175 for (int tower : ebCellsInSample) {
176 int section = (tower < 10) ? TileID::GAPDET : TileID::EXTBAR;
177 Identifier cell_id = m_tileID->cell_id(section, TileID::NEGATIVE, 2, tower, cellSample);
178 cells.push_back(caloID->calo_cell_hash(cell_id));
179 }
180 }
181 }
182
183 for (unsigned int cellTower = minCellTower; cellTower < maxCellTower; ++cellTower) {
184 std::vector<IdentifierHash>& cells = m_cellsNearTower[cellTower];
185 ATH_MSG_INFO("The are " << cells.size() << " Tile cells near the tower " << cellTower << " in LBC02: ");
186 for (IdentifierHash hash : cells) {
187 ATH_MSG_INFO(" " << m_tileID->to_string(caloID->cell_id(hash)));
188 }
189 }
190
191 return StatusCode::SUCCESS;
192}
#define ATH_MSG_ERROR(x)
#define ATH_MSG_INFO(x)
const ServiceHandle< StoreGateSvc > & detStore() const
virtual StatusCode initialize() override
initialize
IdentifierHash calo_cell_hash(const Identifier cellId) const
create hash id from 'global' cell id
Identifier cell_id(const int subCalo, const int barec_or_posneg, const int sampling_or_fcalmodule, const int region_or_dummy, const int eta, const int phi) const
Make a cell (== channel) ID from constituting fields and subCalo index; for (Mini)FCAL,...
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
static const unsigned int MAX_DRAWERIDX
Maximal drawer index.
static const unsigned int MAX_GAIN
Number of gains per channel.
static const unsigned int MAX_DRAWER
Number of drawers in ROS 1-4.
static const unsigned int MAX_CHAN
Number of channels in drawer.
Gaudi::Property< std::vector< std::vector< double > > > m_yCellEB_D
Gaudi::Property< std::vector< std::vector< double > > > m_yCellLB_D
std::vector< std::vector< std::vector< double > > > m_xCellLB
std::vector< std::vector< std::vector< double > > > m_yCellEB
Gaudi::Property< std::vector< std::vector< double > > > m_xCellLB_A
Gaudi::Property< std::vector< std::vector< double > > > m_xCellEB_BC
Gaudi::Property< std::vector< std::vector< double > > > m_yCellEB_A
Gaudi::Property< std::vector< std::vector< double > > > m_xCellEB_A
Gaudi::Property< std::vector< std::vector< double > > > m_xCellLB_D
Gaudi::Property< std::vector< std::vector< double > > > m_yCellEB_BC
Gaudi::Property< std::vector< std::vector< double > > > m_yCellLB_A
Gaudi::Property< std::vector< std::vector< double > > > m_xCellLB_BC
std::vector< std::vector< std::vector< double > > > m_xCellEB
Gaudi::Property< std::vector< std::vector< double > > > m_xCellEB_D
std::array< std::array< unsigned char, TileCalibUtils::MAX_CHAN >, TileCalibUtils::MAX_DRAWERIDX > m_maskedChannels
std::vector< std::vector< std::vector< double > > > m_yCellLB
Gaudi::Property< std::vector< std::vector< double > > > m_yCellLB_BC
std::string to_string(const Identifier &id, int level=0) const
Identifier cell_id(const Identifier &any_id) const
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition hcg.cxx:130
Generic monitoring tool for athena components.
std::vector< V > buildToolMap(const ToolHandleArray< GenericMonitoringTool > &tools, const std::string &baseName, int nHist)
Builds an array of indices (base case)
retrieve(aClass, aKey=None)
Definition PyKernel.py:110
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.

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

◆ _

TileTBMonitorAlgorithm._
protected

Definition at line 235 of file TileTBMonitorAlgorithm.py.

◆ args

TileTBMonitorAlgorithm.args

Definition at line 235 of file TileTBMonitorAlgorithm.py.

◆ BestPhaseFromCOOL

TileTBMonitorAlgorithm.BestPhaseFromCOOL

Definition at line 251 of file TileTBMonitorAlgorithm.py.

◆ Cardinality

TileTBMonitorAlgorithm.Cardinality

Definition at line 285 of file TileTBMonitorAlgorithm.py.

◆ cells [1/2]

TileTBMonitorAlgorithm.cells = args.cells

Definition at line 265 of file TileTBMonitorAlgorithm.py.

◆ cells [2/2]

str TileTBMonitorAlgorithm.cells = 'AllCalo'

Definition at line 294 of file TileTBMonitorAlgorithm.py.

◆ cfg

TileTBMonitorAlgorithm.cfg = MainServicesCfg(flags)

Definition at line 262 of file TileTBMonitorAlgorithm.py.

◆ correctTime

TileTBMonitorAlgorithm.correctTime

Definition at line 249 of file TileTBMonitorAlgorithm.py.

◆ correctTimeJumps

TileTBMonitorAlgorithm.correctTimeJumps

Definition at line 250 of file TileTBMonitorAlgorithm.py.

◆ default

TileTBMonitorAlgorithm.default

Definition at line 224 of file TileTBMonitorAlgorithm.py.

◆ dest

TileTBMonitorAlgorithm.dest

Definition at line 229 of file TileTBMonitorAlgorithm.py.

◆ doFit

TileTBMonitorAlgorithm.doFit

Definition at line 246 of file TileTBMonitorAlgorithm.py.

◆ doOverflowFit

TileTBMonitorAlgorithm.doOverflowFit

Definition at line 252 of file TileTBMonitorAlgorithm.py.

◆ enableLumiAccess

TileTBMonitorAlgorithm.enableLumiAccess

Definition at line 242 of file TileTBMonitorAlgorithm.py.

◆ evaluate

TileTBMonitorAlgorithm.evaluate

Definition at line 258 of file TileTBMonitorAlgorithm.py.

◆ Files

TileTBMonitorAlgorithm.Files

Definition at line 239 of file TileTBMonitorAlgorithm.py.

◆ flags

TileTBMonitorAlgorithm.flags = initConfigFlags()

Definition at line 221 of file TileTBMonitorAlgorithm.py.

◆ fragIDs

list TileTBMonitorAlgorithm.fragIDs = [int(fragID, base=16) for fragID in args.fragIDs]

Definition at line 237 of file TileTBMonitorAlgorithm.py.

◆ help

TileTBMonitorAlgorithm.help

Definition at line 223 of file TileTBMonitorAlgorithm.py.

◆ HISTFileName

TileTBMonitorAlgorithm.HISTFileName

Definition at line 240 of file TileTBMonitorAlgorithm.py.

◆ int

TileTBMonitorAlgorithm.int

Definition at line 231 of file TileTBMonitorAlgorithm.py.

◆ isOnline

TileTBMonitorAlgorithm.isOnline

Definition at line 244 of file TileTBMonitorAlgorithm.py.

◆ m_beamEnergy

Gaudi::Property<float> TileTBMonitorAlgorithm::m_beamEnergy
private
Initial value:
{this,
"BeamEnergy", 10000.0F, "Beam Energy in MeV"}

Definition at line 44 of file TileTBMonitorAlgorithm.h.

44 {this,
45 "BeamEnergy", 10000.0F, "Beam Energy in MeV"};

◆ m_cablingSvc

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

Name of Tile cabling service.

Definition at line 92 of file TileTBMonitorAlgorithm.h.

92 { this,
93 "TileCablingSvc", "TileCablingSvc", "The Tile cabling service"};

◆ m_caloCellContainerKey

SG::ReadHandleKey<CaloCellContainer> TileTBMonitorAlgorithm::m_caloCellContainerKey
private
Initial value:
{this,
"CaloCellContainer", "AllCalo", "Calo cell container name"}

Definition at line 35 of file TileTBMonitorAlgorithm.h.

35 {this,
36 "CaloCellContainer", "AllCalo", "Calo cell container name"};

◆ m_cellEnergyThreshold

Gaudi::Property<float> TileTBMonitorAlgorithm::m_cellEnergyThreshold
private
Initial value:
{this,
"CellEnergyThreshold", 100.0F, "Cell Energy threshold in MeV"}

Definition at line 38 of file TileTBMonitorAlgorithm.h.

38 {this,
39 "CellEnergyThreshold", 100.0F, "Cell Energy threshold in MeV"};

◆ m_cellMapGroups

std::map<std::string, int> TileTBMonitorAlgorithm::m_cellMapGroups
private

Definition at line 97 of file TileTBMonitorAlgorithm.h.

◆ m_cellsNearTower

std::vector<std::vector<IdentifierHash> > TileTBMonitorAlgorithm::m_cellsNearTower {9}
private

Definition at line 105 of file TileTBMonitorAlgorithm.h.

105{9};

◆ 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_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_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_energyThresholdForTime

Gaudi::Property<float> TileTBMonitorAlgorithm::m_energyThresholdForTime
private
Initial value:
{this,
"EnergyThresholdForTime", 500.0F, "Channel Energy threshold for time in MeV"}

Definition at line 41 of file TileTBMonitorAlgorithm.h.

41 {this,
42 "EnergyThresholdForTime", 500.0F, "Channel Energy threshold for time in MeV"};

◆ 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_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_fragIDs

Gaudi::Property<std::vector<int> > TileTBMonitorAlgorithm::m_fragIDs
private
Initial value:
{this,
"TileFragIDs", {0x100, 0x101, 0x200, 0x201, 0x402}, "Tile Frag IDs of modules to process."}

Definition at line 50 of file TileTBMonitorAlgorithm.h.

50 {this,
51 "TileFragIDs", {0x100, 0x101, 0x200, 0x201, 0x402}, "Tile Frag IDs of modules to process."};

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

Gaudi::Property<std::vector<std::string> > TileTBMonitorAlgorithm::m_masked
private
Initial value:
{this,
"Masked", {}, "Masked channels: 'module gain channel,channel' (channels are separated by comma)"}

Definition at line 47 of file TileTBMonitorAlgorithm.h.

47 {this,
48 "Masked", {}, "Masked channels: 'module gain channel,channel' (channels are separated by comma)"};

◆ m_maskedChannels

std::array<std::array<unsigned char, TileCalibUtils::MAX_CHAN>, TileCalibUtils::MAX_DRAWERIDX> TileTBMonitorAlgorithm::m_maskedChannels = {{}}
private

Definition at line 104 of file TileTBMonitorAlgorithm.h.

104{{}};

◆ m_monitoredDrawerIdx

std::vector<bool> TileTBMonitorAlgorithm::m_monitoredDrawerIdx
private

Definition at line 102 of file TileTBMonitorAlgorithm.h.

◆ m_name

std::string AthMonitorAlgorithm::m_name
privateinherited

Definition at line 371 of file AthMonitorAlgorithm.h.

◆ m_tileHWID

const TileHWID* TileTBMonitorAlgorithm::m_tileHWID {nullptr}
private

Definition at line 100 of file TileTBMonitorAlgorithm.h.

100{nullptr};

◆ m_tileID

const TileID* TileTBMonitorAlgorithm::m_tileID {nullptr}
private

Definition at line 99 of file TileTBMonitorAlgorithm.h.

99{nullptr};

◆ m_timeGroups

std::map<std::string, int> TileTBMonitorAlgorithm::m_timeGroups
private

Definition at line 96 of file TileTBMonitorAlgorithm.h.

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

◆ m_xCellEB

std::vector<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_xCellEB
private

Definition at line 110 of file TileTBMonitorAlgorithm.h.

◆ m_xCellEB_A

Gaudi::Property<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_xCellEB_A
private
Initial value:
{this,
"xCellExtendedBarrelSampleA", {{}}, "Bins X to be filled on Tile EB module 2D map for Cell A per tower"}

Definition at line 71 of file TileTBMonitorAlgorithm.h.

71 {this,
72 "xCellExtendedBarrelSampleA", {{}}, "Bins X to be filled on Tile EB module 2D map for Cell A per tower"};

◆ m_xCellEB_BC

Gaudi::Property<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_xCellEB_BC
private
Initial value:
{this,
"xCellExtendedBarrelSampleBC", {{}}, "Bins X to be filled on Tile EB module 2D map for Cell BC per tower"}

Definition at line 74 of file TileTBMonitorAlgorithm.h.

74 {this,
75 "xCellExtendedBarrelSampleBC", {{}}, "Bins X to be filled on Tile EB module 2D map for Cell BC per tower"};

◆ m_xCellEB_D

Gaudi::Property<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_xCellEB_D
private
Initial value:
{this,
"xCellExtendedBarrelSampleD", {{}}, "Bins X to be filled on Tile EB module 2D map for Cell D per tower"}

Definition at line 77 of file TileTBMonitorAlgorithm.h.

77 {this,
78 "xCellExtendedBarrelSampleD", {{}}, "Bins X to be filled on Tile EB module 2D map for Cell D per tower"};

◆ m_xCellLB

std::vector<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_xCellLB
private

Definition at line 107 of file TileTBMonitorAlgorithm.h.

◆ m_xCellLB_A

Gaudi::Property<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_xCellLB_A
private
Initial value:
{this,
"xCellLongBarrelSampleA", {{}}, "Bins X to be filled on Tile LB module 2D map for Cell A per tower"}

Definition at line 53 of file TileTBMonitorAlgorithm.h.

53 {this,
54 "xCellLongBarrelSampleA", {{}}, "Bins X to be filled on Tile LB module 2D map for Cell A per tower"};

◆ m_xCellLB_BC

Gaudi::Property<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_xCellLB_BC
private
Initial value:
{this,
"xCellLongBarrelSampleBC", {{}}, "Bins X to be filled on Tile LB module 2D map for Cell BC per tower"}

Definition at line 56 of file TileTBMonitorAlgorithm.h.

56 {this,
57 "xCellLongBarrelSampleBC", {{}}, "Bins X to be filled on Tile LB module 2D map for Cell BC per tower"};

◆ m_xCellLB_D

Gaudi::Property<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_xCellLB_D
private
Initial value:
{this,
"xCellLongBarrelSampleD", {{}}, "Bins X to be filled on Tile LB module 2D map for Cell D per tower"}

Definition at line 59 of file TileTBMonitorAlgorithm.h.

59 {this,
60 "xCellLongBarrelSampleD", {{}}, "Bins X to be filled on Tile LB module 2D map for Cell D per tower"};

◆ m_yCellEB

std::vector<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_yCellEB
private

Definition at line 111 of file TileTBMonitorAlgorithm.h.

◆ m_yCellEB_A

Gaudi::Property<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_yCellEB_A
private
Initial value:
{this,
"yCellExtendedBarrelSampleA", {{}}, "Bins Y to be filled on Tile EB module 2D map for Cell A per tower"}

Definition at line 80 of file TileTBMonitorAlgorithm.h.

80 {this,
81 "yCellExtendedBarrelSampleA", {{}}, "Bins Y to be filled on Tile EB module 2D map for Cell A per tower"};

◆ m_yCellEB_BC

Gaudi::Property<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_yCellEB_BC
private
Initial value:
{this,
"yCellExtendedBarrelSampleBC", {{}}, "Bins Y to be filled on Tile EB module 2D map for Cell BC per tower"}

Definition at line 83 of file TileTBMonitorAlgorithm.h.

83 {this,
84 "yCellExtendedBarrelSampleBC", {{}}, "Bins Y to be filled on Tile EB module 2D map for Cell BC per tower"};

◆ m_yCellEB_D

Gaudi::Property<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_yCellEB_D
private
Initial value:
{this,
"yCellExtendedBarrelSampleD", {{}}, "Bins Y to be filled on Tile EB module 2D map for Cell D per tower"}

Definition at line 86 of file TileTBMonitorAlgorithm.h.

86 {this,
87 "yCellExtendedBarrelSampleD", {{}}, "Bins Y to be filled on Tile EB module 2D map for Cell D per tower"};

◆ m_yCellLB

std::vector<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_yCellLB
private

Definition at line 108 of file TileTBMonitorAlgorithm.h.

◆ m_yCellLB_A

Gaudi::Property<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_yCellLB_A
private
Initial value:
{this,
"yCellLongBarrelSampleA", {{}}, "Bins Y to be filled on Tile LB module 2D map for Cell A per tower"}

Definition at line 62 of file TileTBMonitorAlgorithm.h.

62 {this,
63 "yCellLongBarrelSampleA", {{}}, "Bins Y to be filled on Tile LB module 2D map for Cell A per tower"};

◆ m_yCellLB_BC

Gaudi::Property<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_yCellLB_BC
private
Initial value:
{this,
"yCellLongBarrelSampleBC", {{}}, "Bins Y to be filled on Tile LB module 2D map for Cell BC per tower"}

Definition at line 65 of file TileTBMonitorAlgorithm.h.

65 {this,
66 "yCellLongBarrelSampleBC", {{}}, "Bins Y to be filled on Tile LB module 2D map for Cell BC per tower"};

◆ m_yCellLB_D

Gaudi::Property<std::vector<std::vector<double> > > TileTBMonitorAlgorithm::m_yCellLB_D
private
Initial value:
{this,
"yCellLongBarrelSampleD", {{}}, "Bins Y to be filled on Tile LB module 2D map for Cell D per tower"}

Definition at line 68 of file TileTBMonitorAlgorithm.h.

68 {this,
69 "yCellLongBarrelSampleD", {{}}, "Bins Y to be filled on Tile LB module 2D map for Cell D per tower"};

◆ MaxEvents

TileTBMonitorAlgorithm.MaxEvents

Definition at line 243 of file TileTBMonitorAlgorithm.py.

◆ nargs

TileTBMonitorAlgorithm.nargs

Definition at line 229 of file TileTBMonitorAlgorithm.py.

◆ NoiseFilter

TileTBMonitorAlgorithm.NoiseFilter

Definition at line 248 of file TileTBMonitorAlgorithm.py.

◆ NSamples

TileTBMonitorAlgorithm.NSamples

Definition at line 303 of file TileTBMonitorAlgorithm.py.

◆ parser

TileTBMonitorAlgorithm.parser = flags.getArgumentParser()

Definition at line 222 of file TileTBMonitorAlgorithm.py.

◆ pattern

TileTBMonitorAlgorithm.pattern

Definition at line 258 of file TileTBMonitorAlgorithm.py.

◆ rawChannels

TileTBMonitorAlgorithm.rawChannels = args.channels

Definition at line 264 of file TileTBMonitorAlgorithm.py.

◆ rawChMaker

TileTBMonitorAlgorithm.rawChMaker = cfg.getEventAlgo('TileRChMaker')

Definition at line 284 of file TileTBMonitorAlgorithm.py.

◆ readDigitsFlx

str TileTBMonitorAlgorithm.readDigitsFlx = 'Flx' in args.digits

Definition at line 267 of file TileTBMonitorAlgorithm.py.

◆ sc

TileTBMonitorAlgorithm.sc = cfg.run()

Definition at line 315 of file TileTBMonitorAlgorithm.py.

◆ summariseProps

TileTBMonitorAlgorithm.summariseProps

Definition at line 311 of file TileTBMonitorAlgorithm.py.

◆ tileInfoLoader

TileTBMonitorAlgorithm.tileInfoLoader = cfg.getService('TileInfoLoader')

Definition at line 302 of file TileTBMonitorAlgorithm.py.

◆ TrigSample

TileTBMonitorAlgorithm.TrigSample

Definition at line 304 of file TileTBMonitorAlgorithm.py.

◆ True

TileTBMonitorAlgorithm.True

Definition at line 311 of file TileTBMonitorAlgorithm.py.

◆ type

TileTBMonitorAlgorithm.type

Definition at line 231 of file TileTBMonitorAlgorithm.py.

◆ useDCS

TileTBMonitorAlgorithm.useDCS

Definition at line 247 of file TileTBMonitorAlgorithm.py.

◆ useTrigger

TileTBMonitorAlgorithm.useTrigger

Definition at line 241 of file TileTBMonitorAlgorithm.py.

◆ withDetails

TileTBMonitorAlgorithm.withDetails

Definition at line 311 of file TileTBMonitorAlgorithm.py.


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