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]
 
Gaudi::Property< bool > m_dumpSCells
 

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 21 of file eFEXtauBDTAlgo.cxx.

◆ ~eFEXtauBDTAlgo()

LVL1::eFEXtauBDTAlgo::~eFEXtauBDTAlgo ( )
virtual

Destructor.

Definition at line 27 of file eFEXtauBDTAlgo.cxx.

27 {}

Member Function Documentation

◆ buildLayers()

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

Definition at line 38 of file eFEXtauAlgoBase.cxx.

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

◆ compute()

void LVL1::eFEXtauBDTAlgo::compute ( )
overridevirtual

Reimplemented from LVL1::eFEXtauAlgoBase.

Definition at line 66 of file eFEXtauBDTAlgo.cxx.

66 { 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 155 of file eFEXtauBDTAlgo.cxx.

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

◆ getBDTHadFracCondition()

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

Reimplemented from LVL1::eFEXtauAlgoBase.

Definition at line 159 of file eFEXtauBDTAlgo.cxx.

159  {
160  return m_bdtAlgoImpl->getFracCondition();
161 }

◆ getBDTScore()

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

Reimplemented from LVL1::eFEXtauAlgoBase.

Definition at line 151 of file eFEXtauBDTAlgo.cxx.

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

◆ getBitwiseEt()

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

Implements LVL1::IeFEXtauAlgo.

Definition at line 143 of file eFEXtauBDTAlgo.cxx.

143  {
144  if (m_cellsSet == false) {
145  ATH_MSG_DEBUG("Layers not built, cannot accurately calculate Et.");
146  }
147 
148  return m_bdtAlgoImpl->getET();
149 }

◆ getEt()

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

Implements LVL1::IeFEXtauAlgo.

Definition at line 117 of file eFEXtauBDTAlgo.cxx.

117  {
118  if (m_cellsSet == false) {
119  ATH_MSG_DEBUG("Layers not built, cannot accurately calculate Et.");
120  }
121 
122  return m_bdtAlgoImpl->getETEstimate();
123 }

◆ getRCore()

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

Implements LVL1::IeFEXtauAlgo.

Definition at line 121 of file eFEXtauAlgoBase.cxx.

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

◆ getRealRCore()

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

Implements LVL1::IeFEXtauAlgo.

Definition at line 97 of file eFEXtauAlgoBase.cxx.

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

◆ getRealRHad()

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

Implements LVL1::IeFEXtauAlgo.

Definition at line 109 of file eFEXtauAlgoBase.cxx.

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

◆ getRHad()

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

Implements LVL1::IeFEXtauAlgo.

Definition at line 88 of file eFEXtauAlgoBase.cxx.

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

◆ 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 77 of file eFEXtauAlgoBase.cxx.

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

◆ getTauTOB()

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

Implements LVL1::IeFEXtauAlgo.

Definition at line 68 of file eFEXtauBDTAlgo.cxx.

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

◆ 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 29 of file eFEXtauBDTAlgo.cxx.

29  {
31  std::string configPath = PathResolver::find_file(
33  ATH_MSG_INFO("Using BDT config file " << configPath);
34  if (configPath.size() == 0) {
35  ATH_MSG_ERROR("Cannot locate BDT config file " << m_bdtJsonConfigPath);
36  return StatusCode::FAILURE;
37  }
38 
39  m_bdtAlgoImpl = std::make_unique<eFEXtauBDT>(this, configPath);
40 
41  try {
44  m_bdtAlgoImpl->initBDTVars();
45  m_bdtAlgoImpl->initETPointers();
46  m_bdtAlgoImpl->initEMETPointers();
47  m_bdtAlgoImpl->initHADETPointers();
48  m_bdtAlgoImpl->initTowersPointers();
49  } catch (const std::domain_error &ex) {
50  ATH_MSG_ERROR(ex.what());
51  return StatusCode::FAILURE;
52  }
53 
54  ATH_MSG_INFO("tau Algorithm version: BDT");
55  return StatusCode::SUCCESS;
56 }

◆ 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 163 of file eFEXtauBDTAlgo.cxx.

163 { return true; }

◆ isCentralTowerSeed()

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

Implements LVL1::IeFEXtauAlgo.

Definition at line 131 of file eFEXtauAlgoBase.cxx.

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

◆ 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 125 of file eFEXtauBDTAlgo.cxx.

125  {
126  if (m_cellsSet == false) {
127  ATH_MSG_DEBUG("Layers not built, cannot calculate rHad core value");
128  }
129 
130  return m_bdtAlgoImpl->getHADETEstimate();
131 }

◆ rHadEnv()

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

Implements LVL1::IeFEXtauAlgo.

Definition at line 133 of file eFEXtauBDTAlgo.cxx.

133  {
134  if (m_cellsSet == false) {
135  ATH_MSG_DEBUG("Layers not built, cannot calculate rHad environment value");
136  }
137 
138  return m_bdtAlgoImpl->getEMETEstimate();
139 }

◆ safetyTest()

StatusCode LVL1::eFEXtauAlgoBase::safetyTest ( )
overridevirtualinherited

Implements LVL1::IeFEXtauAlgo.

Definition at line 25 of file eFEXtauAlgoBase.cxx.

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

◆ setSCellEncoder()

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

Definition at line 170 of file eFEXtauAlgoBase.cxx.

170  {
171  if (!m_dumpSCells) {
172  tob->setSuperCellEncoder(nullptr);
173  return;
174  }
175 
176  std::unique_ptr<SCellEncoder> scellEncoder = std::make_unique<SCellEncoder>();
177  scellEncoder->setSuperCells(m_em0cells, m_em1cells, m_em2cells, m_em3cells,
178  m_hadcells);
179  tob->setSuperCellEncoder(std::move(scellEncoder));
180 }

◆ setSCellPointers()

void LVL1::eFEXtauBDTAlgo::setSCellPointers ( )
private

Definition at line 85 of file eFEXtauBDTAlgo.cxx.

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

◆ 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 101 of file eFEXtauBDTAlgo.cxx.

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

◆ 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 165 of file eFEXtauBDTAlgo.cxx.

168  {
169  for (int i = 0; i < 3; i++) {
170  m_hadFracMultipliers[i] = rHadThreshold[i];
171  m_bdtThresholds[i] = bdtThreshold[i];
172  }
173  m_etThreshold = etThreshold;
174  m_maxEtThreshold = maxEtThreshold;
175  m_bdtMinEtThreshold = bdtMinEtThreshold;
176 }

◆ 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 58 of file eFEXtauBDTAlgo.cxx.

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

◆ 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", "bdt_config_v16.json",
"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_dumpSCells

Gaudi::Property<bool> LVL1::eFEXtauAlgoBase::m_dumpSCells
protectedinherited
Initial value:
{this, "DumpSuperCells", false,
"Should decorate TOBs with supercells"}

Definition at line 86 of file eFEXtauAlgoBase.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.
et
Extra patterns decribing particle interation process.
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
PathResolver::RecursiveSearch
@ RecursiveSearch
Definition: PathResolver.h:28
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
LVL1::eTower::getTotalET
int getTotalET() const
Get ET sum of all cells in the eTower in MeV.
Definition: eTower.cxx:194
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
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
PathResolver::find_file
static std::string find_file(const std::string &logical_file_name, const std::string &search_path, SearchType search_type=LocalSearch)
Definition: PathResolver.cxx:251
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
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
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::eFEXtauAlgoBase::m_dumpSCells
Gaudi::Property< bool > m_dumpSCells
Definition: eFEXtauAlgoBase.h:86
LVL1::eFEXtauBDTAlgo::m_maxEtThreshold
unsigned int m_maxEtThreshold
Definition: eFEXtauBDTAlgo.h:75
LVL1::eFEXtauBDTAlgo::rHadCore
virtual unsigned int rHadCore() const override
Definition: eFEXtauBDTAlgo.cxx:125
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
LVL1::eFEXtauBDTAlgo::m_bdtMinEtThreshold
unsigned int m_bdtMinEtThreshold
Definition: eFEXtauBDTAlgo.h:76
LVL1::eFEXtauBDTAlgo::getEt
virtual unsigned int getEt() const override
Definition: eFEXtauBDTAlgo.cxx:117
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
LVL1::eFEXtauAlgoBase::m_em0cells
unsigned int m_em0cells[3][3]
Definition: eFEXtauAlgoBase.h:79
LVL1::eFEXtauAlgoBase::setSCellEncoder
void setSCellEncoder(LVL1::eFEXtauTOB *tob) const
Definition: eFEXtauAlgoBase.cxx:170
LVL1::eFEXtauBDTAlgo::m_bdtThresholds
unsigned int m_bdtThresholds[3]
Definition: eFEXtauBDTAlgo.h:73
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:92
LVL1::eFEXtauAlgoBase::rCoreCore
virtual unsigned int rCoreCore() const override
Definition: eFEXtauAlgoBase.h:50
LVL1::eFEXtauAlgoBase::getRealRCore
virtual float getRealRCore() const override
Definition: eFEXtauAlgoBase.cxx:97
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LVL1::eFEXtauTOB::setSuperCellEncoder
void setSuperCellEncoder(std::unique_ptr< SCellEncoder > scell_encoder)
Definition: eFEXtauTOB.cxx:121
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:101
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:85
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
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:133
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:121
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LVL1::eFEXtauBDTAlgo::getBitwiseEt
virtual unsigned int getBitwiseEt() const override
Definition: eFEXtauBDTAlgo.cxx:143
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
LVL1::eFEXtauAlgoBase::buildLayers
void buildLayers(int efex_id, int fpga_id, int central_eta)
Definition: eFEXtauAlgoBase.cxx:38
LVL1::eFEXtauBDTAlgo::m_bdtAlgoImpl
std::unique_ptr< eFEXtauBDT > m_bdtAlgoImpl
Definition: eFEXtauBDTAlgo.h:91
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
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:88
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:16