ATLAS Offline Software
StgcDataPreparator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGL2MUONSA_STGCDATAPREPARATOR_H
6 #define TRIGL2MUONSA_STGCDATAPREPARATOR_H
7 
9 #include "GaudiKernel/ServiceHandle.h"
10 #include "GaudiKernel/ToolHandle.h"
11 
13 #include "StgcData.h"
14 
18 
19 namespace TrigL2MuonSA {
20 
22  {
23  public:
24 
25  StgcDataPreparator(const std::string& type,
26  const std::string& name,
27  const IInterface* parent);
28 
29  virtual StatusCode initialize() override;
30 
32  TrigL2MuonSA::StgcHits& stgcHits) const;
33 
34  void setRoIBasedDataAccess(bool use_RoIBasedDataAccess) {m_use_RoIBasedDataAccess = use_RoIBasedDataAccess;};
35 
36  private:
37 
38  ToolHandle<IRegSelTool> m_regionSelector;
39  // handles to the RoI driven data access
41  this, "StgcPrepDataContainer", "STGC_Measurements", "Name of the STGCContainer to read in"};
42 
44 
45  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
46 
47  };
48 
49 } // namespace TrigL2MuonSA
50 
51 #endif // TRIGL2MUONSA_STGCDATAPREPARATOR_H
IRegSelTool.h
TrigL2MuonSA::StgcDataPreparator::initialize
virtual StatusCode initialize() override
Definition: StgcDataPreparator.cxx:16
TrigL2MuonSA::StgcDataPreparator::m_stgcPrepContainerKey
SG::ReadHandleKey< Muon::sTgcPrepDataContainer > m_stgcPrepContainerKey
Definition: StgcDataPreparator.h:40
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits #ifndef XAOD_AN...
Definition: TrigRoiDescriptor.h:56
MuonPrepDataContainer.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
TrigL2MuonSA::StgcDataPreparator::m_regionSelector
ToolHandle< IRegSelTool > m_regionSelector
Definition: StgcDataPreparator.h:34
TrigL2MuonSA::StgcDataPreparator::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: StgcDataPreparator.h:45
TrigL2MuonSA::StgcDataPreparator::StgcDataPreparator
StgcDataPreparator(const std::string &type, const std::string &name, const IInterface *parent)
Definition: StgcDataPreparator.cxx:7
TrigL2MuonSA::StgcDataPreparator::setRoIBasedDataAccess
void setRoIBasedDataAccess(bool use_RoIBasedDataAccess)
Definition: StgcDataPreparator.h:34
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
TrigL2MuonSA::StgcDataPreparator::prepareData
StatusCode prepareData(const TrigRoiDescriptor *p_roids, TrigL2MuonSA::StgcHits &stgcHits) const
Definition: StgcDataPreparator.cxx:31
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrigL2MuonSA::StgcHits
std::vector< StgcHitData > StgcHits
Definition: StgcData.h:49
TrigL2MuonSA::StgcDataPreparator
Definition: StgcDataPreparator.h:22
TrigRoiDescriptor.h
AthAlgTool
Definition: AthAlgTool.h:26
StgcData.h
IMuonIdHelperSvc.h
TrigL2MuonSA::StgcDataPreparator::m_use_RoIBasedDataAccess
bool m_use_RoIBasedDataAccess
Definition: StgcDataPreparator.h:43
TrigL2MuonSA
Definition: AlignmentBarrelLUT.h:13
ServiceHandle< Muon::IMuonIdHelperSvc >