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

#include <gFEXNtupleWriter.h>

Inheritance diagram for LVL1::gFEXNtupleWriter:
Collaboration diagram for LVL1::gFEXNtupleWriter:

Public Member Functions

 gFEXNtupleWriter (const std::string &name, ISvcLocator *pSvcLocator)
 
 ~gFEXNtupleWriter ()
 
StatusCode initialize ()
 
StatusCode execute ()
 
StatusCode finalize ()
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T > &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 loadJetAlgoVariables (SG::ReadHandle< LVL1::gFEXOutputCollection >)
 
StatusCode loadGlobalAlgoVariables (SG::ReadHandle< LVL1::gFEXOutputCollection >)
 
StatusCode loadTruthElectron ()
 
StatusCode loadTruthJets ()
 
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

SG::ReadHandleKey< LVL1::gFEXOutputCollectionm_gFEXOutputCollectionSGKey {this, "MyOutputs", "gFEXOutputCollection", "MyOutputs"}
 
SG::ReadHandleKey< LVL1::gTowerContainerm_gTowerContainerSGKey {this, "MyGTowers", "gTowerContainer", "MyGTowers"}
 
SG::ReadHandleKey< xAOD::gFexJetRoIContainerm_gFexRhoOutKey {this,"Key_gFexRhoOutputContainer","L1_gFexRhoRoI","Output gFexRho"}
 
SG::ReadHandleKey< xAOD::gFexJetRoIContainerm_gFexBlockOutKey {this,"Key_gFexSRJetOutputContainer","L1_gFexSRJetRoI","Output gFexBlock"}
 
SG::ReadHandleKey< xAOD::gFexJetRoIContainerm_gFexJetOutKey {this,"Key_gFexLRJetOutputContainer","L1_gFexLRJetRoI","Output gFexJet"}
 
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainerm_gScalarEJwojOutKey {this,"Key_gScalarEJwojOutputContainer","L1_gScalarEJwoj","Output Scalar MET and SumET (JwoJ)"}
 
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainerm_gMETComponentsJwojOutKey {this,"Key_gMETComponentsJwojOutputContainer","L1_gMETComponentsJwoj","Output total MET components (JwoJ)"}
 
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainerm_gMHTComponentsJwojOutKey {this,"Key_gMHTComponentsJwojOutputContainer","L1_gMHTComponentsJwoj","Output hard MET components (JwoJ)"}
 
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainerm_gMSTComponentsJwojOutKey {this,"Key_gMSTComponentsJwojOutputContainer","L1_gMSTComponentsJwoj","Output soft MET components (JwoJ)"}
 
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainerm_gMETComponentsNoiseCutOutKey {this,"Key_gMETComponentsNoiseCutOutputContainer","L1_gMETComponentsNoiseCut","Output total MET components (NoiseCut)"}
 
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainerm_gMETComponentsRmsOutKey {this,"Key_gMETComponentsRmsOutputContainer","L1_gMETComponentsRms","Output total MET components (RMS)"}
 
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainerm_gScalarENoiseCutOutKey {this,"Key_gScalarENoiseCutOutputContainer","L1_gScalarENoiseCut","Output Scalar MET and SumET (NoiseCut)"}
 
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainerm_gScalarERmsOutKey {this,"Key_gScalarERmsOutputContainer","L1_gScalarERms","Output Scalar MET and SumET (RMS)"}
 
SG::ReadHandleKey< CaloCellContainerm_scellsCollectionSGKey {this, "SCell", "SCell", "SCell"}
 
gFEXOutputCollectionm_gFEXOutputCollection
 
float m_jet_nTOBs
 
float m_global_nTOBs
 
bool m_load_truth_jet
 
std::vector< float > m_truth_jet_eta
 
std::vector< float > m_truth_jet_phi
 
std::vector< float > m_truth_jet_ET
 
std::vector< float > m_jet_TOB
 
std::vector< float > m_jet_TOB_Eta
 
std::vector< float > m_jet_TOB_Phi
 
std::vector< float > m_jet_TOB_ET
 
std::vector< float > m_jet_TOB_ID
 
std::vector< float > m_jet_TOB_Status
 
std::vector< float > m_global_TOB
 
std::vector< float > m_global_TOB_Quantity1
 
std::vector< float > m_global_TOB_Quantity2
 
std::vector< float > m_global_TOB_Saturation
 
std::vector< float > m_global_TOB_ID
 
std::vector< float > m_global_TOB_Status1
 
std::vector< float > m_global_TOB_Status2
 
std::string m_jet_container_name = "AntiKt10TruthJets"
 
TTree * m_myTree
 
TTree * m_valiTree
 
std::vector< float > m_sc_phi
 
std::vector< float > m_sc_eta
 
std::vector< float > m_sc_et
 
std::vector< float > m_gtower_phi
 
std::vector< float > m_gtower_eta
 
std::vector< float > m_gtower_et
 
std::vector< float > m_gtower_etFloat
 
std::vector< float > m_gtower_etEMFloat
 
std::vector< float > m_gtower_etHADFloat
 
std::vector< int > m_gtower_ID
 
std::vector< int > m_posneg
 
std::vector< float > m_gRho_eta
 
std::vector< float > m_gRho_phi
 
std::vector< float > m_gRho_tobEt
 
std::vector< float > m_gRho_etMeV
 
std::vector< float > m_gRho_etScale
 
std::vector< float > m_gSJ_iEta
 
std::vector< float > m_gSJ_iPhi
 
std::vector< float > m_gSJ_eta
 
std::vector< float > m_gSJ_gFEXphi
 
std::vector< float > m_gSJ_phi
 
std::vector< float > m_gSJ_phiTopo
 
std::vector< float > m_gSJ_tobEt
 
std::vector< float > m_gSJ_etMeV
 
std::vector< float > m_gSJ_etScale
 
std::vector< float > m_gLJ_iEta
 
std::vector< float > m_gLJ_iPhi
 
std::vector< float > m_gLJ_eta
 
std::vector< float > m_gLJ_gFEXphi
 
std::vector< float > m_gLJ_phi
 
std::vector< float > m_gLJ_phiTopo
 
std::vector< float > m_gLJ_tobEt
 
std::vector< float > m_gLJ_etMeV
 
std::vector< float > m_gLJ_etScale
 
std::vector< float > m_gJwoJ_MET
 
std::vector< float > m_gJwoJ_SumET
 
std::vector< float > m_gJwoJ_METx
 
std::vector< float > m_gJwoJ_METy
 
std::vector< float > m_gJwoJ_MHTx
 
std::vector< float > m_gJwoJ_MHTy
 
std::vector< float > m_gJwoJ_MSTx
 
std::vector< float > m_gJwoJ_MSTy
 
std::vector< float > m_gNoiseCut_METx
 
std::vector< float > m_gNoiseCut_METy
 
std::vector< float > m_gRms_METx
 
std::vector< float > m_gRms_METy
 
std::vector< float > m_gNoiseCut_MET
 
std::vector< float > m_gNoiseCut_SumET
 
std::vector< float > m_gRms_MET
 
std::vector< float > m_gRms_SumET
 
std::vector< float > m_gGlobal_etScale1
 
std::vector< float > m_gGlobal_etScale2
 
DataObjIDColl m_extendedExtraObjects
 
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 30 of file gFEXNtupleWriter.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ gFEXNtupleWriter()

LVL1::gFEXNtupleWriter::gFEXNtupleWriter ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

Definition at line 32 of file gFEXNtupleWriter.cxx.

32 : AthAlgorithm(name, pSvcLocator) { }

◆ ~gFEXNtupleWriter()

LVL1::gFEXNtupleWriter::~gFEXNtupleWriter ( )

Definition at line 34 of file gFEXNtupleWriter.cxx.

34  {
35 
36 }

Member Function Documentation

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Algorithm > >::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< Algorithm > >::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< Algorithm > >::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< Algorithm > >::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< 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< 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< 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< 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< 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< Algorithm > >::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< 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< 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< 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::gFEXNtupleWriter::execute ( )

Definition at line 154 of file gFEXNtupleWriter.cxx.

154  {
155 
156  const EventContext& ctx = Gaudi::Hive::currentContext();
157 
159  if(!SCCollection.isValid()){
160  ATH_MSG_FATAL("Could not retrieve SCCollection " << m_scellsCollectionSGKey.key() );
161  return StatusCode::FAILURE;
162  }
163 
165  if(!gTowersHandle.isValid()){
166  ATH_MSG_FATAL("Could not retrieve gTowerContainer " << m_gTowerContainerSGKey.key());
167  return StatusCode::FAILURE;
168  }
169 
170  //Read objects from gFEX JetContainer
172  if(!gRhoHandle.isValid()){
173  ATH_MSG_FATAL("Could not retrieve gRhoContainer " << m_gFexRhoOutKey.key());
174  return StatusCode::FAILURE;
175  }
176 
178  if(!gBlockHandle.isValid()){
179  ATH_MSG_FATAL("Could not retrieve gBlockContainer " << m_gFexBlockOutKey.key());
180  return StatusCode::FAILURE;
181  }
182 
184  if(!gJetHandle.isValid()){
185  ATH_MSG_FATAL("Could not retrieve gJetContainer " << m_gFexJetOutKey.key());
186  return StatusCode::FAILURE;
187  }
188 
189  //Read objects from gFEX GlobalContainer
191  if(!gScalarEJwojHandle.isValid()){
192  ATH_MSG_FATAL("Could not retrieve gScalarJwojContainer " << m_gScalarEJwojOutKey.key());
193  return StatusCode::FAILURE;
194  }
195 
197  if(!gMETJwojHandle.isValid()){
198  ATH_MSG_FATAL("Could not retrieve gMETJwojContainer " << m_gMETComponentsJwojOutKey.key());
199  return StatusCode::FAILURE;
200  }
201 
203  if(!gMHTJwojHandle.isValid()){
204  ATH_MSG_FATAL("Could not retrieve gMHTJwojContainer " << m_gMHTComponentsJwojOutKey.key());
205  return StatusCode::FAILURE;
206  }
207 
209  if(!gMSTJwojHandle.isValid()){
210  ATH_MSG_FATAL("Could not retrieve gMSTJwojContainer " << m_gMSTComponentsJwojOutKey.key());
211  return StatusCode::FAILURE;
212  }
213 
215  if(!gMETNoiseCutHandle.isValid()){
216  ATH_MSG_FATAL("Could not retrieve gMETNoiseCutContainer " << m_gMETComponentsNoiseCutOutKey.key());
217  return StatusCode::FAILURE;
218  }
219 
221  if(!gMETRmsHandle.isValid()){
222  ATH_MSG_FATAL("Could not retrieve gMETRmsContainer " << m_gMETComponentsRmsOutKey.key());
223  return StatusCode::FAILURE;
224  }
225 
227  if(!gScalarENoiseCutHandle.isValid()){
228  ATH_MSG_FATAL("Could not retrieve gScalarENoiseCutContainer " << m_gScalarENoiseCutOutKey.key());
229  return StatusCode::FAILURE;
230  }
231 
233  if(!gScalarERmsHandle.isValid()){
234  ATH_MSG_FATAL("Could not retrieve gScalarERmsContainer " << m_gScalarERmsOutKey.key());
235  return StatusCode::FAILURE;
236  }
237 
238  m_sc_eta.clear();
239  m_sc_phi.clear();
240  m_sc_et.clear();
241  m_gtower_eta.clear();
242  m_gtower_phi.clear();
243  m_gtower_et.clear();
244  m_gtower_etFloat.clear();
245  m_gtower_etEMFloat.clear();
246  m_gtower_etHADFloat.clear();
247  m_gtower_ID.clear();
248  m_posneg.clear();
249 
250  m_gRho_eta.clear();
251  m_gRho_phi.clear();
252  m_gRho_tobEt.clear();
253  m_gRho_etMeV.clear();
254  m_gRho_etScale.clear();
255 
256  m_gSJ_iEta.clear();
257  m_gSJ_iPhi.clear();
258  m_gSJ_eta.clear();
259  m_gSJ_gFEXphi.clear();
260  m_gSJ_phi.clear();
261  m_gSJ_phiTopo.clear();
262  m_gSJ_tobEt.clear();
263  m_gSJ_etMeV.clear();
264  m_gSJ_etScale.clear();
265 
266  m_gLJ_iEta.clear();
267  m_gLJ_iPhi.clear();
268  m_gLJ_eta.clear();
269  m_gLJ_gFEXphi.clear();
270  m_gLJ_phi.clear();
271  m_gLJ_phiTopo.clear();
272  m_gLJ_tobEt.clear();
273  m_gLJ_etMeV.clear();
274  m_gLJ_etScale.clear();
275 
276 
277  m_gJwoJ_MET.clear();
278  m_gJwoJ_SumET.clear();
279  m_gJwoJ_METx.clear();
280  m_gJwoJ_METy.clear();
281  m_gJwoJ_MHTx.clear();
282  m_gJwoJ_MHTy.clear();
283  m_gJwoJ_MSTx.clear();
284  m_gJwoJ_MSTy.clear();
285 
286  m_gNoiseCut_METx.clear();
287  m_gNoiseCut_METy.clear();
288  m_gRms_METx.clear();
289  m_gRms_METy.clear();
290  m_gNoiseCut_MET.clear();
291  m_gNoiseCut_SumET.clear();
292  m_gRms_MET.clear();
293  m_gRms_SumET.clear();
294 
295  m_gGlobal_etScale1.clear();
296  m_gGlobal_etScale2.clear();
297 
298 
299 
300  for (const CaloCell* cell : * SCCollection){
301  m_sc_eta.push_back((cell)->eta());
302  m_sc_phi.push_back((cell)->phi());
303  m_sc_et.push_back((cell)->energy()/cosh((cell)->eta()));
304  }
305 
306  for (const LVL1::gTower* gTower : *gTowersHandle) {
307  m_gtower_eta.push_back(gTower->eta());
308  m_gtower_phi.push_back(gTower->phi());
309  m_gtower_et.push_back(gTower->getET());
310  m_gtower_etFloat.push_back(gTower->getET_float());
311  m_gtower_etEMFloat.push_back(gTower->getET_EM_float());
312  m_gtower_etHADFloat.push_back(gTower->getET_HAD_float());
313  m_gtower_ID.push_back(gTower->getID());
314  m_posneg.push_back(gTower->getPosNeg());
315  }
316 
317  for (const xAOD::gFexJetRoI* gRho : *gRhoHandle) {
318  m_gRho_eta.push_back(gRho->iEta());
319  m_gRho_phi.push_back(gRho->iPhi());
320  m_gRho_tobEt.push_back(gRho->gFexTobEt());
321  m_gRho_etMeV.push_back(gRho->et());
322  m_gRho_etScale.push_back(gRho->tobEtScale());
323  }
324 
325  for (const xAOD::gFexJetRoI* gSJ : *gBlockHandle) {
326  m_gSJ_iEta.push_back(gSJ->iEta());
327  m_gSJ_iPhi.push_back(gSJ->iPhi());
328  m_gSJ_eta.push_back(gSJ->eta());
329  m_gSJ_gFEXphi.push_back(gSJ->phi_gFex());
330  m_gSJ_phi.push_back(gSJ->phi());
331  m_gSJ_phiTopo.push_back(gSJ->iPhiTopo());
332  m_gSJ_tobEt.push_back(gSJ->gFexTobEt());
333  m_gSJ_etMeV.push_back(gSJ->et());
334  m_gSJ_etScale.push_back(gSJ->tobEtScale());
335 
336  }
337 
338  for (const xAOD::gFexJetRoI* gLJ : *gJetHandle) {
339  m_gLJ_iEta.push_back(gLJ->iEta());
340  m_gLJ_iPhi.push_back(gLJ->iPhi());
341  m_gLJ_eta.push_back(gLJ->eta());
342  m_gLJ_gFEXphi.push_back(gLJ->phi_gFex());
343  m_gLJ_phi.push_back(gLJ->phi());
344  m_gLJ_phiTopo.push_back(gLJ->iPhiTopo());
345  m_gLJ_tobEt.push_back(gLJ->gFexTobEt());
346  m_gLJ_etMeV.push_back(gLJ->et());
347  m_gLJ_etScale.push_back(gLJ->tobEtScale());
348 
349  }
350 
351  for (const xAOD::gFexGlobalRoI* gScalarEJwoj : *gScalarEJwojHandle) {
352  m_gJwoJ_MET.push_back(gScalarEJwoj->METquantityOne());
353  m_gJwoJ_SumET.push_back(gScalarEJwoj->METquantityTwo());
354  m_gGlobal_etScale1.push_back(gScalarEJwoj->tobEtScaleOne());
355  m_gGlobal_etScale2.push_back(gScalarEJwoj->tobEtScaleTwo());
356  }
357 
358  for (const xAOD::gFexGlobalRoI* gMETJwoj : *gMETJwojHandle) {
359  m_gJwoJ_METx.push_back(gMETJwoj->METquantityOne());
360  m_gJwoJ_METy.push_back(gMETJwoj->METquantityTwo());
361  }
362 
363  for (const xAOD::gFexGlobalRoI* gMHTJwoj : *gMHTJwojHandle) {
364  m_gJwoJ_MHTx.push_back(gMHTJwoj->METquantityOne());
365  m_gJwoJ_MHTy.push_back(gMHTJwoj->METquantityTwo());
366  }
367 
368  for (const xAOD::gFexGlobalRoI* gMSTJwoj : *gMSTJwojHandle) {
369  m_gJwoJ_MSTx.push_back(gMSTJwoj->METquantityOne());
370  m_gJwoJ_MSTy.push_back(gMSTJwoj->METquantityTwo());
371  }
372 
373  for (const xAOD::gFexGlobalRoI* gMETNoiseCut : *gMETNoiseCutHandle) {
374  m_gNoiseCut_METx.push_back(gMETNoiseCut->METquantityOne());
375  m_gNoiseCut_METy.push_back(gMETNoiseCut->METquantityTwo());
376  }
377 
378  for (const xAOD::gFexGlobalRoI* gMETRms : *gMETRmsHandle) {
379  m_gRms_METx.push_back(gMETRms->METquantityOne());
380  m_gRms_METy.push_back(gMETRms->METquantityTwo());
381  }
382 
383  for (const xAOD::gFexGlobalRoI* gScalarENoiseCut : *gScalarENoiseCutHandle) {
384  m_gNoiseCut_MET.push_back(gScalarENoiseCut->METquantityOne());
385  m_gNoiseCut_SumET.push_back(gScalarENoiseCut->METquantityTwo());
386  }
387 
388  for (const xAOD::gFexGlobalRoI* gScalarERms : *gScalarERmsHandle) {
389  m_gRms_MET.push_back(gScalarERms->METquantityOne());
390  m_gRms_SumET.push_back(gScalarERms->METquantityTwo());
391  }
392 
393 
395  if(!gFEXOutputCollectionobj.isValid()){
396  ATH_MSG_FATAL("Could not retrieve gFEXOutputCollection " << m_gFEXOutputCollectionSGKey.key());
397  return StatusCode::FAILURE;
398  }
399 
400  if (!gFEXOutputCollectionobj->getdooutput()) {
401  return StatusCode::SUCCESS;
402  }
403 
404  CHECK(loadJetAlgoVariables(gFEXOutputCollectionobj));
405  if (m_load_truth_jet){
406  CHECK(loadTruthJets());
407  }
408 
409  CHECK(loadGlobalAlgoVariables(gFEXOutputCollectionobj));
410 
411  m_valiTree->Fill();
412  m_myTree->Fill();
413  return StatusCode::SUCCESS;
414 }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< 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 & AthAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

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

Definition at line 50 of file AthAlgorithm.cxx.

51 {
52  // If we didn't find any symlinks to add, just return the collection
53  // from the base class. Otherwise, return the extended collection.
54  if (!m_extendedExtraObjects.empty()) {
56  }
57  return Algorithm::extraOutputDeps();
58 }

◆ finalize()

StatusCode LVL1::gFEXNtupleWriter::finalize ( )

Definition at line 416 of file gFEXNtupleWriter.cxx.

416  {
417  ATH_MSG_DEBUG("Finalizing " << name() << "...");
418  return StatusCode::SUCCESS;
419 }

◆ initialize()

StatusCode LVL1::gFEXNtupleWriter::initialize ( )

Definition at line 38 of file gFEXNtupleWriter.cxx.

38  {
40  CHECK( histSvc.retrieve() );
41  m_myTree = new TTree("data","data");
42  CHECK( histSvc->regTree("/ANALYSIS/data",m_myTree) );
43 
45 
46  ATH_CHECK( m_gFexRhoOutKey.initialize() );
47  ATH_CHECK( m_gFexBlockOutKey.initialize() );
48  ATH_CHECK( m_gFexJetOutKey.initialize() );
49 
50  ATH_CHECK( m_gScalarEJwojOutKey.initialize() );
51  ATH_CHECK( m_gMETComponentsJwojOutKey.initialize() );
52  ATH_CHECK( m_gMHTComponentsJwojOutKey.initialize() );
53  ATH_CHECK( m_gMSTComponentsJwojOutKey.initialize() );
54 
56  ATH_CHECK( m_gMETComponentsRmsOutKey.initialize() );
57  ATH_CHECK( m_gScalarENoiseCutOutKey.initialize() );
58  ATH_CHECK( m_gScalarERmsOutKey.initialize() );
59 
61 
63 
64  m_valiTree = new TTree("valiTree","valiTree");
65  CHECK( histSvc->regTree("/ANALYSIS/valiTree",m_valiTree) );
66  m_valiTree->Branch ("SC_eta", &m_sc_eta);
67  m_valiTree->Branch ("SC_phi", &m_sc_phi);
68  m_valiTree->Branch ("SC_et", &m_sc_et);
69  m_valiTree->Branch ("gtower_eta", &m_gtower_eta);
70  m_valiTree->Branch ("gtower_phi", &m_gtower_phi);
71  m_valiTree->Branch ("gtower_et", &m_gtower_et);
72  m_valiTree->Branch ("gtower_etFloat", &m_gtower_etFloat);
73  m_valiTree->Branch ("gtower_etEMFloat", &m_gtower_etEMFloat);
74  m_valiTree->Branch ("gtower_etHADFloat", &m_gtower_etHADFloat);
75  m_valiTree->Branch ("gtower_ID", &m_gtower_ID);
76  m_valiTree->Branch ("gtower_posneg", &m_posneg);
77 
78  m_valiTree->Branch ("gRho_eta", &m_gRho_eta);
79  m_valiTree->Branch ("gRho_phi", &m_gRho_phi);
80  m_valiTree->Branch ("gRho_tobEt", &m_gRho_tobEt);
81  m_valiTree->Branch ("gRho_etMeV", &m_gRho_etMeV);
82  m_valiTree->Branch ("gRho_scaleMeV", &m_gRho_etScale);
83 
84  m_valiTree->Branch ("gSJ_iEta", &m_gSJ_iEta);
85  m_valiTree->Branch ("gSJ_iPhi", &m_gSJ_iPhi);
86  m_valiTree->Branch ("gSJ_eta", &m_gSJ_eta);
87  m_valiTree->Branch ("gSJ_gFEXphi", &m_gSJ_gFEXphi);
88  m_valiTree->Branch ("gSJ_phi", &m_gSJ_phi);
89  m_valiTree->Branch ("gSJ_phiTopo", &m_gSJ_phiTopo);
90  m_valiTree->Branch ("gSJ_tobEt", &m_gSJ_tobEt);
91  m_valiTree->Branch ("gSJ_etMeV", &m_gSJ_etMeV);
92  m_valiTree->Branch ("gSJ_scaleMeV", &m_gSJ_etScale);
93 
94  m_valiTree->Branch ("gLJ_iEta", &m_gLJ_iEta);
95  m_valiTree->Branch ("gLJ_iPhi", &m_gLJ_iPhi);
96  m_valiTree->Branch ("gLJ_eta", &m_gLJ_eta);
97  m_valiTree->Branch ("gLJ_gFEXphi", &m_gLJ_gFEXphi);
98  m_valiTree->Branch ("gLJ_phi", &m_gLJ_phi);
99  m_valiTree->Branch ("gLJ_phiTopo", &m_gLJ_phiTopo);
100  m_valiTree->Branch ("gLJ_tobEt", &m_gLJ_tobEt);
101  m_valiTree->Branch ("gLJ_etMeV", &m_gLJ_etMeV);
102  m_valiTree->Branch ("gLJ_scaleMeV", &m_gLJ_etScale);
103 
104  m_valiTree->Branch ("gJwoj_MET", &m_gJwoJ_MET);
105  m_valiTree->Branch ("gJwoj_SumET", &m_gJwoJ_SumET);
106  m_valiTree->Branch ("gJwoj_METx", &m_gJwoJ_METx);
107  m_valiTree->Branch ("gJwoj_METy", &m_gJwoJ_METy);
108  m_valiTree->Branch ("gJwoj_MHTx", &m_gJwoJ_MHTx);
109  m_valiTree->Branch ("gJwoj_MHTy", &m_gJwoJ_MHTy);
110  m_valiTree->Branch ("gJwoj_MSTx", &m_gJwoJ_MSTx);
111  m_valiTree->Branch ("gJwoj_MSTy", &m_gJwoJ_MSTy);
112 
113  m_valiTree->Branch ("gNoiseCut_METx", &m_gNoiseCut_METx);
114  m_valiTree->Branch ("gNoiseCut_METy", &m_gNoiseCut_METy);
115  m_valiTree->Branch ("gRms_METx", &m_gRms_METx);
116  m_valiTree->Branch ("gRms_METy", &m_gRms_METy);
117  m_valiTree->Branch ("gNoiseCut_MET", &m_gNoiseCut_MET);
118  m_valiTree->Branch ("gNoiseCut_SumET", &m_gNoiseCut_SumET);
119  m_valiTree->Branch ("gRms_MET", &m_gRms_MET);
120  m_valiTree->Branch ("gRms_SumET", &m_gRms_SumET);
121 
122  m_valiTree->Branch ("gGlobal_scaleMeV1", &m_gGlobal_etScale1);
123  m_valiTree->Branch ("gGlobal_scaleMeV2", &m_gGlobal_etScale2);
124 
125 
126  m_load_truth_jet = true;
127 
128  if (m_load_truth_jet){
129  m_valiTree->Branch ("truth_jet_eta", &m_truth_jet_eta);
130  m_valiTree->Branch ("truth_jet_phi", &m_truth_jet_phi);
131  m_valiTree->Branch ("truth_jet_ET", &m_truth_jet_ET);
132  }
133 
134  m_myTree->Branch ("jet_TOB", &m_jet_TOB);
135  m_myTree->Branch ("jet_TOB_Eta", &m_jet_TOB_Eta);
136  m_myTree->Branch ("jet_TOB_Phi", &m_jet_TOB_Phi);
137  m_myTree->Branch ("jet_TOB_ET", &m_jet_TOB_ET);
138  m_myTree->Branch ("jet_TOB_ID", &m_jet_TOB_ID);
139  m_myTree->Branch ("jet_TOB_Status", &m_jet_TOB_Status);
140  m_myTree->Branch ("jet_nTOBs", &m_jet_nTOBs);
141 
142  m_myTree->Branch ("global_TOB", &m_global_TOB);
143  m_myTree->Branch ("global_TOB_Quantity1", &m_global_TOB_Quantity1);
144  m_myTree->Branch ("global_TOB_Quantity2", &m_global_TOB_Quantity2);
145  m_myTree->Branch ("global_TOB_Saturation", &m_global_TOB_Saturation);
146  m_myTree->Branch ("global_TOB_ID", &m_global_TOB_ID);
147  m_myTree->Branch ("global_TOB_Status1", &m_global_TOB_Status1);
148  m_myTree->Branch ("global_TOB_Status2", &m_global_TOB_Status2);
149  m_myTree->Branch ("global_nTOBs", &m_global_nTOBs);
150 
151  return StatusCode::SUCCESS;
152 }

◆ inputHandles()

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

◆ loadGlobalAlgoVariables()

StatusCode LVL1::gFEXNtupleWriter::loadGlobalAlgoVariables ( SG::ReadHandle< LVL1::gFEXOutputCollection gFEXOutputCollectionobj)
private

Definition at line 447 of file gFEXNtupleWriter.cxx.

447  {
448  m_global_TOB.clear();
449  m_global_TOB_Quantity1.clear();
450  m_global_TOB_Quantity2.clear();
451  m_global_TOB_Saturation.clear();
452  m_global_TOB_ID.clear();
453  m_global_TOB_Status1.clear();
454  m_global_TOB_Status2.clear();
455 
456  m_global_nTOBs = gFEXOutputCollectionobj->globalsSize();
457  for (int i = 0; i < gFEXOutputCollectionobj->globalsSize(); i++)
458  {
459  uint32_t TOB = gFEXOutputCollectionobj->getGlobalTob()[i];
460  m_global_TOB.push_back(TOB);
461 
462  std::unordered_map<std::string, float> gFEXglobalvalue = (gFEXOutputCollectionobj->getGlobal(i));
463  m_global_TOB_Quantity1.push_back(gFEXglobalvalue["GlobalQuantity1"]);
464  m_global_TOB_Quantity2.push_back(gFEXglobalvalue["GlobalQuantity2"]);
465  m_global_TOB_Saturation.push_back(gFEXglobalvalue["SaturationGlobal"]);
466  m_global_TOB_ID.push_back(gFEXglobalvalue["TobIDJet"]);
467  m_global_TOB_Status1.push_back(gFEXglobalvalue["GlobalStatus1"]);
468  m_global_TOB_Status2.push_back(gFEXglobalvalue["GlobalStatus2"]);
469  }
470  return StatusCode::SUCCESS;
471 }

◆ loadJetAlgoVariables()

StatusCode LVL1::gFEXNtupleWriter::loadJetAlgoVariables ( SG::ReadHandle< LVL1::gFEXOutputCollection gFEXOutputCollectionobj)
private

Definition at line 421 of file gFEXNtupleWriter.cxx.

421  {
422  m_jet_TOB.clear();
423  m_jet_TOB_Eta.clear();
424  m_jet_TOB_Phi.clear();
425  m_jet_TOB_ET.clear();
426  m_jet_TOB_ID.clear();
427  m_jet_TOB_Status.clear();
428 
429 
430  m_jet_nTOBs = gFEXOutputCollectionobj->jetsSize();
431  for (int i = 0; i < gFEXOutputCollectionobj->jetsSize(); i++)
432  {
433  uint32_t TOB = gFEXOutputCollectionobj->getJetTob()[i];
434  m_jet_TOB.push_back(TOB);
435 
436  std::unordered_map<std::string, float> gFEXjetvalue = (gFEXOutputCollectionobj->getJet(i));
437  m_jet_TOB_Eta.push_back(gFEXjetvalue["EtaJet"]);
438  m_jet_TOB_Phi.push_back(gFEXjetvalue["PhiJet"]);
439  m_jet_TOB_ET.push_back(gFEXjetvalue["ETJet"]);
440  m_jet_TOB_ID.push_back(gFEXjetvalue["TobIDJet"]);
441  m_jet_TOB_Status.push_back(gFEXjetvalue["StatusJet"]);
442 
443  }
444  return StatusCode::SUCCESS;
445 }

◆ loadTruthElectron()

StatusCode LVL1::gFEXNtupleWriter::loadTruthElectron ( )
private

◆ loadTruthJets()

StatusCode LVL1::gFEXNtupleWriter::loadTruthJets ( )
private

Definition at line 473 of file gFEXNtupleWriter.cxx.

473  {
474  m_truth_jet_eta.clear();
475  m_truth_jet_phi.clear();
476  m_truth_jet_ET.clear();
477  const xAOD::JetContainer* truth_jets;
478  StatusCode sc = evtStore()->retrieve( truth_jets, m_jet_container_name);
479  if (sc == StatusCode::FAILURE){
480  m_jet_container_name = "InTimeAntiKt4TruthJets";
481  StatusCode sc2 = evtStore()->retrieve( truth_jets, m_jet_container_name);
482  if (sc2 == StatusCode::FAILURE){
483  ATH_MSG_DEBUG("gFEXNtupleWriter::loadTruthJets() Unable to determine truth jet container");
484  m_load_truth_jet = false;
485  return StatusCode::SUCCESS;
486  }
487  }
488  for (unsigned i=0; i!=truth_jets->size(); i++) {
489  const xAOD::Jet* each_jet = (*truth_jets)[i];
490  if(each_jet->pt()<10000) continue;
491  m_truth_jet_eta.push_back(each_jet->p4().Eta());
492  m_truth_jet_phi.push_back(each_jet->p4().Phi());
493  m_truth_jet_ET.push_back(each_jet->p4().Et());
494  }
495  return StatusCode::SUCCESS;
496 }

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

MsgStream& AthCommonMsg< 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< 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< 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.

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

◆ sysInitialize()

StatusCode AthAlgorithm::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< Algorithm > >.

Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, PyAthena::Alg, and AthHistogramAlgorithm.

Definition at line 66 of file AthAlgorithm.cxx.

66  {
68 
69  if (sc.isFailure()) {
70  return sc;
71  }
72  ServiceHandle<ICondSvc> cs("CondSvc",name());
73  for (auto h : outputHandles()) {
74  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
75  // do this inside the loop so we don't create the CondSvc until needed
76  if ( cs.retrieve().isFailure() ) {
77  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
78  return StatusCode::SUCCESS;
79  }
80  if (cs->regHandle(this,*h).isFailure()) {
81  sc = StatusCode::FAILURE;
82  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
83  << " with CondSvc");
84  }
85  }
86  }
87  return sc;
88 }

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< 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< 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_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< 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< Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthAlgorithm::m_extendedExtraObjects
privateinherited

Definition at line 79 of file AthAlgorithm.h.

◆ m_gFexBlockOutKey

SG::ReadHandleKey< xAOD::gFexJetRoIContainer > LVL1::gFEXNtupleWriter::m_gFexBlockOutKey {this,"Key_gFexSRJetOutputContainer","L1_gFexSRJetRoI","Output gFexBlock"}
private

Definition at line 46 of file gFEXNtupleWriter.h.

◆ m_gFexJetOutKey

SG::ReadHandleKey< xAOD::gFexJetRoIContainer > LVL1::gFEXNtupleWriter::m_gFexJetOutKey {this,"Key_gFexLRJetOutputContainer","L1_gFexLRJetRoI","Output gFexJet"}
private

Definition at line 47 of file gFEXNtupleWriter.h.

◆ m_gFEXOutputCollection

gFEXOutputCollection* LVL1::gFEXNtupleWriter::m_gFEXOutputCollection
private

Definition at line 60 of file gFEXNtupleWriter.h.

◆ m_gFEXOutputCollectionSGKey

SG::ReadHandleKey<LVL1::gFEXOutputCollection> LVL1::gFEXNtupleWriter::m_gFEXOutputCollectionSGKey {this, "MyOutputs", "gFEXOutputCollection", "MyOutputs"}
private

Definition at line 43 of file gFEXNtupleWriter.h.

◆ m_gFexRhoOutKey

SG::ReadHandleKey< xAOD::gFexJetRoIContainer > LVL1::gFEXNtupleWriter::m_gFexRhoOutKey {this,"Key_gFexRhoOutputContainer","L1_gFexRhoRoI","Output gFexRho"}
private

Definition at line 45 of file gFEXNtupleWriter.h.

◆ m_gGlobal_etScale1

std::vector<float> LVL1::gFEXNtupleWriter::m_gGlobal_etScale1
private

Definition at line 147 of file gFEXNtupleWriter.h.

◆ m_gGlobal_etScale2

std::vector<float> LVL1::gFEXNtupleWriter::m_gGlobal_etScale2
private

Definition at line 148 of file gFEXNtupleWriter.h.

◆ m_gJwoJ_MET

std::vector<float> LVL1::gFEXNtupleWriter::m_gJwoJ_MET
private

Definition at line 129 of file gFEXNtupleWriter.h.

◆ m_gJwoJ_METx

std::vector<float> LVL1::gFEXNtupleWriter::m_gJwoJ_METx
private

Definition at line 131 of file gFEXNtupleWriter.h.

◆ m_gJwoJ_METy

std::vector<float> LVL1::gFEXNtupleWriter::m_gJwoJ_METy
private

Definition at line 132 of file gFEXNtupleWriter.h.

◆ m_gJwoJ_MHTx

std::vector<float> LVL1::gFEXNtupleWriter::m_gJwoJ_MHTx
private

Definition at line 133 of file gFEXNtupleWriter.h.

◆ m_gJwoJ_MHTy

std::vector<float> LVL1::gFEXNtupleWriter::m_gJwoJ_MHTy
private

Definition at line 134 of file gFEXNtupleWriter.h.

◆ m_gJwoJ_MSTx

std::vector<float> LVL1::gFEXNtupleWriter::m_gJwoJ_MSTx
private

Definition at line 135 of file gFEXNtupleWriter.h.

◆ m_gJwoJ_MSTy

std::vector<float> LVL1::gFEXNtupleWriter::m_gJwoJ_MSTy
private

Definition at line 136 of file gFEXNtupleWriter.h.

◆ m_gJwoJ_SumET

std::vector<float> LVL1::gFEXNtupleWriter::m_gJwoJ_SumET
private

Definition at line 130 of file gFEXNtupleWriter.h.

◆ m_gLJ_eta

std::vector<float> LVL1::gFEXNtupleWriter::m_gLJ_eta
private

Definition at line 121 of file gFEXNtupleWriter.h.

◆ m_gLJ_etMeV

std::vector<float> LVL1::gFEXNtupleWriter::m_gLJ_etMeV
private

Definition at line 126 of file gFEXNtupleWriter.h.

◆ m_gLJ_etScale

std::vector<float> LVL1::gFEXNtupleWriter::m_gLJ_etScale
private

Definition at line 127 of file gFEXNtupleWriter.h.

◆ m_gLJ_gFEXphi

std::vector<float> LVL1::gFEXNtupleWriter::m_gLJ_gFEXphi
private

Definition at line 122 of file gFEXNtupleWriter.h.

◆ m_gLJ_iEta

std::vector<float> LVL1::gFEXNtupleWriter::m_gLJ_iEta
private

Definition at line 119 of file gFEXNtupleWriter.h.

◆ m_gLJ_iPhi

std::vector<float> LVL1::gFEXNtupleWriter::m_gLJ_iPhi
private

Definition at line 120 of file gFEXNtupleWriter.h.

◆ m_gLJ_phi

std::vector<float> LVL1::gFEXNtupleWriter::m_gLJ_phi
private

Definition at line 123 of file gFEXNtupleWriter.h.

◆ m_gLJ_phiTopo

std::vector<float> LVL1::gFEXNtupleWriter::m_gLJ_phiTopo
private

Definition at line 124 of file gFEXNtupleWriter.h.

◆ m_gLJ_tobEt

std::vector<float> LVL1::gFEXNtupleWriter::m_gLJ_tobEt
private

Definition at line 125 of file gFEXNtupleWriter.h.

◆ m_global_nTOBs

float LVL1::gFEXNtupleWriter::m_global_nTOBs
private

Definition at line 62 of file gFEXNtupleWriter.h.

◆ m_global_TOB

std::vector<float> LVL1::gFEXNtupleWriter::m_global_TOB
private

Definition at line 77 of file gFEXNtupleWriter.h.

◆ m_global_TOB_ID

std::vector<float> LVL1::gFEXNtupleWriter::m_global_TOB_ID
private

Definition at line 81 of file gFEXNtupleWriter.h.

◆ m_global_TOB_Quantity1

std::vector<float> LVL1::gFEXNtupleWriter::m_global_TOB_Quantity1
private

Definition at line 78 of file gFEXNtupleWriter.h.

◆ m_global_TOB_Quantity2

std::vector<float> LVL1::gFEXNtupleWriter::m_global_TOB_Quantity2
private

Definition at line 79 of file gFEXNtupleWriter.h.

◆ m_global_TOB_Saturation

std::vector<float> LVL1::gFEXNtupleWriter::m_global_TOB_Saturation
private

Definition at line 80 of file gFEXNtupleWriter.h.

◆ m_global_TOB_Status1

std::vector<float> LVL1::gFEXNtupleWriter::m_global_TOB_Status1
private

Definition at line 82 of file gFEXNtupleWriter.h.

◆ m_global_TOB_Status2

std::vector<float> LVL1::gFEXNtupleWriter::m_global_TOB_Status2
private

Definition at line 83 of file gFEXNtupleWriter.h.

◆ m_gMETComponentsJwojOutKey

SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > LVL1::gFEXNtupleWriter::m_gMETComponentsJwojOutKey {this,"Key_gMETComponentsJwojOutputContainer","L1_gMETComponentsJwoj","Output total MET components (JwoJ)"}
private

Definition at line 49 of file gFEXNtupleWriter.h.

◆ m_gMETComponentsNoiseCutOutKey

SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > LVL1::gFEXNtupleWriter::m_gMETComponentsNoiseCutOutKey {this,"Key_gMETComponentsNoiseCutOutputContainer","L1_gMETComponentsNoiseCut","Output total MET components (NoiseCut)"}
private

Definition at line 52 of file gFEXNtupleWriter.h.

◆ m_gMETComponentsRmsOutKey

SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > LVL1::gFEXNtupleWriter::m_gMETComponentsRmsOutKey {this,"Key_gMETComponentsRmsOutputContainer","L1_gMETComponentsRms","Output total MET components (RMS)"}
private

Definition at line 53 of file gFEXNtupleWriter.h.

◆ m_gMHTComponentsJwojOutKey

SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > LVL1::gFEXNtupleWriter::m_gMHTComponentsJwojOutKey {this,"Key_gMHTComponentsJwojOutputContainer","L1_gMHTComponentsJwoj","Output hard MET components (JwoJ)"}
private

Definition at line 50 of file gFEXNtupleWriter.h.

◆ m_gMSTComponentsJwojOutKey

SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > LVL1::gFEXNtupleWriter::m_gMSTComponentsJwojOutKey {this,"Key_gMSTComponentsJwojOutputContainer","L1_gMSTComponentsJwoj","Output soft MET components (JwoJ)"}
private

Definition at line 51 of file gFEXNtupleWriter.h.

◆ m_gNoiseCut_MET

std::vector<float> LVL1::gFEXNtupleWriter::m_gNoiseCut_MET
private

Definition at line 142 of file gFEXNtupleWriter.h.

◆ m_gNoiseCut_METx

std::vector<float> LVL1::gFEXNtupleWriter::m_gNoiseCut_METx
private

Definition at line 138 of file gFEXNtupleWriter.h.

◆ m_gNoiseCut_METy

std::vector<float> LVL1::gFEXNtupleWriter::m_gNoiseCut_METy
private

Definition at line 139 of file gFEXNtupleWriter.h.

◆ m_gNoiseCut_SumET

std::vector<float> LVL1::gFEXNtupleWriter::m_gNoiseCut_SumET
private

Definition at line 143 of file gFEXNtupleWriter.h.

◆ m_gRho_eta

std::vector<float> LVL1::gFEXNtupleWriter::m_gRho_eta
private

Definition at line 103 of file gFEXNtupleWriter.h.

◆ m_gRho_etMeV

std::vector<float> LVL1::gFEXNtupleWriter::m_gRho_etMeV
private

Definition at line 106 of file gFEXNtupleWriter.h.

◆ m_gRho_etScale

std::vector<float> LVL1::gFEXNtupleWriter::m_gRho_etScale
private

Definition at line 107 of file gFEXNtupleWriter.h.

◆ m_gRho_phi

std::vector<float> LVL1::gFEXNtupleWriter::m_gRho_phi
private

Definition at line 104 of file gFEXNtupleWriter.h.

◆ m_gRho_tobEt

std::vector<float> LVL1::gFEXNtupleWriter::m_gRho_tobEt
private

Definition at line 105 of file gFEXNtupleWriter.h.

◆ m_gRms_MET

std::vector<float> LVL1::gFEXNtupleWriter::m_gRms_MET
private

Definition at line 144 of file gFEXNtupleWriter.h.

◆ m_gRms_METx

std::vector<float> LVL1::gFEXNtupleWriter::m_gRms_METx
private

Definition at line 140 of file gFEXNtupleWriter.h.

◆ m_gRms_METy

std::vector<float> LVL1::gFEXNtupleWriter::m_gRms_METy
private

Definition at line 141 of file gFEXNtupleWriter.h.

◆ m_gRms_SumET

std::vector<float> LVL1::gFEXNtupleWriter::m_gRms_SumET
private

Definition at line 145 of file gFEXNtupleWriter.h.

◆ m_gScalarEJwojOutKey

SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > LVL1::gFEXNtupleWriter::m_gScalarEJwojOutKey {this,"Key_gScalarEJwojOutputContainer","L1_gScalarEJwoj","Output Scalar MET and SumET (JwoJ)"}
private

Definition at line 48 of file gFEXNtupleWriter.h.

◆ m_gScalarENoiseCutOutKey

SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > LVL1::gFEXNtupleWriter::m_gScalarENoiseCutOutKey {this,"Key_gScalarENoiseCutOutputContainer","L1_gScalarENoiseCut","Output Scalar MET and SumET (NoiseCut)"}
private

Definition at line 54 of file gFEXNtupleWriter.h.

◆ m_gScalarERmsOutKey

SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > LVL1::gFEXNtupleWriter::m_gScalarERmsOutKey {this,"Key_gScalarERmsOutputContainer","L1_gScalarERms","Output Scalar MET and SumET (RMS)"}
private

Definition at line 55 of file gFEXNtupleWriter.h.

◆ m_gSJ_eta

std::vector<float> LVL1::gFEXNtupleWriter::m_gSJ_eta
private

Definition at line 111 of file gFEXNtupleWriter.h.

◆ m_gSJ_etMeV

std::vector<float> LVL1::gFEXNtupleWriter::m_gSJ_etMeV
private

Definition at line 116 of file gFEXNtupleWriter.h.

◆ m_gSJ_etScale

std::vector<float> LVL1::gFEXNtupleWriter::m_gSJ_etScale
private

Definition at line 117 of file gFEXNtupleWriter.h.

◆ m_gSJ_gFEXphi

std::vector<float> LVL1::gFEXNtupleWriter::m_gSJ_gFEXphi
private

Definition at line 112 of file gFEXNtupleWriter.h.

◆ m_gSJ_iEta

std::vector<float> LVL1::gFEXNtupleWriter::m_gSJ_iEta
private

Definition at line 109 of file gFEXNtupleWriter.h.

◆ m_gSJ_iPhi

std::vector<float> LVL1::gFEXNtupleWriter::m_gSJ_iPhi
private

Definition at line 110 of file gFEXNtupleWriter.h.

◆ m_gSJ_phi

std::vector<float> LVL1::gFEXNtupleWriter::m_gSJ_phi
private

Definition at line 113 of file gFEXNtupleWriter.h.

◆ m_gSJ_phiTopo

std::vector<float> LVL1::gFEXNtupleWriter::m_gSJ_phiTopo
private

Definition at line 114 of file gFEXNtupleWriter.h.

◆ m_gSJ_tobEt

std::vector<float> LVL1::gFEXNtupleWriter::m_gSJ_tobEt
private

Definition at line 115 of file gFEXNtupleWriter.h.

◆ m_gtower_et

std::vector<float> LVL1::gFEXNtupleWriter::m_gtower_et
private

Definition at line 95 of file gFEXNtupleWriter.h.

◆ m_gtower_eta

std::vector<float> LVL1::gFEXNtupleWriter::m_gtower_eta
private

Definition at line 94 of file gFEXNtupleWriter.h.

◆ m_gtower_etEMFloat

std::vector<float> LVL1::gFEXNtupleWriter::m_gtower_etEMFloat
private

Definition at line 97 of file gFEXNtupleWriter.h.

◆ m_gtower_etFloat

std::vector<float> LVL1::gFEXNtupleWriter::m_gtower_etFloat
private

Definition at line 96 of file gFEXNtupleWriter.h.

◆ m_gtower_etHADFloat

std::vector<float> LVL1::gFEXNtupleWriter::m_gtower_etHADFloat
private

Definition at line 98 of file gFEXNtupleWriter.h.

◆ m_gtower_ID

std::vector<int> LVL1::gFEXNtupleWriter::m_gtower_ID
private

Definition at line 99 of file gFEXNtupleWriter.h.

◆ m_gtower_phi

std::vector<float> LVL1::gFEXNtupleWriter::m_gtower_phi
private

Definition at line 93 of file gFEXNtupleWriter.h.

◆ m_gTowerContainerSGKey

SG::ReadHandleKey<LVL1::gTowerContainer> LVL1::gFEXNtupleWriter::m_gTowerContainerSGKey {this, "MyGTowers", "gTowerContainer", "MyGTowers"}
private

Definition at line 44 of file gFEXNtupleWriter.h.

◆ m_jet_container_name

std::string LVL1::gFEXNtupleWriter::m_jet_container_name = "AntiKt10TruthJets"
private

Definition at line 85 of file gFEXNtupleWriter.h.

◆ m_jet_nTOBs

float LVL1::gFEXNtupleWriter::m_jet_nTOBs
private

Definition at line 61 of file gFEXNtupleWriter.h.

◆ m_jet_TOB

std::vector<float> LVL1::gFEXNtupleWriter::m_jet_TOB
private

Definition at line 69 of file gFEXNtupleWriter.h.

◆ m_jet_TOB_ET

std::vector<float> LVL1::gFEXNtupleWriter::m_jet_TOB_ET
private

Definition at line 72 of file gFEXNtupleWriter.h.

◆ m_jet_TOB_Eta

std::vector<float> LVL1::gFEXNtupleWriter::m_jet_TOB_Eta
private

Definition at line 70 of file gFEXNtupleWriter.h.

◆ m_jet_TOB_ID

std::vector<float> LVL1::gFEXNtupleWriter::m_jet_TOB_ID
private

Definition at line 73 of file gFEXNtupleWriter.h.

◆ m_jet_TOB_Phi

std::vector<float> LVL1::gFEXNtupleWriter::m_jet_TOB_Phi
private

Definition at line 71 of file gFEXNtupleWriter.h.

◆ m_jet_TOB_Status

std::vector<float> LVL1::gFEXNtupleWriter::m_jet_TOB_Status
private

Definition at line 74 of file gFEXNtupleWriter.h.

◆ m_load_truth_jet

bool LVL1::gFEXNtupleWriter::m_load_truth_jet
private

Definition at line 63 of file gFEXNtupleWriter.h.

◆ m_myTree

TTree* LVL1::gFEXNtupleWriter::m_myTree
private

Definition at line 86 of file gFEXNtupleWriter.h.

◆ m_posneg

std::vector<int> LVL1::gFEXNtupleWriter::m_posneg
private

Definition at line 100 of file gFEXNtupleWriter.h.

◆ m_sc_et

std::vector<float> LVL1::gFEXNtupleWriter::m_sc_et
private

Definition at line 91 of file gFEXNtupleWriter.h.

◆ m_sc_eta

std::vector<float> LVL1::gFEXNtupleWriter::m_sc_eta
private

Definition at line 90 of file gFEXNtupleWriter.h.

◆ m_sc_phi

std::vector<float> LVL1::gFEXNtupleWriter::m_sc_phi
private

Definition at line 89 of file gFEXNtupleWriter.h.

◆ m_scellsCollectionSGKey

SG::ReadHandleKey<CaloCellContainer> LVL1::gFEXNtupleWriter::m_scellsCollectionSGKey {this, "SCell", "SCell", "SCell"}
private

Definition at line 57 of file gFEXNtupleWriter.h.

◆ m_truth_jet_ET

std::vector<float> LVL1::gFEXNtupleWriter::m_truth_jet_ET
private

Definition at line 67 of file gFEXNtupleWriter.h.

◆ m_truth_jet_eta

std::vector<float> LVL1::gFEXNtupleWriter::m_truth_jet_eta
private

Definition at line 65 of file gFEXNtupleWriter.h.

◆ m_truth_jet_phi

std::vector<float> LVL1::gFEXNtupleWriter::m_truth_jet_phi
private

Definition at line 66 of file gFEXNtupleWriter.h.

◆ m_valiTree

TTree* LVL1::gFEXNtupleWriter::m_valiTree
private

Definition at line 87 of file gFEXNtupleWriter.h.

◆ m_varHandleArraysDeclared

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

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
LVL1::gFEXNtupleWriter::m_gJwoJ_MHTx
std::vector< float > m_gJwoJ_MHTx
Definition: gFEXNtupleWriter.h:133
LVL1::gFEXNtupleWriter::m_gJwoJ_METy
std::vector< float > m_gJwoJ_METy
Definition: gFEXNtupleWriter.h:132
LVL1::gFEXNtupleWriter::m_gSJ_gFEXphi
std::vector< float > m_gSJ_gFEXphi
Definition: gFEXNtupleWriter.h:112
LVL1::gFEXNtupleWriter::m_gGlobal_etScale1
std::vector< float > m_gGlobal_etScale1
Definition: gFEXNtupleWriter.h:147
LVL1::gFEXNtupleWriter::m_global_TOB_Quantity1
std::vector< float > m_global_TOB_Quantity1
Definition: gFEXNtupleWriter.h:78
test_pyathena.eta
eta
Definition: test_pyathena.py:10
LVL1::gFEXNtupleWriter::m_jet_TOB_Eta
std::vector< float > m_jet_TOB_Eta
Definition: gFEXNtupleWriter.h:70
LVL1::gFEXNtupleWriter::m_gJwoJ_MET
std::vector< float > m_gJwoJ_MET
Definition: gFEXNtupleWriter.h:129
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
LVL1::gFEXNtupleWriter::m_gSJ_tobEt
std::vector< float > m_gSJ_tobEt
Definition: gFEXNtupleWriter.h:115
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
LVL1::gFEXNtupleWriter::m_gTowerContainerSGKey
SG::ReadHandleKey< LVL1::gTowerContainer > m_gTowerContainerSGKey
Definition: gFEXNtupleWriter.h:44
LVL1::gFEXNtupleWriter::m_global_TOB
std::vector< float > m_global_TOB
Definition: gFEXNtupleWriter.h:77
LVL1::gFEXNtupleWriter::m_gNoiseCut_METy
std::vector< float > m_gNoiseCut_METy
Definition: gFEXNtupleWriter.h:139
LVL1::gFEXOutputCollection::getJet
std::unordered_map< std::string, float > getJet(int) const
Definition: gFEXOutputCollection.cxx:53
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LVL1::gFEXNtupleWriter::m_gMETComponentsRmsOutKey
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gMETComponentsRmsOutKey
Definition: gFEXNtupleWriter.h:53
LVL1::gFEXNtupleWriter::m_gLJ_etScale
std::vector< float > m_gLJ_etScale
Definition: gFEXNtupleWriter.h:127
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
LVL1::gFEXNtupleWriter::m_jet_container_name
std::string m_jet_container_name
Definition: gFEXNtupleWriter.h:85
LVL1::gFEXNtupleWriter::m_gRho_phi
std::vector< float > m_gRho_phi
Definition: gFEXNtupleWriter.h:104
LVL1::gFEXNtupleWriter::m_gLJ_phiTopo
std::vector< float > m_gLJ_phiTopo
Definition: gFEXNtupleWriter.h:124
LVL1::gFEXNtupleWriter::loadTruthJets
StatusCode loadTruthJets()
Definition: gFEXNtupleWriter.cxx:473
LVL1::gFEXNtupleWriter::m_gRms_SumET
std::vector< float > m_gRms_SumET
Definition: gFEXNtupleWriter.h:145
LVL1::gTower
The gTower class is an interface object for gFEX trigger algorithms The purposes are twofold:
Definition: gTower.h:38
xAOD::gFexGlobalRoI_v1
Class describing properties of a LVL1 gFEX global Trigger Object (TOB) in the xAOD format.
Definition: gFexGlobalRoI_v1.h:25
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
LVL1::gFEXNtupleWriter::m_gLJ_eta
std::vector< float > m_gLJ_eta
Definition: gFEXNtupleWriter.h:121
LVL1::gFEXOutputCollection::getGlobalTob
const std::vector< uint32_t > & getGlobalTob() const
Definition: gFEXOutputCollection.cxx:96
LVL1::gFEXNtupleWriter::m_global_TOB_Saturation
std::vector< float > m_global_TOB_Saturation
Definition: gFEXNtupleWriter.h:80
LVL1::gFEXNtupleWriter::m_gMETComponentsNoiseCutOutKey
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gMETComponentsNoiseCutOutKey
Definition: gFEXNtupleWriter.h:52
LVL1::gFEXNtupleWriter::m_jet_TOB
std::vector< float > m_jet_TOB
Definition: gFEXNtupleWriter.h:69
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::gFEXNtupleWriter::m_gScalarERmsOutKey
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gScalarERmsOutKey
Definition: gFEXNtupleWriter.h:55
LVL1::gFEXNtupleWriter::m_gJwoJ_SumET
std::vector< float > m_gJwoJ_SumET
Definition: gFEXNtupleWriter.h:130
LVL1::gFEXNtupleWriter::m_gtower_phi
std::vector< float > m_gtower_phi
Definition: gFEXNtupleWriter.h:93
LVL1::gFEXNtupleWriter::m_gJwoJ_MSTx
std::vector< float > m_gJwoJ_MSTx
Definition: gFEXNtupleWriter.h:135
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
LVL1::gFEXNtupleWriter::m_gtower_etHADFloat
std::vector< float > m_gtower_etHADFloat
Definition: gFEXNtupleWriter.h:98
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
LVL1::gFEXNtupleWriter::m_gScalarENoiseCutOutKey
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gScalarENoiseCutOutKey
Definition: gFEXNtupleWriter.h:54
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:27
LVL1::gFEXNtupleWriter::m_gNoiseCut_MET
std::vector< float > m_gNoiseCut_MET
Definition: gFEXNtupleWriter.h:142
xAOD::phi
setEt phi
Definition: TrigEMCluster_v1.cxx:29
LVL1::gFEXNtupleWriter::m_gSJ_etScale
std::vector< float > m_gSJ_etScale
Definition: gFEXNtupleWriter.h:117
LVL1::gFEXNtupleWriter::m_gtower_eta
std::vector< float > m_gtower_eta
Definition: gFEXNtupleWriter.h:94
LVL1::gFEXNtupleWriter::m_jet_nTOBs
float m_jet_nTOBs
Definition: gFEXNtupleWriter.h:61
LVL1::gFEXNtupleWriter::m_gJwoJ_MHTy
std::vector< float > m_gJwoJ_MHTy
Definition: gFEXNtupleWriter.h:134
LVL1::gFEXNtupleWriter::m_gSJ_eta
std::vector< float > m_gSJ_eta
Definition: gFEXNtupleWriter.h:111
LVL1::gFEXNtupleWriter::m_truth_jet_eta
std::vector< float > m_truth_jet_eta
Definition: gFEXNtupleWriter.h:65
LVL1::gFEXNtupleWriter::m_global_TOB_Quantity2
std::vector< float > m_global_TOB_Quantity2
Definition: gFEXNtupleWriter.h:79
AthCommonDataStore< AthCommonMsg< Algorithm > >::evtStore
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:85
LVL1::gFEXNtupleWriter::m_gFexRhoOutKey
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_gFexRhoOutKey
Definition: gFEXNtupleWriter.h:45
LVL1::gFEXNtupleWriter::m_gGlobal_etScale2
std::vector< float > m_gGlobal_etScale2
Definition: gFEXNtupleWriter.h:148
LVL1::gFEXNtupleWriter::m_gLJ_iEta
std::vector< float > m_gLJ_iEta
Definition: gFEXNtupleWriter.h:119
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
LVL1::gFEXNtupleWriter::m_gtower_ID
std::vector< int > m_gtower_ID
Definition: gFEXNtupleWriter.h:99
LVL1::gFEXNtupleWriter::m_gRho_etScale
std::vector< float > m_gRho_etScale
Definition: gFEXNtupleWriter.h:107
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthAlgorithm.cxx:66
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
LVL1::gFEXNtupleWriter::m_posneg
std::vector< int > m_posneg
Definition: gFEXNtupleWriter.h:100
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
LVL1::gFEXNtupleWriter::m_sc_phi
std::vector< float > m_sc_phi
Definition: gFEXNtupleWriter.h:89
AthCommonDataStore< AthCommonMsg< Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
lumiFormat.i
int i
Definition: lumiFormat.py:85
LVL1::gFEXNtupleWriter::m_gMETComponentsJwojOutKey
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gMETComponentsJwojOutKey
Definition: gFEXNtupleWriter.h:49
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
xAOD::gFexJetRoI_v1
Class describing properties of a LVL1 gFEX jet Trigger Object (TOB) in the xAOD format.
Definition: gFexJetRoI_v1.h:25
LVL1::gFEXNtupleWriter::m_jet_TOB_ID
std::vector< float > m_jet_TOB_ID
Definition: gFEXNtupleWriter.h:73
LVL1::gFEXNtupleWriter::m_gNoiseCut_METx
std::vector< float > m_gNoiseCut_METx
Definition: gFEXNtupleWriter.h:138
LVL1::gFEXNtupleWriter::m_scellsCollectionSGKey
SG::ReadHandleKey< CaloCellContainer > m_scellsCollectionSGKey
Definition: gFEXNtupleWriter.h:57
LVL1::gFEXNtupleWriter::m_gtower_et
std::vector< float > m_gtower_et
Definition: gFEXNtupleWriter.h:95
LVL1::gFEXNtupleWriter::m_global_nTOBs
float m_global_nTOBs
Definition: gFEXNtupleWriter.h:62
MuonSegmentReaderConfig.histSvc
histSvc
Definition: MuonSegmentReaderConfig.py:96
LVL1::gFEXNtupleWriter::m_gLJ_tobEt
std::vector< float > m_gLJ_tobEt
Definition: gFEXNtupleWriter.h:125
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
LVL1::gFEXNtupleWriter::m_global_TOB_Status1
std::vector< float > m_global_TOB_Status1
Definition: gFEXNtupleWriter.h:82
LVL1::gFEXNtupleWriter::m_gNoiseCut_SumET
std::vector< float > m_gNoiseCut_SumET
Definition: gFEXNtupleWriter.h:143
AthCommonDataStore< AthCommonMsg< 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
LVL1::gFEXNtupleWriter::m_gScalarEJwojOutKey
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gScalarEJwojOutKey
Definition: gFEXNtupleWriter.h:48
LVL1::gFEXNtupleWriter::m_gFexJetOutKey
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_gFexJetOutKey
Definition: gFEXNtupleWriter.h:47
LVL1::gFEXNtupleWriter::m_gtower_etEMFloat
std::vector< float > m_gtower_etEMFloat
Definition: gFEXNtupleWriter.h:97
LVL1::gFEXNtupleWriter::m_gMHTComponentsJwojOutKey
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gMHTComponentsJwojOutKey
Definition: gFEXNtupleWriter.h:50
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
LVL1::gFEXNtupleWriter::m_myTree
TTree * m_myTree
Definition: gFEXNtupleWriter.h:86
LVL1::gFEXNtupleWriter::loadGlobalAlgoVariables
StatusCode loadGlobalAlgoVariables(SG::ReadHandle< LVL1::gFEXOutputCollection >)
Definition: gFEXNtupleWriter.cxx:447
LVL1::gFEXNtupleWriter::m_gLJ_gFEXphi
std::vector< float > m_gLJ_gFEXphi
Definition: gFEXNtupleWriter.h:122
SG::ReadHandle::isValid
virtual bool isValid() override final
Can the handle be successfully dereferenced?
LVL1::gFEXNtupleWriter::m_gRms_MET
std::vector< float > m_gRms_MET
Definition: gFEXNtupleWriter.h:144
LVL1::gFEXNtupleWriter::m_truth_jet_ET
std::vector< float > m_truth_jet_ET
Definition: gFEXNtupleWriter.h:67
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::gFEXNtupleWriter::loadJetAlgoVariables
StatusCode loadJetAlgoVariables(SG::ReadHandle< LVL1::gFEXOutputCollection >)
Definition: gFEXNtupleWriter.cxx:421
LVL1::gFEXNtupleWriter::m_gSJ_etMeV
std::vector< float > m_gSJ_etMeV
Definition: gFEXNtupleWriter.h:116
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
LVL1::gFEXNtupleWriter::m_gRms_METx
std::vector< float > m_gRms_METx
Definition: gFEXNtupleWriter.h:140
LVL1::gFEXOutputCollection::jetsSize
int jetsSize() const
Definition: gFEXOutputCollection.cxx:48
LVL1::gFEXNtupleWriter::m_gRho_eta
std::vector< float > m_gRho_eta
Definition: gFEXNtupleWriter.h:103
LVL1::gFEXNtupleWriter::m_gJwoJ_METx
std::vector< float > m_gJwoJ_METx
Definition: gFEXNtupleWriter.h:131
LVL1::gFEXNtupleWriter::m_valiTree
TTree * m_valiTree
Definition: gFEXNtupleWriter.h:87
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
AthAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Definition: AthAlgorithm.h:79
LVL1::gFEXNtupleWriter::m_gJwoJ_MSTy
std::vector< float > m_gJwoJ_MSTy
Definition: gFEXNtupleWriter.h:136
xAOD::Jet_v1::p4
virtual FourMom_t p4() const
The full 4-momentum of the particle.
Definition: Jet_v1.cxx:71
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
LVL1::gFEXNtupleWriter::m_jet_TOB_ET
std::vector< float > m_jet_TOB_ET
Definition: gFEXNtupleWriter.h:72
LVL1::gFEXNtupleWriter::m_gRho_tobEt
std::vector< float > m_gRho_tobEt
Definition: gFEXNtupleWriter.h:105
LVL1::gFEXOutputCollection::getdooutput
bool getdooutput() const
Definition: gFEXOutputCollection.cxx:106
LVL1::gFEXNtupleWriter::m_sc_eta
std::vector< float > m_sc_eta
Definition: gFEXNtupleWriter.h:90
LVL1::gFEXNtupleWriter::m_gRho_etMeV
std::vector< float > m_gRho_etMeV
Definition: gFEXNtupleWriter.h:106
LVL1::gFEXNtupleWriter::m_global_TOB_ID
std::vector< float > m_global_TOB_ID
Definition: gFEXNtupleWriter.h:81
LVL1::gFEXNtupleWriter::m_gSJ_iPhi
std::vector< float > m_gSJ_iPhi
Definition: gFEXNtupleWriter.h:110
LVL1::gFEXOutputCollection::getGlobal
std::unordered_map< std::string, float > getGlobal(int) const
Definition: gFEXOutputCollection.cxx:86
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
LVL1::gFEXNtupleWriter::m_sc_et
std::vector< float > m_sc_et
Definition: gFEXNtupleWriter.h:91
LVL1::gFEXNtupleWriter::m_gFEXOutputCollectionSGKey
SG::ReadHandleKey< LVL1::gFEXOutputCollection > m_gFEXOutputCollectionSGKey
Definition: gFEXNtupleWriter.h:43
LVL1::gFEXNtupleWriter::m_gRms_METy
std::vector< float > m_gRms_METy
Definition: gFEXNtupleWriter.h:141
LVL1::gFEXNtupleWriter::m_gSJ_iEta
std::vector< float > m_gSJ_iEta
Definition: gFEXNtupleWriter.h:109
LVL1::gFEXNtupleWriter::m_gLJ_phi
std::vector< float > m_gLJ_phi
Definition: gFEXNtupleWriter.h:123
LVL1::gFEXNtupleWriter::m_load_truth_jet
bool m_load_truth_jet
Definition: gFEXNtupleWriter.h:63
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
LVL1::gFEXOutputCollection::globalsSize
int globalsSize() const
Definition: gFEXOutputCollection.cxx:81
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
LVL1::gFEXOutputCollection::getJetTob
const std::vector< uint32_t > & getJetTob() const
Definition: gFEXOutputCollection.cxx:63
LVL1::gFEXNtupleWriter::m_gFexBlockOutKey
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_gFexBlockOutKey
Definition: gFEXNtupleWriter.h:46
LVL1::gFEXNtupleWriter::m_gLJ_etMeV
std::vector< float > m_gLJ_etMeV
Definition: gFEXNtupleWriter.h:126
LVL1::gFEXNtupleWriter::m_gtower_etFloat
std::vector< float > m_gtower_etFloat
Definition: gFEXNtupleWriter.h:96
xAOD::Jet_v1::pt
virtual double pt() const
The transverse momentum ( ) of the particle.
Definition: Jet_v1.cxx:44
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
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::gFEXNtupleWriter::m_gSJ_phi
std::vector< float > m_gSJ_phi
Definition: gFEXNtupleWriter.h:113
LVL1::gFEXNtupleWriter::m_truth_jet_phi
std::vector< float > m_truth_jet_phi
Definition: gFEXNtupleWriter.h:66
LVL1::gFEXNtupleWriter::m_jet_TOB_Phi
std::vector< float > m_jet_TOB_Phi
Definition: gFEXNtupleWriter.h:71
LVL1::gFEXNtupleWriter::m_jet_TOB_Status
std::vector< float > m_jet_TOB_Status
Definition: gFEXNtupleWriter.h:74
LVL1::gFEXNtupleWriter::m_global_TOB_Status2
std::vector< float > m_global_TOB_Status2
Definition: gFEXNtupleWriter.h:83
fitman.k
k
Definition: fitman.py:528
LVL1::gFEXNtupleWriter::m_gLJ_iPhi
std::vector< float > m_gLJ_iPhi
Definition: gFEXNtupleWriter.h:120
LVL1::gFEXNtupleWriter::m_gSJ_phiTopo
std::vector< float > m_gSJ_phiTopo
Definition: gFEXNtupleWriter.h:114
ServiceHandle< ITHistSvc >
LVL1::gFEXNtupleWriter::m_gMSTComponentsJwojOutKey
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_gMSTComponentsJwojOutKey
Definition: gFEXNtupleWriter.h:51