ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonReconstruction
MuonDataPrep
STgcClusterization
src
CaruanaSTgcClusterBuilderTool.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 CaruanaSTgcClusterBuilderTool_h
6
#define CaruanaSTgcClusterBuilderTool_h
7
8
#include "
STgcClusterization/ISTgcClusterBuilderTool.h
"
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "GaudiKernel/ServiceHandle.h"
11
#include "
StoreGate/ReadCondHandleKey.h
"
12
#include "
MuonReadoutGeometry/MuonDetectorManager.h
"
13
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
14
#include "
MuonCondData/NswErrorCalibData.h
"
15
#include "
StoreGate/ReadCondHandleKey.h
"
16
17
#include <vector>
18
#include <string>
19
#include <set>
20
21
//
22
// Simple clusterization tool for STgc
23
//
24
namespace
Muon
25
{
26
27
class
ISTgcClusterBuilderTool
;
28
29
class
CaruanaSTgcClusterBuilderTool
:
virtual
public
ISTgcClusterBuilderTool
,
public
AthAlgTool
{
30
31
public
:
32
34
CaruanaSTgcClusterBuilderTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
35
37
virtual
~CaruanaSTgcClusterBuilderTool
()=
default
;
38
40
virtual
StatusCode
initialize
();
41
42
StatusCode
getClusters
(
const
EventContext& ctx,
43
std::vector<Muon::sTgcPrepData>&& stripsVect,
44
std::vector<std::unique_ptr<Muon::sTgcPrepData>>& clustersVect)
const
;
45
46
private
:
47
48
Gaudi::Property<double>
m_chargeCut
{
this
,
"ChargeCut"
, 0.};
49
Gaudi::Property<unsigned int>
m_maxHoleSize
{
this
,
"maxHoleSize"
, 0};
50
// The resolution parameters were obtained from tests with cosmic muons.
51
// These values are also used in the Digitization.
52
Gaudi::Property<double>
m_positionStripResolution
{
this
,
"positionStripResolution"
, 0.0949};
53
Gaudi::Property<double>
m_angularStripResolution
{
this
,
"angularStripResolution"
, 0.305};
54
55
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
56
SG::ReadCondHandleKey<MuonGM::MuonDetectorManager>
m_DetectorManagerKey
{
this
,
"DetectorManagerKey"
,
"MuonDetectorManager"
,
"Key of input MuonDetectorManager condition data"
};
57
58
SG::ReadCondHandleKey<NswErrorCalibData>
m_uncertCalibKey
{
this
,
"ErrorCalibKey"
,
"NswUncertData"
,
59
"Key of the parametrized NSW uncertainties"
};
60
62
void
dumpStrips
( std::vector<Muon::sTgcPrepData>& stripsVect,
63
std::vector<Muon::sTgcPrepData*>& clustersVect )
const
;
64
65
};
66
}
67
#endif
AthAlgTool.h
IMuonIdHelperSvc.h
ISTgcClusterBuilderTool.h
MuonDetectorManager.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::CaruanaSTgcClusterBuilderTool::m_positionStripResolution
Gaudi::Property< double > m_positionStripResolution
Definition
CaruanaSTgcClusterBuilderTool.h:52
Muon::CaruanaSTgcClusterBuilderTool::m_uncertCalibKey
SG::ReadCondHandleKey< NswErrorCalibData > m_uncertCalibKey
Definition
CaruanaSTgcClusterBuilderTool.h:58
Muon::CaruanaSTgcClusterBuilderTool::m_maxHoleSize
Gaudi::Property< unsigned int > m_maxHoleSize
Definition
CaruanaSTgcClusterBuilderTool.h:49
Muon::CaruanaSTgcClusterBuilderTool::CaruanaSTgcClusterBuilderTool
CaruanaSTgcClusterBuilderTool(const std::string &, const std::string &, const IInterface *)
Default constructor.
Definition
CaruanaSTgcClusterBuilderTool.cxx:14
Muon::CaruanaSTgcClusterBuilderTool::initialize
virtual StatusCode initialize()
standard initialize method
Definition
CaruanaSTgcClusterBuilderTool.cxx:19
Muon::CaruanaSTgcClusterBuilderTool::m_chargeCut
Gaudi::Property< double > m_chargeCut
Definition
CaruanaSTgcClusterBuilderTool.h:48
Muon::CaruanaSTgcClusterBuilderTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
CaruanaSTgcClusterBuilderTool.h:55
Muon::CaruanaSTgcClusterBuilderTool::m_angularStripResolution
Gaudi::Property< double > m_angularStripResolution
Definition
CaruanaSTgcClusterBuilderTool.h:53
Muon::CaruanaSTgcClusterBuilderTool::m_DetectorManagerKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
Definition
CaruanaSTgcClusterBuilderTool.h:56
Muon::CaruanaSTgcClusterBuilderTool::getClusters
StatusCode getClusters(const EventContext &ctx, std::vector< Muon::sTgcPrepData > &&stripsVect, std::vector< std::unique_ptr< Muon::sTgcPrepData > > &clustersVect) const
Definition
CaruanaSTgcClusterBuilderTool.cxx:30
Muon::CaruanaSTgcClusterBuilderTool::~CaruanaSTgcClusterBuilderTool
virtual ~CaruanaSTgcClusterBuilderTool()=default
Default destructor.
Muon::CaruanaSTgcClusterBuilderTool::dumpStrips
void dumpStrips(std::vector< Muon::sTgcPrepData > &stripsVect, std::vector< Muon::sTgcPrepData * > &clustersVect) const
private functions
Definition
CaruanaSTgcClusterBuilderTool.cxx:166
Muon::ISTgcClusterBuilderTool
Definition
ISTgcClusterBuilderTool.h:19
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