26 : base_class(t, n, p) {}
36 return StatusCode::SUCCESS;
44 if (!segLink.
isValid() || !*segLink) {
66 std::vector<const MuonClusterOnTrack*> clusters;
71 if (!
id.is_valid() || !
m_idHelperSvc->isTrigger(
id))
continue;
76 clusters.push_back(clus);
86 if (std::abs(
result.time) > std::numeric_limits<float>::max()
87 || std::abs(
result.error) > std::numeric_limits<float>::max())
91 ATH_MSG_WARNING(
"Unphysical time returned by tool - ignoring. result.valid = "
92 + std::to_string(
result.valid));
93 acc_clusterTime(xaodSeg) = std::numeric_limits<float>::max();
94 acc_clusterTimeError(xaodSeg) = std::numeric_limits<float>::max();
95 acc_clusterTimeValid(xaodSeg) = 0;
97 acc_clusterTime(xaodSeg) =
result.time;
98 acc_clusterTimeError(xaodSeg) =
result.error;
99 acc_clusterTimeValid(xaodSeg) =
result.valid;
142 acc_mmEtaHits(*xaodSeg) = hitCounts.
nmmEtaHits;
Scalar eta() const
pseudorapidity method
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
ElementLink implementation for ROOT usage.
bool isValid() const
Test to see if the link can be dereferenced.
Class for competing MuonClusters, it extends the Trk::CompetingRIOsOnTrack base class.
const std::vector< const MuonClusterOnTrack * > & containedROTs() const
returns the vector of SCT_ClusterOnTrack objects .
Base class for Muon cluster RIO_OnTracks.
This is the common class for 3D segments used in the muon spectrometer.
bool hasFittedT0() const
returns whether the segment has a fitted t0
const Amg::Vector3D & globalDirection() const
global direction
virtual const Amg::Vector3D & globalPosition() const override final
global position
void makePrivateStore()
Create a new (empty) private store for this object.
SG::Accessor< T, ALLOC > Accessor
Class to represent and store fit qualities from track reconstruction in terms of and number of degre...
int numberDoF() const
returns the number of degrees of freedom of the overall track or vertex fit as integer
double chiSquared() const
returns the of the overall track fit
This class is the pure abstract base class for all fittable tracking measurements.
const FitQuality * fitQuality() const
return the FitQuality object, returns NULL if no FitQuality is defined
const std::vector< const Trk::MeasurementBase * > & containedMeasurements() const
returns the vector of Trk::MeasurementBase objects
float errorTime() const
access to the error on the measured time
float time() const
access to the measured time
void setDirection(float px, float py, float pz)
Sets the direction.
void setFitQuality(float chiSquared, float numberDoF)
Set the 'Fit Quality' information.
void setNHits(int nPrecisionHits, int nPhiLayers, int nTrigEtaLayers)
Set the number of hits/layers.
void setT0Error(float t0, float t0Error)
Sets the time error.
void setIdentifier(int sector, ::Muon::MuonStationIndex::ChIndex chamberIndex, int etaIndex, ::Muon::MuonStationIndex::TechnologyIndex technology)
Set the identifier.
void setMuonSegment(const ElementLink< ::Trk::SegmentCollection > &segment)
void setPosition(float x, float y, float z)
Sets the global position.
ChIndex chIndex(const std::string &index)
convert ChIndex name string to enum
TechnologyIndex
enum to classify the different layers in the muon spectrometer
ChIndex
enum to classify the different chamber layers in the muon spectrometer
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
MuonSegmentContainer_v1 MuonSegmentContainer
Definition of the current "MuonSegment container version".
MuonSegment_v1 MuonSegment
Reference the current persistent version: