5#ifndef MUON_IMUONEDMHELPERSVC_H
6#define MUON_IMUONEDMHELPERSVC_H
8#include "GaudiKernel/ClassID.h"
9#include "GaudiKernel/IService.h"
10#include "GaudiKernel/ToolHandle.h"
11#include "GaudiKernel/ServiceHandle.h"
14#include "Identifier/Identifier.h"
double charge(const T &p)
Helper tool containing functionality needed by multiple tools.
virtual Identifier chamberId(const MuonSegment &seg) const =0
returns the first MDT or CSC identifier of the segment
virtual bool isEndcap(const MuonSegment &seg) const =0
returns whether the segment is in the endcap
virtual bool isEndcap(const Trk::Track &seg) const =0
returns whether the track is in the endcap
virtual bool isSLTrack(const Trk::Track &track) const =0
determines whether a track is a straight line track (no momentum fitted).
virtual std::set< Identifier > chamberIds(const MuonSegment &seg) const =0
returns a set containing the chamber Ids of all MDT or CSC chambers on the segment
DeclareInterfaceID(IMuonEDMHelperSvc, 1, 0)
virtual bool goodTrack(const Trk::Track &track, double chi2Cut) const =0
check whether track satisfies selection chi2 cut
virtual Identifier getIdentifier(const Trk::MeasurementBase &meas) const =0
tries to get Identifier for measurement, if not possible it will return Identifier()
virtual const Trk::AtaPlane * createTrackParameters(const MuonSegment &seg, double momentum=1., double charge=0.) const =0
brief create a AtaPlane track parameter for segment
virtual ~IMuonEDMHelperSvc()
destructor
This is the common class for 3D segments used in the muon spectrometer.
This class is the pure abstract base class for all fittable tracking measurements.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Ensure that the ATLAS eigen extensions are properly loaded.
ParametersT< TrackParametersDim, Charged, PlaneSurface > AtaPlane