ATLAS Offline Software
Loading...
Searching...
No Matches
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
19namespace 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
31 StatusCode prepareData(const EventContext& ctx,
32 const TrigRoiDescriptor* p_roids,
33 TrigL2MuonSA::StgcHits& stgcHits) const;
34
35 void setRoIBasedDataAccess(bool use_RoIBasedDataAccess) {m_use_RoIBasedDataAccess = use_RoIBasedDataAccess;};
36
37 private:
38
39 ToolHandle<IRegSelTool> m_regionSelector;
40 // handles to the RoI driven data access
42 this, "StgcPrepDataContainer", "STGC_Measurements", "Name of the STGCContainer to read in"};
43
45
46 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
47
48 };
49
50} // namespace TrigL2MuonSA
51
52#endif // TRIGL2MUONSA_STGCDATAPREPARATOR_H
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
StatusCode prepareData(const EventContext &ctx, const TrigRoiDescriptor *p_roids, TrigL2MuonSA::StgcHits &stgcHits) const
StgcDataPreparator(const std::string &type, const std::string &name, const IInterface *parent)
ToolHandle< IRegSelTool > m_regionSelector
virtual StatusCode initialize() override
SG::ReadHandleKey< Muon::sTgcPrepDataContainer > m_stgcPrepContainerKey
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
void setRoIBasedDataAccess(bool use_RoIBasedDataAccess)
nope - should be used for standalone also, perhaps need to protect the class def bits ifndef XAOD_ANA...
std::vector< StgcHitData > StgcHits
Definition StgcData.h:49