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

#include <JetCaloQualityToolFE.h>

Inheritance diagram for JetCaloQualityToolFE:
Collaboration diagram for JetCaloQualityToolFE:

Public Member Functions

 JetCaloQualityToolFE (const std::string &name)
 
virtual StatusCode decorate (const xAOD::JetContainer &jets) const override
 Decorate a jet collection without otherwise modifying it. More...
 
virtual StatusCode initialize () override
 Dummy implementation of the initialisation function. More...
 
virtual void print () const
 Print the state of the tool. More...
 
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 sysInitialize () override
 Perform system initialization for an algorithm. 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
 
virtual StatusCode modify (xAOD::JetContainer &jets) const override final
 Concrete implementation of the function inherited from IJetModifier. More...
 

Protected Member Functions

void fillQualityVariables (const xAOD::Jet &jet) const
 
std::vector< const xAOD::CaloCluster * > extractConstituents (const xAOD::Jet &jet) const
 
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

Gaudi::Property< std::vector< std::string > > m_calculationNames
 
Gaudi::Property< std::vector< double > > m_timingTimeCuts
 
Gaudi::Property< std::vector< int > > m_thresholdCuts
 
Gaudi::Property< std::string > m_jetContainerName
 
SG::WriteDecorHandleKeyArray< xAOD::JetContainerm_writeDecorKeys
 
SG::WriteDecorHandleKeyArray< xAOD::JetContainerm_writeDecorKeys_OOT
 
SG::WriteDecorHandleKeyArray< xAOD::JetContainerm_writeDecorKeys_Nfrac
 
bool m_doLArQ = false
 
bool m_doHECQ = false
 
bool m_doNegE = false
 
bool m_doAvgLAr = false
 
bool m_doCentroid = false
 
bool m_doBchCorrCell = false
 
bool m_doTime = false
 

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

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 21 of file JetCaloQualityToolFE.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ JetCaloQualityToolFE()

JetCaloQualityToolFE::JetCaloQualityToolFE ( const std::string &  name)

Definition at line 17 of file JetCaloQualityToolFE.cxx.

19 {
20 }

Member Function Documentation

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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< AlgTool > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

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

◆ decorate()

StatusCode JetCaloQualityToolFE::decorate ( const xAOD::JetContainer jets) const
overridevirtual

Decorate a jet collection without otherwise modifying it.

Implements IJetDecorator.

Definition at line 93 of file JetCaloQualityToolFE.cxx.

94 {
95 
96  ATH_MSG_VERBOSE("Begin decorating jets.");
97 
98  for(const xAOD::Jet* jet : jets) {
100  }
101 
102  return StatusCode::SUCCESS;
103 }

◆ detStore()

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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< AlgTool > >::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; }

◆ extractConstituents()

std::vector< const xAOD::CaloCluster * > JetCaloQualityToolFE::extractConstituents ( const xAOD::Jet jet) const
protected

Definition at line 105 of file JetCaloQualityToolFE.cxx.

105  {
106 
107  std::vector<const xAOD::CaloCluster*> clusters;
108 
109  // Get the input type:
110  xAOD::Type::ObjectType ctype = jet.rawConstituent(0)->type();
111 
112  if ( ctype == xAOD::Type::CaloCluster ) {
113  ATH_MSG_VERBOSE(" Constituents are calo clusters.");
114  for ( size_t i = 0; i < jet.numConstituents(); i++ ) {
115  const xAOD::CaloCluster* constit = static_cast<const xAOD::CaloCluster*>(jet.rawConstituent(i));
116  clusters.push_back(constit);
117  }
118  }
119  else if( ctype == xAOD::Type::FlowElement ){
120 
121  ATH_MSG_VERBOSE(" Constituents are FlowElements.");
122 
123  //Need to distinguish between ParticleFlow and UFOs
124  const xAOD::FlowElement* constit0 = static_cast<const xAOD::FlowElement*>(jet.rawConstituent(0));
125 
126  // If jet constituents are ParticleFlow objects (stored as FlowElements)
127  if(constit0->signalType() & xAOD::FlowElement::PFlow){
128  ATH_MSG_VERBOSE(" Constituents are ParticleFlow objects stored as FlowElements.");
129  for ( size_t i = 0; i < jet.numConstituents(); i++ ) {
130  const xAOD::FlowElement* constit = static_cast<const xAOD::FlowElement*>(jet.rawConstituent(i));
131  // Use only neutral PFOs
132  if(constit->isCharged())
133  continue;
134 
135  if(constit->nOtherObjects() >= 1){
136  const xAOD::CaloCluster* cluster = dynamic_cast<const xAOD::CaloCluster*>(constit->otherObject(0));
137  if(cluster != nullptr){
138  clusters.push_back(cluster);
139  }
140  }
141  }
142  }
143  else{ // jet constituents are UFOs (stored as FlowElements)
144  ATH_MSG_VERBOSE(" Constituents are UFOs stored as FlowElements.");
145 
146  for ( size_t i = 0; i < jet.numConstituents(); i++ ) {
147  const xAOD::FlowElement* constit = static_cast<const xAOD::FlowElement*>(jet.rawConstituent(i));
148 
149  //Reject charged UFOs (but keep combined UFOs)
151  continue;
152 
153  // For UFOs, otherObjects are links to the underlying ParticleFlow objects
154  for (size_t n = 0; n < constit->otherObjects().size(); ++n) {
155  if(! constit->otherObject(n)) continue;
156  int index_pfo = constit->otherObject(n)->index();
157  if(index_pfo<0) continue;
158 
159  const auto* fe = (constit->otherObject(n));
160  const xAOD::CaloCluster* cluster = nullptr;
161 
162  if(fe->type() == xAOD::Type::FlowElement){
163  const xAOD::FlowElement* pfo = dynamic_cast<const xAOD::FlowElement*>(fe);
164  if(!pfo->otherObjects().empty() && pfo->otherObject(0) && pfo->otherObject(0)->type() == xAOD::Type::CaloCluster){
165  cluster = dynamic_cast<const xAOD::CaloCluster*> (pfo->otherObject(0));
166  }
167  }
168  if(!cluster){continue;}
169 
170  if(std::find(clusters.begin(), clusters.end(), cluster) == clusters.end()){
171  clusters.push_back(cluster);
172  }
173  }
174  }
175  }
176  }
177 
178  return clusters;
179 
180 }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::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

◆ fillQualityVariables()

void JetCaloQualityToolFE::fillQualityVariables ( const xAOD::Jet jet) const
protected

Definition at line 182 of file JetCaloQualityToolFE.cxx.

182  {
183 
184  // First, extract the constituents directly (in case of cluster-based jet) or underlying clusters
185  std::vector<const xAOD::CaloCluster*> clusters = extractConstituents(jet);
186 
187  // Calculate moments
188  float sum_E = 0.0;
189  float sum_E_square = 0.0;
190 
191  float sum_badLarQ = 0.0;
192  float sum_badHECQ = 0.0;
193  float sum_e_HEC = 0.0;
194  float sum_e_neg = 0.0;
195  float sum_avg_lar_q = 0.0;
196  float sum_timing = 0.0;
197  float centroid_x = 0.0, centroid_y = 0.0, centroid_z = 0.0;
198  float sum_e_bad_cells = 0.0;
199 
200  std::vector<float> sum_OOT;
201  sum_OOT.resize(m_timingTimeCuts.size());
202 
203  std::vector<int> counter_Nfrac;
204  counter_Nfrac.resize(m_thresholdCuts.size());
205 
206  std::vector<float> cluster_energies;
207 
208  for ( size_t i = 0; i < clusters.size(); i++){
209 
210  const xAOD::CaloCluster* constit = static_cast<const xAOD::CaloCluster*>(clusters[i]);
211 
212  float cluster_E = constit->e(xAOD::CaloCluster::UNCALIBRATED);
213 
214  sum_E += cluster_E;
215  sum_E_square += cluster_E*cluster_E;
216 
217  cluster_energies.push_back(cluster_E);
218 
219  //LArQuality || HECQuality
220  double bad_frac=0.0;
221  if(m_doLArQ || m_doHECQ){
223 
224  if(m_doLArQ){
225  sum_badLarQ += bad_frac*cluster_E;
226  }
227 
228  if(m_doHECQ){
229  float e_HEC = constit->eSample( CaloSampling::HEC0) + constit->eSample( CaloSampling::HEC1) + constit->eSample( CaloSampling::HEC2) + constit->eSample( CaloSampling::HEC3);
230  sum_e_HEC += e_HEC;
231  sum_badHECQ += bad_frac*e_HEC;
232  }
233  }
234 
235  //NegativeE
236  if(m_doNegE){
237  double e_pos=0.0;
239  sum_e_neg += cluster_E - e_pos;
240  }
241 
242  //JetCalcAverageLArQualityF
243  if(m_doAvgLAr){
244  double avg_lar_q=0.0;
245  constit->retrieveMoment(xAOD::CaloCluster::AVG_LAR_Q, avg_lar_q);
246  sum_avg_lar_q += avg_lar_q*cluster_E*cluster_E;
247  }
248 
249  //Centroid
250  if(m_doCentroid){
251  double x = 0.0, y = 0.0, z = 0.0;
255 
256  centroid_x += x*cluster_E;
257  centroid_y += y*cluster_E;
258  centroid_z += z*cluster_E;
259  }
260 
261  //BchCorrCell
262  if(m_doBchCorrCell){
263  double cells_bad_E = 0.0;
264  constit->retrieveMoment(xAOD::CaloCluster::ENG_BAD_CELLS, cells_bad_E);
265  sum_e_bad_cells += cells_bad_E;
266  }
267 
268  //Timing / OOT
269  if(m_doTime || m_timingTimeCuts.size() > 0){
270  double timing = constit->time();
271 
272  if(m_doTime){
273  sum_timing += timing*cluster_E*cluster_E;
274  }
275 
276  //OOT
277  for(size_t j = 0; j < m_timingTimeCuts.size(); j++){
278  if(std::abs(timing) > m_timingTimeCuts[j]){
279  sum_OOT[j] += cluster_E;
280  }
281  }
282  }
283  } // end loop over all all constituents
284 
285 
286  if(m_thresholdCuts.size() > 0){
287 
288  std::sort(cluster_energies.rbegin(),cluster_energies.rend());
289 
290  for(size_t iFracCut = 0; iFracCut < m_thresholdCuts.size(); iFracCut++){
291 
292  int counter = 0;
293  float tmp_sum = 0;
294 
295  for(unsigned int iClus = 0; iClus < cluster_energies.size(); iClus++){
296  tmp_sum += cluster_energies[iClus];
297  counter++;
298  if(tmp_sum > m_thresholdCuts[iFracCut]*sum_E/100.) break;
299  }
300  counter_Nfrac[iFracCut] = counter;
301  }
302  }
303 
304  //Add the decorations
305  for(size_t i = 0; i < m_calculationNames.size(); i++){
306  std::string calcN = m_calculationNames[i];
307 
309 
310  if(calcN == "LArQuality"){
311  decHandle(jet) = sum_E != 0. ? sum_badLarQ/sum_E : 0.;
312  }
313  else if(calcN == "HECQuality"){
314  decHandle(jet) = sum_e_HEC != 0. ? sum_badHECQ/sum_e_HEC : 0.;
315  }
316  else if(calcN == "NegativeE"){
317  decHandle(jet) = sum_e_neg;
318  }
319  else if(calcN == "AverageLArQF"){
320  decHandle(jet) = sum_E_square != 0. ? sum_avg_lar_q/sum_E_square : 0.;
321  }
322  else if(calcN == "Timing"){
323  decHandle(jet) = sum_E_square != 0. ? sum_timing/sum_E_square : 0.;
324  }
325  else if(calcN == "Centroid"){
326  decHandle(jet) = sum_E_square != 0. ? sqrt(centroid_x*centroid_x+centroid_y*centroid_y+centroid_z*centroid_z)/sum_E_square : 0.;
327  }
328  else if(calcN == "BchCorrCell"){
329  decHandle(jet) = jet.jetP4(xAOD::JetEMScaleMomentum).E() != 0. ? sum_e_bad_cells/jet.jetP4(xAOD::JetEMScaleMomentum).E() : 0. ;
330  }
331  }
332 
333  for( size_t iCut = 0; iCut < m_timingTimeCuts.size(); iCut++){
335  decHandle_timing(jet) = sum_E != 0. ? sum_OOT[iCut]/sum_E : 0. ;
336  }
337 
338  for( size_t iFracCut = 0; iFracCut < m_thresholdCuts.size(); iFracCut++){
339  //Variable was previously stored as float rather than int
340  //Keep float to not break e.g. jet calibration with derivations storing variable as float
342  decHandle_frac(jet) = counter_Nfrac[iFracCut];
343  }
344 }

◆ getKey()

SG::sgkey_t asg::AsgTool::getKey ( const void *  ptr) const
inherited

Get the (hashed) key of an object that is in the event store.

This is a bit of a special one. StoreGateSvc and xAOD::TEvent both provide ways for getting the SG::sgkey_t key for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.

In order to allow tools to efficiently perform this operation, they can use this helper function.

See also
asg::AsgTool::getName
Parameters
ptrThe bare pointer to the object that the event store should know about
Returns
The hashed key of the object in the store. If not found, an invalid (zero) key.

Definition at line 119 of file AsgTool.cxx.

119  {
120 
121 #ifdef XAOD_STANDALONE
122  // In case we use @c xAOD::TEvent, we have a direct function call
123  // for this.
124  return evtStore()->event()->getKey( ptr );
125 #else
126  const SG::DataProxy* proxy = evtStore()->proxy( ptr );
127  return ( proxy == nullptr ? 0 : proxy->sgkey() );
128 #endif // XAOD_STANDALONE
129  }

◆ getName()

const std::string & asg::AsgTool::getName ( const void *  ptr) const
inherited

Get the name of an object that is / should be in the event store.

This is a bit of a special one. StoreGateSvc and xAOD::TEvent both provide ways for getting the std::string name for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.

In order to allow tools to efficiently perform this operation, they can use this helper function.

See also
asg::AsgTool::getKey
Parameters
ptrThe bare pointer to the object that the event store should know about
Returns
The string name of the object in the store. If not found, an empty string.

Definition at line 106 of file AsgTool.cxx.

106  {
107 
108 #ifdef XAOD_STANDALONE
109  // In case we use @c xAOD::TEvent, we have a direct function call
110  // for this.
111  return evtStore()->event()->getName( ptr );
112 #else
113  const SG::DataProxy* proxy = evtStore()->proxy( ptr );
114  static const std::string dummy = "";
115  return ( proxy == nullptr ? dummy : proxy->name() );
116 #endif // XAOD_STANDALONE
117  }

◆ getProperty()

template<class T >
const T* asg::AsgTool::getProperty ( const std::string &  name) const
inherited

Get one of the tool's properties.

◆ initialize()

StatusCode JetCaloQualityToolFE::initialize ( )
overridevirtual

Dummy implementation of the initialisation function.

It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...

Reimplemented from asg::AsgTool.

Definition at line 22 of file JetCaloQualityToolFE.cxx.

22  {
23  ATH_MSG_DEBUG( "Inside initialize() method" );
24 
25  if(!m_writeDecorKeys.empty()){
26  ATH_MSG_ERROR("OutputDecorKeys should not be configured manually!");
27  return StatusCode::FAILURE;
28  }
29  if(m_jetContainerName.empty()){
30  ATH_MSG_ERROR("JetCaloQualityToolFE needs to have its input jet container name configured!");
31  return StatusCode::FAILURE;
32  }
33 
34  // Set the DecorHandleKeys with the correct strings
35  for( const std::string & calcN : m_calculationNames){
36 
37  if(calcN == "LArQuality"){
38  m_doLArQ = true;
39  }
40  else if(calcN == "HECQuality"){
41  m_doHECQ = true;
42  }
43  else if(calcN == "NegativeE"){
44  m_doNegE = true;
45  }
46  else if(calcN == "AverageLArQF"){
47  m_doAvgLAr = true;
48  }
49  else if(calcN == "Timing"){
50  m_doTime = true;
51  }
52  else if(calcN == "Centroid"){
53  m_doCentroid = true;
54  }
55  else if(calcN == "BchCorrCell"){
56  m_doBchCorrCell = true;
57  }
58 
59  if(calcN == "Centroid"){
60  m_writeDecorKeys.emplace_back(m_jetContainerName + "." + calcN+"R");
61  }
62  else{
63  m_writeDecorKeys.emplace_back(m_jetContainerName + "." + calcN);
64  }
65  }
66 
67  // Define OOT calculators.
68  for( const double timeCut : m_timingTimeCuts){
69  // build the moment name from the base-name and the value of the timing cut
70  std::stringstream s;
71  s << std::setprecision(0) << std::fixed << "OotFracClusters" << timeCut;
72  m_writeDecorKeys_OOT.emplace_back(m_jetContainerName + "." + s.str());
73  }
74 
75  // Define tresholds for NXConstituents:
76  for( const int fracCut: m_thresholdCuts){
77  std::ostringstream sout;
78  sout << "N" << fracCut << "Constituents";
79  m_writeDecorKeys_Nfrac.emplace_back(m_jetContainerName + "." + sout.str());
80  }
81 
82  ATH_CHECK(m_writeDecorKeys.initialize());
83  if(!m_writeDecorKeys_OOT.empty()){
84  ATH_CHECK(m_writeDecorKeys_OOT.initialize());
85  }
86  if(!m_writeDecorKeys_Nfrac.empty()){
87  ATH_CHECK(m_writeDecorKeys_Nfrac.initialize());
88  }
89 
90  return StatusCode::SUCCESS;
91 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::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.

◆ modify()

virtual StatusCode IJetDecorator::modify ( xAOD::JetContainer jets) const
inlinefinaloverridevirtualinherited

Concrete implementation of the function inherited from IJetModifier.

Implements IJetModifier.

Definition at line 32 of file IJetDecorator.h.

32 {return decorate(jets);};

◆ msg() [1/2]

MsgStream& AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 27 of file AthCommonMsg.h.

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

◆ msg_level_name()

const std::string & asg::AsgTool::msg_level_name ( ) const
inherited

A deprecated function for getting the message level's name.

Instead of using this, weirdly named function, user code should get the string name of the current minimum message level (in case they really need it...), with:

MSG::name( msg().level() )

This function's name doesn't follow the ATLAS coding rules, and as such will be removed in the not too distant future.

Returns
The string name of the current minimum message level that's printed

Definition at line 101 of file AsgTool.cxx.

101  {
102 
103  return MSG::name( msg().level() );
104  }

◆ msgLvl()

bool AthCommonMsg< AlgTool >::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< AlgTool > >::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.

◆ print()

void asg::AsgTool::print ( ) const
virtualinherited

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

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::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< AlgTool > >::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_calculationNames

Gaudi::Property<std::vector<std::string> > JetCaloQualityToolFE::m_calculationNames
protected
Initial value:
{this, "Calculations", {},
"Name of calo quantities to compute and add as decorations"}

Definition at line 34 of file JetCaloQualityToolFE.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_doAvgLAr

bool JetCaloQualityToolFE::m_doAvgLAr = false
protected

Definition at line 59 of file JetCaloQualityToolFE.h.

◆ m_doBchCorrCell

bool JetCaloQualityToolFE::m_doBchCorrCell = false
protected

Definition at line 61 of file JetCaloQualityToolFE.h.

◆ m_doCentroid

bool JetCaloQualityToolFE::m_doCentroid = false
protected

Definition at line 60 of file JetCaloQualityToolFE.h.

◆ m_doHECQ

bool JetCaloQualityToolFE::m_doHECQ = false
protected

Definition at line 57 of file JetCaloQualityToolFE.h.

◆ m_doLArQ

bool JetCaloQualityToolFE::m_doLArQ = false
protected

Definition at line 56 of file JetCaloQualityToolFE.h.

◆ m_doNegE

bool JetCaloQualityToolFE::m_doNegE = false
protected

Definition at line 58 of file JetCaloQualityToolFE.h.

◆ m_doTime

bool JetCaloQualityToolFE::m_doTime = false
protected

Definition at line 62 of file JetCaloQualityToolFE.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_jetContainerName

Gaudi::Property<std::string> JetCaloQualityToolFE::m_jetContainerName
protected
Initial value:
{this, "JetContainer", "",
"SG key of input jet container"}

Definition at line 40 of file JetCaloQualityToolFE.h.

◆ m_thresholdCuts

Gaudi::Property<std::vector<int> > JetCaloQualityToolFE::m_thresholdCuts
protected
Initial value:
{this, "ThresholdCuts", {},
"Thresholds cuts (NxConstituents)"}

Definition at line 38 of file JetCaloQualityToolFE.h.

◆ m_timingTimeCuts

Gaudi::Property<std::vector<double> > JetCaloQualityToolFE::m_timingTimeCuts
protected
Initial value:
{this, "TimingCuts", {},
"Time cuts for out-of-time calo quantities"}

Definition at line 36 of file JetCaloQualityToolFE.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.

◆ m_writeDecorKeys

SG::WriteDecorHandleKeyArray<xAOD::JetContainer> JetCaloQualityToolFE::m_writeDecorKeys
protected
Initial value:
{this, "OutputDecorKeys", {},
"SG keys for output decorations (not to be configured manually!)"}

Definition at line 43 of file JetCaloQualityToolFE.h.

◆ m_writeDecorKeys_Nfrac

SG::WriteDecorHandleKeyArray<xAOD::JetContainer> JetCaloQualityToolFE::m_writeDecorKeys_Nfrac
protected
Initial value:
{this, "OutputNfracConstitDecorKeys", {},
"SG keys for output NfracConstituents decorations (not to be configured manually!)"}

Definition at line 49 of file JetCaloQualityToolFE.h.

◆ m_writeDecorKeys_OOT

SG::WriteDecorHandleKeyArray<xAOD::JetContainer> JetCaloQualityToolFE::m_writeDecorKeys_OOT
protected
Initial value:
{this, "OutputOOTDecorKeys", {},
"SG keys for output OOT decorations (not to be configured manually!)"}

Definition at line 46 of file JetCaloQualityToolFE.h.


The documentation for this class was generated from the following files:
JetCaloQualityToolFE::m_doNegE
bool m_doNegE
Definition: JetCaloQualityToolFE.h:58
xAOD::CaloCluster_v1::time
flt_t time() const
Access cluster time.
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
JetCaloQualityToolFE::m_doLArQ
bool m_doLArQ
Definition: JetCaloQualityToolFE.h:56
JetCaloQualityToolFE::m_calculationNames
Gaudi::Property< std::vector< std::string > > m_calculationNames
Definition: JetCaloQualityToolFE.h:34
StateLessPT_NewConfig.proxy
proxy
Definition: StateLessPT_NewConfig.py:392
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
find
std::string find(const std::string &s)
return a remapped string
Definition: hcg.cxx:135
JetCaloQualityToolFE::fillQualityVariables
void fillQualityVariables(const xAOD::Jet &jet) const
Definition: JetCaloQualityToolFE.cxx:182
xAOD::CaloCluster_v1::CENTER_X
@ CENTER_X
Cluster Centroid ( )
Definition: CaloCluster_v1.h:131
ObjectType
ObjectType
Definition: BaseObject.h:11
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
xAOD::FlowElement_v1::nOtherObjects
std::size_t nOtherObjects() const
Definition: FlowElement_v1.cxx:192
JetCaloQualityToolFE::m_writeDecorKeys
SG::WriteDecorHandleKeyArray< xAOD::JetContainer > m_writeDecorKeys
Definition: JetCaloQualityToolFE.h:43
xAOD::CaloCluster_v1::AVG_LAR_Q
@ AVG_LAR_Q
Sum(E_cell_LAr^2 Q_cell_LAr)/Sum(E_cell_LAr^2)
Definition: CaloCluster_v1.h:163
JetCaloQualityToolFE::m_thresholdCuts
Gaudi::Property< std::vector< int > > m_thresholdCuts
Definition: JetCaloQualityToolFE.h:38
JetCaloQualityToolFE::m_doBchCorrCell
bool m_doBchCorrCell
Definition: JetCaloQualityToolFE.h:61
JetCaloQualityToolFE::m_timingTimeCuts
Gaudi::Property< std::vector< double > > m_timingTimeCuts
Definition: JetCaloQualityToolFE.h:36
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
xAOD::IParticle::type
virtual Type::ObjectType type() const =0
The type of the object as a simple enumeration.
CaloCell_ID_FCS::HEC2
@ HEC2
Definition: FastCaloSim_CaloCell_ID.h:29
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
x
#define x
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition: Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
PUClassification.Charged
Charged
Definition: PUClassification.py:16
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
xAOD::FlowElement_v1::PFlow
@ PFlow
Definition: FlowElement_v1.h:45
xAOD::CaloCluster_v1::CENTER_Z
@ CENTER_Z
Cluster Centroid ( )
Definition: CaloCluster_v1.h:133
xAOD::FlowElement_v1::isCharged
bool isCharged() const
Definition: FlowElement_v1.cxx:56
AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:85
JetCaloQualityToolFE::m_writeDecorKeys_Nfrac
SG::WriteDecorHandleKeyArray< xAOD::JetContainer > m_writeDecorKeys_Nfrac
Definition: JetCaloQualityToolFE.h:49
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
AthCommonDataStore
Definition: AthCommonDataStore.h:52
CaloCell_ID_FCS::HEC1
@ HEC1
Definition: FastCaloSim_CaloCell_ID.h:28
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
trigDumpTimers.timing
def timing(hist)
Definition: trigDumpTimers.py:13
lumiFormat.i
int i
Definition: lumiFormat.py:92
z
#define z
beamspotman.n
n
Definition: beamspotman.py:731
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
xAOD::FlowElement
FlowElement_v1 FlowElement
Definition of the current "pfo version".
Definition: FlowElement.h:16
SG::WriteDecorHandle
Handle class for adding a decoration to an object.
Definition: StoreGate/StoreGate/WriteDecorHandle.h:99
JetCaloQualityToolFE::m_doAvgLAr
bool m_doAvgLAr
Definition: JetCaloQualityToolFE.h:59
xAOD::FlowElement_v1::signalType
signal_t signalType() const
JetCaloQualityToolFE::m_doCentroid
bool m_doCentroid
Definition: JetCaloQualityToolFE.h:60
python.xAODType.dummy
dummy
Definition: xAODType.py:4
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
MSG::name
const std::string & name(Level lvl)
Convenience function for translating message levels to strings.
Definition: MsgLevel.cxx:19
xAOD::CaloCluster_v1::retrieveMoment
bool retrieveMoment(MomentType type, double &value) const
Retrieve individual moment.
Definition: CaloCluster_v1.cxx:738
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
JetCaloQualityToolFE::m_writeDecorKeys_OOT
SG::WriteDecorHandleKeyArray< xAOD::JetContainer > m_writeDecorKeys_OOT
Definition: JetCaloQualityToolFE.h:46
SG::AuxElement::index
size_t index() const
Return the index of this element within its container.
xAOD::CaloCluster_v1::ENG_BAD_CELLS
@ ENG_BAD_CELLS
Total em-scale energy of bad cells in this cluster.
Definition: CaloCluster_v1.h:148
JetCaloQualityToolFE::extractConstituents
std::vector< const xAOD::CaloCluster * > extractConstituents(const xAOD::Jet &jet) const
Definition: JetCaloQualityToolFE.cxx:105
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
xAOD::JetEMScaleMomentum
@ JetEMScaleMomentum
Definition: JetTypes.h:28
xAOD::CaloCluster_v1::UNCALIBRATED
@ UNCALIBRATED
Definition: CaloCluster_v1.h:306
JetCaloQualityToolFE::m_doTime
bool m_doTime
Definition: JetCaloQualityToolFE.h:62
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
JetCaloQualityToolFE::m_doHECQ
bool m_doHECQ
Definition: JetCaloQualityToolFE.h:57
CaloCell_ID_FCS::HEC0
@ HEC0
Definition: FastCaloSim_CaloCell_ID.h:27
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
xAOD::CaloCluster_v1::eSample
float eSample(const CaloSample sampling) const
Definition: CaloCluster_v1.cxx:521
a
TList * a
Definition: liststreamerinfos.cxx:10
y
#define y
h
IJetDecorator::decorate
virtual StatusCode decorate(const xAOD::JetContainer &jets) const =0
Decorate a jet collection without otherwise modifying it.
std::sort
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.
Definition: DVL_algorithms.h:623
xAOD::FlowElement_v1::otherObject
const xAOD::IParticle * otherObject(std::size_t i) const
Definition: FlowElement_v1.cxx:196
AthCommonMsg< AlgTool >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
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:616
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
defineDB.jets
list jets
Definition: JetTagCalibration/share/defineDB.py:24
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
CaloCell_ID_FCS::HEC3
@ HEC3
Definition: FastCaloSim_CaloCell_ID.h:30
test_pyathena.counter
counter
Definition: test_pyathena.py:15
SG::DataProxy
Definition: DataProxy.h:44
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
xAOD::CaloCluster_v1::e
virtual double e() const
The total energy of the particle.
Definition: CaloCluster_v1.cxx:265
xAOD::CaloCluster_v1::CENTER_Y
@ CENTER_Y
Cluster Centroid ( )
Definition: CaloCluster_v1.h:132
fitman.k
k
Definition: fitman.py:528
xAOD::CaloCluster_v1::ENG_POS
@ ENG_POS
Total positive Energy of this cluster.
Definition: CaloCluster_v1.h:156
xAOD::FlowElement_v1::otherObjects
std::vector< const xAOD::IParticle * > otherObjects() const
Definition: FlowElement_v1.cxx:163
JetCaloQualityToolFE::m_jetContainerName
Gaudi::Property< std::string > m_jetContainerName
Definition: JetCaloQualityToolFE.h:40
xAOD::FlowElement_v1
A detector object made of other lower level object(s)
Definition: FlowElement_v1.h:25
xAOD::CaloCluster_v1::BADLARQ_FRAC
@ BADLARQ_FRAC
Energy fraction of LAr cells with quality larger than a given cut.
Definition: CaloCluster_v1.h:155