#include <MuonSegment_v1.h>
Public Member Functions | |
MuonSegment_v1 () | |
Default constructor. | |
const ElementLink < ::Trk::SegmentCollection > & | muonSegment () const |
void | setMuonSegment (const ElementLink< ::Trk::SegmentCollection > &segment) |
Global position functions | |
Returns the x position | |
float | x () const |
float | y () const |
Returns the x position. | |
float | z () const |
Returns the y position. | |
void | setPosition (float x, float y, float z) |
Sets the global position. | |
Global direction functions | |
Returns the px | |
float | px () const |
float | py () const |
Returns the py. | |
float | pz () const |
Returns the pz. | |
void | setDirection (float px, float py, float pz) |
Sets the direction. | |
Fitted time functions | |
Returns some information about fitted time and error on the time. Returns the time | |
float | t0 () const |
float | t0error () const |
Returns the time error. | |
void | setT0Error (float t0, float t0Error) |
Sets the time error. | |
Fit quality functions | |
Returns some information about quality of the track fit. Returns the of the overall track fit. | |
float | chiSquared () const |
float | numberDoF () const |
Returns the numberDoF. | |
void | setFitQuality (float chiSquared, float numberDoF) |
Set the 'Fit Quality' information. | |
Identification | |
The general muon identification scheme is defined here: https://cds.cern.ch/record/681542/files/com-muon-2002-019.pdf Returns the sector number | |
int | sector () const |
Muon::MuonStationIndex::ChIndex | chamberIndex () const |
Returns the chamber index. | |
int | etaIndex () const |
Returns the eta index, which corresponds to stationEta in the offline identifiers (and the ). | |
Muon::MuonStationIndex::TechnologyIndex | technology () const |
Returns the main technology of the segment. | |
void | setIdentifier (int sector, Muon::MuonStationIndex::ChIndex chamberIndex, int etaIndex, Muon::MuonStationIndex::TechnologyIndex technology) |
Set the identifier. | |
Hit counts functions | |
Returns the number of precision hits | |
int | nPrecisionHits () const |
int | nPhiLayers () const |
Returns the number of phi layers. | |
int | nTrigEtaLayers () const |
Returns the number of trigger eta layers. | |
void | setNHits (int nPrecisionHits, int nPhiLayers, int nTrigEtaLayers) |
Set the number of hits/layers. |
Class describing a MuonSegment.