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

The eFEXtauBDTAlgo class calculates the tau BDT TOB variables. More...

#include <eFEXtauBDTAlgo.h>

Inheritance diagram for LVL1::eFEXtauBDTAlgo:
Collaboration diagram for LVL1::eFEXtauBDTAlgo:

Public Member Functions

 eFEXtauBDTAlgo (const std::string &type, const std::string &name, const IInterface *parent)
 Constructors. More...
 
virtual StatusCode initialize () override
 standard Athena-Algorithm method More...
 
virtual ~eFEXtauBDTAlgo ()
 Destructor. More...
 
virtual void setup (int inputTable[3][3], int efex_id, int fpga_id, int central_eta) override
 
virtual void compute () override
 
virtual std::unique_ptr< eFEXtauTOBgetTauTOB () const override
 
virtual unsigned int rHadCore () const override
 
virtual unsigned int rHadEnv () const override
 
virtual unsigned int getEt () const override
 
virtual unsigned int getBitwiseEt () const override
 
virtual unsigned int getBDTScore () const override
 
virtual unsigned int getBDTCondition () const override
 
virtual unsigned int getBDTHadFracCondition () const override
 
virtual bool isBDT () const override
 
virtual void setThresholds (const std::vector< unsigned int > &rHadThreshold, const std::vector< unsigned int > &bdtThreshold, unsigned int etThreshold, unsigned int etThresholdForRHad, unsigned int bdtMinEtThreshold) override
 
virtual unsigned int getSeed () const override
 
virtual StatusCode safetyTest () override
 
virtual bool isCentralTowerSeed () const override
 
virtual void getRCore (std::vector< unsigned int > &rCoreVec) const override
 
virtual unsigned int rCoreCore () const override
 
virtual unsigned int rCoreEnv () const override
 
virtual float getRealRCore () const override
 
virtual void getRHad (std::vector< unsigned int > &rHadVec) const override
 
virtual float getRealRHad () const override
 
virtual void getSums (unsigned int seed, bool UnD, std::vector< unsigned int > &RcoreSums, std::vector< unsigned int > &Remums) override
 
void setSCellEncoder (LVL1::eFEXtauTOB *tob) const
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode 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
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

Protected Member Functions

void buildLayers (int efex_id, int fpga_id, int central_eta)
 
void setSuperCells (eFEXtauTOB *tob, bool withSupercells)
 
virtual void setSupercellSeed ()
 
virtual void setUnDAndOffPhi ()
 
virtual bool getUnD () const override
 
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

SG::ReadHandleKey< LVL1::eTowerContainerm_eTowerContainerKey
 
bool m_cellsSet = false
 
int m_eFexalgoTowerID [3][3] {}
 
unsigned int m_em0cells [3][3] {}
 
unsigned int m_em1cells [12][3] {}
 
unsigned int m_em2cells [12][3] {}
 
unsigned int m_em3cells [3][3] {}
 
unsigned int m_hadcells [3][3] {}
 
unsigned int m_twrcells [3][3] {}
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

StatusCode initBDTVars ()
 
void setSCellPointers ()
 
void setThresholdPointers ()
 
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

unsigned int m_hadFracMultipliers [3] {}
 
unsigned int m_bdtThresholds [3] {}
 
unsigned int m_etThreshold {}
 
unsigned int m_maxEtThreshold {}
 
unsigned int m_bdtMinEtThreshold {}
 
unsigned int m_bdtScore {}
 
std::vector< unsigned int > m_bdtVars
 
std::vector< std::vector< unsigned int * > > m_bdtVarComputeSCellPointers
 
Gaudi::Property< std::string > m_bdtJsonConfigPath
 
std::unique_ptr< eFEXtauBDTm_bdtAlgoImpl
 
bool m_bdtVarsComputed = false
 
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

The eFEXtauBDTAlgo class calculates the tau BDT TOB variables.

Definition at line 28 of file eFEXtauBDTAlgo.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

◆ eFEXtauBDTAlgo()

LVL1::eFEXtauBDTAlgo::eFEXtauBDTAlgo ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Constructors.

Definition at line 20 of file eFEXtauBDTAlgo.cxx.

◆ ~eFEXtauBDTAlgo()

LVL1::eFEXtauBDTAlgo::~eFEXtauBDTAlgo ( )
virtual

Destructor.

Definition at line 26 of file eFEXtauBDTAlgo.cxx.

26 {}

Member Function Documentation

◆ buildLayers()

void LVL1::eFEXtauAlgoBase::buildLayers ( int  efex_id,
int  fpga_id,
int  central_eta 
)
protectedinherited

Definition at line 37 of file eFEXtauAlgoBase.cxx.

38  {
39 
41  m_eTowerContainerKey /*,ctx*/);
42 
43  for (unsigned int ieta = 0; ieta < 3; ieta++) {
44  for (unsigned int iphi = 0; iphi < 3; iphi++) {
45  if (((efex_id % 3 == 0) && (fpga_id == 0) && (central_eta == 0) &&
46  (ieta == 0)) ||
47  ((efex_id % 3 == 2) && (fpga_id == 3) && (central_eta == 5) &&
48  (ieta == 2))) {
49  m_twrcells[ieta][iphi] = 0;
50  m_em0cells[ieta][iphi] = 0;
51  m_em3cells[ieta][iphi] = 0;
52  m_hadcells[ieta][iphi] = 0;
53  for (unsigned int i = 0; i < 4; i++) {
54  m_em1cells[4 * ieta + i][iphi] = 0;
55  m_em2cells[4 * ieta + i][iphi] = 0;
56  }
57  } else {
58  const LVL1::eTower *tmpTower =
59  eTowerContainer->findTower(m_eFexalgoTowerID[iphi][ieta]);
60  m_twrcells[ieta][iphi] = tmpTower->getTotalET();
61  m_em0cells[ieta][iphi] = tmpTower->getLayerTotalET(0);
62  m_em3cells[ieta][iphi] = tmpTower->getLayerTotalET(3);
63  m_hadcells[ieta][iphi] = tmpTower->getLayerTotalET(4);
64  for (unsigned int i = 0; i < 4; i++) {
65  m_em1cells[4 * ieta + i][iphi] = tmpTower->getET(1, i);
66  m_em2cells[4 * ieta + i][iphi] = tmpTower->getET(2, i);
67  }
68  }
69  }
70  }
71  m_cellsSet = true;
72 }

◆ compute()

void LVL1::eFEXtauBDTAlgo::compute ( )
overridevirtual

Reimplemented from LVL1::eFEXtauAlgoBase.

Definition at line 63 of file eFEXtauBDTAlgo.cxx.

63 { m_bdtAlgoImpl->next(); }

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

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

◆ 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

◆ getBDTCondition()

unsigned int LVL1::eFEXtauBDTAlgo::getBDTCondition ( ) const
overridevirtual

Reimplemented from LVL1::eFEXtauAlgoBase.

Definition at line 151 of file eFEXtauBDTAlgo.cxx.

151  {
152  return m_bdtAlgoImpl->getBDTCondition();
153 }

◆ getBDTHadFracCondition()

unsigned int LVL1::eFEXtauBDTAlgo::getBDTHadFracCondition ( ) const
overridevirtual

Reimplemented from LVL1::eFEXtauAlgoBase.

Definition at line 155 of file eFEXtauBDTAlgo.cxx.

155  {
156  return m_bdtAlgoImpl->getFracCondition();
157 }

◆ getBDTScore()

unsigned int LVL1::eFEXtauBDTAlgo::getBDTScore ( ) const
overridevirtual

Reimplemented from LVL1::eFEXtauAlgoBase.

Definition at line 147 of file eFEXtauBDTAlgo.cxx.

147  {
148  return m_bdtAlgoImpl->getBDTScore();
149 }

◆ getBitwiseEt()

unsigned int LVL1::eFEXtauBDTAlgo::getBitwiseEt ( ) const
overridevirtual

Implements LVL1::IeFEXtauAlgo.

Definition at line 139 of file eFEXtauBDTAlgo.cxx.

139  {
140  if (m_cellsSet == false) {
141  ATH_MSG_DEBUG("Layers not built, cannot accurately calculate Et.");
142  }
143 
144  return m_bdtAlgoImpl->getET();
145 }

◆ getEt()

unsigned int LVL1::eFEXtauBDTAlgo::getEt ( ) const
overridevirtual

Implements LVL1::IeFEXtauAlgo.

Definition at line 113 of file eFEXtauBDTAlgo.cxx.

113  {
114  if (m_cellsSet == false) {
115  ATH_MSG_DEBUG("Layers not built, cannot accurately calculate Et.");
116  }
117 
118  return m_bdtAlgoImpl->getETEstimate();
119 }

◆ getRCore()

void LVL1::eFEXtauAlgoBase::getRCore ( std::vector< unsigned int > &  rCoreVec) const
overridevirtualinherited

Implements LVL1::IeFEXtauAlgo.

Definition at line 120 of file eFEXtauAlgoBase.cxx.

121  {
122  unsigned int core = rCoreCore();
123  unsigned int env = rCoreEnv();
124 
125  rCoreVec.push_back(core);
126  rCoreVec.push_back(env);
127 }

◆ getRealRCore()

float LVL1::eFEXtauAlgoBase::getRealRCore ( ) const
overridevirtualinherited

Implements LVL1::IeFEXtauAlgo.

Definition at line 96 of file eFEXtauAlgoBase.cxx.

96  {
97  unsigned int core = rCoreCore();
98  unsigned int env = rCoreEnv();
99 
100  unsigned int num = core;
101  unsigned int denom = core + env;
102 
103  float out = denom ? static_cast<float>(num) / static_cast<float>(denom) : 0;
104 
105  return out;
106 }

◆ getRealRHad()

float LVL1::eFEXtauAlgoBase::getRealRHad ( ) const
overridevirtualinherited

Implements LVL1::IeFEXtauAlgo.

Definition at line 108 of file eFEXtauAlgoBase.cxx.

108  {
109  unsigned int core = rHadCore();
110  unsigned int env = rHadEnv();
111 
112  unsigned int num = core;
113  unsigned int denom = core + env;
114 
115  float out = denom ? static_cast<float>(num) / static_cast<float>(denom) : 0;
116 
117  return out;
118 }

◆ getRHad()

void LVL1::eFEXtauAlgoBase::getRHad ( std::vector< unsigned int > &  rHadVec) const
overridevirtualinherited

Implements LVL1::IeFEXtauAlgo.

Definition at line 87 of file eFEXtauAlgoBase.cxx.

87  {
88  unsigned int core = rHadCore();
89  unsigned int env = rHadEnv();
90 
91  rHadVec.push_back(core);
92  rHadVec.push_back(env);
93 }

◆ getSeed()

virtual unsigned int LVL1::eFEXtauBDTAlgo::getSeed ( ) const
inlineoverridevirtual

Reimplemented from LVL1::eFEXtauAlgoBase.

Definition at line 63 of file eFEXtauBDTAlgo.h.

63 { return 1; }

◆ getSums()

void LVL1::eFEXtauAlgoBase::getSums ( unsigned int  seed,
bool  UnD,
std::vector< unsigned int > &  RcoreSums,
std::vector< unsigned int > &  Remums 
)
overridevirtualinherited

Implements LVL1::IeFEXtauAlgo.

Reimplemented in LVL1::eFEXtauAlgo.

Definition at line 76 of file eFEXtauAlgoBase.cxx.

78  {
79  // Set seed parameters to supplied values
80 
81  // Now just call the 2 discriminant calculation methods
82  getRCore(RcoreSums);
83  getRHad(RemSums);
84 }

◆ getTauTOB()

std::unique_ptr< LVL1::eFEXtauTOB > LVL1::eFEXtauBDTAlgo::getTauTOB ( ) const
overridevirtual

Implements LVL1::IeFEXtauAlgo.

Definition at line 65 of file eFEXtauBDTAlgo.cxx.

65  {
66  std::unique_ptr<eFEXtauTOB> tob = std::make_unique<eFEXtauTOB>();
67  unsigned int et = getEt();
68  tob->setEt(et);
69  tob->setRcoreCore(rCoreCore());
70  tob->setRcoreEnv(rCoreEnv());
71  tob->setRhadCore(rHadCore());
72  tob->setRhadEnv(rHadEnv());
73  tob->setBitwiseEt(getBitwiseEt());
74  tob->setIso(getRealRCore());
75  tob->setSeedUnD(0);
76  tob->setBDTScore(m_bdtAlgoImpl->getBDTScore());
77  tob->setIsBDTAlgo(1);
78  return tob;
79 }

◆ getUnD()

virtual bool LVL1::eFEXtauAlgoBase::getUnD ( ) const
inlineoverrideprotectedvirtualinherited

Implements LVL1::IeFEXtauAlgo.

Reimplemented in LVL1::eFEXtauAlgo.

Definition at line 76 of file eFEXtauAlgoBase.h.

76 { return 0; }

◆ initBDTVars()

StatusCode LVL1::eFEXtauBDTAlgo::initBDTVars ( )
private

◆ initialize()

StatusCode LVL1::eFEXtauBDTAlgo::initialize ( )
overridevirtual

standard Athena-Algorithm method

Definition at line 28 of file eFEXtauBDTAlgo.cxx.

28  {
30  if (m_bdtJsonConfigPath.size() == 0) {
31  ATH_MSG_ERROR("eFEX tau BDT json config file path not set in configuration");
32  return StatusCode::FAILURE;
33  }
34  ATH_MSG_INFO("Using BDT config file " << m_bdtJsonConfigPath);
35 
36  m_bdtAlgoImpl = std::make_unique<eFEXtauBDT>(this, m_bdtJsonConfigPath);
37 
38  try {
41  m_bdtAlgoImpl->initBDTVars();
42  m_bdtAlgoImpl->initETPointers();
43  m_bdtAlgoImpl->initEMETPointers();
44  m_bdtAlgoImpl->initHADETPointers();
45  m_bdtAlgoImpl->initTowersPointers();
46  } catch (const std::domain_error &ex) {
47  ATH_MSG_ERROR(ex.what());
48  return StatusCode::FAILURE;
49  }
50 
51  ATH_MSG_INFO("tau Algorithm version: BDT");
52  return StatusCode::SUCCESS;
53 }

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

◆ interfaceID()

const InterfaceID & LVL1::IeFEXtauAlgo::interfaceID ( )
inlinestaticinherited

Definition at line 66 of file IeFEXtauAlgo.h.

67  {
68  return IID_IeFEXtauAlgo;
69  }

◆ isBDT()

bool LVL1::eFEXtauBDTAlgo::isBDT ( ) const
overridevirtual

Reimplemented from LVL1::eFEXtauAlgoBase.

Definition at line 159 of file eFEXtauBDTAlgo.cxx.

159 { return true; }

◆ isCentralTowerSeed()

bool LVL1::eFEXtauAlgoBase::isCentralTowerSeed ( ) const
overridevirtualinherited

Implements LVL1::IeFEXtauAlgo.

Definition at line 130 of file eFEXtauAlgoBase.cxx.

130  {
131  // Need layer cell ET arrays to be built
132  if (m_cellsSet == false) {
134  "Layers not built, cannot accurately determine if a seed tower.");
135  }
136 
137  bool out = true;
138 
139  // Get central tower ET
140  unsigned int centralET = m_twrcells[1][1];
141 
142  // Loop over all cells and check that the central tower is a local maximum
143  for (unsigned int beta = 0; beta < 3; beta++) {
144  for (unsigned int bphi = 0; bphi < 3; bphi++) {
145  // Don't need to compare central cell with itself
146  if ((beta == 1) && (bphi == 1)) {
147  continue;
148  }
149 
150  // Cells to the up and right must have strictly lesser ET
151  if (beta == 2 || (beta == 1 && bphi == 2)) {
152  if (centralET <= m_twrcells[beta][bphi]) {
153  out = false;
154  }
155  }
156  // Cells down and to the left must have lesser or equal ET. If strictly
157  // lesser would create zero TOB if two adjacent cells had equal energy
158  else if (beta == 0 || (beta == 1 && bphi == 0)) {
159  if (centralET < m_twrcells[beta][bphi]) {
160  out = false;
161  }
162  }
163  }
164  }
165 
166  return out;
167 }

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

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

◆ rCoreCore()

virtual unsigned int LVL1::eFEXtauAlgoBase::rCoreCore ( ) const
inlineoverridevirtualinherited

Implements LVL1::IeFEXtauAlgo.

Reimplemented in LVL1::eFEXtauAlgo.

Definition at line 50 of file eFEXtauAlgoBase.h.

50 { return 0; }

◆ rCoreEnv()

virtual unsigned int LVL1::eFEXtauAlgoBase::rCoreEnv ( ) const
inlineoverridevirtualinherited

Implements LVL1::IeFEXtauAlgo.

Reimplemented in LVL1::eFEXtauAlgo.

Definition at line 51 of file eFEXtauAlgoBase.h.

51 { return 0; }

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

◆ rHadCore()

unsigned int LVL1::eFEXtauBDTAlgo::rHadCore ( ) const
overridevirtual

Implements LVL1::IeFEXtauAlgo.

Definition at line 121 of file eFEXtauBDTAlgo.cxx.

121  {
122  if (m_cellsSet == false) {
123  ATH_MSG_DEBUG("Layers not built, cannot calculate rHad core value");
124  }
125 
126  return m_bdtAlgoImpl->getHADETEstimate();
127 }

◆ rHadEnv()

unsigned int LVL1::eFEXtauBDTAlgo::rHadEnv ( ) const
overridevirtual

Implements LVL1::IeFEXtauAlgo.

Definition at line 129 of file eFEXtauBDTAlgo.cxx.

129  {
130  if (m_cellsSet == false) {
131  ATH_MSG_DEBUG("Layers not built, cannot calculate rHad environment value");
132  }
133 
134  return m_bdtAlgoImpl->getEMETEstimate();
135 }

◆ safetyTest()

StatusCode LVL1::eFEXtauAlgoBase::safetyTest ( )
overridevirtualinherited

Implements LVL1::IeFEXtauAlgo.

Definition at line 24 of file eFEXtauAlgoBase.cxx.

24  {
25 
27  m_eTowerContainerKey /*,ctx*/);
28  if (!eTowerContainer.isValid()) {
29  ATH_MSG_FATAL("Could not retrieve eTowerContainer "
31  return StatusCode::FAILURE;
32  }
33  return StatusCode::SUCCESS;
34 }

◆ setSCellEncoder()

void LVL1::eFEXtauAlgoBase::setSCellEncoder ( LVL1::eFEXtauTOB tob) const
inherited

◆ setSCellPointers()

void LVL1::eFEXtauBDTAlgo::setSCellPointers ( )
private

Definition at line 81 of file eFEXtauBDTAlgo.cxx.

81  {
82  for (int phi = 0; phi < 3; phi++) {
83  for (int eta = 0; eta < 3; eta++) {
84  // Coarse layers
85  m_bdtAlgoImpl->setPointerToSCell(eta, phi, 0, &m_em0cells[eta][phi]);
86  m_bdtAlgoImpl->setPointerToSCell(eta, phi, 3, &m_em3cells[eta][phi]);
87  m_bdtAlgoImpl->setPointerToSCell(eta, phi, 4, &m_hadcells[eta][phi]);
88  }
89  for (int eta = 0; eta < 12; eta++) {
90  // Fine layers
91  m_bdtAlgoImpl->setPointerToSCell(eta, phi, 1, &m_em1cells[eta][phi]);
92  m_bdtAlgoImpl->setPointerToSCell(eta, phi, 2, &m_em2cells[eta][phi]);
93  }
94  }
95 }

◆ setSuperCells()

void LVL1::eFEXtauAlgoBase::setSuperCells ( eFEXtauTOB tob,
bool  withSupercells 
)
protectedinherited

◆ setSupercellSeed()

virtual void LVL1::eFEXtauAlgoBase::setSupercellSeed ( )
inlineprotectedvirtualinherited

Reimplemented in LVL1::eFEXtauAlgo.

Definition at line 73 of file eFEXtauAlgoBase.h.

73 {}

◆ setThresholdPointers()

void LVL1::eFEXtauBDTAlgo::setThresholdPointers ( )
private

Definition at line 97 of file eFEXtauBDTAlgo.cxx.

97  {
98  for (int i = 0; i < 3; i++) {
99  m_bdtAlgoImpl->setPointerToFracMultipliersParam(i,
100  &(m_hadFracMultipliers[i]));
101  }
102 
103  for (int i = 0; i < 3; i++) {
104  m_bdtAlgoImpl->setPointerToBDTThresholdsParam(i, &(m_bdtThresholds[i]));
105  }
106 
107  m_bdtAlgoImpl->setPointerToMaxETParam(&m_maxEtThreshold);
108  m_bdtAlgoImpl->setPointerToETThresholdParam(&m_etThreshold);
109  m_bdtAlgoImpl->setPointerToBDTMinETParam(&m_bdtMinEtThreshold);
110 }

◆ setThresholds()

void LVL1::eFEXtauBDTAlgo::setThresholds ( const std::vector< unsigned int > &  rHadThreshold,
const std::vector< unsigned int > &  bdtThreshold,
unsigned int  etThreshold,
unsigned int  etThresholdForRHad,
unsigned int  bdtMinEtThreshold 
)
overridevirtual

Reimplemented from LVL1::eFEXtauAlgoBase.

Definition at line 161 of file eFEXtauBDTAlgo.cxx.

164  {
165  for (int i = 0; i < 3; i++) {
166  m_hadFracMultipliers[i] = rHadThreshold[i];
167  m_bdtThresholds[i] = bdtThreshold[i];
168  }
169  m_etThreshold = etThreshold;
170  m_maxEtThreshold = maxEtThreshold;
171  m_bdtMinEtThreshold = bdtMinEtThreshold;
172 }

◆ setUnDAndOffPhi()

virtual void LVL1::eFEXtauAlgoBase::setUnDAndOffPhi ( )
inlineprotectedvirtualinherited

Reimplemented in LVL1::eFEXtauAlgo.

Definition at line 74 of file eFEXtauAlgoBase.h.

74 {}

◆ setup()

void LVL1::eFEXtauBDTAlgo::setup ( int  inputTable[3][3],
int  efex_id,
int  fpga_id,
int  central_eta 
)
overridevirtual

Implements LVL1::IeFEXtauAlgo.

Definition at line 55 of file eFEXtauBDTAlgo.cxx.

56  {
57 
58  std::copy(&inputTable[0][0], &inputTable[0][0] + 9, &m_eFexalgoTowerID[0][0]);
59 
60  buildLayers(efex_id, fpga_id, central_eta);
61 }

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

std::unique_ptr<eFEXtauBDT> LVL1::eFEXtauBDTAlgo::m_bdtAlgoImpl
private

Definition at line 91 of file eFEXtauBDTAlgo.h.

◆ m_bdtJsonConfigPath

Gaudi::Property<std::string> LVL1::eFEXtauBDTAlgo::m_bdtJsonConfigPath
private
Initial value:
{
this, "BDTJsonConfigPath", "",
"Path to BDT json config file"}

Definition at line 88 of file eFEXtauBDTAlgo.h.

◆ m_bdtMinEtThreshold

unsigned int LVL1::eFEXtauBDTAlgo::m_bdtMinEtThreshold {}
private

Definition at line 76 of file eFEXtauBDTAlgo.h.

◆ m_bdtScore

unsigned int LVL1::eFEXtauBDTAlgo::m_bdtScore {}
private

Definition at line 78 of file eFEXtauBDTAlgo.h.

◆ m_bdtThresholds

unsigned int LVL1::eFEXtauBDTAlgo::m_bdtThresholds[3] {}
private

Definition at line 73 of file eFEXtauBDTAlgo.h.

◆ m_bdtVarComputeSCellPointers

std::vector<std::vector<unsigned int *> > LVL1::eFEXtauBDTAlgo::m_bdtVarComputeSCellPointers
private

Definition at line 86 of file eFEXtauBDTAlgo.h.

◆ m_bdtVars

std::vector<unsigned int> LVL1::eFEXtauBDTAlgo::m_bdtVars
private

Definition at line 81 of file eFEXtauBDTAlgo.h.

◆ m_bdtVarsComputed

bool LVL1::eFEXtauBDTAlgo::m_bdtVarsComputed = false
private

Definition at line 93 of file eFEXtauBDTAlgo.h.

◆ m_cellsSet

bool LVL1::eFEXtauAlgoBase::m_cellsSet = false
protectedinherited

Definition at line 66 of file eFEXtauAlgoBase.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_eFexalgoTowerID

int LVL1::eFEXtauAlgoBase::m_eFexalgoTowerID[3][3] {}
protectedinherited

Definition at line 68 of file eFEXtauAlgoBase.h.

◆ m_em0cells

unsigned int LVL1::eFEXtauAlgoBase::m_em0cells[3][3] {}
protectedinherited

Definition at line 79 of file eFEXtauAlgoBase.h.

◆ m_em1cells

unsigned int LVL1::eFEXtauAlgoBase::m_em1cells[12][3] {}
protectedinherited

Definition at line 80 of file eFEXtauAlgoBase.h.

◆ m_em2cells

unsigned int LVL1::eFEXtauAlgoBase::m_em2cells[12][3] {}
protectedinherited

Definition at line 81 of file eFEXtauAlgoBase.h.

◆ m_em3cells

unsigned int LVL1::eFEXtauAlgoBase::m_em3cells[3][3] {}
protectedinherited

Definition at line 82 of file eFEXtauAlgoBase.h.

◆ m_eTowerContainerKey

SG::ReadHandleKey<LVL1::eTowerContainer> LVL1::eFEXtauAlgoBase::m_eTowerContainerKey
protectedinherited
Initial value:
{
this, "MyETowers", "eTowerContainer", "Input container for eTowers"}

Definition at line 64 of file eFEXtauAlgoBase.h.

◆ m_etThreshold

unsigned int LVL1::eFEXtauBDTAlgo::m_etThreshold {}
private

Definition at line 74 of file eFEXtauBDTAlgo.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_hadcells

unsigned int LVL1::eFEXtauAlgoBase::m_hadcells[3][3] {}
protectedinherited

Definition at line 83 of file eFEXtauAlgoBase.h.

◆ m_hadFracMultipliers

unsigned int LVL1::eFEXtauBDTAlgo::m_hadFracMultipliers[3] {}
private

Definition at line 72 of file eFEXtauBDTAlgo.h.

◆ m_maxEtThreshold

unsigned int LVL1::eFEXtauBDTAlgo::m_maxEtThreshold {}
private

Definition at line 75 of file eFEXtauBDTAlgo.h.

◆ m_twrcells

unsigned int LVL1::eFEXtauAlgoBase::m_twrcells[3][3] {}
protectedinherited

Definition at line 84 of file eFEXtauAlgoBase.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.


The documentation for this class was generated from the following files:
eTowerContainer
Container class for eTower.
test_pyathena.eta
eta
Definition: test_pyathena.py:10
et
Extra patterns decribing particle interation process.
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
LVL1::eTower::getTotalET
int getTotalET() const
Get ET sum of all cells in the eTower in MeV.
Definition: eTower.cxx:194
LVL1::eTower
The eTower class is an interface object for eFEX trigger algorithms The purposes are twofold:
Definition: eTower.h:38
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
LVL1::eFEXtauAlgoBase::m_eTowerContainerKey
SG::ReadHandleKey< LVL1::eTowerContainer > m_eTowerContainerKey
Definition: eFEXtauAlgoBase.h:64
LVL1::eFEXtauAlgoBase::m_em3cells
unsigned int m_em3cells[3][3]
Definition: eFEXtauAlgoBase.h:82
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:67
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
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
LVL1::eFEXtauBDTAlgo::m_maxEtThreshold
unsigned int m_maxEtThreshold
Definition: eFEXtauBDTAlgo.h:75
LVL1::eFEXtauBDTAlgo::rHadCore
virtual unsigned int rHadCore() const override
Definition: eFEXtauBDTAlgo.cxx:121
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
LVL1::IeFEXtauAlgo::rHadCore
virtual unsigned int rHadCore() const =0
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
LVL1::eFEXtauBDTAlgo::m_bdtMinEtThreshold
unsigned int m_bdtMinEtThreshold
Definition: eFEXtauBDTAlgo.h:76
LVL1::eFEXtauBDTAlgo::getEt
virtual unsigned int getEt() const override
Definition: eFEXtauBDTAlgo.cxx:113
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
xAOD::phi
setEt phi
Definition: TrigEMCluster_v1.cxx:29
LVL1::eFEXtauAlgoBase::m_em0cells
unsigned int m_em0cells[3][3]
Definition: eFEXtauAlgoBase.h:79
LVL1::eFEXtauBDTAlgo::m_bdtThresholds
unsigned int m_bdtThresholds[3]
Definition: eFEXtauBDTAlgo.h:73
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
LVL1::eFEXtauAlgoBase::m_hadcells
unsigned int m_hadcells[3][3]
Definition: eFEXtauAlgoBase.h:83
LVL1::eFEXtauAlgoBase::m_em2cells
unsigned int m_em2cells[12][3]
Definition: eFEXtauAlgoBase.h:81
lumiFormat.i
int i
Definition: lumiFormat.py:85
LVL1::eFEXtauAlgoBase::rCoreCore
virtual unsigned int rCoreCore() const override
Definition: eFEXtauAlgoBase.h:50
LVL1::eFEXtauAlgoBase::getRealRCore
virtual float getRealRCore() const override
Definition: eFEXtauAlgoBase.cxx:96
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
LVL1::eFEXtauAlgoBase::m_eFexalgoTowerID
int m_eFexalgoTowerID[3][3]
Definition: eFEXtauAlgoBase.h:68
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
LVL1::eFEXtauBDTAlgo::m_bdtJsonConfigPath
Gaudi::Property< std::string > m_bdtJsonConfigPath
Definition: eFEXtauBDTAlgo.h:88
LVL1::eTower::getET
int getET(unsigned int layer, int cell=0) const
Get ET of a specified cell in MeV.
Definition: eTower.cxx:172
LVL1::eFEXtauAlgoBase::m_twrcells
unsigned int m_twrcells[3][3]
Definition: eFEXtauAlgoBase.h:84
LVL1::eFEXtauBDTAlgo::setThresholdPointers
void setThresholdPointers()
Definition: eFEXtauBDTAlgo.cxx:97
compute_lumi.denom
denom
Definition: compute_lumi.py:76
LVL1::eTower::getLayerTotalET
int getLayerTotalET(unsigned int layer) const
Get total ET sum of all cells in a given layer in MeV.
Definition: eTower.cxx:249
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
trigbs_pickEvents.num
num
Definition: trigbs_pickEvents.py:76
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
LVL1::eFEXtauBDTAlgo::setSCellPointers
void setSCellPointers()
Definition: eFEXtauBDTAlgo.cxx:81
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
LVL1::eFEXtauAlgoBase::m_em1cells
unsigned int m_em1cells[12][3]
Definition: eFEXtauAlgoBase.h:80
LVL1::eFEXtauBDTAlgo::rHadEnv
virtual unsigned int rHadEnv() const override
Definition: eFEXtauBDTAlgo.cxx:129
a
TList * a
Definition: liststreamerinfos.cxx:10
h
LVL1::eFEXtauBDTAlgo::m_etThreshold
unsigned int m_etThreshold
Definition: eFEXtauBDTAlgo.h:74
LVL1::eFEXtauAlgoBase::getRCore
virtual void getRCore(std::vector< unsigned int > &rCoreVec) const override
Definition: eFEXtauAlgoBase.cxx:120
LVL1::eFEXtauBDTAlgo::getBitwiseEt
virtual unsigned int getBitwiseEt() const override
Definition: eFEXtauBDTAlgo.cxx:139
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:629
LVL1::eFEXtauAlgoBase::buildLayers
void buildLayers(int efex_id, int fpga_id, int central_eta)
Definition: eFEXtauAlgoBase.cxx:37
LVL1::eFEXtauBDTAlgo::m_bdtAlgoImpl
std::unique_ptr< eFEXtauBDT > m_bdtAlgoImpl
Definition: eFEXtauBDTAlgo.h:91
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
LVL1::eFEXtauAlgoBase::m_cellsSet
bool m_cellsSet
Definition: eFEXtauAlgoBase.h:66
calibdata.copy
bool copy
Definition: calibdata.py:27
LVL1::eFEXtauBDTAlgo::m_hadFracMultipliers
unsigned int m_hadFracMultipliers[3]
Definition: eFEXtauBDTAlgo.h:72
LVL1::eFEXtauAlgoBase::rCoreEnv
virtual unsigned int rCoreEnv() const override
Definition: eFEXtauAlgoBase.h:51
LVL1::eFEXtauAlgoBase::getRHad
virtual void getRHad(std::vector< unsigned int > &rHadVec) const override
Definition: eFEXtauAlgoBase.cxx:87
MuonParameters::beta
@ beta
Definition: MuonParamDefs.h:144
python.DataFormatRates.env
env
Definition: DataFormatRates.py:32
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
LVL1::IeFEXtauAlgo::rHadEnv
virtual unsigned int rHadEnv() const =0
fitman.k
k
Definition: fitman.py:528
LVL1::eFEXtauAlgoBase::eFEXtauAlgoBase
eFEXtauAlgoBase(const std::string &type, const std::string &name, const IInterface *parent)
Constructors.
Definition: eFEXtauAlgoBase.cxx:15