ATLAS Offline Software
Loading...
Searching...
No Matches
MmDataPreparator.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_MMDATAPREPARATOR_H
6#define TRIGL2MUONSA_MMDATAPREPARATOR_H
7
9#include "GaudiKernel/ServiceHandle.h"
10#include "GaudiKernel/ToolHandle.h"
11
13#include "MmData.h"
14
18
19namespace TrigL2MuonSA {
20
22 {
23 public:
24
25 MmDataPreparator(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::MmHits& mmHits) 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, "MmPrepDataContainer", "MM_Measurements", "Name of the MMContainer 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_MMDATAPREPARATOR_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::MmHits &mmHits) const
MmDataPreparator(const std::string &type, const std::string &name, const IInterface *parent)
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual StatusCode initialize() override
ToolHandle< IRegSelTool > m_regionSelector
void setRoIBasedDataAccess(bool use_RoIBasedDataAccess)
SG::ReadHandleKey< Muon::MMPrepDataContainer > m_mmPrepContainerKey
nope - should be used for standalone also, perhaps need to protect the class def bits ifndef XAOD_ANA...
std::vector< MmHitData > MmHits
Definition MmData.h:47