ATLAS Offline Software
Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
TauAnalysisTools::DiTauSelectionTool Class Referenceabstract

#include <DiTauSelectionTool.h>

Inheritance diagram for TauAnalysisTools::DiTauSelectionTool:
Collaboration diagram for TauAnalysisTools::DiTauSelectionTool:

Public Member Functions

virtual void print () const =0
 Print the state of the tool. More...
 
virtual StatusCode sysInitialize ()
 Function initialising the tool in the correct way in Athena. 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 sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Protected Member Functions

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

Protected Attributes

TFile * m_fOutFile
 
std::shared_ptr< TH1F > m_hCutFlow
 
Gaudi::Property< bool > m_bCreateControlPlots {this, "CreateControlPlots", false}
 
SG::ReadDecorHandleKey< xAOD::DiTauJetContainerm_OmniScoreDecorKey {this, "OmniScoreDecorName", "", "Name of OmniScore decoration"}
 
asg::AcceptInfo m_aAccept
 Object used to store selection information. More...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

virtual StatusCode initialize () override
 Function initialising the tool. More...
 
virtual const asg::AcceptInfogetAcceptInfo () const override
 Get an object describing the "selection steps" of the tool. More...
 
virtual asg::AcceptData accept (const xAOD::IParticle *p) const override
 Get the decision using a generic IParticle pointer. More...
 
virtual asg::AcceptData accept (const xAOD::DiTauJet &tau) const override
 Get the decision for a specific TauJet object. More...
 
virtual void setOutFile (TFile *fOutFile) override
 Set output file for control histograms. More...
 
virtual void writeControlHistograms () override
 Write control histograms to output file. More...
 
virtual StatusCode beginEvent () override
 Function called when a new events is loaded. More...
 
template<typename T , typename U >
void FillRegionVector (std::vector< T > &vRegion, U tMin, U tMax) const
 
template<typename T , typename U >
void FillValueVector (std::vector< T > &vRegion, U tVal) const
 
template<typename T >
void PrintConfigRegion (const std::string &sCutName, std::vector< T > &vRegion) const
 
template<typename T >
void PrintConfigValue (const std::string &sCutName, std::vector< T > &vRegion) const
 
template<typename T >
void PrintConfigValue (const std::string &sCutName, T &sVal) const
 
void setupCutFlowHistogram ()
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

std::vector< float > m_vPtRegion
 
std::vector< float > m_vAbsEtaRegion
 
std::vector< float > m_vNSubjetsRegion
 
std::vector< int > m_vAbsCharges
 
std::vector< float > m_vOmniScoreRegion
 
bool m_useOmniScore =false
 
Gaudi::Property< std::string > m_sConfigPath {this, "ConfigPath", ""}
 
Gaudi::Property< int > m_iSelectionCuts {this, "SelectionCuts", NoDiTauCut}
 
Gaudi::Property< float > m_dPtMin {this, "PtMin", NAN}
 
Gaudi::Property< float > m_dPtMax {this, "PtMax", NAN}
 
Gaudi::Property< float > m_dAbsEtaMin {this, "AbsEtaMin", NAN}
 
Gaudi::Property< float > m_dAbsEtaMax {this, "AbsEtaMax", NAN}
 
Gaudi::Property< float > m_dNSubjetsMin {this, "NSubjetsMin", NAN}
 
Gaudi::Property< float > m_dNSubjetsMax {this, "NSubjetsMax", NAN}
 
Gaudi::Property< float > m_iAbsCharge {this, "AbsCharge", NAN}
 
Gaudi::Property< float > m_dOmniScoreMin {this, "OmniScoreMin", NAN}
 
Gaudi::Property< float > m_dOmniScoreMax {this, "OmniScoreMax", NAN}
 
Gaudi::Property< std::vector< float > > m_vecPtRegion {this, "PtRegion", {}}
 
Gaudi::Property< std::vector< float > > m_vecAbsEtaRegion {this, "AbsEtaRegion",{}}
 
Gaudi::Property< std::vector< float > > m_vecNSubjetsRegion {this, "NSubjetsRegion", {}}
 
Gaudi::Property< std::vector< int > > m_vecAbsCharges {this, "AbsCharges", {}}
 
Gaudi::Property< std::vector< float > > m_vecOmniScoreRegion {this, "OmniScoreRegion", {}}
 
std::map< DiTauSelectionCuts, std::unique_ptr< TauAnalysisTools::DiTauSelectionCut > > m_cMap
 
MetaStore_t m_inputMetaStore
 Object accessing the input metadata store. More...
 
MetaStore_t m_outputMetaStore
 Object accessing the output metadata store. More...
 
bool m_beginInputFileCalled
 Flag helping to discover when the tool misses the opening of the first input file. More...
 
bool m_useIncidents
 
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
 

Friends

class DiTauSelectionCut
 need to define cut classes to be friends to access protected variables, needed for access of cut thresholds More...
 
class DiTauSelectionCutPt
 
class DiTauSelectionCutAbsEta
 
class DiTauSelectionCutNSubjets
 
class DiTauSelectionCutAbsCharge
 
class DiTauSelectionCutOmniScore
 

Callback functions helping in metadata reading/writing

void setUseIncidents (const bool flag)
 
virtual void handle (const Incident &inc)
 Function receiving incidents from IncidentSvc/TEvent. More...
 
virtual StatusCode beginInputFile ()
 Function called when a new input file is opened. More...
 
virtual StatusCode endInputFile ()
 Function called when the currently open input file got completely processed. More...
 
virtual StatusCode metaDataStop ()
 Function called when the tool should write out its metadata. More...
 

Detailed Description

Definition at line 43 of file DiTauSelectionTool.h.

Member Typedef Documentation

◆ MetaStore_t

Type of the metadata store object in Athena.

Definition at line 66 of file AsgMetadataTool.h.

◆ MetaStorePtr_t

Type of the metadata store pointer in standalone mode.

Definition at line 68 of file AsgMetadataTool.h.

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Member Function Documentation

◆ accept() [1/2]

asg::AcceptData DiTauSelectionTool::accept ( const xAOD::DiTauJet tau) const
overrideprivatevirtual

Get the decision for a specific TauJet object.

Implements TauAnalysisTools::IDiTauSelectionTool.

Definition at line 316 of file DiTauSelectionTool.cxx.

317 {
318  asg::AcceptData acceptData (&m_aAccept);
319 
320  int iNBin = 0;
321 
323  {
324  // fill cutflow 'All' bin
325  m_hCutFlow->Fill(iNBin);
326  // fill main distributions before all cuts
327  for (const auto& entry : m_cMap)
328  entry.second->fillHistogramCutPre(xDiTau);
329  }
330  try
331  {
332  for (const auto& entry : m_cMap)
333  {
334  if (m_iSelectionCuts & entry.first)
335  {
336  if (!entry.second->accept(xDiTau, acceptData))
337  return acceptData;
338  else
339  {
341  {
342  // fill cutflow after each passed cut
343  iNBin++;
344  m_hCutFlow->Fill(iNBin);
345  }
346  }
347  }
348  }
349  }
350  catch (const std::runtime_error& error)
351  {
352  // LEGACY: In practical terms this should probably just throw, not
353  // print a warning/error and then continue on. However, I leave
354  // that to the experts who probably had a reason not to let the
355  // exception escape. For now I just downgraded it from error to
356  // warning and limited the number of warnings (04 Jan 22).
357  static std::atomic<uint64_t> warning_count (0u);
358  auto mycount = ++ warning_count;
359  if (mycount < 10u)
360  {
361  ATH_MSG_WARNING(error.what());
362  if (mycount == 9u)
363  ATH_MSG_WARNING ("this is your last warning");
364  }
365  }
366 
367  // fill main distributions after all cuts
369  {
370  for (const auto& entry : m_cMap)
371  entry.second->fillHistogramCut(xDiTau);
372  }
373 
374  // // Return the result:
375  return acceptData;
376 }

◆ accept() [2/2]

asg::AcceptData DiTauSelectionTool::accept ( const xAOD::IParticle p) const
overrideprivatevirtual

Get the decision using a generic IParticle pointer.

Implements IAsgSelectionTool.

Definition at line 294 of file DiTauSelectionTool.cxx.

295 {
296  // Check if this is a jet:
297  if( xP->type() != xAOD::Type::Jet )
298  {
299  ATH_MSG_ERROR( "accept(...) Function received a non-jet" );
300  return asg::AcceptData (&m_aAccept);
301  }
302 
303  // Cast it to a ditau:
304  const xAOD::DiTauJet* xDiTau = dynamic_cast< const xAOD::DiTauJet* >( xP );
305  if( ! xDiTau )
306  {
307  ATH_MSG_FATAL( "accept(...) Failed to cast particle to tau" );
308  return asg::AcceptData (&m_aAccept);
309  }
310 
311  // Let the specific function do the work:
312  return accept( *xDiTau );
313 }

◆ beginEvent()

StatusCode DiTauSelectionTool::beginEvent ( )
overrideprivatevirtual

Function called when a new events is loaded.

Dummy implementation that can be overridden by the derived tool.

Reimplemented from asg::AsgMetadataTool.

Definition at line 282 of file DiTauSelectionTool.cxx.

283 {
284  return StatusCode::SUCCESS;
285 }

◆ beginInputFile()

StatusCode asg::AsgMetadataTool::beginInputFile ( )
protectedvirtualinherited

Function called when a new input file is opened.

Dummy implementation that can be overridden by the derived tool.

Reimplemented in AsgElectronEfficiencyCorrectionTool, TrigConf::xAODConfigTool, PMGTools::PMGTruthWeightTool, BookkeeperTool, BookkeeperDumperTool, Trig::TrigDecisionTool, xAODMaker::TriggerMenuMetaDataTool, xAODMaker::TruthMetaDataTool, Trig::xAODBunchCrossingTool, TauAnalysisTools::TauEfficiencyCorrectionsTool, and TauAnalysisTools::TauSmearingTool.

Definition at line 185 of file AsgMetadataTool.cxx.

185  {
186 
187  // Return gracefully:
188  return StatusCode::SUCCESS;
189  }

◆ declareGaudiProperty() [1/4]

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

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

Definition at line 170 of file AthCommonDataStore.h.

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

◆ declareGaudiProperty() [2/4]

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

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

Definition at line 156 of file AthCommonDataStore.h.

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

◆ declareGaudiProperty() [3/4]

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

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

Definition at line 184 of file AthCommonDataStore.h.

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

◆ declareGaudiProperty() [4/4]

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

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

Definition at line 199 of file AthCommonDataStore.h.

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

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< 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, V, H > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

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

◆ detStore()

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

◆ endInputFile()

StatusCode asg::AsgMetadataTool::endInputFile ( )
protectedvirtualinherited

Function called when the currently open input file got completely processed.

Dummy implementation that can be overridden by the derived tool.

Reimplemented in BookkeeperTool, BookkeeperDumperTool, xAODMaker::TriggerMenuMetaDataTool, and xAODMaker::TruthMetaDataTool.

Definition at line 193 of file AsgMetadataTool.cxx.

193  {
194 
195  // Return gracefully:
196  return StatusCode::SUCCESS;
197  }

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

◆ 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

◆ FillRegionVector()

template<typename T , typename U >
void DiTauSelectionTool::FillRegionVector ( std::vector< T > &  vRegion,
tMin,
tMax 
) const
private

Definition at line 428 of file DiTauSelectionTool.cxx.

429 {
430  if (!vRegion.empty())
431  return;
432  if (!std::isnan(tMin)) // if tMin is NAN, then this assumption fails and -inf is added to the vector
433  vRegion.push_back(tMin);
434  else
435  vRegion.push_back(-std::numeric_limits<T>::infinity());
436 
437  if (!std::isnan(tMax)) // if tMax is NAN, then this assumption fails and inf is added to the vector
438  vRegion.push_back(tMax);
439  else
440  vRegion.push_back(std::numeric_limits<T>::infinity());
441 }

◆ FillValueVector()

template<typename T , typename U >
void DiTauSelectionTool::FillValueVector ( std::vector< T > &  vRegion,
tVal 
) const
private

Definition at line 445 of file DiTauSelectionTool.cxx.

446 {
447  if (!vRegion.empty())
448  return;
449  if (tVal == tVal) // if tMax is NAN, then this assumption fails and nothing is added to the vector
450  vRegion.push_back(tVal);
451 }

◆ getAcceptInfo()

const asg::AcceptInfo & DiTauSelectionTool::getAcceptInfo ( ) const
overrideprivatevirtual

Get an object describing the "selection steps" of the tool.

Implements IAsgSelectionTool.

Definition at line 288 of file DiTauSelectionTool.cxx.

289 {
290  return m_aAccept;
291 }

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

◆ handle()

void asg::AsgMetadataTool::handle ( const Incident &  inc)
protectedvirtualinherited

Function receiving incidents from IncidentSvc/TEvent.

Reimplemented in Trig::TrigDecisionTool.

Definition at line 135 of file AsgMetadataTool.cxx.

135  {
136 
137  // Tell the user what's happening:
138  ATH_MSG_VERBOSE( "Callback received with incident: " << inc.type() );
139 
140  // Call the appropriate member function:
141  if( inc.type() == IncidentType::BeginInputFile ) {
142  m_beginInputFileCalled = true;
143  if( beginInputFile().isFailure() ) {
144  ATH_MSG_FATAL( "Failed to call beginInputFile()" );
145  throw std::runtime_error( "Couldn't call beginInputFile()" );
146  }
147  } else if( inc.type() == IncidentType::EndInputFile ) {
148  if( endInputFile().isFailure() ) {
149  ATH_MSG_FATAL( "Failed to call endInputFile()" );
150  throw std::runtime_error( "Couldn't call endInputFile()" );
151  }
152  } else if( inc.type() == IncidentType::BeginEvent ) {
153  // If the tool didn't catch the begin input file incident for the
154  // first input file of the job, then call the appropriate function
155  // now.
156  if( ! m_beginInputFileCalled ) {
157  m_beginInputFileCalled = true;
158  if( beginInputFile().isFailure() ) {
159  ATH_MSG_FATAL( "Failed to call beginInputFile()" );
160  throw std::runtime_error( "Couldn't call beginInputFile()" );
161  }
162  }
163  if( beginEvent().isFailure() ) {
164  ATH_MSG_FATAL( "Failed to call beginEvent()" );
165  throw std::runtime_error( "Couldn't call beginEvent()" );
166  }
167 
168  #ifdef XAOD_STANDALONE
169  } else if( inc.type() == IncidentType::MetaDataStop ) {
170  if( metaDataStop().isFailure() ) {
171  ATH_MSG_FATAL( "Failed to call metaDataStop()" );
172  throw std::runtime_error( "Couldn't call metaDataStop()" );
173  }
174 
175  #endif // XAOD_STANDALONE
176  } else {
177  ATH_MSG_WARNING( "Unknown incident type received in AsgMetaDataTool: " << inc.type() );
178  }
179 
180  return;
181  }

◆ initialize()

StatusCode DiTauSelectionTool::initialize ( )
overrideprivatevirtual

Function initialising the tool.

Implements TauAnalysisTools::IDiTauSelectionTool.

Definition at line 38 of file DiTauSelectionTool.cxx.

39 {
40 
41  m_vPtRegion = m_vecPtRegion.value();
46 
47  bool bConfigViaConfigFile = !m_sConfigPath.empty();
48  bool bConfigViaProperties = false;
49  if (!bConfigViaProperties and !m_vPtRegion.empty()) bConfigViaProperties = true;
50  if (!bConfigViaProperties and !std::isnan(m_dPtMin.value())) bConfigViaProperties = true;
51  if (!bConfigViaProperties and !std::isnan(m_dPtMax.value())) bConfigViaProperties = true;
52  if (!bConfigViaProperties and !m_vAbsEtaRegion.empty()) bConfigViaProperties = true;
53  if (!bConfigViaProperties and !std::isnan(m_dAbsEtaMin.value())) bConfigViaProperties = true;
54  if (!bConfigViaProperties and !std::isnan(m_dAbsEtaMax.value())) bConfigViaProperties = true;
55  if (!bConfigViaProperties and !m_vNSubjetsRegion.empty()) bConfigViaProperties = true;
56  if (!bConfigViaProperties and !std::isnan(m_dNSubjetsMin.value())) bConfigViaProperties = true;
57  if (!bConfigViaProperties and !std::isnan(m_dNSubjetsMax.value())) bConfigViaProperties = true;
58  if (!bConfigViaProperties and !m_vAbsCharges.empty()) bConfigViaProperties = true;
59  if (!bConfigViaProperties and !std::isnan(m_iAbsCharge.value())) bConfigViaProperties = true;
60  if (!bConfigViaProperties and !m_vOmniScoreRegion.empty()) bConfigViaProperties = true;
61  if (!bConfigViaProperties and !std::isnan(m_dOmniScoreMin.value())) bConfigViaProperties = true;
62  if (!bConfigViaProperties and !std::isnan(m_dOmniScoreMax.value())) bConfigViaProperties = true;
63 
64 
65  if (bConfigViaConfigFile and bConfigViaProperties)
66  {
67  ATH_MSG_WARNING("Configured tool via setProperty and configuration file, which may lead to unexpected configuration.");
68  ATH_MSG_WARNING("In doubt check the configuration that is printed when the tool is initialized and the message level is set to debug");
69  ATH_MSG_WARNING("For further details please refer to the documentation:");
70  ATH_MSG_WARNING("https://gitlab.cern.ch/atlas/athena/blob/main/PhysicsAnalysis/TauID/TauAnalysisTools/doc/README-DiTauSelectionTool.rst");
71  }
72  if (!bConfigViaConfigFile and !bConfigViaProperties)
73  {
74  ATH_MSG_WARNING("No cut configuration provided, the tool will not do anything. For further details please refer to the documentation:");
75  ATH_MSG_WARNING("https://gitlab.cern.ch/atlas/athena/blob/main/PhysicsAnalysis/TauID/TauAnalysisTools/doc/README-DiTauSelectionTool.rst");
76  }
77 
78  if (bConfigViaConfigFile)
79  {
80  TEnv rEnv;
81  std::string sInputFilePath = PathResolverFindCalibFile(m_sConfigPath);
82 
83  if (!testFileForEOFContainsCharacters(sInputFilePath))
84  ATH_MSG_WARNING("Config file for DiTauSelectionTool with path "<<sInputFilePath<<" does not contain an empty last line. The tool might not be properly configured!");
85 
86  rEnv.ReadFile(sInputFilePath.c_str(),
87  kEnvAll);
88 
89  std::vector<std::string> vCuts;
90  // if Cuts are specified in the config file take these ones, if not take all
91  // specified in the config
92  if (rEnv.Defined("SelectionCuts"))
93  TauAnalysisTools::split(rEnv, "SelectionCuts", ' ', vCuts);
94  else
95  {
96  auto lList = rEnv.GetTable();
97  for( Int_t i = 0; i < lList->GetEntries(); ++i )
98  {
99  vCuts.push_back( lList->At( i )->GetName() );
100  }
101  }
102 
103  int iSelectionCuts = 0;
104 
105  for (const std::string& sCut : vCuts)
106  {
107  if (sCut == "PtRegion")
108  {
109  iSelectionCuts = iSelectionCuts | DiTauCutPt;
110  if (m_vPtRegion.empty())
111  TauAnalysisTools::split(rEnv,"PtRegion", ';', m_vPtRegion);
112  }
113  else if (sCut == "PtMin")
114  {
115  iSelectionCuts = iSelectionCuts | DiTauCutPt;
116  if (std::isnan(m_dPtMin.value()))
117  m_dPtMin = rEnv.GetValue("PtMin",NAN);
118  }
119  else if (sCut == "PtMax")
120  {
121  iSelectionCuts = iSelectionCuts | DiTauCutPt;
122  if (std::isnan(m_dPtMax.value()))
123  m_dPtMax = rEnv.GetValue("PtMax",NAN);
124  }
125  else if (sCut == "AbsEtaRegion")
126  {
127  iSelectionCuts = iSelectionCuts | DiTauCutAbsEta;
128  if (m_vAbsEtaRegion.empty())
129  TauAnalysisTools::split(rEnv,"AbsEtaRegion", ';', m_vAbsEtaRegion);
130  }
131  else if (sCut == "AbsEtaMin")
132  {
133  iSelectionCuts = iSelectionCuts | DiTauCutAbsEta;
134  if (std::isnan(m_dAbsEtaMin.value()))
135  m_dAbsEtaMin = rEnv.GetValue("AbsEtaMin",NAN);
136  }
137  else if (sCut == "AbsEtaMax")
138  {
139  iSelectionCuts = iSelectionCuts | DiTauCutAbsEta;
140  if (std::isnan(m_dAbsEtaMax.value()))
141  m_dAbsEtaMax = rEnv.GetValue("AbsEtaMax",NAN);
142  }
143  else if (sCut == "NSubjetsRegion")
144  {
145  iSelectionCuts = iSelectionCuts | DiTauCutNSubjets;
146  if (m_vNSubjetsRegion.empty())
147  TauAnalysisTools::split(rEnv,"NSubjetsRegion", ';', m_vNSubjetsRegion);
148  }
149  else if (sCut == "NSubjetsMin")
150  {
151  iSelectionCuts = iSelectionCuts | DiTauCutNSubjets;
152  if (std::isnan(m_dNSubjetsMin.value()))
153  m_dNSubjetsMin = rEnv.GetValue("NSubjetsMin",NAN);
154  }
155  else if (sCut == "NSubjetsMax")
156  {
157  iSelectionCuts = iSelectionCuts | DiTauCutNSubjets;
158  if (std::isnan(m_dNSubjetsMax.value()))
159  m_dNSubjetsMax = rEnv.GetValue("NSubjetsMax",NAN);
160  }
161  else if (sCut == "AbsCharges")
162  {
163  iSelectionCuts = iSelectionCuts | DiTauCutAbsCharge;
164  if (m_vAbsCharges.empty())
165  TauAnalysisTools::split(rEnv,"AbsCharges", ';', m_vAbsCharges);
166  }
167  else if (sCut == "AbsCharge")
168  {
169  iSelectionCuts = iSelectionCuts | DiTauCutAbsCharge;
170  if (std::isnan(m_iAbsCharge.value()))
171  m_iAbsCharge = rEnv.GetValue("AbsCharge",NAN);
172  }
173  else if (sCut == "OmniScoreRegion")
174  {
175  iSelectionCuts = iSelectionCuts | DiTauCutOmniScore;
176  if (m_vOmniScoreRegion.empty())
177  TauAnalysisTools::split(rEnv,"OmniScoreRegion", ';', m_vOmniScoreRegion);
178 
179  // check if using OmniScore
180  m_useOmniScore = true;
181  }
182  else if (sCut == "OmniScoreMin")
183  {
184  iSelectionCuts = iSelectionCuts | DiTauCutOmniScore;
185  if (std::isnan(m_dOmniScoreMin.value()))
186  m_dOmniScoreMin = rEnv.GetValue("OmniScoreMin",NAN);
187 
188  // check for possible mis-config in DiTau selection
189  for (const std::string& checkCut : vCuts){
190  if (checkCut.find("OmniScoreRegion") != std::string::npos) {
191  ATH_MSG_ERROR("Misconfig due to OmniScoreRegion and OmniScoreMin cuts both present in the config file. Please CHECK carefully config file again and choose of the two");
192  return StatusCode::FAILURE;
193  }
194  }
195 
196  // check if using OmniScore
197  m_useOmniScore = true;
198  }
199  else if (sCut == "OmniScoreMax")
200  {
201  iSelectionCuts = iSelectionCuts | DiTauCutOmniScore;
202  if (std::isnan(m_dOmniScoreMax.value()))
203  m_dOmniScoreMax = rEnv.GetValue("OmniScoreMax",NAN);
204 
205  // check for possible mis-config in DiTau selection
206  for (const std::string& checkCut : vCuts){
207  if (checkCut.find("OmniScoreRegion") != std::string::npos) {
208  ATH_MSG_ERROR("Misconfig due to OmniScoreRegion and OmniScoreMax cuts both present in the config file. Please CHECK carefully config file again and choose of the two");
209  return StatusCode::FAILURE;
210  }
211  }
212 
213  // check if using OmniScore
214  m_useOmniScore = true;
215  }
216  else ATH_MSG_WARNING("Cut " << sCut << " is not available");
217  }
218 
220  m_iSelectionCuts = iSelectionCuts;
221  }
222 
223  // initialise the ReadDecorHandleKey if OmniScore is applied
224  if (m_useOmniScore) {
225  if(m_OmniScoreDecorKey.empty()) {
226  ATH_CHECK( m_OmniScoreDecorKey.assign("DiTauJets.omni_score"));
227  }
228  }
230 
231  // specify all available cut descriptions
232  using map_type = std::map<DiTauSelectionCuts, std::unique_ptr<TauAnalysisTools::DiTauSelectionCut>>;
233  using pair_type = map_type::value_type;
234 
235  pair_type elements[] =
236  {
237  {DiTauCutPt, std::make_unique<TauAnalysisTools::DiTauSelectionCutPt>(this)},
238  {DiTauCutAbsEta, std::make_unique<TauAnalysisTools::DiTauSelectionCutAbsEta>(this)},
239  {DiTauCutNSubjets, std::make_unique<TauAnalysisTools::DiTauSelectionCutNSubjets>(this)},
240  {DiTauCutAbsCharge, std::make_unique<TauAnalysisTools::DiTauSelectionCutAbsCharge>(this)},
241  {DiTauCutOmniScore, std::make_unique<TauAnalysisTools::DiTauSelectionCutOmniScore>(this)},
242  };
243 
244  m_cMap = { std::make_move_iterator( begin(elements) ), std::make_move_iterator( end(elements) ) };
245 
246  ATH_MSG_INFO( "Initializing DiTauSelectionTool" );
247  FillRegionVector(m_vPtRegion, m_dPtMin.value(), m_dPtMax.value());
252 
255  PrintConfigRegion ("NSubjets", m_vNSubjetsRegion);
256  PrintConfigValue ("AbsCharge", m_vAbsCharges);
257  PrintConfigRegion ("OmniScore", m_vOmniScoreRegion);
258 
259  std::string sCuts = "";
260  if (m_iSelectionCuts & DiTauCutPt) sCuts += "Pt ";
261  if (m_iSelectionCuts & DiTauCutAbsEta) sCuts += "AbsEta ";
262  if (m_iSelectionCuts & DiTauCutNSubjets) sCuts += "NSubjets ";
263  if (m_iSelectionCuts & DiTauCutAbsCharge) sCuts += "AbsCharge ";
264  if (m_iSelectionCuts & DiTauCutOmniScore) sCuts += "OmniScore ";
265 
266  ATH_MSG_DEBUG( "cuts: " << sCuts);
267 
270 
271  for ( const auto& entry : m_cMap ) {
272  if ( m_iSelectionCuts &entry.first ) {
273  entry.second->setAcceptInfo(m_aAccept);
274  }
275  }
276 
277  return StatusCode::SUCCESS;
278 }

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

◆ inputMetaStore()

AsgMetadataTool::MetaStorePtr_t asg::AsgMetadataTool::inputMetaStore ( ) const
inherited

Accessor for the input metadata store.

Definition at line 93 of file AsgMetadataTool.cxx.

93  {
94 
95 #ifdef XAOD_STANDALONE
96  return &m_inputMetaStore;
97 #else // XAOD_STANDALONE
98  return m_inputMetaStore;
99 #endif // XAOD_STANDALONE
100  }

◆ metaDataStop()

StatusCode asg::AsgMetadataTool::metaDataStop ( )
protectedvirtualinherited

Function called when the tool should write out its metadata.

Dummy implementation that can be overridden by the derived tool.

Reimplemented in BookkeeperTool, BookkeeperDumperTool, xAODMaker::TriggerMenuMetaDataTool, and xAODMaker::TruthMetaDataTool.

Definition at line 209 of file AsgMetadataTool.cxx.

209  {
210 
211  // Return gracefully:
212  return StatusCode::SUCCESS;
213  }

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

◆ outputMetaStore()

AsgMetadataTool::MetaStorePtr_t asg::AsgMetadataTool::outputMetaStore ( ) const
inherited

Accessor for the output metadata store.

Definition at line 102 of file AsgMetadataTool.cxx.

102  {
103 
104 #ifdef XAOD_STANDALONE
105  return &m_outputMetaStore;
106 #else // XAOD_STANDALONE
107  return m_outputMetaStore;
108 #endif // XAOD_STANDALONE
109  }

◆ print() [1/2]

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

◆ print() [2/2]

virtual void asg::IAsgTool::print ( ) const
pure virtualinherited

◆ PrintConfigRegion()

template<typename T >
void DiTauSelectionTool::PrintConfigRegion ( const std::string &  sCutName,
std::vector< T > &  vRegion 
) const
private

Definition at line 455 of file DiTauSelectionTool.cxx.

456 {
457  unsigned int iNumRegion = vRegion.size()/2;
458  for( unsigned int iRegion = 0; iRegion < iNumRegion; iRegion++ )
459  {
460  ATH_MSG_DEBUG( sCutName<<": " << vRegion.at(iRegion*2) << " to " << vRegion.at(iRegion*2+1) );
461  }
462 }

◆ PrintConfigValue() [1/2]

template<typename T >
void DiTauSelectionTool::PrintConfigValue ( const std::string &  sCutName,
std::vector< T > &  vRegion 
) const
private

Definition at line 466 of file DiTauSelectionTool.cxx.

467 {
468  for (auto tVal : vRegion)
469  ATH_MSG_DEBUG( sCutName<<": " << tVal );
470 }

◆ PrintConfigValue() [2/2]

template<typename T >
void DiTauSelectionTool::PrintConfigValue ( const std::string &  sCutName,
T &  sVal 
) const
private

Definition at line 474 of file DiTauSelectionTool.cxx.

475 {
476  ATH_MSG_DEBUG( sCutName<<": " << tVal );
477 }

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

◆ setOutFile()

void DiTauSelectionTool::setOutFile ( TFile *  fOutFile)
overrideprivatevirtual

Set output file for control histograms.

Implements TauAnalysisTools::IDiTauSelectionTool.

Definition at line 379 of file DiTauSelectionTool.cxx.

380 {
381  m_fOutFile = fOutFile;
382 }

◆ setupCutFlowHistogram()

void DiTauSelectionTool::setupCutFlowHistogram ( )
private

Definition at line 404 of file DiTauSelectionTool.cxx.

405 {
406  // count number of cuts
407  int iNBins = 0;
408  for (const auto& entry : m_cMap)
409  if (m_iSelectionCuts & entry.first)
410  iNBins++;
411  // create cutflow histogram with iNBins+1 bins, where first bin is 'All' bin
412  m_hCutFlow = std::make_shared<TH1F>("hCutFlow","CutFlow;; events",iNBins+1,0,iNBins+1);
413  m_hCutFlow->GetXaxis()->SetBinLabel(1,"All");
414 
415  // reusing this variable to reduce overhead
416  iNBins = 2;
417  // set bin labels
418  for (const auto& entry : m_cMap)
419  if (m_iSelectionCuts & entry.first)
420  {
421  m_hCutFlow->GetXaxis()->SetBinLabel(iNBins, entry.second->getName().c_str());
422  iNBins++;
423  }
424 }

◆ setUseIncidents()

void asg::AsgMetadataTool::setUseIncidents ( const bool  flag)
inlineprotectedinherited

Definition at line 132 of file AsgMetadataTool.h.

133  {
135  }

◆ sysInitialize()

StatusCode asg::AsgMetadataTool::sysInitialize ( )
virtualinherited

Function initialising the tool in the correct way in Athena.

This function is used to set up the callbacks from IncidentSvc in Athena at the right time during initialisation, without the user having to do anything special in his/her code.

Reimplemented from AthCommonDataStore< AthCommonMsg< AlgTool > >.

Definition at line 115 of file AsgMetadataTool.cxx.

115  {
116 
117 #ifndef XAOD_STANDALONE
118  if (m_useIncidents) {
119  // Connect to the IncidentSvc:
120  ServiceHandle< IIncidentSvc > incSvc( "IncidentSvc", name() );
121  ATH_CHECK( incSvc.retrieve() );
122 
123  // Set up the right callbacks: don't rethrow exceptions, any failure and we should end
124  incSvc->addListener( this, IncidentType::BeginEvent, 0, false );
125  }
126  // Let the base class do its thing:
127  ATH_CHECK( AlgTool::sysInitialize() );
128 
129 #endif // not XAOD_STANDALONE
130 
131  // Return gracefully:
132  return StatusCode::SUCCESS;
133  }

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

◆ writeControlHistograms()

void DiTauSelectionTool::writeControlHistograms ( )
overrideprivatevirtual

Write control histograms to output file.

create output directory

write cutflow histogram

Implements TauAnalysisTools::IDiTauSelectionTool.

Definition at line 385 of file DiTauSelectionTool.cxx.

386 {
388  ATH_MSG_WARNING("CreateControlPlots was set to true, but no valid file pointer was provided");
390  {
392  m_fOutFile->mkdir((this->name()+"_control").c_str());
393  m_fOutFile->cd((this->name()+"_control").c_str());
395  m_hCutFlow->Write();
396 
397  for (const auto& entry : m_cMap)
398  entry.second->writeControlHistograms();
399  }
400 }

Friends And Related Function Documentation

◆ DiTauSelectionCut

friend class DiTauSelectionCut
friend

need to define cut classes to be friends to access protected variables, needed for access of cut thresholds

Definition at line 49 of file DiTauSelectionTool.h.

◆ DiTauSelectionCutAbsCharge

friend class DiTauSelectionCutAbsCharge
friend

Definition at line 53 of file DiTauSelectionTool.h.

◆ DiTauSelectionCutAbsEta

friend class DiTauSelectionCutAbsEta
friend

Definition at line 51 of file DiTauSelectionTool.h.

◆ DiTauSelectionCutNSubjets

friend class DiTauSelectionCutNSubjets
friend

Definition at line 52 of file DiTauSelectionTool.h.

◆ DiTauSelectionCutOmniScore

friend class DiTauSelectionCutOmniScore
friend

Definition at line 54 of file DiTauSelectionTool.h.

◆ DiTauSelectionCutPt

friend class DiTauSelectionCutPt
friend

Definition at line 50 of file DiTauSelectionTool.h.

Member Data Documentation

◆ m_aAccept

asg::AcceptInfo TauAnalysisTools::DiTauSelectionTool::m_aAccept
protected

Object used to store selection information.

Definition at line 148 of file DiTauSelectionTool.h.

◆ m_bCreateControlPlots

Gaudi::Property<bool> TauAnalysisTools::DiTauSelectionTool::m_bCreateControlPlots {this, "CreateControlPlots", false}
protected

Definition at line 144 of file DiTauSelectionTool.h.

◆ m_beginInputFileCalled

bool asg::AsgMetadataTool::m_beginInputFileCalled
privateinherited

Flag helping to discover when the tool misses the opening of the first input file.

Definition at line 126 of file AsgMetadataTool.h.

◆ m_cMap

std::map<DiTauSelectionCuts, std::unique_ptr<TauAnalysisTools::DiTauSelectionCut> > TauAnalysisTools::DiTauSelectionTool::m_cMap
private

Definition at line 138 of file DiTauSelectionTool.h.

◆ m_dAbsEtaMax

Gaudi::Property<float> TauAnalysisTools::DiTauSelectionTool::m_dAbsEtaMax {this, "AbsEtaMax", NAN}
private

Definition at line 119 of file DiTauSelectionTool.h.

◆ m_dAbsEtaMin

Gaudi::Property<float> TauAnalysisTools::DiTauSelectionTool::m_dAbsEtaMin {this, "AbsEtaMin", NAN}
private

Definition at line 118 of file DiTauSelectionTool.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_dNSubjetsMax

Gaudi::Property<float> TauAnalysisTools::DiTauSelectionTool::m_dNSubjetsMax {this, "NSubjetsMax", NAN}
private

Definition at line 121 of file DiTauSelectionTool.h.

◆ m_dNSubjetsMin

Gaudi::Property<float> TauAnalysisTools::DiTauSelectionTool::m_dNSubjetsMin {this, "NSubjetsMin", NAN}
private

Definition at line 120 of file DiTauSelectionTool.h.

◆ m_dOmniScoreMax

Gaudi::Property<float> TauAnalysisTools::DiTauSelectionTool::m_dOmniScoreMax {this, "OmniScoreMax", NAN}
private

Definition at line 124 of file DiTauSelectionTool.h.

◆ m_dOmniScoreMin

Gaudi::Property<float> TauAnalysisTools::DiTauSelectionTool::m_dOmniScoreMin {this, "OmniScoreMin", NAN}
private

Definition at line 123 of file DiTauSelectionTool.h.

◆ m_dPtMax

Gaudi::Property<float> TauAnalysisTools::DiTauSelectionTool::m_dPtMax {this, "PtMax", NAN}
private

Definition at line 117 of file DiTauSelectionTool.h.

◆ m_dPtMin

Gaudi::Property<float> TauAnalysisTools::DiTauSelectionTool::m_dPtMin {this, "PtMin", NAN}
private

Definition at line 116 of file DiTauSelectionTool.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_fOutFile

TFile* TauAnalysisTools::DiTauSelectionTool::m_fOutFile
protected

Definition at line 133 of file DiTauSelectionTool.h.

◆ m_hCutFlow

std::shared_ptr<TH1F> TauAnalysisTools::DiTauSelectionTool::m_hCutFlow
protected

Definition at line 134 of file DiTauSelectionTool.h.

◆ m_iAbsCharge

Gaudi::Property<float> TauAnalysisTools::DiTauSelectionTool::m_iAbsCharge {this, "AbsCharge", NAN}
private

Definition at line 122 of file DiTauSelectionTool.h.

◆ m_inputMetaStore

MetaStore_t asg::AsgMetadataTool::m_inputMetaStore
privateinherited

Object accessing the input metadata store.

Definition at line 119 of file AsgMetadataTool.h.

◆ m_iSelectionCuts

Gaudi::Property<int> TauAnalysisTools::DiTauSelectionTool::m_iSelectionCuts {this, "SelectionCuts", NoDiTauCut}
private

Definition at line 115 of file DiTauSelectionTool.h.

◆ m_OmniScoreDecorKey

SG::ReadDecorHandleKey<xAOD::DiTauJetContainer> TauAnalysisTools::DiTauSelectionTool::m_OmniScoreDecorKey {this, "OmniScoreDecorName", "", "Name of OmniScore decoration"}
protected

Definition at line 145 of file DiTauSelectionTool.h.

◆ m_outputMetaStore

MetaStore_t asg::AsgMetadataTool::m_outputMetaStore
privateinherited

Object accessing the output metadata store.

Definition at line 121 of file AsgMetadataTool.h.

◆ m_sConfigPath

Gaudi::Property<std::string> TauAnalysisTools::DiTauSelectionTool::m_sConfigPath {this, "ConfigPath", ""}
private

Definition at line 114 of file DiTauSelectionTool.h.

◆ m_useIncidents

bool asg::AsgMetadataTool::m_useIncidents
privateinherited

Definition at line 128 of file AsgMetadataTool.h.

◆ m_useOmniScore

bool TauAnalysisTools::DiTauSelectionTool::m_useOmniScore =false
private

Definition at line 112 of file DiTauSelectionTool.h.

◆ m_vAbsCharges

std::vector<int> TauAnalysisTools::DiTauSelectionTool::m_vAbsCharges
private

Definition at line 108 of file DiTauSelectionTool.h.

◆ m_vAbsEtaRegion

std::vector<float> TauAnalysisTools::DiTauSelectionTool::m_vAbsEtaRegion
private

Definition at line 104 of file DiTauSelectionTool.h.

◆ m_varHandleArraysDeclared

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

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vecAbsCharges

Gaudi::Property<std::vector<int> > TauAnalysisTools::DiTauSelectionTool::m_vecAbsCharges {this, "AbsCharges", {}}
private

Definition at line 129 of file DiTauSelectionTool.h.

◆ m_vecAbsEtaRegion

Gaudi::Property<std::vector<float> > TauAnalysisTools::DiTauSelectionTool::m_vecAbsEtaRegion {this, "AbsEtaRegion",{}}
private

Definition at line 127 of file DiTauSelectionTool.h.

◆ m_vecNSubjetsRegion

Gaudi::Property<std::vector<float> > TauAnalysisTools::DiTauSelectionTool::m_vecNSubjetsRegion {this, "NSubjetsRegion", {}}
private

Definition at line 128 of file DiTauSelectionTool.h.

◆ m_vecOmniScoreRegion

Gaudi::Property<std::vector<float> > TauAnalysisTools::DiTauSelectionTool::m_vecOmniScoreRegion {this, "OmniScoreRegion", {}}
private

Definition at line 130 of file DiTauSelectionTool.h.

◆ m_vecPtRegion

Gaudi::Property<std::vector<float> > TauAnalysisTools::DiTauSelectionTool::m_vecPtRegion {this, "PtRegion", {}}
private

Definition at line 126 of file DiTauSelectionTool.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.

◆ m_vNSubjetsRegion

std::vector<float> TauAnalysisTools::DiTauSelectionTool::m_vNSubjetsRegion
private

Definition at line 106 of file DiTauSelectionTool.h.

◆ m_vOmniScoreRegion

std::vector<float> TauAnalysisTools::DiTauSelectionTool::m_vOmniScoreRegion
private

Definition at line 110 of file DiTauSelectionTool.h.

◆ m_vPtRegion

std::vector<float> TauAnalysisTools::DiTauSelectionTool::m_vPtRegion
private

Definition at line 102 of file DiTauSelectionTool.h.


The documentation for this class was generated from the following files:
TauAnalysisTools::DiTauSelectionTool::m_bCreateControlPlots
Gaudi::Property< bool > m_bCreateControlPlots
Definition: DiTauSelectionTool.h:144
TauAnalysisTools::DiTauSelectionTool::m_vecPtRegion
Gaudi::Property< std::vector< float > > m_vecPtRegion
Definition: DiTauSelectionTool.h:126
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
TauAnalysisTools::DiTauSelectionTool::m_aAccept
asg::AcceptInfo m_aAccept
Object used to store selection information.
Definition: DiTauSelectionTool.h:148
asg::AsgMetadataTool::beginEvent
virtual StatusCode beginEvent()
Function called when a new events is loaded.
Definition: AsgMetadataTool.cxx:201
StateLessPT_NewConfig.proxy
proxy
Definition: StateLessPT_NewConfig.py:407
TauAnalysisTools::DiTauSelectionTool::m_OmniScoreDecorKey
SG::ReadDecorHandleKey< xAOD::DiTauJetContainer > m_OmniScoreDecorKey
Definition: DiTauSelectionTool.h:145
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
TauAnalysisTools::DiTauSelectionTool::m_dPtMin
Gaudi::Property< float > m_dPtMin
Definition: DiTauSelectionTool.h:116
TauAnalysisTools::DiTauSelectionTool::m_dPtMax
Gaudi::Property< float > m_dPtMax
Definition: DiTauSelectionTool.h:117
TauAnalysisTools::DiTauSelectionTool::m_dOmniScoreMax
Gaudi::Property< float > m_dOmniScoreMax
Definition: DiTauSelectionTool.h:124
TauAnalysisTools::DiTauCutOmniScore
@ DiTauCutOmniScore
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/TauAnalysisTools/Enums.h:62
TauAnalysisTools::DiTauSelectionTool::m_dAbsEtaMin
Gaudi::Property< float > m_dAbsEtaMin
Definition: DiTauSelectionTool.h:118
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
TauAnalysisTools::DiTauSelectionTool::m_dOmniScoreMin
Gaudi::Property< float > m_dOmniScoreMin
Definition: DiTauSelectionTool.h:123
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
TauAnalysisTools::DiTauCutPt
@ DiTauCutPt
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/TauAnalysisTools/Enums.h:58
TauAnalysisTools::DiTauCutAbsCharge
@ DiTauCutAbsCharge
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/TauAnalysisTools/Enums.h:61
asg::AsgMetadataTool::m_beginInputFileCalled
bool m_beginInputFileCalled
Flag helping to discover when the tool misses the opening of the first input file.
Definition: AsgMetadataTool.h:126
asg::AsgMetadataTool::endInputFile
virtual StatusCode endInputFile()
Function called when the currently open input file got completely processed.
Definition: AsgMetadataTool.cxx:193
asg::AsgMetadataTool::m_outputMetaStore
MetaStore_t m_outputMetaStore
Object accessing the output metadata store.
Definition: AsgMetadataTool.h:121
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
dbg::ptr
void * ptr(T *p)
Definition: SGImplSvc.cxx:74
TauAnalysisTools::testFileForEOFContainsCharacters
bool testFileForEOFContainsCharacters(const std::string &sFileName)
returns true if last line in file is empty or the line starts with the number sign
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:280
TauAnalysisTools::DiTauSelectionTool::m_iAbsCharge
Gaudi::Property< float > m_iAbsCharge
Definition: DiTauSelectionTool.h:122
Trk::u
@ u
Enums for curvilinear frames.
Definition: ParamDefs.h:77
TauAnalysisTools::DiTauSelectionTool::m_vAbsCharges
std::vector< int > m_vAbsCharges
Definition: DiTauSelectionTool.h:108
TauAnalysisTools::DiTauSelectionTool::m_vecAbsEtaRegion
Gaudi::Property< std::vector< float > > m_vecAbsEtaRegion
Definition: DiTauSelectionTool.h:127
TauAnalysisTools::NoDiTauCut
@ NoDiTauCut
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/TauAnalysisTools/Enums.h:57
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:92
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:85
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:209
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
TauAnalysisTools::DiTauSelectionTool::m_vAbsEtaRegion
std::vector< float > m_vAbsEtaRegion
Definition: DiTauSelectionTool.h:104
TauAnalysisTools::DiTauSelectionTool::m_sConfigPath
Gaudi::Property< std::string > m_sConfigPath
Definition: DiTauSelectionTool.h:114
lumiFormat.i
int i
Definition: lumiFormat.py:85
TauAnalysisTools::DiTauSelectionTool::m_hCutFlow
std::shared_ptr< TH1F > m_hCutFlow
Definition: DiTauSelectionTool.h:134
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Definition: AthCommonDataStore.h:145
asg::AsgMetadataTool::beginInputFile
virtual StatusCode beginInputFile()
Function called when a new input file is opened.
Definition: AsgMetadataTool.cxx:185
master.flag
bool flag
Definition: master.py:29
CalibDbCompareRT.dummy
dummy
Definition: CalibDbCompareRT.py:59
asg::AsgMetadataTool::metaDataStop
virtual StatusCode metaDataStop()
Function called when the tool should write out its metadata.
Definition: AsgMetadataTool.cxx:209
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
TauAnalysisTools::DiTauCutNSubjets
@ DiTauCutNSubjets
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/TauAnalysisTools/Enums.h:60
TauAnalysisTools::DiTauSelectionTool::setupCutFlowHistogram
void setupCutFlowHistogram()
Definition: DiTauSelectionTool.cxx:404
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
TauAnalysisTools::DiTauSelectionTool::PrintConfigValue
void PrintConfigValue(const std::string &sCutName, std::vector< T > &vRegion) const
Definition: DiTauSelectionTool.cxx:466
TauAnalysisTools::DiTauSelectionTool::FillRegionVector
void FillRegionVector(std::vector< T > &vRegion, U tMin, U tMax) const
Definition: DiTauSelectionTool.cxx:428
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
GetAllXsec.entry
list entry
Definition: GetAllXsec.py:132
TauAnalysisTools::DiTauSelectionTool::m_vPtRegion
std::vector< float > m_vPtRegion
Definition: DiTauSelectionTool.h:102
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
asg::AsgMetadataTool::m_inputMetaStore
MetaStore_t m_inputMetaStore
Object accessing the input metadata store.
Definition: AsgMetadataTool.h:119
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
TauAnalysisTools::DiTauSelectionTool::m_dAbsEtaMax
Gaudi::Property< float > m_dAbsEtaMax
Definition: DiTauSelectionTool.h:119
TauAnalysisTools::DiTauSelectionTool::m_dNSubjetsMin
Gaudi::Property< float > m_dNSubjetsMin
Definition: DiTauSelectionTool.h:120
PathResolverFindCalibFile
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
Definition: PathResolver.cxx:283
TauAnalysisTools::DiTauSelectionTool::m_vecAbsCharges
Gaudi::Property< std::vector< int > > m_vecAbsCharges
Definition: DiTauSelectionTool.h:129
a
TList * a
Definition: liststreamerinfos.cxx:10
h
TauAnalysisTools::DiTauSelectionTool::m_vecOmniScoreRegion
Gaudi::Property< std::vector< float > > m_vecOmniScoreRegion
Definition: DiTauSelectionTool.h:130
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
TauAnalysisTools::DiTauSelectionTool::m_useOmniScore
bool m_useOmniScore
Definition: DiTauSelectionTool.h:112
AthCommonMsg< AlgTool >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
TauAnalysisTools::DiTauSelectionTool::PrintConfigRegion
void PrintConfigRegion(const std::string &sCutName, std::vector< T > &vRegion) const
Definition: DiTauSelectionTool.cxx:455
TauAnalysisTools::DiTauSelectionTool::m_vecNSubjetsRegion
Gaudi::Property< std::vector< float > > m_vecNSubjetsRegion
Definition: DiTauSelectionTool.h:128
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:629
xAOD::DiTauJet_v1
Definition: DiTauJet_v1.h:31
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:801
TauAnalysisTools::DiTauCutAbsEta
@ DiTauCutAbsEta
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/TauAnalysisTools/Enums.h:59
TauAnalysisTools::DiTauSelectionTool::m_cMap
std::map< DiTauSelectionCuts, std::unique_ptr< TauAnalysisTools::DiTauSelectionCut > > m_cMap
Definition: DiTauSelectionTool.h:138
TauAnalysisTools::DiTauSelectionTool::m_vNSubjetsRegion
std::vector< float > m_vNSubjetsRegion
Definition: DiTauSelectionTool.h:106
TauAnalysisTools::DiTauSelectionTool::m_vOmniScoreRegion
std::vector< float > m_vOmniScoreRegion
Definition: DiTauSelectionTool.h:110
TauAnalysisTools::DiTauSelectionTool::FillValueVector
void FillValueVector(std::vector< T > &vRegion, U tVal) const
Definition: DiTauSelectionTool.cxx:445
asg::AcceptData
Definition: AcceptData.h:30
TauAnalysisTools::DiTauSelectionTool::m_iSelectionCuts
Gaudi::Property< int > m_iSelectionCuts
Definition: DiTauSelectionTool.h:115
SG::DataProxy
Definition: DataProxy.h:45
error
Definition: IImpactPoint3dEstimator.h:70
TauAnalysisTools::DiTauSelectionTool::accept
virtual asg::AcceptData accept(const xAOD::IParticle *p) const override
Get the decision using a generic IParticle pointer.
Definition: DiTauSelectionTool.cxx:294
xAOD::Jet
Jet_v1 Jet
Definition of the current "jet version".
Definition: Event/xAOD/xAODJet/xAODJet/Jet.h:17
TauAnalysisTools::DiTauSelectionTool::m_dNSubjetsMax
Gaudi::Property< float > m_dNSubjetsMax
Definition: DiTauSelectionTool.h:121
fitman.k
k
Definition: fitman.py:528
ServiceHandle< IIncidentSvc >
TauAnalysisTools::split
void split(const std::string &sInput, const char cDelim, std::vector< std::string > &vOut)
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:24
TauAnalysisTools::DiTauSelectionTool::m_fOutFile
TFile * m_fOutFile
Definition: DiTauSelectionTool.h:133
asg::AsgMetadataTool::m_useIncidents
bool m_useIncidents
Definition: AsgMetadataTool.h:128