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

#include <TrigCaloClusterMaker.h>

Inheritance diagram for TrigCaloClusterMaker:
Collaboration diagram for TrigCaloClusterMaker:

Public Member Functions

 TrigCaloClusterMaker (const std::string &name, ISvcLocator *pSvcLocator)
 
virtual StatusCode initialize () override
 
virtual StatusCode execute (const EventContext &ctx) const override
 
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

ToolHandleArray< CaloClusterCollectionProcessorm_clusterMakers { this, "ClusterMakerTools", {}, "" }
 
ToolHandleArray< CaloClusterProcessorm_clusterCorrections { this, "ClusterCorrectionTools", {}, "" }
 
std::string m_clustersOutputName
 
SG::ReadHandleKey< CaloCellContainerm_inputCellsKey
 
SG::WriteHandleKey< xAOD::CaloClusterContainerm_outputClustersKey
 
SG::WriteHandleKey< CaloClusterCellLinkContainerm_clusterCellLinkOutput
 
ToolHandle< GenericMonitoringToolm_monTool { this, "MonTool", "", "Monitoring tool" }
 
Gaudi::Property< SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > > m_mDecor_ncells
 
SG::ReadCondHandleKey< CaloNoisem_noiseCDOKey {this,"CaloNoiseKey","totalNoise","SG Key of CaloNoise data object"}
 
Gaudi::Property< bool > m_monCells { this, "MonCells", false, "Do I monitor the cells I receive" }
 
Gaudi::Property< float > m_1thr { this, "Thr1", 2, "First Threshold to pass" }
 
Gaudi::Property< float > m_2thr { this, "Thr2", 4, "Second Threshold to pass" }
 
SG::ReadDecorHandleKey< xAOD::EventInfom_avgMuKey { this, "averageInteractionsPerCrossingKey", "EventInfo.averageInteractionsPerCrossing", "Decoration for Average Interaction Per Crossing" }
 
bool m_isSW {false}
 
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 32 of file TrigCaloClusterMaker.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

◆ TrigCaloClusterMaker()

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

Definition at line 40 of file TrigCaloClusterMaker.cxx.

41  : AthReentrantAlgorithm(name, pSvcLocator)
42 {
43 }

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 TrigCaloClusterMaker::execute ( const EventContext &  ctx) const
overridevirtual

Definition at line 104 of file TrigCaloClusterMaker.cxx.

105 {
106  // Monitoring initialization...
107  auto time_tot = Monitored::Timer("TIME_execute");
108  auto time_clusMaker = Monitored::Timer("TIME_ClustMaker");
109  auto time_clusCorr = Monitored::Timer("TIME_ClustCorr");
110 
111  // Start timer
112  time_tot.start();
113 
114  ATH_MSG_DEBUG("in TrigCaloClusterMaker::execute()" );
115  bool shouldMon = ((ctx.eventID().event_number() % 20)==0);
116 
117  // We now take care of the Cluster Making...
118  auto clusterContainer = SG::makeHandle (m_outputClustersKey, ctx);
119  ATH_MSG_VERBOSE(" Output Clusters : " << clusterContainer.name());
120  ATH_CHECK( clusterContainer.record (std::make_unique<xAOD::CaloClusterContainer>(), std::make_unique<xAOD::CaloClusterTrigAuxContainer> () ));
121 
122  xAOD::CaloClusterContainer* pCaloClusterContainer = clusterContainer.ptr();
123  ATH_MSG_VERBOSE(" created ClusterContainer at 0x" << std::hex << pCaloClusterContainer<< std::dec);
124 
125 
126  // monitored variables
127  auto mon_clusEt = Monitored::Collection("Et", *pCaloClusterContainer, &xAOD::CaloCluster::et );
128  auto mon_clusSignalState = Monitored::Collection("signalState", *pCaloClusterContainer, &xAOD::CaloCluster::signalState );
129  auto mon_clusSize = Monitored::Collection("clusterSize", *pCaloClusterContainer, &xAOD::CaloCluster::clusterSize );
130  std::vector<double> clus_phi;
131  std::vector<double> clus_eta;
132  std::vector<double> N_BAD_CELLS;
133  std::vector<double> ENG_FRAC_MAX;
134  std::vector<unsigned int> sizeVec;
135  clus_phi.reserve(300); clus_eta.reserve(300);
136  N_BAD_CELLS.reserve(300); ENG_FRAC_MAX.reserve(300);
137  sizeVec.reserve(300);
138  auto mon_clusPhi = Monitored::Collection("Phi", clus_phi); // phi and eta are virtual methods of CaloCluster
139  auto mon_clusEta = Monitored::Collection("Eta", clus_eta);
140  auto mon_badCells = Monitored::Collection("N_BAD_CELLS",N_BAD_CELLS );
141  auto mon_engFrac = Monitored::Collection("ENG_FRAC_MAX",N_BAD_CELLS );
142  auto mon_size = Monitored::Collection("size",sizeVec );
143  auto monmu = Monitored::Scalar("mu",-999.0);
144  auto mon_container_size = Monitored::Scalar("container_size", 0.);
145 
146 
147  // Looping over cluster maker tools...
148 
149  time_clusMaker.start();
150 
151  auto cells = SG::makeHandle(m_inputCellsKey, ctx);
152  ATH_MSG_VERBOSE(" Input Cells : " << cells.name() <<" of size " <<cells->size() );
153 
154  float mu(0.0);
156  if(eventInfoDecor.isPresent()) {
157  mu = eventInfoDecor(0);
158  }
159  unsigned int count_1thrsigma(0), count_2thrsigma(0);
160  if (m_monCells && shouldMon) {
162  const CaloNoise *noisep = *noiseHdl;
163  for (const auto cell : *cells ) {
164  float energy = cell->energy();
165  if ( energy <= 0.0 ) continue;
166  const CaloDetDescrElement* cdde = cell->caloDDE();
167  if (cdde->is_tile() ) continue;
168  float thr=noisep->getNoise(cdde->identifyHash(), cell->gain());
169  if ( energy <= thr ) continue;
170  if ( energy > m_1thr*thr ){
171  count_1thrsigma++;
172  if ( energy > m_2thr*thr )count_2thrsigma++;
173  } // if 1th
174  } // end of for over cells
175  } // end of if m_monCells
176 
177 
178 
179  for (const ToolHandle<CaloClusterCollectionProcessor>& clproc : m_clusterMakers) {
180 
181  ATH_CHECK(clproc->execute(ctx, pCaloClusterContainer));
182  ATH_MSG_VERBOSE("Executed tool " << clproc->name() );
183 
184  }
185  time_clusMaker.stop();
186 
187  ATH_MSG_VERBOSE("......pCaloClusterContainer size: " << pCaloClusterContainer->size());
188  //save raw state (uncalibrated)
189  for (xAOD::CaloCluster* cl : *pCaloClusterContainer)
190  {
191 #ifndef NDEBUG
192  ATH_MSG_VERBOSE("found cluster with state "
193  << cl->signalState() << ", calE: " << cl->calE() << ", calEta: " << cl->calEta() << ", calPhi: " << cl->calPhi() << " calM: " <<cl->calM());
194  ATH_MSG_VERBOSE(" Cluster Et = " << cl->et() );
195  ATH_MSG_VERBOSE(" Cluster eta = " << cl->eta() );
196  ATH_MSG_VERBOSE(" Cluster phi = " << cl->phi() );
197 #endif
198  cl->setRawE(cl->calE());
199  cl->setRawEta(cl->calEta());
200  cl->setRawPhi(cl->calPhi());
201  cl->setRawM(cl->calM());
202 #ifndef NDEBUG
203  ATH_MSG_VERBOSE(" before correction=>Cluster Et = " << cl->et() );
204  ATH_MSG_VERBOSE(" before correction=>Cluster eta = " << cl->eta() );
205  ATH_MSG_VERBOSE(" before correction=>Cluster phi = " << cl->phi() );
206 #endif
207  }
208 
209 
210 
211  // Looping over cluster correction tools...
212 
213  time_clusCorr.start();
214 
215  for (const ToolHandle<CaloClusterProcessor>& clcorr : m_clusterCorrections) {
216 
217  for (xAOD::CaloCluster* cl : *pCaloClusterContainer) {
218  if (!m_isSW ||
219  (std::abs(cl->eta0()) < 1.45 && clcorr->name().find("37") != std::string::npos) ||
220  (std::abs(cl->eta0()) >= 1.45 && clcorr->name().find("55") != std::string::npos) ) {
221  ATH_CHECK(clcorr->execute(ctx, cl) );
222  }
223  }
224  }
225  time_clusCorr.stop();
226 
227  // Decorator handle
229 
230  // fill monitored variables
231  for (xAOD::CaloCluster* cl : *pCaloClusterContainer) {
232 
233  const CaloClusterCellLink* num_cell_links = cl->getCellLinks();
234  if(! num_cell_links) {
235  sizeVec.push_back(0);
236  mDecor_ncells(*cl) = 0;
237  } else {
238  sizeVec.push_back(num_cell_links->size());
239  mDecor_ncells(*cl) = num_cell_links->size();
240  }
241  clus_phi.push_back(cl->phi());
242  clus_eta.push_back(cl->eta());
243  N_BAD_CELLS.push_back(cl->getMomentValue(xAOD::CaloCluster::N_BAD_CELLS));
244  ENG_FRAC_MAX.push_back(cl->getMomentValue(xAOD::CaloCluster::ENG_FRAC_MAX));
245  }
246 
247  // Finalize the clusters so cells are available in later steps
249  ATH_CHECK(CaloClusterStoreHelper::finalizeClusters (cellLinks, pCaloClusterContainer));
250 
251  ATH_MSG_DEBUG(" REGTEST: Produced a Cluster Container of Size= " << pCaloClusterContainer->size() );
252  if(!pCaloClusterContainer->empty()) {
253  ATH_MSG_DEBUG(" REGTEST: Last Cluster Et = " << (pCaloClusterContainer->back())->et() );
254  ATH_MSG_DEBUG(" REGTEST: Last Cluster eta = " << (pCaloClusterContainer->back())->eta() );
255  ATH_MSG_DEBUG(" REGTEST: Last Cluster phi = " << (pCaloClusterContainer->back())->phi() );
256  mon_container_size = pCaloClusterContainer->size(); // fill monitored variable
257  }
258  monmu=mu;
259  if ( shouldMon ){
260  auto moncount_1thrsigma = Monitored::Scalar("count_1thrsigma",-999.0);
261  auto moncount_2thrsigma = Monitored::Scalar("count_2thrsigma",-999.0);
262  auto mon_container_size_by_mu = Monitored::Scalar("container_size_by_mu", 0.);
263  auto moncount_1thrsigma_by_mu2 = Monitored::Scalar("count_1thrsigma_by_mu2",-999.0);
264  auto moncount_2thrsigma_by_mu2 = Monitored::Scalar("count_2thrsigma_by_mu2",-999.0);
265  moncount_1thrsigma = count_1thrsigma;
266  moncount_2thrsigma = count_2thrsigma;
267  if ( mu > 5 ){
268  mon_container_size_by_mu = pCaloClusterContainer->size()/mu; // fill monitored variable
269  float onemu2 = 1.0/(mu*mu);
270  moncount_1thrsigma_by_mu2 = count_1thrsigma*onemu2;
271  moncount_2thrsigma_by_mu2 = count_2thrsigma*onemu2;
272  }
273  auto monitorIt = Monitored::Group( m_monTool, time_tot, time_clusMaker, time_clusCorr, mon_container_size, mon_clusEt,
274  mon_clusPhi, mon_clusEta, mon_clusSignalState, mon_clusSize,
275  mon_badCells, mon_engFrac, mon_size, monmu, moncount_1thrsigma, moncount_2thrsigma, mon_container_size_by_mu, moncount_1thrsigma_by_mu2, moncount_2thrsigma_by_mu2);
276  }else{
277  auto monitorIt = Monitored::Group( m_monTool, time_tot, time_clusMaker, time_clusCorr, mon_container_size, mon_clusEt,
278  mon_clusPhi, mon_clusEta, mon_clusSignalState, mon_clusSize,
279  mon_badCells, mon_engFrac, mon_size, monmu );
280  }
281 
282  // Stop timer
283  time_tot.stop();
284 
285  return StatusCode::SUCCESS;
286 }

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

Definition at line 53 of file TrigCaloClusterMaker.cxx.

54 {
55  ATH_MSG_DEBUG("in TrigCaloClusterMaker::initialize()" );
56 
57  if (!m_monTool.empty()) {
58  ATH_MSG_DEBUG("Retrieving monTool");
59  CHECK(m_monTool.retrieve());
60  } else {
61  ATH_MSG_INFO("No monTool configured => NO MONITOING");
62  }
63 
65  ATH_CHECK( m_mDecor_ncells.initialize());
66 
67  ATH_CHECK( m_clusterMakers.retrieve() );
68  ATH_CHECK( m_clusterCorrections.retrieve() );
69 
73  ATH_CHECK( m_avgMuKey.initialize() );
75 
76  for (ToolHandle<CaloClusterCollectionProcessor>& clproc : m_clusterMakers) {
77  // Set the CellsName property on the input tool (why isn't this done in
78  // python?)
79  AlgTool* algtool = dynamic_cast<AlgTool*> (clproc.get());
80  if (clproc->name().find("CaloTopoClusterMaker") != std::string::npos) {
81  if (!algtool) {
82  ATH_MSG_ERROR("Could not cast " << clproc->name() << " to an AlgTool!");
83  return StatusCode::FAILURE;
84  }
85  ATH_CHECK(algtool->setProperty(StringProperty("CellsName", m_inputCellsKey.key())));
86  }
87  if (clproc->name().find("trigslw") != std::string::npos)
88  m_isSW = true;
89  }
90 
91  for (ToolHandle<CaloClusterProcessor>& clcorr : m_clusterCorrections) {
92  ISetCaloCellContainerName* setter =
93  dynamic_cast<ISetCaloCellContainerName*> (clcorr.get());
94  if (setter)
96  }
97 
98  ATH_MSG_DEBUG("Initialization of TrigCaloClusterMaker completed successfully");
99 
100  return StatusCode::SUCCESS;
101 }

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

Gaudi::Property<float> TrigCaloClusterMaker::m_1thr { this, "Thr1", 2, "First Threshold to pass" }
private

Definition at line 90 of file TrigCaloClusterMaker.h.

◆ m_2thr

Gaudi::Property<float> TrigCaloClusterMaker::m_2thr { this, "Thr2", 4, "Second Threshold to pass" }
private

Definition at line 91 of file TrigCaloClusterMaker.h.

◆ m_avgMuKey

SG::ReadDecorHandleKey<xAOD::EventInfo> TrigCaloClusterMaker::m_avgMuKey { this, "averageInteractionsPerCrossingKey", "EventInfo.averageInteractionsPerCrossing", "Decoration for Average Interaction Per Crossing" }
private

Definition at line 93 of file TrigCaloClusterMaker.h.

◆ m_clusterCellLinkOutput

SG::WriteHandleKey<CaloClusterCellLinkContainer> TrigCaloClusterMaker::m_clusterCellLinkOutput
private
Initial value:
{ this,
"CellLinks",
"celllinks",
"Output cell links"}

Definition at line 73 of file TrigCaloClusterMaker.h.

◆ m_clusterCorrections

ToolHandleArray<CaloClusterProcessor> TrigCaloClusterMaker::m_clusterCorrections { this, "ClusterCorrectionTools", {}, "" }
private

Definition at line 55 of file TrigCaloClusterMaker.h.

◆ m_clusterMakers

ToolHandleArray<CaloClusterCollectionProcessor> TrigCaloClusterMaker::m_clusterMakers { this, "ClusterMakerTools", {}, "" }
private

Definition at line 53 of file TrigCaloClusterMaker.h.

◆ m_clustersOutputName

std::string TrigCaloClusterMaker::m_clustersOutputName
private

Definition at line 60 of file TrigCaloClusterMaker.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_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_inputCellsKey

SG::ReadHandleKey<CaloCellContainer> TrigCaloClusterMaker::m_inputCellsKey
private
Initial value:
{ this,
"Cells",
"cells",
"input CaloCellContainer "}

Definition at line 62 of file TrigCaloClusterMaker.h.

◆ m_isSW

bool TrigCaloClusterMaker::m_isSW {false}
private

Definition at line 95 of file TrigCaloClusterMaker.h.

◆ m_mDecor_ncells

Gaudi::Property<SG::WriteDecorHandleKey<xAOD::CaloClusterContainer> > TrigCaloClusterMaker::m_mDecor_ncells
private
Initial value:
{ this,
"Decor_ncells",
"nCells",
"Decorator containing the number of cells associated to a cluster"}

Definition at line 81 of file TrigCaloClusterMaker.h.

◆ m_monCells

Gaudi::Property<bool> TrigCaloClusterMaker::m_monCells { this, "MonCells", false, "Do I monitor the cells I receive" }
private

Definition at line 89 of file TrigCaloClusterMaker.h.

◆ m_monTool

ToolHandle< GenericMonitoringTool > TrigCaloClusterMaker::m_monTool { this, "MonTool", "", "Monitoring tool" }
private

Definition at line 79 of file TrigCaloClusterMaker.h.

◆ m_noiseCDOKey

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

Definition at line 87 of file TrigCaloClusterMaker.h.

◆ m_outputClustersKey

SG::WriteHandleKey<xAOD::CaloClusterContainer> TrigCaloClusterMaker::m_outputClustersKey
private
Initial value:
{ this,
"CaloClusters",
"caloclusters",
"output CaloClusterContainer"}

Definition at line 67 of file TrigCaloClusterMaker.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:
TrigCaloClusterMaker::m_clusterMakers
ToolHandleArray< CaloClusterCollectionProcessor > m_clusterMakers
Definition: TrigCaloClusterMaker.h:54
RunTileCalibRec.cells
cells
Definition: RunTileCalibRec.py:271
CaloClusterStoreHelper::finalizeClusters
static StatusCode finalizeClusters(SG::WriteHandle< CaloClusterCellLinkContainer > &h, xAOD::CaloClusterContainer *pClusterColl)
Finalize clusters (move CaloClusterCellLink to a separate container).
Definition: CaloClusterStoreHelper.cxx:64
TrigDefs::Group
Group
Properties of a chain group.
Definition: GroupProperties.h:13
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
TrigCaloClusterMaker::m_clusterCorrections
ToolHandleArray< CaloClusterProcessor > m_clusterCorrections
Definition: TrigCaloClusterMaker.h:56
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
ISetCaloCellContainerName
Allow changing the name of the CaloCellContainer used by a tool.
Definition: ISetCaloCellContainerName.h:23
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
TrigCaloClusterMaker::m_outputClustersKey
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_outputClustersKey
Definition: TrigCaloClusterMaker.h:67
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
TrigCaloClusterMaker::m_mDecor_ncells
Gaudi::Property< SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > > m_mDecor_ncells
Definition: TrigCaloClusterMaker.h:81
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
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
TrigCaloClusterMaker::m_1thr
Gaudi::Property< float > m_1thr
Definition: TrigCaloClusterMaker.h:90
TrigCaloClusterMaker::m_inputCellsKey
SG::ReadHandleKey< CaloCellContainer > m_inputCellsKey
Definition: TrigCaloClusterMaker.h:62
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
xAOD::CaloCluster_v1::et
double et() const
Definition: CaloCluster_v1.h:856
xAOD::CaloCluster_v1::signalState
State signalState() const
Get the current signal state.
Definition: CaloCluster_v1.h:633
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
xAOD::CaloCluster_v1::ENG_FRAC_MAX
@ ENG_FRAC_MAX
Energy fraction of hottest cell.
Definition: CaloCluster_v1.h:140
CaloNoise::getNoise
float getNoise(const IdentifierHash h, const int gain) const
Accessor by IdentifierHash and gain.
Definition: CaloNoise.h:34
TrigCaloClusterMaker::m_monCells
Gaudi::Property< bool > m_monCells
Definition: TrigCaloClusterMaker.h:89
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
Monitored::Collection
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
Definition: MonitoredCollection.h:38
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
TrigCaloClusterMaker::m_2thr
Gaudi::Property< float > m_2thr
Definition: TrigCaloClusterMaker.h:91
SG::makeHandle
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
Definition: ReadCondHandle.h:270
xAOD::CaloCluster_v1::clusterSize
ClusterSize clusterSize() const
Get cluster size.
Definition: CaloCluster_v1.cxx:364
TrigCaloClusterMaker::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigCaloClusterMaker.h:79
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
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
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
SG::ReadDecorHandle
Handle class for reading a decoration on an object.
Definition: StoreGate/StoreGate/ReadDecorHandle.h:94
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
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
SG::WriteDecorHandle
Handle class for adding a decoration to an object.
Definition: StoreGate/StoreGate/WriteDecorHandle.h:100
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
TrigCaloClusterMaker::m_avgMuKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_avgMuKey
Definition: TrigCaloClusterMaker.h:93
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
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
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
CaloDetDescrElement::is_tile
bool is_tile() const
cell belongs to Tile
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:442
CaloNoise
Definition: CaloNoise.h:16
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
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
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
SG::WriteHandle
Definition: StoreGate/StoreGate/WriteHandle.h:76
a
TList * a
Definition: liststreamerinfos.cxx:10
h
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
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
Monitored::Scalar
Declare a monitored scalar variable.
Definition: MonitoredScalar.h:34
TrigCaloClusterMaker::m_clusterCellLinkOutput
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_clusterCellLinkOutput
Definition: TrigCaloClusterMaker.h:73
TrigCaloClusterMaker::m_isSW
bool m_isSW
Definition: TrigCaloClusterMaker.h:95
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
dq_make_web_display.cl
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
Definition: dq_make_web_display.py:26
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
xAOD::CaloCluster_v1::N_BAD_CELLS
@ N_BAD_CELLS
number of bad cells
Definition: CaloCluster_v1.h:149
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
Monitored::Timer
A monitored timer.
Definition: MonitoredTimer.h:32
TrigCaloClusterMaker::m_noiseCDOKey
SG::ReadCondHandleKey< CaloNoise > m_noiseCDOKey
Definition: TrigCaloClusterMaker.h:87
fitman.k
k
Definition: fitman.py:528
ISetCaloCellContainerName::setCaloCellContainerName
virtual StatusCode setCaloCellContainerName(const std::string &name)=0
Change the name of the CaloCellContainer used by this tool.
ServiceHandle< ICondSvc >