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

#include <LArSuperCellMonAlg.h>

Inheritance diagram for LArSuperCellMonAlg:
Collaboration diagram for LArSuperCellMonAlg:

Public Types

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

Public Member Functions

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

Public Attributes

 flags = initConfigFlags()
 
 Files
 
 HISTFileName
 
 enableLumiAccess
 
 useTrigger
 
 Environment
 
 GlobalTag
 
 isOnline
 
 Run
 
 OutputLevel
 
 BunchStructureSource
 
 AtlasVersion
 
 cfg = MainServicesCfg(flags)
 
 f = open("LArSuperCellMon.pkl","wb")
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
 
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed. More...
 

Protected Attributes

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

Private Types

enum  LayerEnum {
  EMBPA =0, EMBPC, EMB1A, EMB1C,
  EMB2A, EMB2C, EMB3A, EMB3C,
  HEC0A, HEC0C, HEC1A, HEC1C,
  HEC2A, HEC2C, HEC3A, HEC3C,
  EMECPA, EMECPC, EMEC1A, EMEC1C,
  EMEC2A, EMEC2C, EMEC3A, EMEC3C,
  FCAL1A, FCAL1C, FCAL2A, FCAL2C,
  FCAL3A, FCAL3C, MAXLAYER
}
 
enum  LayerEnumNoSides {
  EMBPNS =0, EMB1NS, EMB2NS, EMB3NS,
  HEC0NS, HEC1NS, HEC2NS, HEC3NS,
  EMECPNS, EMEC1NS, EMEC2NS, EMEC3NS,
  FCAL1NS, FCAL2NS, FCAL3NS, MAXLYRNS
}
 
enum  PartitionEnum {
  EMBA, EMBC, EMECA, EMECC,
  HECA, HECC, FCALA, FCALC,
  MAXPARTITIONS
}
 
typedef std::vector< std::reference_wrapper< Monitored::IMonitoredVariable > > MonVarVec_t
 
typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

StatusCode initThresh ()
 
std::string strToLower (const std::string &input) const
 
StatusCode createPerJobHistograms (const CaloCellContainer *cellcont, const CaloNoise *noisep) const
 
void getHistoCoordinates (const CaloDetDescrElement *dde, float &celleta, float &cellphi, unsigned &iLyr, unsigned &iLyrNS) const
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

SG::ReadHandleKey< CaloCellContainerm_superCellContainerKey {this,"CaloCellContainer","SCell","SG key of the input super cell container"}
 
SG::ReadHandleKey< CaloCellContainerm_superCellContainerRefKey {this,"CaloCellContainerRef","SCellEm","SG key of the reference super cell container"}
 
SG::ReadHandleKey< CaloCellContainerm_superCellContainerRecoKey {this,"CaloCellContainerReco","","SG key of reconstructed SC"}
 
SG::ReadCondHandleKey< BunchCrossingCondDatam_bcDataKey {this, "BunchCrossingCondDataKey", "BunchCrossingData" ,"SG Key of BunchCrossing CDO"}
 Property: Bunch crossing data (MC only) (conditions input). More...
 
Gaudi::Property< std::string > m_MonGroupName {this, "MonGroupName", "LArSuperCellMonGroup"}
 
Gaudi::Property< std::vector< std::string > > m_streams {this, "Streams", {}, "Which streams to monitor, if empty, only simple profile per partition (offline case)"}
 
Gaudi::Property< std::vector< std::string > > m_SubDetNames {this, "SubDetNames", {} }
 
SG::ReadCondHandleKey< CaloNoisem_noiseCDOKey {this,"CaloNoiseKey","totalNoise","SG Key of CaloNoise data object"}
 
std::map< std::string, std::map< std::string, int > > m_toolmapAll
 
FloatArrayProperty m_eCutForTiming
 
StringArrayProperty m_layerNames
 
IntegerArrayProperty m_layerNcells
 
BooleanProperty m_doDatabaseNoiseVsEtaPhi {this, "doDatabaseNoiseVsEtaPhi", true}
 
BooleanProperty m_doSCReco {this, "doSCReco", false}
 
FloatArrayProperty m_thresholdsProp [MAXLYRNS]
 
FloatProperty m_thresholdsForResolution {this,"Threshold",5e2}
 
BooleanProperty m_removeMasked {this, "RemoveMasked", true}
 
const std::map< unsigned, LayerEnumNoSidesm_caloSamplingToLyrNS
 
const CaloCell_IDm_calo_id
 
std::string m_name
 
std::unordered_map< std::string, size_t > m_toolLookupMap
 
const ToolHandle< GenericMonitoringToolm_dummy
 
Gaudi::Property< bool > m_enforceExpressTriggers
 
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Definition at line 41 of file LArSuperCellMonAlg.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 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  };

◆ Environment_t

enum AthMonitorAlgorithm::Environment_t
stronginherited

Specifies the processing environment.

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

Enumerator
user 
online 
tier0 
tier0Raw 
tier0ESD 
AOD 
altprod 

Definition at line 175 of file AthMonitorAlgorithm.h.

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

◆ LayerEnum

Enumerator
EMBPA 
EMBPC 
EMB1A 
EMB1C 
EMB2A 
EMB2C 
EMB3A 
EMB3C 
HEC0A 
HEC0C 
HEC1A 
HEC1C 
HEC2A 
HEC2C 
HEC3A 
HEC3C 
EMECPA 
EMECPC 
EMEC1A 
EMEC1C 
EMEC2A 
EMEC2C 
EMEC3A 
EMEC3C 
FCAL1A 
FCAL1C 
FCAL2A 
FCAL2C 
FCAL3A 
FCAL3C 
MAXLAYER 

Definition at line 101 of file LArSuperCellMonAlg.h.

◆ LayerEnumNoSides

Enumerator
EMBPNS 
EMB1NS 
EMB2NS 
EMB3NS 
HEC0NS 
HEC1NS 
HEC2NS 
HEC3NS 
EMECPNS 
EMEC1NS 
EMEC2NS 
EMEC3NS 
FCAL1NS 
FCAL2NS 
FCAL3NS 
MAXLYRNS 

Definition at line 107 of file LArSuperCellMonAlg.h.

◆ PartitionEnum

Enumerator
EMBA 
EMBC 
EMECA 
EMECC 
HECA 
HECC 
FCALA 
FCALC 
MAXPARTITIONS 

Definition at line 115 of file LArSuperCellMonAlg.h.

Constructor & Destructor Documentation

◆ LArSuperCellMonAlg()

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

Definition at line 30 of file LArSuperCellMonAlg.cxx.

31  :AthMonitorAlgorithm(name, pSvcLocator),
32  // m_badChannelMask("BadLArRawChannelMask",this),
33  m_calo_id(nullptr)
34 {
35 }

◆ ~LArSuperCellMonAlg()

LArSuperCellMonAlg::~LArSuperCellMonAlg ( )

Definition at line 39 of file LArSuperCellMonAlg.cxx.

39  {
40 }

Member Function Documentation

◆ cardinality()

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

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

Override this to return 0 for reentrant algorithms.

Override this to return 0 for reentrant algorithms.

Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.

64 {
65  return 0;
66 }

◆ createPerJobHistograms()

StatusCode LArSuperCellMonAlg::createPerJobHistograms ( const CaloCellContainer cellcont,
const CaloNoise noisep 
) const
private

Definition at line 273 of file LArSuperCellMonAlg.cxx.

273  {
274 
275  ATH_MSG_INFO("Creating the once-per-job histograms");
276 
277  if(!noisep){
278  ATH_MSG_ERROR("Do not have DB noise, doing nothing !!!");
279  return StatusCode::SUCCESS;
280  }
281 
282  //The following histograms can be considered constants for one job
283  //(in fact, they are constant for an entire run or even run-periode)
284  //ActiveCells in eta/phi (to normalize 1D occupancy plots)
285  //BadChannel word
286  //Database noise
287 
288  auto doDatabaseNoisePlot = Monitored::Scalar<bool>("doDatabaseNoisePlot",m_doDatabaseNoiseVsEtaPhi);
289 
290  // if(!doDatabaseNoisePlot && !doCellsActiveEtaPlot && !doCellsActivePhiPlot) {
291  if(!doDatabaseNoisePlot) {
292  ATH_MSG_INFO("No once-per-job histogram requested");
293  return StatusCode::SUCCESS;
294  }
295 
296 
297  //filling:
298 
299  CaloCellContainer::const_iterator it = cellCont->begin();
300  CaloCellContainer::const_iterator it_e = cellCont->end();
301  for ( ; it!=it_e;++it) {
302  const CaloCell* cell = *it;
303  Identifier id = cell->ID();
304  bool is_lar=m_calo_id->is_lar(id);
305  if(!is_lar) continue;
306  const CaloDetDescrElement* caloDDEl=cell->caloDDE();
307  float celleta, cellphi;
308  unsigned iLyr, iLyrNS;
309 
310 
311  getHistoCoordinates(caloDDEl, celleta, cellphi, iLyr, iLyrNS);
312 
313  auto mon_eta = Monitored::Scalar<float>("celleta_"+m_layerNames[iLyr],celleta);
314  auto mon_phi = Monitored::Scalar<float>("cellphi_"+m_layerNames[iLyr],cellphi);
315  auto cellnoisedb = Monitored::Scalar<float>("cellnoisedb_"+m_layerNames[iLyr],noisep->getNoise(id,cell->gain()));
316 
317  fill(m_MonGroupName,cellnoisedb,mon_eta,mon_phi);
318 
319 
320  }//end loop over cells
321 
322  return StatusCode::SUCCESS;
323 }

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

◆ 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" ) {
153  return DataType_t::monteCarlo;
154  } else if( lowerCaseStr == "collisions" ) {
155  return DataType_t::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 }

◆ declareGaudiProperty() [1/4]

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

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

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

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

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

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

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

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

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

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

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 245 of file AthCommonDataStore.h.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 221 of file AthCommonDataStore.h.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.

Definition at line 333 of file AthCommonDataStore.h.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.

Definition at line 352 of file AthCommonDataStore.h.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

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

Definition at line 145 of file AthCommonDataStore.h.

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

◆ detStore()

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

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

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ environment()

Environment_t AthMonitorAlgorithm::environment ( ) const
inlineinherited

Accessor functions for the environment.

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

Definition at line 208 of file AthMonitorAlgorithm.h.

208 { return m_environment; }

◆ envStringToEnum()

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

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

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

Definition at line 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" ) {
125  return Environment_t::online;
126  } else if( lowerCaseStr == "tier0" ) {
127  return Environment_t::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" ) {
135  return Environment_t::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() [1/2]

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

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

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

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

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

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

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

Applies filters and trigger requirements.

Then, calls fillHistograms().

Parameters
ctxevent context for reentrant Athena call
Returns
StatusCode

Definition at line 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 }

◆ extraDeps_update_handler()

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

Add StoreName to extra input/output deps as needed.

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

◆ extraOutputDeps()

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

Return the list of extra output dependencies.

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

Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.

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

◆ fillHistograms()

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

adds event to the monitoring histograms

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

Parameters
ctxforwarded from execute
Returns
StatusCode

Implements AthMonitorAlgorithm.

Definition at line 73 of file LArSuperCellMonAlg.cxx.

73  {
74 
75  ATH_MSG_DEBUG("LArSuperCellMonAlg::fillHistograms() starts");
76 
78  const CaloCellContainer* superCellCont = superCellHdl.cptr();
79  if(!superCellCont){
80  ATH_MSG_ERROR("The requested SC container key " << m_superCellContainerKey.key() << " could not be retrieved. !!!");
81  return StatusCode::SUCCESS;
82  }
83 
85  const CaloCellContainer* superCellRefCont = superCellRefHdl.cptr();
86  if(!superCellRefCont){
87  ATH_MSG_ERROR("The requested SC ref container key " << m_superCellContainerRefKey.key() << " could not be retrieved. !!!");
88  return StatusCode::SUCCESS;
89  }
90 
91  const CaloCellContainer *superCellRecoCont = nullptr;
92  if(m_doSCReco){
94  if (!hSCetRecoContainer.isValid()) {
95  ATH_MSG_ERROR("The requested SC ET reco container key could not be retrieved. !!!");
96  }else{
97  superCellRecoCont = hSCetRecoContainer.cptr();
98  ATH_MSG_DEBUG("SCetRecoContainer.size() " << hSCetRecoContainer->size());
99  }
100  }
101 
102  if (ctx.evt()==0) {
104  const CaloNoise *noisep = *noiseHdl;
105  ATH_CHECK(createPerJobHistograms(superCellCont, noisep));
106  }
107 
108  // FIXME: "lumiBlock" is not monitored
109  //auto lumiBlock = Monitored::Scalar<unsigned int>("lumiBlock",0);
110  //lumiBlock = ctx.eventID().lumi_block();
111  // FIXME: "bcid" is not monitored nor used, only bcidFFB is
112  //auto bcid = Monitored::Scalar<unsigned int>("bcid",0);
113  //bcid = ctx.eventID().bunch_crossing_id();
114  unsigned int bcid = ctx.eventID().bunch_crossing_id();
115  int bcidFFB = bcid;
116  if (!m_bcDataKey.empty()){
118  bcid=bccd->distanceFromFront(bcid,BunchCrossingCondData::BunchCrossings);
119  }
120 
121  // create local variables to speed up things
122  // per layer
123  std::vector<std::vector<std::string> > nameHistos;
124  for (const auto& layerName : m_layerNames){
125  nameHistos.insert(nameHistos.end(),
126  {"superCellEt_"+layerName,
127  "superCelltime_"+layerName,
128  "superCellprovenance_"+layerName,
129  "superCellEta_"+layerName,
130  "superCellPhi_"+layerName,
131  "resolution_"+layerName,
132  "resolutionPass_"+layerName,
133  "resolutionHET_"+layerName,
134  "superCellEtRef_"+layerName,
135  "superCelltimeRef_"+layerName,
136  "superCellprovenanceRef_"+layerName,
137  "superCellEtDiff_"+layerName});
138  }
139 
140 
142 
143  CaloCellContainer::const_iterator SCit = superCellCont->begin();
144  CaloCellContainer::const_iterator SCit_e = superCellCont->end();
145 
146  std::vector<std::reference_wrapper<Monitored::IMonitoredVariable>> variables;
147 
148  for ( ; SCit!=SCit_e;++SCit) {
149 
150  const CaloCell* superCell = *SCit;
151  variables.clear();
152  // Discard masked cells from monitoring
153  int SCprov = superCell->provenance()&0xFFF;
154  if (m_removeMasked && ((SCprov&0x80)==0x80)) continue;
155  float SCet = superCell->et();
156  const CaloDetDescrElement* SCcaloDDE = superCell->caloDDE();
157  float SCeta,SCphi;
158  unsigned iLyr, iLyrNS;
159  float SCt = superCell->time();
160 
161  getHistoCoordinates(SCcaloDDE, SCeta, SCphi, iLyr, iLyrNS);
162 
163 
164  bool SCpassTime = LArProv::test(SCprov,LArProv::SCTIMEPASS);//SCprov & 0x200;
165  bool SCpassPF = LArProv::test(SCprov,LArProv::SCPASSBCIDMAX);// SCprov & 0x40;
166 
167  const CaloCell* superCellRef = superCellRefCont->findCell( SCcaloDDE->identifyHash() );
168  if (not superCellRef){
169  ATH_MSG_WARNING("cell not found in LArSuperCellMonAlg::fillHistograms");
170  continue;
171  }
172  float SCetRef = superCellRef->et();
173  float SCetDiff = SCet - SCetRef;
174  float resolution = -1000;
175  float resolutionPass = -1000;
176  float resolutionHET = -1000;
177  if ( SCetRef > m_thresholdsForResolution) resolution = 100.0*(SCet-SCetRef)/SCetRef;
178  if ( SCpassTime || SCpassPF ) resolutionPass = resolution;
179  if ( SCet > 4e3 ) resolutionHET=resolution;
180 
181  // real monitoring business
182  auto MSCet = Monitored::Scalar<float>("superCellEt",SCet);
183  auto MSCt = Monitored::Scalar<float>("superCelltime",SCt);
184  auto MSCprov = Monitored::Scalar<int>("superCellprovenance",SCprov);
185  auto MSCeta = Monitored::Scalar<float>("superCellEta",SCeta);
186  auto MSCphi = Monitored::Scalar<float>("superCellPhi",SCphi);
187  auto MSCres = Monitored::Scalar<float>("resolution",resolution);
188  auto MSCresPass = Monitored::Scalar<float>("resolutionPass",resolutionPass);
189  auto MSCresHET = Monitored::Scalar<float>("resolutionHET",resolutionHET);
190  auto MSCetRef = Monitored::Scalar<float>("superCellEtRef",SCetRef);
191  auto MSCtRef = Monitored::Scalar<float>("superCelltimeRef",superCellRef->time());
192  auto MSCprovRef = Monitored::Scalar<int>("superCellprovenanceRef",(superCellRef->provenance()&0xFFF));
193  auto MSCetDiff = Monitored::Scalar<float>("superCellEtDiff",SCetDiff);
194  // 'push_back' conditional variables one at a time, and 'insert' all other variables in one go
195  if ( SCetRef > m_thresholdsForResolution ) variables.push_back(MSCres);
196  if ( (SCetRef > m_thresholdsForResolution ) && (SCpassTime || SCpassPF ) ) variables.push_back(MSCresPass);
197  if ( (SCetRef > m_thresholdsForResolution ) && (SCet > 4e3 ) ) variables.push_back(MSCresHET);
198 
199  // let us put conditional to force building the linearity plot
200  // only when the new signal passes BCID
201 
202  // per layer
203  const auto & layerName=m_layerNames[iLyr];
204  auto LMSCet = Monitored::Scalar<float>(nameHistos[iLyr][0],SCet);
205  auto LMSCt = Monitored::Scalar<float>(nameHistos[iLyr][1],SCt);
206  auto LMSCprov = Monitored::Scalar<int>(nameHistos[iLyr][2],SCprov);
207  auto LMSCeta = Monitored::Scalar<float>(nameHistos[iLyr][3],SCeta);
208  auto LMSCphi = Monitored::Scalar<float>(nameHistos[iLyr][4],SCphi);
209  auto LMSCres = Monitored::Scalar<float>(nameHistos[iLyr][5],resolution);
210  auto LMSCresPass = Monitored::Scalar<float>(nameHistos[iLyr][6],resolutionPass);
211  auto LMSCresHET = Monitored::Scalar<float>(nameHistos[iLyr][7],resolutionHET);
212  auto LMSCetRef = Monitored::Scalar<float>(nameHistos[iLyr][8],SCetRef);
213  auto LMSCtRef = Monitored::Scalar<float>(nameHistos[iLyr][9],superCellRef->time());
214  auto LMSCprovRef = Monitored::Scalar<int>(nameHistos[iLyr][10],(superCellRef->provenance()&0xFFF));
215 
216  auto MBCIDFFB = Monitored::Scalar<int>("BCID",bcidFFB);
217  auto LMSCetDiff = Monitored::Scalar<float>(nameHistos[iLyr][11],SCetDiff);
218  if ( SCetRef > m_thresholdsForResolution ) variables.push_back(LMSCres);
219  if ( (SCetRef > m_thresholdsForResolution ) && (SCpassTime || SCpassPF ) ) variables.push_back(LMSCresPass);
220  if ( (SCetRef > m_thresholdsForResolution ) && (SCet > 4e3 ) ) variables.push_back(LMSCresHET);
221  if ( SCpassTime || SCpassPF ) variables.push_back(LMSCtRef);
222 
223  variables.insert(variables.end(),
224  {MSCet,
225  MSCt,
226  MSCprov,
227  MSCeta,
228  MSCphi,
229  MSCetRef,
230  MSCtRef,
231  MSCprovRef,
232  MSCetDiff,
233  LMSCet,
234  LMSCt,
235  LMSCprov,
236  LMSCeta,
237  LMSCphi,
238  LMSCetRef,
239  LMSCprovRef,
240  MBCIDFFB,
241  LMSCetDiff});
242 
243 
244  if(m_doSCReco){
245  auto MSCtReco = Monitored::Scalar<float>("superCelltimeReco",0.);
246  auto MSCetReco = Monitored::Scalar<float>("superCellEtReco",0.);
247  auto LMSCtReco = Monitored::Scalar<float>("superCelltimeReco_"+layerName,0.);
248  const CaloCell* superCellReco = superCellRecoCont->findCell( SCcaloDDE->identifyHash() );
249  if(superCellReco) {
250  float SCetReco = superCellReco->et();
251  float SCtimeReco = superCellReco->time();
252  MSCtReco = SCtimeReco;
253  MSCetReco = SCetReco;
254  LMSCtReco = SCtimeReco;
255 
256  variables.insert(variables.end(),
257  {MSCtReco,
258  LMSCtReco,
259  MSCetReco});
260  }
261  }
263 
264  } // end loop over SC
265 
266 
267 
268  ATH_MSG_DEBUG("LArSuperCellMonAlg::fillLarHists() is done");
269  return StatusCode::SUCCESS;
270 }

◆ filterPassed()

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

Definition at line 96 of file AthCommonReentrantAlgorithm.h.

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

◆ GetEventInfo()

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

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

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

Definition at line 111 of file AthMonitorAlgorithm.cxx.

111  {
113 }

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

◆ getHistoCoordinates()

void LArSuperCellMonAlg::getHistoCoordinates ( const CaloDetDescrElement dde,
float &  celleta,
float &  cellphi,
unsigned &  iLyr,
unsigned &  iLyrNS 
) const
private

Definition at line 337 of file LArSuperCellMonAlg.cxx.

337  {
338 
339  celleta=dde->eta_raw();
340  cellphi=dde->phi_raw();
341 
342  int calosample=dde->getSampling();
343  if (dde->is_lar_em_endcap_inner()) calosample-=1; //Here, we consider the two layers of the EMEC IW as EME1 and EME2 instad of layer 2 and 3
344  iLyrNS=m_caloSamplingToLyrNS.at(calosample); //will throw if out of bounds
345  if ((iLyrNS==EMB1NS || iLyrNS==EMB2NS) && m_calo_id->region(dde->identify())==1) {
346  //We are in the awkward region 1 of the EM Barrel
347  //Looking at the image at http://atlas.web.cern.ch/Atlas/GROUPS/LIQARGEXT/TDR/figures6/figure6-17.eps
348  //may be useful to understand what's going on here.
349 
350  //In brief: Region 1, layer 1 is closer related ot the middle compartment (aka layer 2)
351  // and region 1, layer 2 closer related to the back compartment (aka layer 3)
352  iLyrNS+=1;
353 
354  //Layer 2: 0<eta<1.4 + 1.4<eta<1.475, deta = 0.025. 3 rows of cells from region 1
355  //Layer 3: 0<eta<1.35 (deta=0.050) + 1.4<eta<1.475 (deta = 0.075). 1 row of cell from region 1 with different dEta
356  }
357 
358  const unsigned side=(celleta>0) ? 0 : 1; //Value >0 means A-side
359  iLyr=iLyrNS*2+side; //Getting LayerEnum value. This logic works because of the way the enums LayerEnum and LayerEnumNoSides are set up.
360  return;
361 }

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

initialize

Returns
StatusCode

Reimplemented from AthMonitorAlgorithm.

Definition at line 43 of file LArSuperCellMonAlg.cxx.

43  {
44 
45  ATH_MSG_DEBUG("LArSuperCellMonAlg::initialize() start");
46 
47 
48  //Identfier-helpers
50 
55 
58 
59  ATH_MSG_DEBUG("LArSuperCellMonAlg::initialize() is done!");
60 
62 }

◆ initThresh()

StatusCode LArSuperCellMonAlg::initThresh ( )
private

Definition at line 66 of file LArSuperCellMonAlg.cxx.

66  {
67 
68  return StatusCode::SUCCESS;
69 }

◆ inputHandles()

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

Return this algorithm's input handles.

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

◆ isClonable()

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

Specify if the algorithm is clonable.

Reentrant algorithms are clonable.

Definition at line 68 of file AthCommonReentrantAlgorithm.cxx.

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

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 27 of file AthCommonMsg.h.

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

◆ msgLvl()

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

Definition at line 30 of file AthCommonMsg.h.

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

◆ outputHandles()

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

Return this algorithm's output handles.

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

◆ parseList()

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

Parse a string into a vector.

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

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

Definition at line 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 }

◆ renounce()

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

Definition at line 380 of file AthCommonDataStore.h.

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

◆ renounceArray()

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

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ setFilterPassed()

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

Definition at line 100 of file AthCommonReentrantAlgorithm.h.

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

◆ strToLower()

std::string LArSuperCellMonAlg::strToLower ( const std::string &  input) const
private

Definition at line 327 of file LArSuperCellMonAlg.cxx.

327  {
328  std::string output;
329  for (const auto& c : input) {
330  output.push_back(std::tolower(c));
331  }
332  return output;
333 }

◆ sysExecute()

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

Execute an algorithm.

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

Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.

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

◆ sysInitialize()

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

Override sysInitialize.

Override sysInitialize from the base class.

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

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

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

Reimplemented in InputMakerBase, and HypoBase.

Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.

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

◆ sysStart()

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

Handle START transition.

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

◆ trigChainsArePassed()

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

Check whether triggers are passed.

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

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

Definition at line 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 }

◆ updateVHKA()

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

Definition at line 308 of file AthCommonDataStore.h.

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

Member Data Documentation

◆ AtlasVersion

LArSuperCellMonAlg.AtlasVersion

Definition at line 448 of file LArSuperCellMonAlg.py.

◆ BunchStructureSource

LArSuperCellMonAlg.BunchStructureSource

Definition at line 446 of file LArSuperCellMonAlg.py.

◆ cfg

LArSuperCellMonAlg.cfg = MainServicesCfg(flags)

Definition at line 455 of file LArSuperCellMonAlg.py.

◆ enableLumiAccess

LArSuperCellMonAlg.enableLumiAccess

Definition at line 438 of file LArSuperCellMonAlg.py.

◆ Environment

LArSuperCellMonAlg.Environment

Definition at line 440 of file LArSuperCellMonAlg.py.

◆ f

LArSuperCellMonAlg.f = open("LArSuperCellMon.pkl","wb")

Definition at line 473 of file LArSuperCellMonAlg.py.

◆ Files

LArSuperCellMonAlg.Files

Definition at line 435 of file LArSuperCellMonAlg.py.

◆ flags

LArSuperCellMonAlg.flags = initConfigFlags()

Definition at line 430 of file LArSuperCellMonAlg.py.

◆ GlobalTag

LArSuperCellMonAlg.GlobalTag

Definition at line 442 of file LArSuperCellMonAlg.py.

◆ HISTFileName

LArSuperCellMonAlg.HISTFileName

Definition at line 437 of file LArSuperCellMonAlg.py.

◆ isOnline

LArSuperCellMonAlg.isOnline

Definition at line 443 of file LArSuperCellMonAlg.py.

◆ m_bcDataKey

SG::ReadCondHandleKey<BunchCrossingCondData> LArSuperCellMonAlg::m_bcDataKey {this, "BunchCrossingCondDataKey", "BunchCrossingData" ,"SG Key of BunchCrossing CDO"}
private

Property: Bunch crossing data (MC only) (conditions input).

Definition at line 60 of file LArSuperCellMonAlg.h.

◆ m_calo_id

const CaloCell_ID* LArSuperCellMonAlg::m_calo_id
private

Definition at line 144 of file LArSuperCellMonAlg.h.

◆ m_caloSamplingToLyrNS

const std::map<unsigned,LayerEnumNoSides> LArSuperCellMonAlg::m_caloSamplingToLyrNS
private

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

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

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

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

BooleanProperty LArSuperCellMonAlg::m_doDatabaseNoiseVsEtaPhi {this, "doDatabaseNoiseVsEtaPhi", true}
private

Definition at line 95 of file LArSuperCellMonAlg.h.

◆ m_doSCReco

BooleanProperty LArSuperCellMonAlg::m_doSCReco {this, "doSCReco", false}
private

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

◆ m_dummy

const ToolHandle<GenericMonitoringTool> AthMonitorAlgorithm::m_dummy
privateinherited

Definition at line 374 of file AthMonitorAlgorithm.h.

◆ m_eCutForTiming

FloatArrayProperty LArSuperCellMonAlg::m_eCutForTiming
private
Initial value:
{this, "EcutForTiming",
{1000., 1000., 3000., 1500., 3500., 3500., 3500., 3500., 1500., 3000., 3000., 2000., 10000., 10000., 10000.}
}

Definition at line 79 of file LArSuperCellMonAlg.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.

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

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

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

◆ m_layerNames

StringArrayProperty LArSuperCellMonAlg::m_layerNames
private
Initial value:
{this, "LayerNames", {"EMBPA", "EMBPC", "EMB1A", "EMB1C", "EMB2A", "EMB2C", "EMB3A", "EMB3C",
"HEC0A", "HEC0C", "HEC1A", "HEC1C", "HEC2A", "HEC2C", "HEC3A", "HEC3C",
"EMECPA", "EMECPC", "EMEC1A", "EMEC1C", "EMEC2A", "EMEC2C", "EMEC3A", "EMEC3C",
"FCAL1A", "FCAL1C", "FCAL2A", "FCAL2C", "FCAL3A", "FCAL3C"},
"Names of individual layers to monitor"}

Definition at line 84 of file LArSuperCellMonAlg.h.

◆ m_layerNcells

IntegerArrayProperty LArSuperCellMonAlg::m_layerNcells
private
Initial value:
{this,"LayerNcells",{ 3905, 3905, 29376, 29376, 14595, 14595, 6912, 6912,
768, 768, 736, 736, 672, 672, 640, 640,
768, 768, 14272, 14272, 11712, 11712, 5120, 5120,
1008, 1008, 500, 500, 254, 254},
"Number of expected cells per layer"}

Definition at line 89 of file LArSuperCellMonAlg.h.

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

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

◆ m_MonGroupName

Gaudi::Property<std::string> LArSuperCellMonAlg::m_MonGroupName {this, "MonGroupName", "LArSuperCellMonGroup"}
private

Definition at line 63 of file LArSuperCellMonAlg.h.

◆ m_name

std::string AthMonitorAlgorithm::m_name
privateinherited

Definition at line 371 of file AthMonitorAlgorithm.h.

◆ m_noiseCDOKey

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

Definition at line 70 of file LArSuperCellMonAlg.h.

◆ m_removeMasked

BooleanProperty LArSuperCellMonAlg::m_removeMasked {this, "RemoveMasked", true}
private

Definition at line 112 of file LArSuperCellMonAlg.h.

◆ m_streams

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

Definition at line 67 of file LArSuperCellMonAlg.h.

◆ m_SubDetNames

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

Definition at line 68 of file LArSuperCellMonAlg.h.

◆ m_superCellContainerKey

SG::ReadHandleKey<CaloCellContainer> LArSuperCellMonAlg::m_superCellContainerKey {this,"CaloCellContainer","SCell","SG key of the input super cell container"}
private

Definition at line 55 of file LArSuperCellMonAlg.h.

◆ m_superCellContainerRecoKey

SG::ReadHandleKey<CaloCellContainer> LArSuperCellMonAlg::m_superCellContainerRecoKey {this,"CaloCellContainerReco","","SG key of reconstructed SC"}
private

Definition at line 57 of file LArSuperCellMonAlg.h.

◆ m_superCellContainerRefKey

SG::ReadHandleKey<CaloCellContainer> LArSuperCellMonAlg::m_superCellContainerRefKey {this,"CaloCellContainerRef","SCellEm","SG key of the reference super cell container"}
private

Definition at line 56 of file LArSuperCellMonAlg.h.

◆ m_thresholdsForResolution

FloatProperty LArSuperCellMonAlg::m_thresholdsForResolution {this,"Threshold",5e2}
private

Definition at line 111 of file LArSuperCellMonAlg.h.

◆ m_thresholdsProp

FloatArrayProperty LArSuperCellMonAlg::m_thresholdsProp[MAXLYRNS]
private

Definition at line 110 of file LArSuperCellMonAlg.h.

◆ m_toolLookupMap

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

Definition at line 372 of file AthMonitorAlgorithm.h.

◆ m_toolmapAll

std::map<std::string,std::map<std::string,int> > LArSuperCellMonAlg::m_toolmapAll
private

Definition at line 73 of file LArSuperCellMonAlg.h.

◆ m_tools

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

Array of Generic Monitoring Tools.

Definition at line 341 of file AthMonitorAlgorithm.h.

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

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

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

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

◆ OutputLevel

LArSuperCellMonAlg.OutputLevel

Definition at line 445 of file LArSuperCellMonAlg.py.

◆ Run

LArSuperCellMonAlg.Run

Definition at line 444 of file LArSuperCellMonAlg.py.

◆ useTrigger

LArSuperCellMonAlg.useTrigger

Definition at line 439 of file LArSuperCellMonAlg.py.


The documentation for this class was generated from the following files:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
CaloDetDescrElement::is_lar_em_endcap_inner
bool is_lar_em_endcap_inner() const
cell belongs to the inner wheel of EM end cap
Definition: CaloDetDescrElement.cxx:113
AthMonitorAlgorithm::Environment_t::tier0Raw
@ tier0Raw
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
LArSuperCellMonAlg::EMBPNS
@ EMBPNS
Definition: LArSuperCellMonAlg.h:107
LArSuperCellMonAlg::m_superCellContainerRefKey
SG::ReadHandleKey< CaloCellContainer > m_superCellContainerRefKey
Definition: LArSuperCellMonAlg.h:56
get_generator_info.result
result
Definition: get_generator_info.py:21
CaloCell_Base_ID::region
int region(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
constants.EMB1
int EMB1
Definition: Calorimeter/CaloClusterCorrection/python/constants.py:53
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
LArSuperCellMonAlg::FCAL3NS
@ FCAL3NS
Definition: LArSuperCellMonAlg.h:108
checkCoolLatestUpdate.variables
variables
Definition: checkCoolLatestUpdate.py:12
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
LArSuperCellMonAlg::EMEC3C
@ EMEC3C
Definition: LArSuperCellMonAlg.h:103
SG::ReadCondHandle
Definition: ReadCondHandle.h:40
LArSuperCellMonAlg::HEC1C
@ HEC1C
Definition: LArSuperCellMonAlg.h:102
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
AthMonitorAlgorithm::m_trigDecTool
PublicToolHandle< Trig::TrigDecisionTool > m_trigDecTool
Tool to tell whether a specific trigger is passed.
Definition: AthMonitorAlgorithm.h:345
AthMonitorAlgorithm::Environment_t::tier0
@ tier0
AthMonitorAlgorithm::Environment_t::AOD
@ AOD
LArSuperCellMonAlg::FCAL2C
@ FCAL2C
Definition: LArSuperCellMonAlg.h:104
AtlasDetectorID::is_lar
bool is_lar(Identifier id) const
Definition: AtlasDetectorID.h:558
LArSuperCellMonAlg::EMEC1C
@ EMEC1C
Definition: LArSuperCellMonAlg.h:103
LArProv::SCPASSBCIDMAX
@ SCPASSBCIDMAX
Definition: LArProvenance.h:25
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:67
runITkAlign.accumulate
accumulate
Update flags based on parser line args.
Definition: runITkAlign.py:62
LArSuperCellMonAlg::HECA
@ HECA
Definition: LArSuperCellMonAlg.h:115
LArSuperCellMonAlg::EMECC
@ EMECC
Definition: LArSuperCellMonAlg.h:115
LArSuperCellMonAlg::EMECPC
@ EMECPC
Definition: LArSuperCellMonAlg.h:103
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
AthMonitorAlgorithm::m_vTrigChainNames
std::vector< std::string > m_vTrigChainNames
Vector of trigger chain names parsed from trigger chain string.
Definition: AthMonitorAlgorithm.h:361
WriteBchToCrest.user
user
Definition: WriteBchToCrest.py:75
LArSuperCellMonAlg::EMB3NS
@ EMB3NS
Definition: LArSuperCellMonAlg.h:107
LArSuperCellMonAlg::EMEC3NS
@ EMEC3NS
Definition: LArSuperCellMonAlg.h:108
AthCommonDataStore::renounce
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
Definition: AthCommonDataStore.h:380
LArSuperCellMonAlg::FCALA
@ FCALA
Definition: LArSuperCellMonAlg.h:115
LArSuperCellMonAlg::m_doSCReco
BooleanProperty m_doSCReco
Definition: LArSuperCellMonAlg.h:97
AthMonitorAlgorithm::m_EventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_EventInfoKey
Key for retrieving EventInfo from StoreGate.
Definition: AthMonitorAlgorithm.h:367
skel.it
it
Definition: skel.GENtoEVGEN.py:407
CaloCell_ID_FCS::FCAL1
@ FCAL1
Definition: FastCaloSim_CaloCell_ID.h:41
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
LArSuperCellMonAlg::m_doDatabaseNoiseVsEtaPhi
BooleanProperty m_doDatabaseNoiseVsEtaPhi
Definition: LArSuperCellMonAlg.h:95
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
LArSuperCellMonAlg::EMBA
@ EMBA
Definition: LArSuperCellMonAlg.h:115
AthMonitorAlgorithm::m_toolLookupMap
std::unordered_map< std::string, size_t > m_toolLookupMap
Definition: AthMonitorAlgorithm.h:372
AthMonitorAlgorithm::m_environment
AthMonitorAlgorithm::Environment_t m_environment
Instance of the Environment_t enum.
Definition: AthMonitorAlgorithm.h:355
LArSuperCellMonAlg::EMB2C
@ EMB2C
Definition: LArSuperCellMonAlg.h:101
LArSuperCellMonAlg::HEC2C
@ HEC2C
Definition: LArSuperCellMonAlg.h:102
cosmics
Definition: cosmics.py:1
CaloCell_ID_FCS::HEC2
@ HEC2
Definition: FastCaloSim_CaloCell_ID.h:29
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
LArSuperCellMonAlg::m_thresholdsForResolution
FloatProperty m_thresholdsForResolution
Definition: LArSuperCellMonAlg.h:111
CaloCell::provenance
uint16_t provenance() const
get provenance (data member)
Definition: CaloCell.h:354
LArSuperCellMonAlg::m_calo_id
const CaloCell_ID * m_calo_id
Definition: LArSuperCellMonAlg.h:144
SG::VarHandleKey::empty
bool empty() const
Test if the key is blank.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:150
LArSuperCellMonAlg::EMBPC
@ EMBPC
Definition: LArSuperCellMonAlg.h:101
LArSuperCellMonAlg::m_layerNames
StringArrayProperty m_layerNames
Definition: LArSuperCellMonAlg.h:84
CaloCell::time
float time() const
get time (data member)
Definition: CaloCell.h:368
LArSuperCellMonAlg::EMB3C
@ EMB3C
Definition: LArSuperCellMonAlg.h:101
CaloNoise::getNoise
float getNoise(const IdentifierHash h, const int gain) const
Accessor by IdentifierHash and gain.
Definition: CaloNoise.h:34
LArSuperCellMonAlg::FCAL1NS
@ FCAL1NS
Definition: LArSuperCellMonAlg.h:108
Dedxcorrection::resolution
double resolution[nGasTypes][nParametersResolution]
Definition: TRT_ToT_Corrections.h:46
dq_defect_bulk_create_defects.line
line
Definition: dq_defect_bulk_create_defects.py:27
AthMonitorAlgorithm::trigChainsArePassed
bool trigChainsArePassed(const std::vector< std::string > &vTrigNames) const
Check whether triggers are passed.
Definition: AthMonitorAlgorithm.cxx:203
LArSuperCellMonAlg::m_superCellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_superCellContainerKey
Definition: LArSuperCellMonAlg.h:55
LArSuperCellMonAlg::MAXLAYER
@ MAXLAYER
Definition: LArSuperCellMonAlg.h:104
AthMonitorAlgorithm::Environment_t::user
@ user
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
CaloDetDescrElement::eta_raw
float eta_raw() const
cell eta_raw
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:350
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
LArSuperCellMonAlg::HEC0NS
@ HEC0NS
Definition: LArSuperCellMonAlg.h:107
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
AthMonitorAlgorithm::m_dummy
const ToolHandle< GenericMonitoringTool > m_dummy
Definition: AthMonitorAlgorithm.h:374
LArSuperCellMonAlg::FCAL3C
@ FCAL3C
Definition: LArSuperCellMonAlg.h:104
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
TRT::Hit::side
@ side
Definition: HitInfo.h:83
PyPoolBrowser.item
item
Definition: PyPoolBrowser.py:129
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
LArSuperCellMonAlg::m_bcDataKey
SG::ReadCondHandleKey< BunchCrossingCondData > m_bcDataKey
Property: Bunch crossing data (MC only) (conditions input).
Definition: LArSuperCellMonAlg.h:61
TileSynchronizeBch.online
online
Definition: TileSynchronizeBch.py:88
AthCommonReentrantAlgorithm::extraOutputDeps
virtual const DataObjIDColl & extraOutputDeps() const override
Return the list of extra output dependencies.
Definition: AthCommonReentrantAlgorithm.cxx:89
CaloDetDescrElement::identify
Identifier identify() const override final
cell identifier
Definition: CaloDetDescrElement.cxx:63
LArSuperCellMonAlg::HEC3NS
@ HEC3NS
Definition: LArSuperCellMonAlg.h:107
LArSuperCellMonAlg::m_MonGroupName
Gaudi::Property< std::string > m_MonGroupName
Definition: LArSuperCellMonAlg.h:63
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:209
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthMonitorAlgorithm::m_DQFilterTools
ToolHandleArray< IDQFilterTool > m_DQFilterTools
Array of Data Quality filter tools.
Definition: AthMonitorAlgorithm.h:346
CaloCell_ID_FCS::HEC1
@ HEC1
Definition: FastCaloSim_CaloCell_ID.h:28
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
CheckAppliedSFs.e3
e3
Definition: CheckAppliedSFs.py:264
LArSuperCellMonAlg::EMEC2A
@ EMEC2A
Definition: LArSuperCellMonAlg.h:103
constants.EMB2
int EMB2
Definition: Calorimeter/CaloClusterCorrection/python/constants.py:54
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
LArSuperCellMonAlg::EMB1C
@ EMB1C
Definition: LArSuperCellMonAlg.h:101
AthMonitorAlgorithm::DataType_t::heavyIonCollisions
@ heavyIonCollisions
LArSuperCellMonAlg::HEC3C
@ HEC3C
Definition: LArSuperCellMonAlg.h:102
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Definition: AthCommonDataStore.h:145
CaloCell::caloDDE
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
Definition: CaloCell.h:321
tolower
void tolower(std::string &s)
Definition: AthenaSummarySvc.cxx:108
python.CaloAddPedShiftConfig.str
str
Definition: CaloAddPedShiftConfig.py:42
AthMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const =0
adds event to the monitoring histograms
AthCommonReentrantAlgorithm::sysExecute
virtual StatusCode sysExecute(const EventContext &ctx) override
Execute an algorithm.
Definition: AthCommonReentrantAlgorithm.cxx:76
LArSuperCellMonAlg::MAXPARTITIONS
@ MAXPARTITIONS
Definition: LArSuperCellMonAlg.h:115
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156
BunchCrossingCondData::BunchCrossings
@ BunchCrossings
Distance in units of 25 nanoseconds.
Definition: BunchCrossingCondData.h:132
LArSuperCellMonAlg::EMEC2NS
@ EMEC2NS
Definition: LArSuperCellMonAlg.h:108
CaloCell::et
virtual double et() const override final
get et
Definition: CaloCell.h:423
constants.EME1
int EME1
Definition: Calorimeter/CaloClusterCorrection/python/constants.py:55
LArSuperCellMonAlg::HEC2NS
@ HEC2NS
Definition: LArSuperCellMonAlg.h:107
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
AthMonitorAlgorithm::fill
void fill(const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
Fills a vector of variables to a group by reference.
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
LArProv::SCTIMEPASS
@ SCTIMEPASS
Definition: LArProvenance.h:30
LArSuperCellMonAlg::HEC2A
@ HEC2A
Definition: LArSuperCellMonAlg.h:102
LArSuperCellMonAlg::EMB3A
@ EMB3A
Definition: LArSuperCellMonAlg.h:101
LArSuperCellMonAlg::EMB1NS
@ EMB1NS
Definition: LArSuperCellMonAlg.h:107
LArSuperCellMonAlg::EMEC1A
@ EMEC1A
Definition: LArSuperCellMonAlg.h:103
LArSuperCellMonAlg::HECC
@ HECC
Definition: LArSuperCellMonAlg.h:115
LArSuperCellMonAlg::FCAL1C
@ FCAL1C
Definition: LArSuperCellMonAlg.h:104
AthMonitorAlgorithm::m_dataType
AthMonitorAlgorithm::DataType_t m_dataType
Instance of the DataType_t enum.
Definition: AthMonitorAlgorithm.h:356
LArSuperCellMonAlg::EMECA
@ EMECA
Definition: LArSuperCellMonAlg.h:115
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
CaloCellContainer::findCell
const CaloCell * findCell(const IdentifierHash theHash) const
fast find method given identifier hash.
Definition: CaloCellContainer.cxx:345
AthMonitorAlgorithm::DataType_t::cosmics
@ cosmics
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
LArSuperCellMonAlg::HEC0C
@ HEC0C
Definition: LArSuperCellMonAlg.h:102
CaloNoise
Definition: CaloNoise.h:16
merge.output
output
Definition: merge.py:16
LArSuperCellMonAlg::EMEC2C
@ EMEC2C
Definition: LArSuperCellMonAlg.h:103
AthMonitorAlgorithm::m_tools
ToolHandleArray< GenericMonitoringTool > m_tools
Array of Generic Monitoring Tools.
Definition: AthMonitorAlgorithm.h:341
AthMonitorAlgorithm::Environment_t::online
@ online
LArSuperCellMonAlg::HEC3A
@ HEC3A
Definition: LArSuperCellMonAlg.h:102
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
LArSuperCellMonAlg::FCAL2NS
@ FCAL2NS
Definition: LArSuperCellMonAlg.h:108
CaloCell_ID_FCS::EME3
@ EME3
Definition: FastCaloSim_CaloCell_ID.h:26
LArProv::test
bool test(const uint16_t prov, const LArProvenance check)
Definition: LArProvenance.h:38
Muon::MuonStationIndex::layerName
const std::string & layerName(LayerIndex index)
convert LayerIndex into a string
Definition: MuonStationIndex.cxx:153
AthMonitorAlgorithm::Environment_t::tier0ESD
@ tier0ESD
CaloDetDescrElement::identifyHash
IdentifierHash identifyHash() const override final
cell subcalo hash same as subcalo_hash(), but kept for backward compatibility
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:424
AthMonitorAlgorithm::Environment_t::altprod
@ altprod
AthMonitorAlgorithm::m_enforceExpressTriggers
Gaudi::Property< bool > m_enforceExpressTriggers
Definition: AthMonitorAlgorithm.h:377
LArSuperCellMonAlg::FCALC
@ FCALC
Definition: LArSuperCellMonAlg.h:115
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
LArSuperCellMonAlg::FCAL1A
@ FCAL1A
Definition: LArSuperCellMonAlg.h:104
LArSuperCellMonAlg::FCAL2A
@ FCAL2A
Definition: LArSuperCellMonAlg.h:104
CaloCell_ID_FCS::HEC0
@ HEC0
Definition: FastCaloSim_CaloCell_ID.h:27
AthMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: AthMonitorAlgorithm.cxx:22
DataVector::end
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
ATH_LIKELY
#define ATH_LIKELY(x)
Definition: AthUnlikelyMacros.h:16
LArSuperCellMonAlg::EMEC3A
@ EMEC3A
Definition: LArSuperCellMonAlg.h:103
LArSuperCellMonAlg::HEC1NS
@ HEC1NS
Definition: LArSuperCellMonAlg.h:107
a
TList * a
Definition: liststreamerinfos.cxx:10
CaloLCW_tf.group
group
Definition: CaloLCW_tf.py:28
h
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
CaloDetDescrElement::getSampling
CaloCell_ID::CaloSample getSampling() const
cell sampling
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:395
LArSuperCellMonAlg::EMBPA
@ EMBPA
Definition: LArSuperCellMonAlg.h:101
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
AthMonitorAlgorithm::DataType_t::collisions
@ collisions
CaloCell_ID_FCS::PreSamplerE
@ PreSamplerE
Definition: FastCaloSim_CaloCell_ID.h:23
CaloCell_ID_FCS::PreSamplerB
@ PreSamplerB
Definition: FastCaloSim_CaloCell_ID.h:19
AthMonitorAlgorithm::m_name
std::string m_name
Definition: AthMonitorAlgorithm.h:371
LArSuperCellMonAlg::EMB2A
@ EMB2A
Definition: LArSuperCellMonAlg.h:101
LArSuperCellMonAlg::m_superCellContainerRecoKey
SG::ReadHandleKey< CaloCellContainer > m_superCellContainerRecoKey
Definition: LArSuperCellMonAlg.h:57
LArSuperCellMonAlg::EMB1A
@ EMB1A
Definition: LArSuperCellMonAlg.h:101
LArSuperCellMonAlg::m_noiseCDOKey
SG::ReadCondHandleKey< CaloNoise > m_noiseCDOKey
Definition: LArSuperCellMonAlg.h:70
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
AthMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: AthMonitorAlgorithm.cxx:8
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:629
LArSuperCellMonAlg::m_removeMasked
BooleanProperty m_removeMasked
Definition: LArSuperCellMonAlg.h:112
python.SystemOfUnits.s
float s
Definition: SystemOfUnits.py:147
LArSuperCellMonAlg::EMBC
@ EMBC
Definition: LArSuperCellMonAlg.h:115
AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthCommonReentrantAlgorithm.cxx:107
LArSuperCellMonAlg::HEC0A
@ HEC0A
Definition: LArSuperCellMonAlg.h:102
LArSuperCellMonAlg::FCAL3A
@ FCAL3A
Definition: LArSuperCellMonAlg.h:104
CaloCell_ID_FCS::FCAL2
@ FCAL2
Definition: FastCaloSim_CaloCell_ID.h:42
LArSuperCellMonAlg::EMECPA
@ EMECPA
Definition: LArSuperCellMonAlg.h:103
str
Definition: BTagTrackIpAccessor.cxx:11
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:801
LArSuperCellMonAlg::m_caloSamplingToLyrNS
const std::map< unsigned, LayerEnumNoSides > m_caloSamplingToLyrNS
Definition: LArSuperCellMonAlg.h:120
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
LArSuperCellMonAlg::EMECPNS
@ EMECPNS
Definition: LArSuperCellMonAlg.h:108
Monitored::Scalar
Declare a monitored scalar variable.
Definition: MonitoredScalar.h:34
AthMonitorAlgorithm::DataType_t::userDefined
@ userDefined
CaloCell_ID_FCS::HEC3
@ HEC3
Definition: FastCaloSim_CaloCell_ID.h:30
AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthCommonReentrantAlgorithm.h:114
LArSuperCellMonAlg::EMEC1NS
@ EMEC1NS
Definition: LArSuperCellMonAlg.h:108
SG::AllowEmpty
@ AllowEmpty
Definition: StoreGate/StoreGate/VarHandleKey.h:27
CaloCell_ID_FCS::FCAL0
@ FCAL0
Definition: FastCaloSim_CaloCell_ID.h:40
LArSuperCellMonAlg::getHistoCoordinates
void getHistoCoordinates(const CaloDetDescrElement *dde, float &celleta, float &cellphi, unsigned &iLyr, unsigned &iLyrNS) const
Definition: LArSuperCellMonAlg.cxx:337
CaloCell_ID_FCS::EMB3
@ EMB3
Definition: FastCaloSim_CaloCell_ID.h:22
LArSuperCellMonAlg::EMB2NS
@ EMB2NS
Definition: LArSuperCellMonAlg.h:107
python.compressB64.c
def c
Definition: compressB64.py:93
constants.EME2
int EME2
Definition: Calorimeter/CaloClusterCorrection/python/constants.py:56
LArSuperCellMonAlg::HEC1A
@ HEC1A
Definition: LArSuperCellMonAlg.h:102
LArSuperCellMonAlg::MAXLYRNS
@ MAXLYRNS
Definition: LArSuperCellMonAlg.h:108
AthMonitorAlgorithm::DataType_t::monteCarlo
@ monteCarlo
DataVector::begin
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
fitman.k
k
Definition: fitman.py:528
CaloDetDescrElement::phi_raw
float phi_raw() const
cell phi_raw
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:352
LArSuperCellMonAlg::createPerJobHistograms
StatusCode createPerJobHistograms(const CaloCellContainer *cellcont, const CaloNoise *noisep) const
Definition: LArSuperCellMonAlg.cxx:273
ServiceHandle< ICondSvc >
collisions
Definition: collisions.py:1
Identifier
Definition: IdentifierFieldParser.cxx:14