ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonReconstruction
MuonDataPrep
STgcClusterization
src
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
8
#include "
STgcClusterization/ISTgcClusterBuilderTool.h
"
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "GaudiKernel/ServiceHandle.h"
11
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
12
13
#include "
MuonCondData/NswErrorCalibData.h
"
14
#include "
StoreGate/ReadCondHandleKey.h
"
15
16
#include <vector>
17
#include <string>
18
19
//
20
// Simple clusterization tool for STgc
21
//
22
namespace
Muon
23
{
24
25
class
ISTgcClusterBuilderTool
;
26
27
class
SimpleSTgcClusterBuilderTool
:
virtual
public
ISTgcClusterBuilderTool
,
public
AthAlgTool
{
28
29
public
:
30
32
SimpleSTgcClusterBuilderTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
33
35
virtual
~SimpleSTgcClusterBuilderTool
()=
default
;
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.h
IMuonIdHelperSvc.h
ISTgcClusterBuilderTool.h
NswErrorCalibData.h
ReadCondHandleKey.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
Muon::ISTgcClusterBuilderTool
Definition
ISTgcClusterBuilderTool.h:19
Muon::SimpleSTgcClusterBuilderTool::m_uncertCalibKey
SG::ReadCondHandleKey< NswErrorCalibData > m_uncertCalibKey
Definition
SimpleSTgcClusterBuilderTool.h:51
Muon::SimpleSTgcClusterBuilderTool::~SimpleSTgcClusterBuilderTool
virtual ~SimpleSTgcClusterBuilderTool()=default
Default destructor.
Muon::SimpleSTgcClusterBuilderTool::getClusters
StatusCode getClusters(const EventContext &ctx, std::vector< Muon::sTgcPrepData > &&stripsVect, std::vector< std::unique_ptr< Muon::sTgcPrepData > > &clustersVect) const override
Definition
SimpleSTgcClusterBuilderTool.cxx:29
Muon::SimpleSTgcClusterBuilderTool::dumpStrips
void dumpStrips(std::vector< Muon::sTgcPrepData > &stripsVect, std::vector< Muon::sTgcPrepData * > &clustersVect) const
private functions
Definition
SimpleSTgcClusterBuilderTool.cxx:127
Muon::SimpleSTgcClusterBuilderTool::initialize
virtual StatusCode initialize() override
standard initialize method
Definition
SimpleSTgcClusterBuilderTool.cxx:20
Muon::SimpleSTgcClusterBuilderTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
SimpleSTgcClusterBuilderTool.h:49
Muon::SimpleSTgcClusterBuilderTool::m_chargeCut
Gaudi::Property< double > m_chargeCut
Definition
SimpleSTgcClusterBuilderTool.h:46
Muon::SimpleSTgcClusterBuilderTool::m_maxHoleSize
Gaudi::Property< unsigned int > m_maxHoleSize
Definition
SimpleSTgcClusterBuilderTool.h:47
Muon::SimpleSTgcClusterBuilderTool::SimpleSTgcClusterBuilderTool
SimpleSTgcClusterBuilderTool(const std::string &, const std::string &, const IInterface *)
Default constructor.
Definition
SimpleSTgcClusterBuilderTool.cxx:15
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
ServiceHandle
Definition
ClusterMakerTool.h:36
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Generated on
for ATLAS Offline Software by
1.17.0