ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonReconstruction
MuonRecTools
MuonRecHelperTools
MuonRecHelperTools
MuonEDMHelperSvc.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUON_MuonEDMHelperSvc_H
6
#define MUON_MuonEDMHelperSvc_H
7
8
#include "
MuonRecHelperTools/IMuonEDMHelperSvc.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
#include "
AthenaBaseComps/AthService.h
"
11
12
#include "
TrkParameters/TrackParameters.h
"
13
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
14
15
#include <set>
16
#include <string>
17
18
namespace
Trk
{
19
class
MeasurementBase
;
20
class
Track
;
21
class
IExtrapolator
;
22
}
23
24
static
const
InterfaceID
IID_MuonEDMHelperSvc
(
"Muon::MuonEDMHelperSvc"
,1,0);
25
26
namespace
Muon
{
27
28
class
MuonSegment
;
29
33
class
MuonEDMHelperSvc
:
public
extends<AthService, IMuonEDMHelperSvc> {
34
public
:
36
MuonEDMHelperSvc
(
const
std::string& name, ISvcLocator* svc);
37
39
virtual
~MuonEDMHelperSvc
()
override
{};
40
42
virtual
StatusCode
initialize
()
override
;
43
45
virtual
Identifier
getIdentifier
(
const
Trk::MeasurementBase
& meas )
const override
;
46
48
virtual
Identifier
chamberId
(
const
MuonSegment
& seg )
const override
;
49
51
virtual
std::set<Identifier>
chamberIds
(
const
MuonSegment
& seg )
const override
;
52
54
virtual
bool
isEndcap
(
const
MuonSegment
& seg )
const override
;
55
57
virtual
bool
isEndcap
(
const
Trk::Track
& seg )
const override
;
58
60
virtual
const
Trk::AtaPlane
*
createTrackParameters
(
const
MuonSegment
& seg,
double
momentum = 1.,
double
charge
= 0. )
const override
;
61
63
virtual
bool
goodTrack
(
const
Trk::Track
& track,
double
chi2Cut )
const override
;
64
66
virtual
bool
isSLTrack
(
const
Trk::Track
& track )
const override
;
67
68
private
:
69
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
70
71
};
72
73
}
74
75
#endif
AthService.h
charge
double charge(const T &p)
Definition
AtlasPID.h:1003
IMuonEDMHelperSvc.h
IMuonIdHelperSvc.h
IID_MuonEDMHelperSvc
static const InterfaceID IID_MuonEDMHelperSvc("Muon::MuonEDMHelperSvc", 1, 0)
TrackParameters.h
MuonSegment
This is the common class for 3D segments used in the muon spectrometer.
Definition
MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonSegment/MuonSegment/MuonSegment.h:45
Muon::MuonEDMHelperSvc::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
MuonEDMHelperSvc.h:69
Muon::MuonEDMHelperSvc::initialize
virtual StatusCode initialize() override
initialize method, method taken from bass-class AlgTool
Definition
MuonEDMHelperSvc.cxx:25
Muon::MuonEDMHelperSvc::chamberIds
virtual std::set< Identifier > chamberIds(const MuonSegment &seg) const override
returns a set containing the chamber Ids of all MDT or CSC chambers on the segment
Definition
MuonEDMHelperSvc.cxx:72
Muon::MuonEDMHelperSvc::MuonEDMHelperSvc
MuonEDMHelperSvc(const std::string &name, ISvcLocator *svc)
default AlgService constructor
Definition
MuonEDMHelperSvc.cxx:24
Muon::MuonEDMHelperSvc::isSLTrack
virtual bool isSLTrack(const Trk::Track &track) const override
determines whether a track is a straight line track (no momentum fitted).
Definition
MuonEDMHelperSvc.cxx:152
Muon::MuonEDMHelperSvc::isEndcap
virtual bool isEndcap(const MuonSegment &seg) const override
returns whether the segment is in the endcap
Definition
MuonEDMHelperSvc.cxx:97
Muon::MuonEDMHelperSvc::getIdentifier
virtual Identifier getIdentifier(const Trk::MeasurementBase &meas) const override
tries to get Identifier for measurement, if not possible it will return Identifier()
Definition
MuonEDMHelperSvc.cxx:31
Muon::MuonEDMHelperSvc::createTrackParameters
virtual const Trk::AtaPlane * createTrackParameters(const MuonSegment &seg, double momentum=1., double charge=0.) const override
brief create a AtaPlane track parameter for segment
Definition
MuonEDMHelperSvc.cxx:119
Muon::MuonEDMHelperSvc::~MuonEDMHelperSvc
virtual ~MuonEDMHelperSvc() override
destructor
Definition
MuonEDMHelperSvc.h:39
Muon::MuonEDMHelperSvc::chamberId
virtual Identifier chamberId(const MuonSegment &seg) const override
returns the first MDT or CSC identifier of the segment
Definition
MuonEDMHelperSvc.cxx:50
Muon::MuonEDMHelperSvc::goodTrack
virtual bool goodTrack(const Trk::Track &track, double chi2Cut) const override
check whether track satisfies selection chi2 cut
Definition
MuonEDMHelperSvc.cxx:139
Muon::MuonSegment
This is the common class for 3D segments used in the muon spectrometer.
Definition
MuonSpectrometer/MuonReconstruction/MuonRecEvent/MuonSegment/MuonSegment/MuonSegment.h:45
ServiceHandle
Definition
ClusterMakerTool.h:36
Trk::IExtrapolator
Interface class for the extrapolation AlgTool, it inherits from IAlgTool Detailed information about p...
Definition
IExtrapolator.h:61
Trk::MeasurementBase
This class is the pure abstract base class for all fittable tracking measurements.
Definition
MeasurementBase.h:58
Trk::Track
The ATLAS Track class.
Definition
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Identifier
Definition
IdentifierFieldParser.cxx:14
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::AtaPlane
ParametersT< TrackParametersDim, Charged, PlaneSurface > AtaPlane
Definition
Tracking/TrkEvent/TrkParameters/TrkParameters/TrackParameters.h:34
Generated on
for ATLAS Offline Software by
1.17.0