![]() |
ATLAS Offline Software
|
Helper tool containing functionality needed by multiple tools. More...
#include <MuonEDMHelperSvc.h>
Public Member Functions | |
MuonEDMHelperSvc (const std::string &name, ISvcLocator *svc) | |
default AlgService constructor More... | |
virtual | ~MuonEDMHelperSvc () override |
destructor More... | |
virtual StatusCode | initialize () override |
initialize method, method taken from bass-class AlgTool More... | |
virtual Identifier | getIdentifier (const Trk::MeasurementBase &meas) const override |
tries to get Identifier for measurement, if not possible it will return Identifier() More... | |
virtual Identifier | chamberId (const MuonSegment &seg) const override |
returns the first MDT or CSC identifier of the segment More... | |
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 More... | |
virtual bool | isEndcap (const MuonSegment &seg) const override |
returns whether the segment is in the endcap More... | |
virtual bool | isEndcap (const Trk::Track &seg) const override |
returns whether the track is in the endcap More... | |
virtual const Trk::AtaPlane * | createTrackParameters (const MuonSegment &seg, double momentum=1., double charge=0.) const override |
brief create a AtaPlane track parameter for segment More... | |
virtual bool | goodTrack (const Trk::Track &track, double chi2Cut) const override |
check whether track satisfies selection chi2 cut More... | |
virtual bool | isSLTrack (const Trk::Track &track) const override |
determines whether a track is a straight line track (no momentum fitted). More... | |
Private Attributes | |
ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
Helper tool containing functionality needed by multiple tools.
Definition at line 33 of file MuonEDMHelperSvc.h.
Muon::MuonEDMHelperSvc::MuonEDMHelperSvc | ( | const std::string & | name, |
ISvcLocator * | svc | ||
) |
default AlgService constructor
Definition at line 24 of file MuonEDMHelperSvc.cxx.
|
inlineoverridevirtual |
|
overridevirtual |
returns the first MDT or CSC identifier of the segment
Definition at line 50 of file MuonEDMHelperSvc.cxx.
|
overridevirtual |
returns a set containing the chamber Ids of all MDT or CSC chambers on the segment
Definition at line 72 of file MuonEDMHelperSvc.cxx.
|
overridevirtual |
brief create a AtaPlane track parameter for segment
Definition at line 119 of file MuonEDMHelperSvc.cxx.
|
overridevirtual |
tries to get Identifier for measurement, if not possible it will return Identifier()
Definition at line 31 of file MuonEDMHelperSvc.cxx.
|
overridevirtual |
check whether track satisfies selection chi2 cut
Definition at line 139 of file MuonEDMHelperSvc.cxx.
|
overridevirtual |
initialize method, method taken from bass-class AlgTool
Definition at line 25 of file MuonEDMHelperSvc.cxx.
|
overridevirtual |
returns whether the segment is in the endcap
Definition at line 97 of file MuonEDMHelperSvc.cxx.
|
overridevirtual |
returns whether the track is in the endcap
Definition at line 101 of file MuonEDMHelperSvc.cxx.
|
overridevirtual |
determines whether a track is a straight line track (no momentum fitted).
sum covariance terms of momentum, use it to determine whether fit was SL fit
Definition at line 152 of file MuonEDMHelperSvc.cxx.
|
private |
Definition at line 69 of file MuonEDMHelperSvc.h.