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

#include <EFexEMAlgorithm.h>

Inheritance diagram for LVL1::EFexEMAlgorithm:
Collaboration diagram for LVL1::EFexEMAlgorithm:

Public Member Functions

 EFexEMAlgorithm (const std::string &name, ISvcLocator *pSvcLocator)
 
virtual ~EFexEMAlgorithm ()
 
StatusCode initialize ()
 
StatusCode execute (const EventContext &ctx) const
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual bool isClonable () const override
 Specify if the algorithm is clonable. More...
 
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
 
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
virtual bool filterPassed (const EventContext &ctx) const
 
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

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

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

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

Private Attributes

ToolHandle< LVL1::EFexEMClusterToolm_eFexDefaultClusterTool {this,"DefaultClusterTool","LVL1::EFexEMClusterTool/DefaultClusterTool"}
 member variables More...
 
ToolHandle< LVL1::EFexEMEnergyWeightedClusterToolm_eFexEWClusterTool {this,"EnergyWeightedClusterTool","LVL1::EFexEMEnergyWeightedClusterTool/EnergyWeightedClusterTool"}
 
SG::ReadHandleKey< CaloCellContainerm_inputCellContainerKey
 input / output More...
 
SG::ReadHandleKey< CaloCellContainerm_inputTileCellContainerKey
 Tile cell input container. More...
 
SG::ReadHandleKey< xAOD::TriggerTowerContainerm_inputTriggerTowerContainerKey
 TriggerTowers (if needed) More...
 
SG::WriteHandleKey< xAOD::TrigEMClusterContainerm_outputClusterContainerKey
 Cell signal weights in clusters key. More...
 
bool m_use_tileCells
 properties More...
 
bool m_energyWeightedCluster
 clustering method - choose between default and energy weigthed More...
 
bool m_apply_BaseLineCuts
 applying the baseline cuts for default clustering More...
 
float m_deta
 deta for the cluster definition More...
 
float m_dphi
 dphi for the cluster definition More...
 
bool m_useProvenanceSkim
 clear up container from bad BC by making a new container (Denis, old way) More...
 
int m_qualBitMask
 Configurable quality bitmask. More...
 
float m_timeThr
 cut for time measurement More...
 
float m_seedE
 cut for seed energy in MeV More...
 
float m_deta_cellFormation
 deta for the cluster definition More...
 
float m_dphi_cellFormation
 dphi for the cluster definition More...
 
float m_deta_clusterFormation_2
 different deta for some of the shower shapes More...
 
float m_dphi_clusterFormation_2
 different dphi for some of the shower shapes More...
 
float m_clusterE_EMB2_EMEC2
 minimum cluster energy of SCs in EMB2 or EMEC2 More...
 
float m_eta_limit
 limit for eta of cluster More...
 
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Definition at line 27 of file EFexEMAlgorithm.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ EFexEMAlgorithm()

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

Definition at line 30 of file EFexEMAlgorithm.cxx.

31  : AthReentrantAlgorithm(name, pSvcLocator)
32 {
33 
34  declareProperty("InputSuperCellContainer", m_inputCellContainerKey = "SCell");
35  declareProperty("InputTileCellContainer", m_inputTileCellContainerKey = "AllCalo");
36  declareProperty("InputTriggerTowerContainer", m_inputTriggerTowerContainerKey = "xAODTriggerTowers");
37  declareProperty("OutputClusterName", m_outputClusterContainerKey = "SCluster_TrigT1CaloEFex");
38 
39  declareProperty("UseTileCells", m_use_tileCells = false, "Use Tile cells instead of TriggerTowers");
40  declareProperty("EnergyWeightedCluster", m_energyWeightedCluster = false, "Use energy-weighted clustering (needs TrigggerTowers)");
41  declareProperty("ApplyBaseLineSelection", m_apply_BaseLineCuts = true, "Apply baseline selection to default clustering");
42 
43  declareProperty("TimeThreshold", m_timeThr = 200);
44  declareProperty("SeedEnergyThreshold", m_seedE = 100);
45  declareProperty("EtaCellFormation", m_deta_cellFormation = 0.08);
46  declareProperty("PhiCellFormation", m_dphi_cellFormation = 0.21);
47  declareProperty("EtaClusterFormation", m_deta = 0.08);
48  declareProperty("PhiClusterFormation", m_dphi = 0.11);
49  declareProperty("EtaClusterFormation2", m_deta_clusterFormation_2 = 0.21);
50  declareProperty("PhiClusterFormation2", m_dphi_clusterFormation_2 = 0.21);
51  declareProperty("MinimumClusterEnergy", m_clusterE_EMB2_EMEC2 = 100);
52  declareProperty("LimitClusterEta", m_eta_limit = 2.47);
53  declareProperty("CleanCellContainerSkim", m_useProvenanceSkim = false);
54  declareProperty("QualBitMask", m_qualBitMask = 0x40);
55 }

◆ ~EFexEMAlgorithm()

LVL1::EFexEMAlgorithm::~EFexEMAlgorithm ( )
virtualdefault

Member Function Documentation

◆ cardinality()

unsigned int AthReentrantAlgorithm::cardinality ( ) const
overridevirtualinherited

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

Override this to return 0 for reentrant algorithms.

Override this to return 0 for reentrant algorithms.

Definition at line 55 of file AthReentrantAlgorithm.cxx.

56 {
57  return 0;
58 }

◆ declareGaudiProperty() [1/4]

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

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

Definition at line 170 of file AthCommonDataStore.h.

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

◆ declareGaudiProperty() [2/4]

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

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

Definition at line 156 of file AthCommonDataStore.h.

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

◆ declareGaudiProperty() [3/4]

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

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

Definition at line 184 of file AthCommonDataStore.h.

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

◆ declareGaudiProperty() [4/4]

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

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

Definition at line 199 of file AthCommonDataStore.h.

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

◆ declareProperty() [1/6]

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

Declare a new Gaudi property.

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

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

Definition at line 245 of file AthCommonDataStore.h.

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

◆ declareProperty() [2/6]

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

Declare a new Gaudi property.

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

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

Definition at line 221 of file AthCommonDataStore.h.

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

◆ declareProperty() [3/6]

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

Definition at line 259 of file AthCommonDataStore.h.

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

◆ declareProperty() [4/6]

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

Declare a new Gaudi property.

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

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

Definition at line 333 of file AthCommonDataStore.h.

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

◆ declareProperty() [5/6]

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

Declare a new Gaudi property.

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

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

Definition at line 352 of file AthCommonDataStore.h.

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

◆ declareProperty() [6/6]

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

Definition at line 145 of file AthCommonDataStore.h.

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

◆ detStore()

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

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

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ 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 LVL1::EFexEMAlgorithm::execute ( const EventContext &  ctx) const

Definition at line 76 of file EFexEMAlgorithm.cxx.

77 {
78  // supercells are used by both methods
79  auto scellsHandle = SG::makeHandle(m_inputCellContainerKey, ctx);
80  if (!scellsHandle.isValid())
81  {
82  ATH_MSG_ERROR("Failed to retrieve " << m_inputCellContainerKey.key());
83  return StatusCode::FAILURE;
84  }
87  {
88  for (const CaloCell *scell : *scellsHandle)
89  if (scell->provenance() & m_qualBitMask)
90  scells.push_back(scell);
91  }
92  else
93  scells.assign(scellsHandle->begin(), scellsHandle->end());
94 
95  auto clusters = std::make_unique<xAOD::TrigEMClusterContainer>();
96  auto auxClusters = std::make_unique<xAOD::TrigEMClusterAuxContainer>();
97  clusters->setStore(auxClusters.get());
98  // standard cluster formation
100  {
102  const xAOD::TriggerTowerContainer *TTs{nullptr};
103  const CaloIdManager *caloMgr{nullptr};
104  ATH_CHECK(detStore()->retrieve(caloMgr));
105  const TileID *tileIDHelper{nullptr};
106  const CaloCell_SuperCell_ID *idHelper = caloMgr->getCaloCell_SuperCell_ID();
107  if (m_use_tileCells)
108  {
109  auto tileCellHandle = SG::makeHandle(m_inputTileCellContainerKey, ctx);
110  if (!tileCellHandle.isValid())
111  {
112  ATH_MSG_ERROR("Failed to retrieve " << m_inputTileCellContainerKey.key());
113  return StatusCode::FAILURE;
114  }
115  tileCellCont.assign(tileCellHandle->begin(), tileCellHandle->end());
116  tileIDHelper = caloMgr->getTileID();
117  }
118  else
119  {
120  auto triggerTowerHandle = SG::makeHandle(m_inputTriggerTowerContainerKey, ctx);
121  if (!triggerTowerHandle.isValid())
122  {
123  ATH_MSG_ERROR("Failed to retrieve " << m_inputTriggerTowerContainerKey.key());
124  return StatusCode::FAILURE;
125  }
126  TTs = triggerTowerHandle.cptr();
127  }
128 
129  std::vector<LVL1::EFexEMClusterTool::AlgResult> algResults = m_eFexDefaultClusterTool->clusterAlg(m_apply_BaseLineCuts, &scells, TTs, idHelper, tileIDHelper, &tileCellCont);
130  for (const auto &algCl : algResults)
131  {
132  auto cl = new xAOD::TrigEMCluster();
133  clusters->push_back(cl);
134  cl->setEta(algCl.eta);
135  cl->setPhi(algCl.phi);
136  cl->setEt(algCl.clusterET);
137  cl->setWstot(algCl.l1Width);
138  if (algCl.hadET > -999)
139  {
140  cl->setEhad1(algCl.hadET);
141  }
142  cl->setE233(algCl.l2ClusterET33);
143  cl->setE237(algCl.l2ClusterET37);
144  decRun3REta(*cl) = algCl.rEta;
145  decRun3RHad(*cl) = algCl.rHad;
146  decRun3REtaL12(*cl) = algCl.rEtaL12;
147  decPassRun3ClusterEnergy(*cl) = algCl.passClusterEnergy;
148  decPassRun3REta(*cl) = algCl.passREta;
149  decPassRun3RHad(*cl) = algCl.passRHad;
150  decPassRun3wstot(*cl) = algCl.passWstot;
151  }
152  }
153  // energy weighted cluster formation
154  else
155  {
157  // Note that there are several additional differences
158  // on top of the different cluster formation:
159  // -- Method requires TT, if m_use_tileCells = false do not use
160  // energy weighted cluster formation
161  // -- The energy of the cluster is not given as multiples
162  // of the digitization scale (25 MeV)
163  // -- The cluster sizes differ per default (but can be adjusted)
164  // -- The definition of the lateral isolation wstot differs
165  // -- The isolation variables REta, RHad are not defined
167 
168  const xAOD::TriggerTowerContainer *TTs{nullptr};
169  if (!m_use_tileCells)
170  {
171  auto ttHandle = SG::makeHandle(m_inputTriggerTowerContainerKey, ctx);
172  if (!ttHandle.isValid())
173  {
174  ATH_MSG_ERROR("Failed to retrieve " << m_inputTriggerTowerContainerKey.key());
175  return StatusCode::FAILURE;
176  }
177  TTs = ttHandle.cptr();
178  }
179 
180  std::vector<const CaloCell *> cellsAround;
181  std::vector<const CaloCell *> cellsAboveThr;
182  cellsAround.reserve(200);
183  cellsAboveThr.reserve(200);
184 
185  // Check cells which are above a user defined threshold (default: 100MeV) in EMB2 or EMEC2
186  m_eFexEWClusterTool->findCellsAbove_EMB2_EMEC2(&scells, m_seedE, cellsAboveThr);
187  // Loop over possible seed cells
188  for (auto cellAbove : cellsAboveThr)
189  {
190  // Builds a vector with all the cells around the seed cell with the default size (deta,dphi)=(0.08,0.21)
191  m_eFexEWClusterTool->findCellsAround(&scells, cellAbove, cellsAround, m_deta_cellFormation, m_dphi_cellFormation);
192 
193  // Find cluster center (eta/phiCluster) based on the energy weighted scell position
194  float etaCluster{0}, phiCluster{0};
195  m_eFexEWClusterTool->findCluster(cellsAround, etaCluster, phiCluster);
196  if (std::abs(etaCluster) > 998.0)
197  {
198  continue;
199  }
200 
201  // Smaller cluster (closer to egamma standard)
202  m_eFexEWClusterTool->findCellsAround(&scells, etaCluster, phiCluster, cellsAround, m_deta, m_dphi);
203  // SElectron eta should be within the kinematic acceptance, default: Run 2 recommendations
204  if (std::abs(etaCluster) >= m_eta_limit)
205  {
206  continue;
207  }
208 
209  if (!m_eFexEWClusterTool->isCellEmMaximum(cellsAround, cellAbove))
210  continue;
211  float clusterTime = 0;
212  float clusterTimeWeight = 0;
213  for (auto cellAround : cellsAround)
214  {
215  if (cellAround->et() < m_timeThr)
216  continue;
217  clusterTime += cellAround->time() * cellAround->et();
218  clusterTimeWeight += cellAround->et();
219  }
220  if (std::abs(clusterTimeWeight) > 0.1)
221  {
222  clusterTime /= clusterTimeWeight;
223  }
224  else
225  {
226  clusterTime = -999.99;
227  }
228  ATH_MSG_DEBUG("CELL versus CLUSTER : " << cellAbove->eta() << " " << cellAbove->phi() << " " << etaCluster << " " << phiCluster << " " << cellAbove->eta() - etaCluster << " " << cellAbove->phi() - phiCluster);
229 
230  // Other cluster sizes for some of the shower shapes
231  std::vector<const CaloCell *> cellsAround2;
232  m_eFexEWClusterTool->findCellsAround(&scells, (float)etaCluster, (float)phiCluster, cellsAround2, m_deta_clusterFormation_2, m_dphi_clusterFormation_2);
233 
234  // Include TT (for Tile region only)
235  std::vector<const xAOD::TriggerTower *> TTsAround;
236  m_eFexEWClusterTool->findTTsAround(TTs, etaCluster, phiCluster, TTsAround);
237 
238  float et = m_eFexEWClusterTool->sumEmCells(cellsAround) / TMath::CosH(cellAbove->eta());
239  float clusterEmEnergy32 = m_eFexEWClusterTool->sumEmCells2nd(cellsAround2);
240  if (clusterEmEnergy32 < m_clusterE_EMB2_EMEC2)
241  {
242  continue;
243  }
244 
245  float clusterEmEnergy72 = m_eFexEWClusterTool->sumEmCells2nd(cellsAround);
246  float clusterHadEnergy = m_eFexEWClusterTool->sumHadCells(cellsAround) + m_eFexEWClusterTool->sumHadTTs(TTsAround);
247 
248  // build the cluster
250  clusters->push_back(cl);
251  for (unsigned int i = 0; i < (unsigned int)CaloSampling::CaloSample::Unknown; i++)
252  {
253  cl->setEnergy((CaloSampling::CaloSample)i, 0.0);
254  }
255  cl->setEnergy(et * TMath::CosH(cellAbove->eta()));
256  cl->setEt(et);
257  cl->setEta(cellAbove->eta());
258  cl->setPhi(cellAbove->phi());
259  cl->setE237(clusterEmEnergy32);
260  cl->setE277(clusterEmEnergy72);
261  cl->setEhad1(clusterHadEnergy);
262  cl->setE233(clusterTime);
263  float wstot = 0.;
264  float wstot_nor = 0.;
265  for (auto cellAround : cellsAround)
266  {
267  unsigned int layer = cellAround->caloDDE()->getSampling();
268  cl->setEnergy((CaloSampling::CaloSample)layer, cl->energy((CaloSampling::CaloSample)layer) + cellAround->energy());
269  if ((layer == 1) || (layer == 5))
270  {
271  if (cellAround->et() < 10)
272  continue;
273  wstot += (cellAround->et() * pow(cellAround->eta() - etaCluster, 2));
274  wstot_nor += (cellAround->et());
275  }
276  }
277  if (std::abs(wstot_nor) > 0.01)
278  wstot = std::sqrt(wstot / wstot_nor);
279  cl->setWstot(wstot);
280  }
281  }
282 
284  ATH_CHECK(writeHandle.record(std::move(clusters), std::move(auxClusters)));
285 
286  return StatusCode::SUCCESS;
287 }

◆ extraDeps_update_handler()

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

Add StoreName to extra input/output deps as needed.

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

◆ extraOutputDeps()

const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

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

Definition at line 79 of file AthReentrantAlgorithm.cxx.

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

◆ filterPassed()

virtual bool AthReentrantAlgorithm::filterPassed ( const EventContext &  ctx) const
inlinevirtualinherited

Definition at line 135 of file AthReentrantAlgorithm.h.

135  {
136  return execState( ctx ).filterPassed();
137  }

◆ initialize()

StatusCode LVL1::EFexEMAlgorithm::initialize ( )

Definition at line 60 of file EFexEMAlgorithm.cxx.

◆ inputHandles()

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

Return this algorithm's input handles.

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

◆ isClonable()

bool AthReentrantAlgorithm::isClonable ( ) const
overridevirtualinherited

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 27 of file AthCommonMsg.h.

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

◆ msgLvl()

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

Definition at line 30 of file AthCommonMsg.h.

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

◆ outputHandles()

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

Return this algorithm's output handles.

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

◆ renounce()

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

Definition at line 380 of file AthCommonDataStore.h.

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

◆ renounceArray()

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

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ setFilterPassed()

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

Definition at line 139 of file AthReentrantAlgorithm.h.

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

◆ sysExecute()

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

Execute an algorithm.

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

Definition at line 67 of file AthReentrantAlgorithm.cxx.

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

◆ sysInitialize()

StatusCode AthReentrantAlgorithm::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

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

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

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

Reimplemented in InputMakerBase, and HypoBase.

Definition at line 96 of file AthReentrantAlgorithm.cxx.

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

◆ sysStart()

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

Handle START transition.

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

◆ 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

◆ m_apply_BaseLineCuts

bool LVL1::EFexEMAlgorithm::m_apply_BaseLineCuts
private

applying the baseline cuts for default clustering

Definition at line 56 of file EFexEMAlgorithm.h.

◆ m_clusterE_EMB2_EMEC2

float LVL1::EFexEMAlgorithm::m_clusterE_EMB2_EMEC2
private

minimum cluster energy of SCs in EMB2 or EMEC2

Definition at line 68 of file EFexEMAlgorithm.h.

◆ m_deta

float LVL1::EFexEMAlgorithm::m_deta
private

deta for the cluster definition

Definition at line 57 of file EFexEMAlgorithm.h.

◆ m_deta_cellFormation

float LVL1::EFexEMAlgorithm::m_deta_cellFormation
private

deta for the cluster definition

Definition at line 64 of file EFexEMAlgorithm.h.

◆ m_deta_clusterFormation_2

float LVL1::EFexEMAlgorithm::m_deta_clusterFormation_2
private

different deta for some of the shower shapes

Definition at line 66 of file EFexEMAlgorithm.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_dphi

float LVL1::EFexEMAlgorithm::m_dphi
private

dphi for the cluster definition

Definition at line 58 of file EFexEMAlgorithm.h.

◆ m_dphi_cellFormation

float LVL1::EFexEMAlgorithm::m_dphi_cellFormation
private

dphi for the cluster definition

Definition at line 65 of file EFexEMAlgorithm.h.

◆ m_dphi_clusterFormation_2

float LVL1::EFexEMAlgorithm::m_dphi_clusterFormation_2
private

different dphi for some of the shower shapes

Definition at line 67 of file EFexEMAlgorithm.h.

◆ m_eFexDefaultClusterTool

ToolHandle<LVL1::EFexEMClusterTool> LVL1::EFexEMAlgorithm::m_eFexDefaultClusterTool {this,"DefaultClusterTool","LVL1::EFexEMClusterTool/DefaultClusterTool"}
private

member variables

Definition at line 39 of file EFexEMAlgorithm.h.

◆ m_eFexEWClusterTool

ToolHandle<LVL1::EFexEMEnergyWeightedClusterTool> LVL1::EFexEMAlgorithm::m_eFexEWClusterTool {this,"EnergyWeightedClusterTool","LVL1::EFexEMEnergyWeightedClusterTool/EnergyWeightedClusterTool"}
private

Definition at line 40 of file EFexEMAlgorithm.h.

◆ m_energyWeightedCluster

bool LVL1::EFexEMAlgorithm::m_energyWeightedCluster
private

clustering method - choose between default and energy weigthed

Definition at line 55 of file EFexEMAlgorithm.h.

◆ m_eta_limit

float LVL1::EFexEMAlgorithm::m_eta_limit
private

limit for eta of cluster

Definition at line 69 of file EFexEMAlgorithm.h.

◆ m_evtStore

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

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects
privateinherited

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

Empty if no symlinks were found.

Definition at line 153 of file AthReentrantAlgorithm.h.

◆ m_inputCellContainerKey

SG::ReadHandleKey<CaloCellContainer> LVL1::EFexEMAlgorithm::m_inputCellContainerKey
private

input / output

LAr SuperCell input container

Definition at line 45 of file EFexEMAlgorithm.h.

◆ m_inputTileCellContainerKey

SG::ReadHandleKey<CaloCellContainer> LVL1::EFexEMAlgorithm::m_inputTileCellContainerKey
private

Tile cell input container.

Definition at line 46 of file EFexEMAlgorithm.h.

◆ m_inputTriggerTowerContainerKey

SG::ReadHandleKey<xAOD::TriggerTowerContainer> LVL1::EFexEMAlgorithm::m_inputTriggerTowerContainerKey
private

TriggerTowers (if needed)

Definition at line 47 of file EFexEMAlgorithm.h.

◆ m_outputClusterContainerKey

SG::WriteHandleKey<xAOD::TrigEMClusterContainer> LVL1::EFexEMAlgorithm::m_outputClusterContainerKey
private

Cell signal weights in clusters key.

Definition at line 49 of file EFexEMAlgorithm.h.

◆ m_qualBitMask

int LVL1::EFexEMAlgorithm::m_qualBitMask
private

Configurable quality bitmask.

Definition at line 60 of file EFexEMAlgorithm.h.

◆ m_seedE

float LVL1::EFexEMAlgorithm::m_seedE
private

cut for seed energy in MeV

Definition at line 63 of file EFexEMAlgorithm.h.

◆ m_timeThr

float LVL1::EFexEMAlgorithm::m_timeThr
private

cut for time measurement

Definition at line 62 of file EFexEMAlgorithm.h.

◆ m_use_tileCells

bool LVL1::EFexEMAlgorithm::m_use_tileCells
private

properties

boolean for using Tile cells instead of Tile TT

Definition at line 54 of file EFexEMAlgorithm.h.

◆ m_useProvenanceSkim

bool LVL1::EFexEMAlgorithm::m_useProvenanceSkim
private

clear up container from bad BC by making a new container (Denis, old way)

Definition at line 59 of file EFexEMAlgorithm.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.


The documentation for this class was generated from the following files:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
GetLCDefs::Unknown
@ Unknown
Definition: GetLCDefs.h:21
et
Extra patterns decribing particle interation process.
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
SG::VIEW_ELEMENTS
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Definition: OwnershipPolicy.h:18
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
LVL1::EFexEMAlgorithm::m_eFexDefaultClusterTool
ToolHandle< LVL1::EFexEMClusterTool > m_eFexDefaultClusterTool
member variables
Definition: EFexEMAlgorithm.h:39
LVL1::EFexEMAlgorithm::m_outputClusterContainerKey
SG::WriteHandleKey< xAOD::TrigEMClusterContainer > m_outputClusterContainerKey
Cell signal weights in clusters key.
Definition: EFexEMAlgorithm.h:49
LVL1::EFexEMAlgorithm::m_dphi_clusterFormation_2
float m_dphi_clusterFormation_2
different dphi for some of the shower shapes
Definition: EFexEMAlgorithm.h:67
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
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
xAOD::wstot
setEt setPhi setE277 setWeta2 setEta1 setE2tsts1 wstot
Definition: TrigEMCluster_v1.cxx:49
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
LVL1::EFexEMAlgorithm::m_inputCellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_inputCellContainerKey
input / output
Definition: EFexEMAlgorithm.h:45
LVL1::EFexEMAlgorithm::m_energyWeightedCluster
bool m_energyWeightedCluster
clustering method - choose between default and energy weigthed
Definition: EFexEMAlgorithm.h:55
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
LVL1::EFexEMAlgorithm::m_inputTriggerTowerContainerKey
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_inputTriggerTowerContainerKey
TriggerTowers (if needed)
Definition: EFexEMAlgorithm.h:47
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
SG::makeHandle
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
Definition: ReadCondHandle.h:270
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
LVL1::EFexEMAlgorithm::m_deta
float m_deta
deta for the cluster definition
Definition: EFexEMAlgorithm.h:57
CaloIdManager
This class initializes the Calo (LAr and Tile) offline identifiers.
Definition: CaloIdManager.h:45
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
CaloCell_SuperCell_ID
Helper class for offline supercell identifiers.
Definition: CaloCell_SuperCell_ID.h:48
lumiFormat.i
int i
Definition: lumiFormat.py:85
LVL1::EFexEMAlgorithm::m_deta_cellFormation
float m_deta_cellFormation
deta for the cluster definition
Definition: EFexEMAlgorithm.h:64
LVL1::EFexEMAlgorithm::m_clusterE_EMB2_EMEC2
float m_clusterE_EMB2_EMEC2
minimum cluster energy of SCs in EMB2 or EMEC2
Definition: EFexEMAlgorithm.h:68
CaloSampling::CaloSample
CaloSample
Definition: Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h:22
TileID
Helper class for TileCal offline identifiers.
Definition: TileID.h:68
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
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
LVL1::EFexEMAlgorithm::m_seedE
float m_seedE
cut for seed energy in MeV
Definition: EFexEMAlgorithm.h:63
xAOD::TrigEMCluster
TrigEMCluster_v1 TrigEMCluster
Define the latest version of the trigger EM cluster class.
Definition: Event/xAOD/xAODTrigCalo/xAODTrigCalo/TrigEMCluster.h:17
LVL1::EFexEMAlgorithm::m_qualBitMask
int m_qualBitMask
Configurable quality bitmask.
Definition: EFexEMAlgorithm.h:60
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
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
LVL1::EFexEMAlgorithm::m_timeThr
float m_timeThr
cut for time measurement
Definition: EFexEMAlgorithm.h:62
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
LVL1::EFexEMAlgorithm::m_deta_clusterFormation_2
float m_deta_clusterFormation_2
different deta for some of the shower shapes
Definition: EFexEMAlgorithm.h:66
AthReentrantAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthReentrantAlgorithm.h:153
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
LVL1::EFexEMAlgorithm::m_use_tileCells
bool m_use_tileCells
properties
Definition: EFexEMAlgorithm.h:54
LVL1::EFexEMAlgorithm::m_dphi_cellFormation
float m_dphi_cellFormation
dphi for the cluster definition
Definition: EFexEMAlgorithm.h:65
LVL1::EFexEMAlgorithm::m_apply_BaseLineCuts
bool m_apply_BaseLineCuts
applying the baseline cuts for default clustering
Definition: EFexEMAlgorithm.h:56
SG::WriteHandle
Definition: StoreGate/StoreGate/WriteHandle.h:76
a
TList * a
Definition: liststreamerinfos.cxx:10
h
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
CaloConstCellContainer
CaloCellContainer that can accept const cell pointers.
Definition: CaloConstCellContainer.h:45
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
LVL1::EFexEMAlgorithm::m_useProvenanceSkim
bool m_useProvenanceSkim
clear up container from bad BC by making a new container (Denis, old way)
Definition: EFexEMAlgorithm.h:59
LVL1::EFexEMAlgorithm::m_inputTileCellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_inputTileCellContainerKey
Tile cell input container.
Definition: EFexEMAlgorithm.h:46
RunTileMonitoring.clusters
clusters
Definition: RunTileMonitoring.py:133
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
LVL1::EFexEMAlgorithm::m_dphi
float m_dphi
dphi for the cluster definition
Definition: EFexEMAlgorithm.h:58
LVL1::EFexEMAlgorithm::m_eFexEWClusterTool
ToolHandle< LVL1::EFexEMEnergyWeightedClusterTool > m_eFexEWClusterTool
Definition: EFexEMAlgorithm.h:40
xAOD::TrigEMCluster_v1
Description of a trigger EM cluster.
Definition: TrigEMCluster_v1.h:28
pow
constexpr int pow(int base, int exp) noexcept
Definition: ap_fixedTest.cxx:15
dq_make_web_display.cl
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
Definition: dq_make_web_display.py:26
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
LVL1::EFexEMAlgorithm::m_eta_limit
float m_eta_limit
limit for eta of cluster
Definition: EFexEMAlgorithm.h:69
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >