106{
107
108
110 if (container)
112 else
114
115
118
119
122
123
130
131
132 IMuonSegmentHitSummaryTool::HitCounts hitCounts =
m_hitSummaryTool->getHitCounts(seg);
133 xaodSeg->
setNHits(hitCounts.nmdtHits()+ hitCounts.nmmHits() + hitCounts.nstgcHits.netaHits + hitCounts.ncscHits.netaHits,
134 hitCounts.nphiTrigHitLayers + hitCounts.nstgcHits.nphiHits, hitCounts.netaTrigHitLayers);
135
136
141 acc_mmStereoHits(*xaodSeg) = hitCounts.nmmStereoHits;
142 acc_mmEtaHits(*xaodSeg) = hitCounts.nmmEtaHits;
143 }
145 acc_stgcEtaHits(*xaodSeg) = hitCounts.nstgcHits.netaHits;
146 acc_stgcPhiHits(*xaodSeg) = hitCounts.nstgcHits.nphiHits;
147 }
148 return xaodSeg;
149}
Scalar eta() const
pseudorapidity method
value_type push_back(value_type pElem)
Add an element to the end of the collection.
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.
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
const FitQuality * fitQuality() const
return the FitQuality object, returns NULL if no FitQuality is defined
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 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