ATLAS Offline Software
Loading...
Searching...
No Matches
SimpleSTgcClusterBuilderTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef SimpleSTgcClusterBuilderTool_h
6#define SimpleSTgcClusterBuilderTool_h
7
10#include "GaudiKernel/ServiceHandle.h"
12
15
16#include <vector>
17#include <string>
18
19//
20// Simple clusterization tool for STgc
21//
22namespace Muon
23{
24
26
28
29 public:
30
32 SimpleSTgcClusterBuilderTool(const std::string&, const std::string&, const IInterface*);
33
36
38 virtual StatusCode initialize() override;
39
40 StatusCode getClusters(const EventContext& ctx,
41 std::vector<Muon::sTgcPrepData>&& stripsVect,
42 std::vector<std::unique_ptr<Muon::sTgcPrepData>>& clustersVect) const override;
43
44 private:
45
46 Gaudi::Property<double> m_chargeCut{this, "ChargeCut", 0.};
47 Gaudi::Property<unsigned int> m_maxHoleSize{this, "maxHoleSize", 0};
48
49 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
50
51 SG::ReadCondHandleKey<NswErrorCalibData> m_uncertCalibKey{this, "ErrorCalibKey", "NswUncertData",
52 "Key of the parametrized NSW uncertainties"};
53
55 void dumpStrips( std::vector<Muon::sTgcPrepData>& stripsVect,
56 std::vector<Muon::sTgcPrepData*>& clustersVect )const;
57 };
58}
59#endif
60
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
SG::ReadCondHandleKey< NswErrorCalibData > m_uncertCalibKey
virtual ~SimpleSTgcClusterBuilderTool()=default
Default destructor.
StatusCode getClusters(const EventContext &ctx, std::vector< Muon::sTgcPrepData > &&stripsVect, std::vector< std::unique_ptr< Muon::sTgcPrepData > > &clustersVect) const override
void dumpStrips(std::vector< Muon::sTgcPrepData > &stripsVect, std::vector< Muon::sTgcPrepData * > &clustersVect) const
private functions
virtual StatusCode initialize() override
standard initialize method
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Gaudi::Property< unsigned int > m_maxHoleSize
SimpleSTgcClusterBuilderTool(const std::string &, const std::string &, const IInterface *)
Default constructor.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.