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

#include <MuFastDataPreparator.h>

Inheritance diagram for TrigL2MuonSA::MuFastDataPreparator:
Collaboration diagram for TrigL2MuonSA::MuFastDataPreparator:

Public Member Functions

 MuFastDataPreparator (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual StatusCode initialize () override
 
StatusCode prepareData (const xAOD::MuonRoI *p_roi, const TrigRoiDescriptor *p_roids, const bool insideOut, TrigL2MuonSA::RpcHits &rpcHits, TrigL2MuonSA::MuonRoad &muonRoad, TrigL2MuonSA::MdtRegion &mdtRegion, TrigL2MuonSA::RpcFitResult &rpcFitResult, TrigL2MuonSA::MdtHits &mdtHits, const bool dynamicDeltaRpc) const
 
StatusCode prepareData (const xAOD::MuonRoI *p_roi, const TrigRoiDescriptor *p_roids, const bool insideOut, TrigL2MuonSA::TgcHits &tgcHits, TrigL2MuonSA::MuonRoad &muonRoad, TrigL2MuonSA::MdtRegion &mdtRegion, TrigL2MuonSA::TgcFitResult &tgcFitResult, TrigL2MuonSA::MdtHits &mdtHits, TrigL2MuonSA::CscHits &cscHits, TrigL2MuonSA::StgcHits &stgcHits, TrigL2MuonSA::MmHits &mmHits) const
 
StatusCode prepareData (const xAOD::MuonRoI *p_roi, const TrigRoiDescriptor *p_roids, std::vector< TrigL2MuonSA::MuonRoad > &clusterRoad, std::vector< TrigL2MuonSA::RpcFitResult > &clusterFitResults, TrigL2MuonSA::MdtHits &mdtHits, std::vector< TrigL2MuonSA::MdtHits > &mdtHits_cluster_normal, const bool dynamicDeltaRpc) const
 
void setRoadWidthForFailure (double rWidth_RPC_Failed, double rWidth_TGC_Failed)
 
void setRpcGeometry (bool use_rpc)
 
void setStgcGeometry (bool use_stgc)
 
void setMmGeometry (bool use_mm)
 
StatusCode setMCFlag (bool use_mcLUT)
 
void setRoIBasedDataAccess (bool use_RoIBasedDataAccess_MDT, bool use_RoIBasedDataAccess_RPC, bool use_RoIBasedDataAccess_TGC, bool use_RoIBasedDataAccess_CSC, bool use_RoIBasedDataAccess_STGC, bool use_RoIBasedDataAccess_MM)
 
void setExtrapolatorTool (ToolHandle< ITrigMuonBackExtrapolator > *backExtrapolator)
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysInitialize () override
 Perform system initialization for an algorithm. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, 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

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

ToolHandle< LVL1::ITrigT1MuonRecRoiToolm_recRPCRoiTool {this, "TrigT1RPCRecRoiTool", "LVL1::TrigT1RPCRecRoiTool/TrigT1RPCRecRoiTool"}
 
ToolHandle< RpcDataPreparatorm_rpcDataPreparator {this, "RPCDataPreparator", "TrigL2MuonSA::RpcDataPreparator"}
 
ToolHandle< TgcDataPreparatorm_tgcDataPreparator {this, "TGCDataPreparator", "TrigL2MuonSA::TgcDataPreparator"}
 
ToolHandle< MdtDataPreparatorm_mdtDataPreparator {this, "MDTDataPreparator", "TrigL2MuonSA::MdtDataPreparator"}
 
ToolHandle< CscDataPreparatorm_cscDataPreparator {this, "CSCDataPreparator", "TrigL2MuonSA::CscDataPreparator"}
 
ToolHandle< StgcDataPreparatorm_stgcDataPreparator {this,"STGCDataPreparator","TrigL2MuonSA::StgcDataPreparator"}
 
ToolHandle< MmDataPreparatorm_mmDataPreparator {this, "MMDataPreparator", "TrigL2MuonSA::MmDataPreparator"}
 
ToolHandle< RpcRoadDefinerm_rpcRoadDefiner {this, "RpcRoadDefiner", "TrigL2MuonSA::RpcRoadDefiner"}
 
ToolHandle< TgcRoadDefinerm_tgcRoadDefiner {this, "TgcRoadDefiner", "TrigL2MuonSA::TgcRoadDefiner"}
 
ToolHandle< RpcPatFinderm_rpcPatFinder {"TrigL2MuonSA::RpcPatFinder"}
 
ToolHandle< ClusterRoadDefinerm_clusterRoadDefiner {this, "ClusterRoadDefiner", "TrigL2MuonSA::ClusterRoadDefiner"}
 
ToolHandle< ClusterPatFinderm_clusterPatFinder {this, "ClusterPatFinder", "TrigL2MuonSA::ClusterPatFinder"}
 
ToolHandle< ITrigMuonBackExtrapolator > * m_backExtrapolatorTool {nullptr}
 
bool m_use_rpc {false}
 
bool m_use_stgc {false}
 
bool m_use_mm {false}
 
bool m_use_mcLUT {false}
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Definition at line 41 of file MuFastDataPreparator.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ MuFastDataPreparator()

TrigL2MuonSA::MuFastDataPreparator::MuFastDataPreparator ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Definition at line 12 of file MuFastDataPreparator.cxx.

14  :
16 {
17 }

Member Function Documentation

◆ declareGaudiProperty() [1/4]

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

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

Definition at line 170 of file AthCommonDataStore.h.

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

◆ declareGaudiProperty() [2/4]

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

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

Definition at line 156 of file AthCommonDataStore.h.

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

◆ declareGaudiProperty() [3/4]

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

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

Definition at line 184 of file AthCommonDataStore.h.

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

◆ declareGaudiProperty() [4/4]

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

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

Definition at line 199 of file AthCommonDataStore.h.

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

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

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

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

Definition at line 245 of file AthCommonDataStore.h.

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

◆ declareProperty() [2/6]

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

Declare a new Gaudi property.

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

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

Definition at line 221 of file AthCommonDataStore.h.

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

◆ declareProperty() [3/6]

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

Definition at line 259 of file AthCommonDataStore.h.

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

◆ declareProperty() [4/6]

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

Declare a new Gaudi property.

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

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

Definition at line 333 of file AthCommonDataStore.h.

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

◆ declareProperty() [5/6]

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

Declare a new Gaudi property.

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

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

Definition at line 352 of file AthCommonDataStore.h.

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

◆ declareProperty() [6/6]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( Gaudi::Property< T, V, H > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

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

◆ detStore()

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore ( ) const
inlineinherited

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

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

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

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

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

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

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

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ extraDeps_update_handler()

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

Add StoreName to extra input/output deps as needed.

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

◆ initialize()

StatusCode TrigL2MuonSA::MuFastDataPreparator::initialize ( )
overridevirtual

Definition at line 23 of file MuFastDataPreparator.cxx.

24 {
25  ATH_CHECK(m_recRPCRoiTool.retrieve());
26 
27  if (m_use_rpc) {
28  ATH_CHECK(m_rpcDataPreparator.retrieve());
29  ATH_MSG_DEBUG("Retrieved service " << m_rpcDataPreparator);
30  }
31 
32  ATH_CHECK(m_tgcDataPreparator.retrieve());
33  ATH_MSG_DEBUG("Retrieved service " << m_tgcDataPreparator);
34 
35  ATH_CHECK(m_mdtDataPreparator.retrieve());
36  ATH_MSG_DEBUG("Retrieved service " << m_mdtDataPreparator);
37 
38  ATH_CHECK(m_cscDataPreparator.retrieve(DisableTool{m_cscDataPreparator.empty()}));
39  ATH_MSG_DEBUG("Retrieved service " << m_cscDataPreparator);
40 
41  if (m_use_stgc) {
42  ATH_CHECK(m_stgcDataPreparator.retrieve(DisableTool{m_stgcDataPreparator.empty()}));
43  ATH_MSG_DEBUG("Retrieved service " << m_stgcDataPreparator);
44  }
45 
46  if (m_use_mm) {
47  ATH_CHECK(m_mmDataPreparator.retrieve(DisableTool{m_mmDataPreparator.empty()}));
48  ATH_MSG_DEBUG("Retrieved service " << m_mmDataPreparator);
49  }
50 
51  ATH_CHECK(m_rpcRoadDefiner.retrieve());
52  ATH_MSG_DEBUG("Retrieved service " << m_rpcRoadDefiner);
53 
54  ATH_CHECK(m_tgcRoadDefiner.retrieve());
55  ATH_MSG_DEBUG("Retrieved service " << m_tgcRoadDefiner);
56 
57  ATH_CHECK(m_rpcPatFinder.retrieve());
58  ATH_MSG_DEBUG("Retrieved service " << m_rpcPatFinder);
59 
60  ATH_CHECK(m_clusterRoadDefiner.retrieve());
61  ATH_MSG_DEBUG("Retrieved service " << m_clusterRoadDefiner);
62 
63  ATH_CHECK(m_clusterPatFinder.retrieve());
64  ATH_MSG_DEBUG("Retrieved service " << m_clusterPatFinder);
65 
66  return StatusCode::SUCCESS;
67 }

◆ inputHandles()

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

Return this algorithm's input handles.

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

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 27 of file AthCommonMsg.h.

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

◆ msgLvl()

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

Definition at line 30 of file AthCommonMsg.h.

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

◆ outputHandles()

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

Return this algorithm's output handles.

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

◆ prepareData() [1/3]

StatusCode TrigL2MuonSA::MuFastDataPreparator::prepareData ( const xAOD::MuonRoI p_roi,
const TrigRoiDescriptor p_roids,
const bool  insideOut,
TrigL2MuonSA::RpcHits rpcHits,
TrigL2MuonSA::MuonRoad muonRoad,
TrigL2MuonSA::MdtRegion mdtRegion,
TrigL2MuonSA::RpcFitResult rpcFitResult,
TrigL2MuonSA::MdtHits mdtHits,
const bool  dynamicDeltaRpc 
) const

Definition at line 148 of file MuFastDataPreparator.cxx.

157 {
158 
159  ATH_MSG_DEBUG("RoI eta/phi=" << p_roi->eta() << "/" << p_roi->phi());
160 
161  StatusCode sc = StatusCode::SUCCESS;
162 
163  //Storing rpc hits by each layers and eta/phi strip for creating road
164  //RpcLayerHits class is defined in RpcPatFinder.h
165  TrigL2MuonSA::RpcLayerHits rpcLayerHits;
166  rpcLayerHits.clear();
167 
168  if(m_use_rpc && !insideOut) {
169 
170  sc = m_rpcDataPreparator->prepareData(p_roids,
171  rpcHits,
172  rpcLayerHits,
174  dynamicDeltaRpc);
175 
176  if (!sc.isSuccess()) {
177  ATH_MSG_DEBUG("Error in RPC data prepapration. Continue using RoI");
178  }
179  } else {
180  ATH_MSG_DEBUG("Skip RpcDataPreparator");
181  }
182 
184  sc = m_recRPCRoiTool->roiData(p_roi->roiWord(),data);
185  if (!sc.isSuccess()){
186  ATH_MSG_WARNING("Error in roiWord decode");
187  return sc;
188  }
189  double roiEtaMinLow = 0.;
190  double roiEtaMaxLow = 0.;
191  double roiEtaMinHigh = 0.;
192  double roiEtaMaxHigh = 0.;
193  if(!m_recRPCRoiTool->etaDimLow(data, roiEtaMinLow, roiEtaMaxLow)) {
194  roiEtaMinLow = p_roids->eta();
195  roiEtaMaxLow = p_roids->eta();
196  }
197  if(!m_recRPCRoiTool->etaDimHigh(data, roiEtaMinHigh, roiEtaMaxHigh)) {
198  roiEtaMinHigh = p_roids->eta();
199  roiEtaMaxHigh = p_roids->eta();
200  }
201 
202  ATH_MSG_DEBUG("nr of RPC hits=" << rpcHits.size());
203 
204  sc = m_rpcRoadDefiner->defineRoad(p_roi,
205  insideOut,
206  muonRoad,
207  rpcLayerHits,
209  rpcFitResult,
210  roiEtaMinLow,
211  roiEtaMaxLow,
212  roiEtaMinHigh,
213  roiEtaMaxHigh);
214  if (!sc.isSuccess()) {
215  ATH_MSG_WARNING("Error in road definition.");
216  return sc;
217  }
218 
219  sc = m_mdtDataPreparator->prepareData(p_roids,
220  rpcFitResult,
221  muonRoad,
222  mdtRegion,
223  mdtHits);
224 
225 
226  if (!sc.isSuccess()) {
227  ATH_MSG_WARNING("Error in MDT data preparation.");
228  return sc;
229  }
230  ATH_MSG_DEBUG("nr of MDT hits=" << mdtHits.size());
231 
232  return StatusCode::SUCCESS;
233 }

◆ prepareData() [2/3]

StatusCode TrigL2MuonSA::MuFastDataPreparator::prepareData ( const xAOD::MuonRoI p_roi,
const TrigRoiDescriptor p_roids,
const bool  insideOut,
TrigL2MuonSA::TgcHits tgcHits,
TrigL2MuonSA::MuonRoad muonRoad,
TrigL2MuonSA::MdtRegion mdtRegion,
TrigL2MuonSA::TgcFitResult tgcFitResult,
TrigL2MuonSA::MdtHits mdtHits,
TrigL2MuonSA::CscHits cscHits,
TrigL2MuonSA::StgcHits stgcHits,
TrigL2MuonSA::MmHits mmHits 
) const

Definition at line 364 of file MuFastDataPreparator.cxx.

375 {
376  StatusCode sc = StatusCode::SUCCESS;
377  ATH_MSG_DEBUG("RoI eta/phi=" << p_roi->eta() << "/" << p_roi->phi());
378 
379  if(!insideOut) {
380  sc = m_tgcDataPreparator->prepareData(p_roi,
381  tgcHits);
382  } else {
383  ATH_MSG_DEBUG("Skip TgcDataPreparator");
384  }
385 
386  if (!sc.isSuccess()) {
387  ATH_MSG_DEBUG("Error in TGC data preparation. Continue using RoI");
388  }
389  ATH_MSG_DEBUG("nr of TGC hits=" << tgcHits.size());
390 
391  sc = m_tgcRoadDefiner->defineRoad(p_roids,
392  insideOut,
393  tgcHits,
394  muonRoad,
395  tgcFitResult);
396  if (!sc.isSuccess()) {
397  ATH_MSG_WARNING("Error in road definition.");
398  return sc;
399  }
400 
401  sc = m_mdtDataPreparator->prepareData(p_roids,
402  tgcFitResult,
403  muonRoad,
404  mdtRegion,
405  mdtHits);
406 
407  if (!sc.isSuccess()) {
408  ATH_MSG_WARNING("Error in MDT data preparation.");
409  return sc;
410  }
411  ATH_MSG_DEBUG("nr of MDT (normal) hits=" << mdtHits.size());
412 
413  if(!m_cscDataPreparator.empty()) {
414  sc = m_cscDataPreparator->prepareData(muonRoad,
415  cscHits);
416  if (!sc.isSuccess()) {
417  ATH_MSG_WARNING("Error in CSC data preparation.");
418  return sc;
419  }
420  ATH_MSG_DEBUG("nr of CSC hits=" << cscHits.size());
421  }
422 
423  if(m_use_stgc && !m_stgcDataPreparator.empty()){
424  sc = m_stgcDataPreparator->prepareData(p_roids,
425  stgcHits);
426  if (!sc.isSuccess()) {
427  ATH_MSG_WARNING("Error in sTGC data preparation.");
428  return sc;
429  }
430  ATH_MSG_DEBUG("nr of sTGC hits=" << stgcHits.size());
431  }
432 
433  if(m_use_mm && !m_mmDataPreparator.empty()){
434  sc = m_mmDataPreparator->prepareData(p_roids,
435  mmHits);
436  if (!sc.isSuccess()) {
437  ATH_MSG_WARNING("Error in MM data preparation.");
438  return sc;
439  }
440  ATH_MSG_DEBUG("nr of MM hits=" << mmHits.size());
441  }
442 
443  return StatusCode::SUCCESS;
444 }

◆ prepareData() [3/3]

StatusCode TrigL2MuonSA::MuFastDataPreparator::prepareData ( const xAOD::MuonRoI p_roi,
const TrigRoiDescriptor p_roids,
std::vector< TrigL2MuonSA::MuonRoad > &  clusterRoad,
std::vector< TrigL2MuonSA::RpcFitResult > &  clusterFitResults,
TrigL2MuonSA::MdtHits mdtHits,
std::vector< TrigL2MuonSA::MdtHits > &  mdtHits_cluster_normal,
const bool  dynamicDeltaRpc 
) const

Definition at line 240 of file MuFastDataPreparator.cxx.

247 {
248 
249  ATH_MSG_DEBUG("RoI eta/phi=" << p_roi->eta() << "/" << p_roi->phi());
250  //RpcLayerClusters class is defined in ClusterPatFinder.h
251  TrigL2MuonSA::RpcLayerClusters rpcLayerClusters;
252  rpcLayerClusters.clear();
253 
254  // for MdtDataPreparator's input
255  TrigL2MuonSA::MdtRegion mdtRegion;
256  mdtRegion.Clear();
257 
258  StatusCode sc = StatusCode::SUCCESS;
259 
260  if(!m_use_rpc){
261 
262  } else {
263 
264  sc = m_rpcDataPreparator->prepareData(p_roids,
265  rpcLayerClusters,
267  dynamicDeltaRpc);
268 
269  if (!sc.isSuccess()) {
270  ATH_MSG_DEBUG("Error in RPC data prepapration and clustering. Continue using RoI");
271  return sc;
272  }
273  }
274 
276  sc = m_recRPCRoiTool->roiData(p_roi->roiWord(),data);
277  if (!sc.isSuccess()){
278  ATH_MSG_WARNING("Error in roiWord decode");
279  return sc;
280  }
281  double roiEtaMinLow = 0.;
282  double roiEtaMaxLow = 0.;
283  double roiEtaMinHigh = 0.;
284  double roiEtaMaxHigh = 0.;
285  if(!m_recRPCRoiTool->etaDimLow(data, roiEtaMinLow, roiEtaMaxLow)) {
286  roiEtaMinLow = p_roids->eta();
287  roiEtaMaxLow = p_roids->eta();
288  }
289  if(!m_recRPCRoiTool->etaDimHigh(data, roiEtaMinHigh, roiEtaMaxHigh)) {
290  roiEtaMinHigh = p_roids->eta();
291  roiEtaMaxHigh = p_roids->eta();
292  }
293 
294  sc = m_clusterRoadDefiner->defineRoad(p_roi,
295  clusterRoad,
296  rpcLayerClusters,
298  clusterFitResults,
299  roiEtaMinLow,
300  roiEtaMaxLow,
301  roiEtaMinHigh,
302  roiEtaMaxHigh);
303  if (!sc.isSuccess()) {
304  ATH_MSG_WARNING("Error in clusterRoad definition.");
305  return sc;
306 
307  }
308  if(!clusterRoad.empty()){
309  sc = m_mdtDataPreparator->prepareData(p_roids,
310  clusterFitResults.back(),
311  clusterRoad.back(),
312  mdtRegion,
313  mdtHits);
314 
315  if (!sc.isSuccess()) {
316  ATH_MSG_WARNING("Error in MDT data preparation.");
317  return sc;
318  }
319 
320  ATH_MSG_DEBUG("nr of MDT (normal) hits=" << mdtHits.size());
321 
322  for(unsigned int i_road = 0; i_road < clusterRoad.size(); i_road++){
323  TrigL2MuonSA::MdtHits mdt_normal;
324  for(unsigned int i_hit = 0; i_hit < mdtHits.size(); i_hit++){
325  unsigned int chamber = mdtHits[i_hit].Chamber;
326 
328  double Z = mdtHits[i_hit].Z;
329  double R = mdtHits[i_hit].R;
330  double residual = 999999;
331  unsigned int clusterRoadID = 9999;
332  for(unsigned int j_road = 0; j_road < clusterRoad.size(); j_road++){
333  double aw = clusterRoad.at(j_road).aw[chamber][0];
334  double bw = clusterRoad.at(j_road).bw[chamber][0];
335  double tmp_residual;
336  const double ZERO_LIMIT = 1e-4;
337  if( std::abs(aw) < ZERO_LIMIT ){
338  tmp_residual = R-bw;
339  } else {
340  double ia = 1/aw;
341  double iaq = ia*ia;
342  double dz = Z - (R-bw)*ia;
343  tmp_residual = dz/std::sqrt(1.+iaq);
344  }
345  if(std::abs(residual) > std::abs(tmp_residual)){
346  residual = tmp_residual;
347  clusterRoadID = j_road;
348  }
349  }
350  if(clusterRoadID == i_road){
351  mdt_normal.push_back(mdtHits[i_hit]);
352  }
353  }
354  mdtHits_cluster_normal.push_back(mdt_normal);
355  }
356  }
357 
358  return StatusCode::SUCCESS;
359 }

◆ renounce()

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

Definition at line 380 of file AthCommonDataStore.h.

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

◆ renounceArray()

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

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ setExtrapolatorTool()

void TrigL2MuonSA::MuFastDataPreparator::setExtrapolatorTool ( ToolHandle< ITrigMuonBackExtrapolator > *  backExtrapolator)

Definition at line 138 of file MuFastDataPreparator.cxx.

139 {
140  m_backExtrapolatorTool = backExtrapolator;
141  m_tgcRoadDefiner->setExtrapolatorTool(m_backExtrapolatorTool);
142  return;
143 }

◆ setMCFlag()

StatusCode TrigL2MuonSA::MuFastDataPreparator::setMCFlag ( bool  use_mcLUT)

Definition at line 72 of file MuFastDataPreparator.cxx.

73 {
74  m_use_mcLUT = use_mcLUT;
75 
76  if (m_use_mcLUT) {
77  const ServiceHandle<TrigL2MuonSA::PtEndcapLUTSvc> ptEndcapLUTSvc("PtEndcapLUTSvc_MC", name());
78  if ( ptEndcapLUTSvc.retrieve().isFailure() ) {
79  ATH_MSG_DEBUG("Could not retrieve PtEndcapLUTSvc_MC");
80  return StatusCode::FAILURE;
81  }
82  m_tgcRoadDefiner->setPtLUT(&*ptEndcapLUTSvc);
83  } else {
84  const ServiceHandle<TrigL2MuonSA::PtEndcapLUTSvc> ptEndcapLUTSvc("PtEndcapLUTSvc", name());
85  if ( ptEndcapLUTSvc.retrieve().isFailure() ) {
86  ATH_MSG_DEBUG("Could not retrieve PtEndcapLUTSvc");
87  return StatusCode::FAILURE;
88  }
89  m_tgcRoadDefiner->setPtLUT(&*ptEndcapLUTSvc);
90  }
91 
92  return StatusCode::SUCCESS;
93 }

◆ setMmGeometry()

void TrigL2MuonSA::MuFastDataPreparator::setMmGeometry ( bool  use_mm)
inline

Definition at line 88 of file MuFastDataPreparator.h.

88 { m_use_mm = use_mm; };

◆ setRoadWidthForFailure()

void TrigL2MuonSA::MuFastDataPreparator::setRoadWidthForFailure ( double  rWidth_RPC_Failed,
double  rWidth_TGC_Failed 
)

Definition at line 98 of file MuFastDataPreparator.cxx.

100 {
101  m_rpcRoadDefiner->setRoadWidthForFailure(rWidth_RPC_Failed);
102  m_tgcRoadDefiner->setRoadWidthForFailure(rWidth_TGC_Failed);
103  return;
104 }

◆ setRoIBasedDataAccess()

void TrigL2MuonSA::MuFastDataPreparator::setRoIBasedDataAccess ( bool  use_RoIBasedDataAccess_MDT,
bool  use_RoIBasedDataAccess_RPC,
bool  use_RoIBasedDataAccess_TGC,
bool  use_RoIBasedDataAccess_CSC,
bool  use_RoIBasedDataAccess_STGC,
bool  use_RoIBasedDataAccess_MM 
)

Definition at line 119 of file MuFastDataPreparator.cxx.

125 {
126  m_mdtDataPreparator ->setRoIBasedDataAccess(use_RoIBasedDataAccess_MDT);
127  m_rpcDataPreparator ->setRoIBasedDataAccess(use_RoIBasedDataAccess_RPC);
128  m_tgcDataPreparator ->setRoIBasedDataAccess(use_RoIBasedDataAccess_TGC);
129  if(!m_cscDataPreparator.empty()) m_cscDataPreparator->setRoIBasedDataAccess(use_RoIBasedDataAccess_CSC);
130  if(!m_stgcDataPreparator.empty()) m_stgcDataPreparator->setRoIBasedDataAccess(use_RoIBasedDataAccess_STGC);
131  if(!m_mmDataPreparator.empty()) m_mmDataPreparator->setRoIBasedDataAccess(use_RoIBasedDataAccess_MM);
132  return;
133 }

◆ setRpcGeometry()

void TrigL2MuonSA::MuFastDataPreparator::setRpcGeometry ( bool  use_rpc)

Definition at line 109 of file MuFastDataPreparator.cxx.

110 {
111  m_rpcRoadDefiner->setRpcGeometry(use_rpc);
112 
113  m_use_rpc = use_rpc;
114  return;
115 }

◆ setStgcGeometry()

void TrigL2MuonSA::MuFastDataPreparator::setStgcGeometry ( bool  use_stgc)
inline

Definition at line 87 of file MuFastDataPreparator.h.

87 { m_use_stgc = use_stgc; };

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysStart ( )
overridevirtualinherited

Handle START transition.

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

◆ updateVHKA()

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

Definition at line 308 of file AthCommonDataStore.h.

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

Member Data Documentation

◆ m_backExtrapolatorTool

ToolHandle<ITrigMuonBackExtrapolator>* TrigL2MuonSA::MuFastDataPreparator::m_backExtrapolatorTool {nullptr}
private

Definition at line 119 of file MuFastDataPreparator.h.

◆ m_clusterPatFinder

ToolHandle<ClusterPatFinder> TrigL2MuonSA::MuFastDataPreparator::m_clusterPatFinder {this, "ClusterPatFinder", "TrigL2MuonSA::ClusterPatFinder"}
private

Definition at line 116 of file MuFastDataPreparator.h.

◆ m_clusterRoadDefiner

ToolHandle<ClusterRoadDefiner> TrigL2MuonSA::MuFastDataPreparator::m_clusterRoadDefiner {this, "ClusterRoadDefiner", "TrigL2MuonSA::ClusterRoadDefiner"}
private

Definition at line 115 of file MuFastDataPreparator.h.

◆ m_cscDataPreparator

ToolHandle<CscDataPreparator> TrigL2MuonSA::MuFastDataPreparator::m_cscDataPreparator {this, "CSCDataPreparator", "TrigL2MuonSA::CscDataPreparator"}
private

Definition at line 106 of file MuFastDataPreparator.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_mdtDataPreparator

ToolHandle<MdtDataPreparator> TrigL2MuonSA::MuFastDataPreparator::m_mdtDataPreparator {this, "MDTDataPreparator", "TrigL2MuonSA::MdtDataPreparator"}
private

Definition at line 105 of file MuFastDataPreparator.h.

◆ m_mmDataPreparator

ToolHandle<MmDataPreparator> TrigL2MuonSA::MuFastDataPreparator::m_mmDataPreparator {this, "MMDataPreparator", "TrigL2MuonSA::MmDataPreparator"}
private

Definition at line 108 of file MuFastDataPreparator.h.

◆ m_recRPCRoiTool

ToolHandle<LVL1::ITrigT1MuonRecRoiTool> TrigL2MuonSA::MuFastDataPreparator::m_recRPCRoiTool {this, "TrigT1RPCRecRoiTool", "LVL1::TrigT1RPCRecRoiTool/TrigT1RPCRecRoiTool"}
private

Definition at line 102 of file MuFastDataPreparator.h.

◆ m_rpcDataPreparator

ToolHandle<RpcDataPreparator> TrigL2MuonSA::MuFastDataPreparator::m_rpcDataPreparator {this, "RPCDataPreparator", "TrigL2MuonSA::RpcDataPreparator"}
private

Definition at line 103 of file MuFastDataPreparator.h.

◆ m_rpcPatFinder

ToolHandle<RpcPatFinder> TrigL2MuonSA::MuFastDataPreparator::m_rpcPatFinder {"TrigL2MuonSA::RpcPatFinder"}
private

Definition at line 112 of file MuFastDataPreparator.h.

◆ m_rpcRoadDefiner

ToolHandle<RpcRoadDefiner> TrigL2MuonSA::MuFastDataPreparator::m_rpcRoadDefiner {this, "RpcRoadDefiner", "TrigL2MuonSA::RpcRoadDefiner"}
private

Definition at line 110 of file MuFastDataPreparator.h.

◆ m_stgcDataPreparator

ToolHandle<StgcDataPreparator> TrigL2MuonSA::MuFastDataPreparator::m_stgcDataPreparator {this,"STGCDataPreparator","TrigL2MuonSA::StgcDataPreparator"}
private

Definition at line 107 of file MuFastDataPreparator.h.

◆ m_tgcDataPreparator

ToolHandle<TgcDataPreparator> TrigL2MuonSA::MuFastDataPreparator::m_tgcDataPreparator {this, "TGCDataPreparator", "TrigL2MuonSA::TgcDataPreparator"}
private

Definition at line 104 of file MuFastDataPreparator.h.

◆ m_tgcRoadDefiner

ToolHandle<TgcRoadDefiner> TrigL2MuonSA::MuFastDataPreparator::m_tgcRoadDefiner {this, "TgcRoadDefiner", "TrigL2MuonSA::TgcRoadDefiner"}
private

Definition at line 111 of file MuFastDataPreparator.h.

◆ m_use_mcLUT

bool TrigL2MuonSA::MuFastDataPreparator::m_use_mcLUT {false}
private

Definition at line 124 of file MuFastDataPreparator.h.

◆ m_use_mm

bool TrigL2MuonSA::MuFastDataPreparator::m_use_mm {false}
private

Definition at line 123 of file MuFastDataPreparator.h.

◆ m_use_rpc

bool TrigL2MuonSA::MuFastDataPreparator::m_use_rpc {false}
private

Definition at line 121 of file MuFastDataPreparator.h.

◆ m_use_stgc

bool TrigL2MuonSA::MuFastDataPreparator::m_use_stgc {false}
private

Definition at line 122 of file MuFastDataPreparator.h.

◆ m_varHandleArraysDeclared

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

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
LVL1::TrigT1MuonRecRoiData
Definition: TrigT1MuonRecRoiData.h:10
TrigL2MuonSA::MuFastDataPreparator::m_backExtrapolatorTool
ToolHandle< ITrigMuonBackExtrapolator > * m_backExtrapolatorTool
Definition: MuFastDataPreparator.h:119
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
TrigL2MuonSA::MuFastDataPreparator::m_clusterPatFinder
ToolHandle< ClusterPatFinder > m_clusterPatFinder
Definition: MuFastDataPreparator.h:116
TrigL2MuonSA::RpcLayerClusters::clear
void clear()
Definition: ClusterPatFinder.h:63
TrigL2MuonSA::MuFastDataPreparator::m_recRPCRoiTool
ToolHandle< LVL1::ITrigT1MuonRecRoiTool > m_recRPCRoiTool
Definition: MuFastDataPreparator.h:102
ClusterSeg::residual
@ residual
Definition: ClusterNtuple.h:20
calibdata.chamber
chamber
Definition: calibdata.py:31
Monitored::Z
@ Z
Definition: HistogramFillerUtils.h:24
TrigL2MuonSA::MuFastDataPreparator::m_mdtDataPreparator
ToolHandle< MdtDataPreparator > m_mdtDataPreparator
Definition: MuFastDataPreparator.h:105
TrigL2MuonSA::MdtHits
std::vector< MdtHitData > MdtHits
Definition: MdtData.h:56
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
xAOD::MuonRoI_v1::eta
float eta() const
The pseudorapidity ( ) of the muon candidate.
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
TrigL2MuonSA::MuFastDataPreparator::m_use_mcLUT
bool m_use_mcLUT
Definition: MuFastDataPreparator.h:124
TrigL2MuonSA::MdtRegion::Clear
void Clear()
Definition: MdtRegion.h:19
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
TrigL2MuonSA::MdtRegion
Definition: MdtRegion.h:15
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
TrigL2MuonSA::MuFastDataPreparator::m_rpcRoadDefiner
ToolHandle< RpcRoadDefiner > m_rpcRoadDefiner
Definition: MuFastDataPreparator.h:110
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
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
TrigL2MuonSA::MuFastDataPreparator::m_mmDataPreparator
ToolHandle< MmDataPreparator > m_mmDataPreparator
Definition: MuFastDataPreparator.h:108
xAOD::L2MuonParameters::MaxChamber
@ MaxChamber
Number of measurement point definitions.
Definition: TrigMuonDefs.h:27
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
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TrigL2MuonSA::RpcLayerClusters
Definition: ClusterPatFinder.h:58
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
TrigL2MuonSA::MuFastDataPreparator::m_rpcPatFinder
ToolHandle< RpcPatFinder > m_rpcPatFinder
Definition: MuFastDataPreparator.h:112
AnalysisUtils::Delta::R
double R(const INavigable4Momentum *p1, const double v_eta, const double v_phi)
Definition: AnalysisMisc.h:49
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
TrigL2MuonSA::MuFastDataPreparator::m_use_rpc
bool m_use_rpc
Definition: MuFastDataPreparator.h:121
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
ZERO_LIMIT
const float ZERO_LIMIT
Definition: VP1TriggerHandleL2.cxx:37
TrigL2MuonSA::RpcLayerHits::clear
void clear()
Definition: RpcPatFinder.h:25
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
TrigL2MuonSA::MuFastDataPreparator::m_rpcDataPreparator
ToolHandle< RpcDataPreparator > m_rpcDataPreparator
Definition: MuFastDataPreparator.h:103
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
TrigL2MuonSA::MuFastDataPreparator::m_stgcDataPreparator
ToolHandle< StgcDataPreparator > m_stgcDataPreparator
Definition: MuFastDataPreparator.h:107
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
TrigL2MuonSA::RpcLayerHits
Definition: RpcPatFinder.h:20
TrigL2MuonSA::MuFastDataPreparator::m_use_stgc
bool m_use_stgc
Definition: MuFastDataPreparator.h:122
TrigL2MuonSA::MuFastDataPreparator::m_cscDataPreparator
ToolHandle< CscDataPreparator > m_cscDataPreparator
Definition: MuFastDataPreparator.h:106
TrigL2MuonSA::MuFastDataPreparator::m_clusterRoadDefiner
ToolHandle< ClusterRoadDefiner > m_clusterRoadDefiner
Definition: MuFastDataPreparator.h:115
TrigL2MuonSA::MuFastDataPreparator::m_tgcRoadDefiner
ToolHandle< TgcRoadDefiner > m_tgcRoadDefiner
Definition: MuFastDataPreparator.h:111
a
TList * a
Definition: liststreamerinfos.cxx:10
h
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:629
RoiDescriptor::eta
virtual double eta() const override final
Definition: RoiDescriptor.h:101
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:801
TrigL2MuonSA::MuFastDataPreparator::m_tgcDataPreparator
ToolHandle< TgcDataPreparator > m_tgcDataPreparator
Definition: MuFastDataPreparator.h:104
TrigL2MuonSA::MuFastDataPreparator::m_use_mm
bool m_use_mm
Definition: MuFastDataPreparator.h:123
xAOD::MuonRoI_v1::roiWord
uint32_t roiWord() const
The "raw" RoI word describing the muon candidate.
fitman.k
k
Definition: fitman.py:528
ServiceHandle
Definition: ClusterMakerTool.h:37
xAOD::MuonRoI_v1::phi
float phi() const
The azimuthal angle ( ) of the muon candidate.