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

#include <gFexTowerBuilder.h>

Inheritance diagram for LVL1::gFexTowerBuilder:
Collaboration diagram for LVL1::gFexTowerBuilder:

Public Member Functions

 gFexTowerBuilder (const std::string &name, ISvcLocator *svc)
 
virtual StatusCode initialize () override
 Function initialising the algorithm. More...
 
virtual StatusCode execute (const EventContext &) const override
 Function executing the algorithm. More...
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual bool isClonable () const override
 Specify if the algorithm is clonable. More...
 
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
 
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
virtual bool filterPassed (const EventContext &ctx) const
 
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, 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...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

StatusCode ReadFibersfromFile (const std::string &)
 
StatusCode ReadTilefromFile (const std::string &)
 
StatusCode ReadSCfromFile (const std::string &)
 
bool isBadSCellID (const std::string &) const
 
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

SG::ReadHandleKey< CaloCellContainerm_SCellKey
 
SG::ReadHandleKey< xAOD::TriggerTowerContainerm_triggerTowerKey
 
SG::WriteHandleKey< xAOD::gFexTowerContainerm_gTowersWriteKey
 
Gaudi::Property< std::string > m_FiberMapping
 
Gaudi::Property< bool > m_apply_masking
 
Gaudi::Property< bool > m_isDATA
 
Gaudi::Property< std::string > m_gFEX2Scellmapping
 
Gaudi::Property< std::string > m_gFEX2Tilemapping
 
std::unordered_map< uint32_t, std::vector< uint64_t > > m_map_TTower2SCells
 
std::unordered_map< uint32_t, std::vector< uint32_t > > m_map_TTower2Tile
 
std::unordered_map< unsigned int, std::array< float, 4 > > m_Firm2Tower_map
 
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Definition at line 32 of file gFexTowerBuilder.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ gFexTowerBuilder()

LVL1::gFexTowerBuilder::gFexTowerBuilder ( const std::string &  name,
ISvcLocator *  svc 
)

Definition at line 32 of file gFexTowerBuilder.cxx.

Member Function Documentation

◆ cardinality()

unsigned int AthCommonReentrantAlgorithm< Gaudi::Algorithm >::cardinality
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Override this to return 0 for reentrant algorithms.

Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.

64 {
65  return 0;
66 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::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< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 245 of file AthCommonDataStore.h.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 221 of file AthCommonDataStore.h.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.

Definition at line 333 of file AthCommonDataStore.h.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.

Definition at line 352 of file AthCommonDataStore.h.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, 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< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( ) const
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

StatusCode LVL1::gFexTowerBuilder::execute ( const EventContext &  ctx) const
overridevirtual

Function executing the algorithm.

Definition at line 57 of file gFexTowerBuilder.cxx.

57  {
58 
59  // Reading the Scell container
60  SG::ReadHandle<CaloCellContainer> ScellContainer(m_SCellKey, ctx);
61  if (!ScellContainer.isValid()) {
62  ATH_MSG_ERROR("Could not retrieve collection " << ScellContainer.key());
63  return StatusCode::FAILURE;
64  }
65 
66  // Reading the TriggerTower container
67  SG::ReadHandle<xAOD::TriggerTowerContainer> triggerTowerContainer(
68  m_triggerTowerKey, ctx);
69  if (!triggerTowerContainer.isValid()) {
70  ATH_MSG_ERROR("Could not retrieve collection "
71  << triggerTowerContainer.key());
72  return StatusCode::FAILURE;
73  }
74 
75  // WriteHandle for gFEX EDMs
77  ATH_CHECK( gTowersContainer.record(std::make_unique<xAOD::gFexTowerContainer>(),
78  std::make_unique<xAOD::gFexTowerAuxContainer>()) );
79  ATH_MSG_DEBUG("Recorded gFexEmulatedTower container with key " << gTowersContainer.key());
80 
81  if (ScellContainer->empty() || triggerTowerContainer->empty()) {
83  "Cannot fill gTowers here, at least one container is empty. "
84  "ScellContainer.size="
85  << ScellContainer->size()
86  << " or triggerTowerContainer.size=" << triggerTowerContainer->size());
87  return StatusCode::SUCCESS;
88  }
89 
90  // building Scell ID pointers
91  std::unordered_map<uint64_t, const CaloCell*> map_ScellID2ptr;
92 
93  for (const CaloCell* scell : *ScellContainer) {
94  const uint64_t ID = scell->ID().get_compact();
95  map_ScellID2ptr[ID] = scell;
96  }
97 
98  // building Tile ID pointers
99  std::unordered_map<uint32_t, const xAOD::TriggerTower*> map_TileID2ptr;
100 
101  for (const xAOD::TriggerTower* tower : *triggerTowerContainer) {
102  map_TileID2ptr[tower->coolId()] = tower;
103  }
104  for (const auto& [key, element] : m_Firm2Tower_map) {
105  unsigned int towerID = key;
106  const auto [fpga, eta, phi, source] = element;
107 
108  // the summed encoded Et from LAr or Tile
109  uint16_t total_et_encoded = 0;
110  char gTower_sat = 0;
111  // Note input fpga distinguishes between LAr (0,1,2), Tile (3) and duplicated channels (4)
112  if (source == 0) {
113 
114  const std::unordered_map<uint32_t, std::vector<uint64_t> >*
115  ptr_TTower2Cells;
116  ptr_TTower2Cells = &m_map_TTower2SCells;
117 
118  // check if the towerID exists in the LAr map
119  auto it_TTower2SCells = (*ptr_TTower2Cells).find(towerID);
120  if (it_TTower2SCells == (*ptr_TTower2Cells).end()) {
121  ATH_MSG_ERROR("gFEX ID: " << towerID
122  << " not found on map m_map_TTower2SCells");
123  return StatusCode::FAILURE;
124  }
125 
126 
127  bool invalid = m_apply_masking && m_isDATA; // the isDATA is because there is no concept of invalid supercell in MC (the provenance bit is actually used for BCID in MC), so can never have an invalid jTower
128  bool masked = m_apply_masking;
129 
130  // loop over the SCell IDs and calculate encoded Et
131  int total_Et = 0;
132  bool isConnected = true;
133  for (const auto& scellID : it_TTower2SCells->second) {
134  // check if the SCell ID exists in the map
135  auto it_ScellID2ptr = map_ScellID2ptr.find(scellID);
136 
137  // unconnected Towers have a single SCell with special id, set energy to zero
138  if (scellID == 0xffffffffffffffff) {
139  isConnected = false;
140  continue;
141  }
142 
143  // check if other SCells are in the map
144  std::string str_hex = std::format("{:x}", scellID);
145 
146  if (it_ScellID2ptr == map_ScellID2ptr.end()) {
147  if (m_isDATA)
148  ATH_MSG_WARNING("SCell ID: "
149  << scellID
150  << " not found in the CaloCellContainer, skipping");
151  continue;
152  }
153 
154  const CaloCell* scell = it_ScellID2ptr->second;
155  int val = std::round(
156  scell->energy() /
157  (12.5 * std::cosh(scell->eta()))); // 12.5 is b.c. energy is in
158  // units of 12.5 MeV per count
159 
160  bool isMasked =
161  m_apply_masking ? ((scell)->provenance() & 0x80) : false;
162  bool isInvalid =
163  (m_apply_masking&&m_isDATA) ? ((scell)->provenance()&0x40) : false;
164  bool isSaturated = (m_isDATA) ? scell->quality() : false; // saturation algorithm not implemented in MC yet
165 
166  invalid &= isInvalid;
167  masked &= isMasked;
168  if (!isMasked) {
169  gTower_sat |= isSaturated;
170  }
171 
172  if (isMasked) {
173  val = 0;
174  } else if( isInvalid&&m_isDATA) {
175  val = 0;
176  }
177 
178  if (val != 0)
179  total_Et += val;
180 
181  } // end of SCell loop
182 
183  // now must convert Total_Et int value into fex value: multi-level encoding
184  if(!isConnected) {
185  total_et_encoded = 0; // no data
186  } else if(masked) {
187  total_et_encoded = 0; // no data
188  } else if(invalid) {
189  total_et_encoded = 4095; // invalid
190  } else {
191  total_et_encoded = gFEXCompression::compress(12.5 * total_Et);
192  }
193 
194 
195  } else if (source == 1) {
196 
197  // Tile
198  // check that the gFEX Tower ID exists in the Tile map
199  auto it_TTower2Tile = m_map_TTower2Tile.find(towerID);
200 
201  int Tile_Et = 0;
202  for (auto const& TileTowerID : it_TTower2Tile->second) {
203  auto it_TileID2ptr = map_TileID2ptr.find(TileTowerID);
204  if (it_TileID2ptr == map_TileID2ptr.end()) {
205  if(m_isDATA) {
206  ATH_MSG_WARNING("Tile cool ID: " << TileTowerID
207  << " not found in the xAOD::TriggerTower (map_TileID2ptr)");
208  }
209  continue; // in MC the xAODTriggerTowers have variable size due to noise cuts, continue on to the next tower
210  } else {
211  const xAOD::TriggerTower* tileTower = it_TileID2ptr->second;
212  unsigned int jepEt = tileTower->jepET();
213  Tile_Et += jepEt; // add the encoded energies
214  }
215  }
216  total_et_encoded = Tile_Et;
217 
218  } else if (source == 2) {
219  // duplicated Towers, LATOME sends 0
220  total_et_encoded = 0;
221  }
222 
223  // the EDM requires a float
224  float total_et_encoded_flt = total_et_encoded;
225 
226  unsigned int fpga_out = (towerID < 10000) ? 0 : (towerID < 20000) ? 1 : 2;
227  unsigned int iEta = 0;
228  unsigned int iPhi = 0;
229 
230  gTowersContainer->push_back(std::make_unique<xAOD::gFexTower>());
231  gTowersContainer->back()->initialize(iEta, iPhi, eta, phi,
232  total_et_encoded_flt, fpga_out,
233  gTower_sat, towerID);
234  }
235 
236  return StatusCode::SUCCESS;
237  }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase &  ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthCommonReentrantAlgorithm< Gaudi::Algorithm >::extraOutputDeps
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.

90 {
91  // If we didn't find any symlinks to add, just return the collection
92  // from the base class. Otherwise, return the extended collection.
93  if (!m_extendedExtraObjects.empty()) {
95  }
96  return BaseAlg::extraOutputDeps();
97 }

◆ filterPassed()

virtual bool AthCommonReentrantAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext &  ctx) const
inlinevirtualinherited

Definition at line 96 of file AthCommonReentrantAlgorithm.h.

96  {
97  return execState( ctx ).filterPassed();
98  }

◆ initialize()

StatusCode LVL1::gFexTowerBuilder::initialize ( )
overridevirtual

Function initialising the algorithm.

Definition at line 35 of file gFexTowerBuilder.cxx.

35  {
36 
38  "Initializing L1CaloFEXAlgos/gFexEmulatedTowers algorithm with name: "
39  << name());
40  ATH_MSG_INFO("Writing into SG key: " << m_gTowersWriteKey);
41  ATH_MSG_INFO("SCell masking: " << m_apply_masking);
42 
44  ATH_CHECK(m_triggerTowerKey.initialize());
45  ATH_CHECK(m_gTowersWriteKey.initialize());
46 
47  // Reading from CVMFS Fiber mapping
49 
50  // Reading from CVMFS Trigger Tower and their corresponding SCell ID
53 
54  return StatusCode::SUCCESS;
55  }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ isBadSCellID()

bool LVL1::gFexTowerBuilder::isBadSCellID ( const std::string &  ID) const
private

Definition at line 340 of file gFexTowerBuilder.cxx.

340  {
341 
342  // does it start with "0x"?, if so then is a GOOD SCell ID!
343  if (ID.find("0x") == std::string::npos) {
344  ATH_MSG_ERROR("Invalid SuperCell ID "
345  << ID
346  << ". Expecting hexadecimal number on the mapping file");
347  return true;
348  }
349  return false;
350  }

◆ isClonable()

bool AthCommonReentrantAlgorithm< Gaudi::Algorithm >::isClonable
overridevirtualinherited

Specify if the algorithm is clonable.

Reentrant algorithms are clonable.

Definition at line 68 of file AthCommonReentrantAlgorithm.cxx.

52 {
53  // Reentrant algorithms are clonable.
54  return true;
55 }

◆ msg() [1/2]

MsgStream& AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 27 of file AthCommonMsg.h.

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

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30  {
31  return this->msgLevel(lvl);
32  }

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ ReadFibersfromFile()

StatusCode LVL1::gFexTowerBuilder::ReadFibersfromFile ( const std::string &  fileName)
private

Definition at line 239 of file gFexTowerBuilder.cxx.

239  {
240  // opening file with ifstream
241  std::ifstream file(fileName);
242 
243  if (!file.is_open()) {
244  ATH_MSG_ERROR("Could not open file:" << fileName);
245  return StatusCode::FAILURE;
246  }
247  std::string line;
248  // loading the mapping information
249  while (std::getline(file, line)) {
250  // removing the header of the file (it is just information!)
251  if (line[0] == '#') continue;
252 
253  // Splitting line in different substrings
254  std::stringstream oneLine(line);
255  // reading elements
256  std::vector<float> elements;
257  std::string element;
258  while (std::getline(oneLine, element, ' ')) {
259  elements.push_back(std::stof(element));
260  }
261 
262  // It should have 5 elements
263  // ordered as: towerID fpga source eta phi
264 
265  if (elements.size() != 5) {
267  "Unexpected number of elements (5 expected) in file: " << fileName);
268  return StatusCode::FAILURE;
269  }
270 
271  // building array of <fpga, eta, phi, source>
272  std::array<float, 4> aux_arr{{elements.at(1), elements.at(3),
273  elements.at(4), elements.at(2)}};
274 
275  // filling the map with the hash given by mapIndex()
276  m_Firm2Tower_map[elements.at(0)] = aux_arr;
277  }
278 
279  file.close();
280 
281  return StatusCode::SUCCESS;
282  }

◆ ReadSCfromFile()

StatusCode LVL1::gFexTowerBuilder::ReadSCfromFile ( const std::string &  fileName)
private

Definition at line 284 of file gFexTowerBuilder.cxx.

284  {
285 
286  // opening file with ifstream
287  std::ifstream file(fileName);
288 
289  if (!file.is_open()) {
290  ATH_MSG_ERROR("Could not open file:" << fileName);
291  return StatusCode::FAILURE;
292  }
293 
294  std::string line;
295  // loading the mapping information into an unordered_map <Fex Tower ID, vector
296  // of SCell IDs>
297  while (std::getline(file, line)) {
298  std::vector<uint64_t> SCellvector;
299  SCellvector.clear();
300 
301  // removing the header of the file (it is just information!)
302  if (line[0] == '#')
303  continue;
304 
305  // Splitting line in different substrings
306  std::stringstream oneSCellID(line);
307 
308  // reading elements
309  std::string substr = "";
310  int TTID = 0;
311  int elem = 0;
312 
313  while (std::getline(oneSCellID, substr, ' ')) {
314  ++elem;
315  if (elem == 1) {
316  TTID = std::stoi(substr);
317  } else {
318  // Check if it looks like a SCell Identifier
319  if (isBadSCellID(substr)) {
320  return StatusCode::FAILURE;
321  }
322 
323  // converts hex number to unsigned long long int
324  // unconnnected slots are filled with 0xffffffffffffffff
325  // otherwise SCell map used shorter form, add extra zeroes back
326  std::string scell_full =
327  (substr == "0xffffffffffffffff") ? substr : substr + "00000000";
328  uint64_t scid_uint64 = std::strtoull(scell_full.c_str(), nullptr, 0);
329  SCellvector.push_back(scid_uint64);
330  }
331  }
332 
333  m_map_TTower2SCells[TTID] = std::move(SCellvector);
334  }
335  file.close();
336 
337  return StatusCode::SUCCESS;
338  }

◆ ReadTilefromFile()

StatusCode LVL1::gFexTowerBuilder::ReadTilefromFile ( const std::string &  fileName)
private

Definition at line 352 of file gFexTowerBuilder.cxx.

352  {
353 
354  std::string myline;
355 
356  // openning file with ifstream
357  std::ifstream myfile(fileName);
358 
359  if (!myfile.is_open()) {
360  ATH_MSG_FATAL("Could not open file:" << fileName);
361  return StatusCode::FAILURE;
362  }
363 
364  // loading the mapping information into an unordered_map <Fex Tower ID, vector
365  // of Tile IDs>
366  while (std::getline(myfile, myline)) {
367 
368  std::vector<uint32_t> Tilevector;
369  Tilevector.clear();
370  // removing the header of the file
371  myline.erase(myline.begin(),
372  std::find_if(myline.begin(), myline.end(),
373  [](int ch) { return !std::isspace(ch); }));
374  if (myline[0] == '#')
375  continue;
376 
377  // Splitting myline in different substrings
378  std::stringstream oneTileID(myline);
379 
380  // reading elements
381  std::string substr = "";
382  int gTowerID = 0;
383  int elem = 0;
384 
385  while (std::getline(oneTileID, substr, ' ')) {
386  ++elem;
387  if (elem == 1) {
388  gTowerID = std::stoi(substr);
389  } else {
390  uint32_t tileid_uint32 = std::strtoul(substr.c_str(), nullptr, 0);
391  Tilevector.push_back(tileid_uint32);
392  }
393  }
394  m_map_TTower2Tile[gTowerID] = std::move(Tilevector);
395  }
396  myfile.close();
397 
398  return StatusCode::SUCCESS;
399  }

◆ renounce()

std::enable_if_t<std::is_void_v<std::result_of_t<decltype(&T::renounce)(T)> > && !std::is_base_of_v<SG::VarHandleKeyArray, T> && std::is_base_of_v<Gaudi::DataHandle, T>, void> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ setFilterPassed()

virtual void AthCommonReentrantAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool  state,
const EventContext &  ctx 
) const
inlinevirtualinherited

Definition at line 100 of file AthCommonReentrantAlgorithm.h.

100  {
101  execState( ctx ).setFilterPassed( state );
102  }

◆ sysExecute()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext &  ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.

77 {
78  return BaseAlg::sysExecute (ctx);
79 }

◆ sysInitialize()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in InputMakerBase, and HypoBase.

Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.

107  {
109 
110  if (sc.isFailure()) {
111  return sc;
112  }
113 
114  ServiceHandle<ICondSvc> cs("CondSvc",name());
115  for (auto h : outputHandles()) {
116  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
117  // do this inside the loop so we don't create the CondSvc until needed
118  if ( cs.retrieve().isFailure() ) {
119  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
120  return StatusCode::SUCCESS;
121  }
122  if (cs->regHandle(this,*h).isFailure()) {
123  sc = StatusCode::FAILURE;
124  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
125  << " with CondSvc");
126  }
127  }
128  }
129  return sc;
130 }

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase &  )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308  {
309  // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310  // << " size: " << m_vhka.size() << endmsg;
311  for (auto &a : m_vhka) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ m_apply_masking

Gaudi::Property<bool> LVL1::gFexTowerBuilder::m_apply_masking
private
Initial value:
{this, "SCellMasking", true,
"Applies masking. Only use for data"}

Definition at line 65 of file gFexTowerBuilder.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 114 of file AthCommonReentrantAlgorithm.h.

◆ m_FiberMapping

Gaudi::Property<std::string> LVL1::gFexTowerBuilder::m_FiberMapping
private
Initial value:
{
this, "gFexFiberTowerMapping",
PathResolver::find_calib_file("Run3L1CaloSimulation/L1CaloFEXAlgos/gFEX/gFex_gCaloTowerMap_weighted_v1.txt"),
"Text file to convert from hardware fiber to eta-phi location"}

Definition at line 58 of file gFexTowerBuilder.h.

◆ m_Firm2Tower_map

std::unordered_map<unsigned int, std::array<float, 4> > LVL1::gFexTowerBuilder::m_Firm2Tower_map
private

Definition at line 93 of file gFexTowerBuilder.h.

◆ m_gFEX2Scellmapping

Gaudi::Property<std::string> LVL1::gFexTowerBuilder::m_gFEX2Scellmapping
private
Initial value:
{
this, "gFEX2SCmapping",
"Run3L1CaloSimulation/L1CaloFEXAlgos/gFEX/gCaloTowers_to_scells_v1.txt",
"Text file to convert from simulation ID to SuperCell Identifier"}

Definition at line 72 of file gFexTowerBuilder.h.

◆ m_gFEX2Tilemapping

Gaudi::Property<std::string> LVL1::gFexTowerBuilder::m_gFEX2Tilemapping
private
Initial value:
{
this, "gFEX2Tilemapping",
"Run3L1CaloSimulation/L1CaloFEXAlgos/gFEX/gCaloTowers_to_tile_v1.txt",
"Text file to convert from simulation ID to Tile Identifier"}

Definition at line 77 of file gFexTowerBuilder.h.

◆ m_gTowersWriteKey

SG::WriteHandleKey<xAOD::gFexTowerContainer> LVL1::gFexTowerBuilder::m_gTowersWriteKey
private
Initial value:
{
this, "gTowersWriteKey", "L1_gFexDataTowers",
"Write gFexEDM Trigger Tower container"}

Definition at line 53 of file gFexTowerBuilder.h.

◆ m_isDATA

Gaudi::Property<bool> LVL1::gFexTowerBuilder::m_isDATA
private
Initial value:
{
this, "isDATA", true,
"Tells the algorithm if it is data. Used for xAOD::TriggerTower WARNING "
"due to the 0 supression"}

Definition at line 67 of file gFexTowerBuilder.h.

◆ m_map_TTower2SCells

std::unordered_map<uint32_t, std::vector<uint64_t> > LVL1::gFexTowerBuilder::m_map_TTower2SCells
private

Definition at line 90 of file gFexTowerBuilder.h.

◆ m_map_TTower2Tile

std::unordered_map<uint32_t, std::vector<uint32_t> > LVL1::gFexTowerBuilder::m_map_TTower2Tile
private

Definition at line 91 of file gFexTowerBuilder.h.

◆ m_SCellKey

SG::ReadHandleKey<CaloCellContainer> LVL1::gFexTowerBuilder::m_SCellKey
private
Initial value:
{this, "SCell", "SCell",
"SCell container"}

Definition at line 44 of file gFexTowerBuilder.h.

◆ m_triggerTowerKey

SG::ReadHandleKey<xAOD::TriggerTowerContainer> LVL1::gFexTowerBuilder::m_triggerTowerKey
private
Initial value:
{
this, "xODTriggerTowers", "xAODTriggerTowers",
"xAODTriggerTowers container"}

Definition at line 48 of file gFexTowerBuilder.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
PathResolver::find_calib_file
static std::string find_calib_file(const std::string &logical_file_name)
Definition: PathResolver.cxx:235
LVL1::gFexTowerBuilder::m_gTowersWriteKey
SG::WriteHandleKey< xAOD::gFexTowerContainer > m_gTowersWriteKey
Definition: gFexTowerBuilder.h:53
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
sendEI_SPB.ch
ch
Definition: sendEI_SPB.py:35
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
vtune_athena.format
format
Definition: vtune_athena.py:14
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
ID
std::vector< Identifier > ID
Definition: CalibHitIDCheck.h:24
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:67
LVL1::gFEXCompression::compress
static unsigned int compress(float Energy)
Compress data.
Definition: gFEXCompression.cxx:20
LVL1::gFexTowerBuilder::ReadTilefromFile
StatusCode ReadTilefromFile(const std::string &)
Definition: gFexTowerBuilder.cxx:352
LVL1::gFexTowerBuilder::m_Firm2Tower_map
std::unordered_map< unsigned int, std::array< float, 4 > > m_Firm2Tower_map
Definition: gFexTowerBuilder.h:93
MuonGM::round
float round(const float toRound, const unsigned int decimals)
Definition: Mdt.cxx:27
AthCommonDataStore::renounce
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
Definition: AthCommonDataStore.h:380
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
python.getProblemFolderFromLogs.elem
elem
Definition: getProblemFolderFromLogs.py:90
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
LVL1::gFexTowerBuilder::m_gFEX2Tilemapping
Gaudi::Property< std::string > m_gFEX2Tilemapping
Definition: gFexTowerBuilder.h:77
LVL1::gFexTowerBuilder::m_map_TTower2Tile
std::unordered_map< uint32_t, std::vector< uint32_t > > m_map_TTower2Tile
Definition: gFexTowerBuilder.h:91
dq_defect_bulk_create_defects.line
line
Definition: dq_defect_bulk_create_defects.py:27
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
CaloCell::energy
double energy() const
get energy (data member)
Definition: CaloCell.h:327
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
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
AthCommonReentrantAlgorithm::extraOutputDeps
virtual const DataObjIDColl & extraOutputDeps() const override
Return the list of extra output dependencies.
Definition: AthCommonReentrantAlgorithm.cxx:89
LVL1::gFexTowerBuilder::m_triggerTowerKey
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_triggerTowerKey
Definition: gFexTowerBuilder.h:48
LVL1::gFexTowerBuilder::m_isDATA
Gaudi::Property< bool > m_isDATA
Definition: gFexTowerBuilder.h:67
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
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Definition: AthCommonDataStore.h:145
AthCommonReentrantAlgorithm::sysExecute
virtual StatusCode sysExecute(const EventContext &ctx) override
Execute an algorithm.
Definition: AthCommonReentrantAlgorithm.cxx:76
xAOD::TriggerTower_v2
Description of TriggerTower_v2.
Definition: TriggerTower_v2.h:49
file
TFile * file
Definition: tile_monitor.h:29
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
CaloCell::quality
uint16_t quality() const
get quality (data member)
Definition: CaloCell.h:348
LVL1::gFexTowerBuilder::ReadSCfromFile
StatusCode ReadSCfromFile(const std::string &)
Definition: gFexTowerBuilder.cxx:284
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
LVL1::gFexTowerBuilder::ReadFibersfromFile
StatusCode ReadFibersfromFile(const std::string &)
Definition: gFexTowerBuilder.cxx:239
LVL1::gFexTowerBuilder::m_FiberMapping
Gaudi::Property< std::string > m_FiberMapping
Definition: gFexTowerBuilder.h:58
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
LVL1::gFexTowerBuilder::m_map_TTower2SCells
std::unordered_map< uint32_t, std::vector< uint64_t > > m_map_TTower2SCells
Definition: gFexTowerBuilder.h:90
Trk::iPhi
@ iPhi
Definition: ParamDefs.h:47
LVL1::gFexTowerBuilder::isBadSCellID
bool isBadSCellID(const std::string &) const
Definition: gFexTowerBuilder.cxx:340
SG::WriteHandle
Definition: StoreGate/StoreGate/WriteHandle.h:73
a
TList * a
Definition: liststreamerinfos.cxx:10
h
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
LVL1::gFexTowerBuilder::m_SCellKey
SG::ReadHandleKey< CaloCellContainer > m_SCellKey
Definition: gFexTowerBuilder.h:44
LVL1::gFexTowerBuilder::m_apply_masking
Gaudi::Property< bool > m_apply_masking
Definition: gFexTowerBuilder.h:65
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:629
AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthCommonReentrantAlgorithm.cxx:107
LVL1::gFexTowerBuilder::m_gFEX2Scellmapping
Gaudi::Property< std::string > m_gFEX2Scellmapping
Definition: gFexTowerBuilder.h:72
copySelective.source
string source
Definition: copySelective.py:31
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:801
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
jobOptions.fileName
fileName
Definition: jobOptions.SuperChic_ALP2.py:39
AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthCommonReentrantAlgorithm.h:114
xAOD::iEta
setScale setgFexType iEta
Definition: gFexJetRoI_v1.cxx:77
xAOD::TriggerTower_v2::jepET
uint8_t jepET() const
get jepET from peak of lut_jep
Definition: TriggerTower_v2.cxx:186
CaloCell::eta
virtual double eta() const override final
get eta (through CaloDetDescrElement)
Definition: CaloCell.h:382
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37