109{
110
111
113 if (container)
115 else
116 xaodSeg->makePrivateStore();
117
118
121
122
125
126
133
134
135 IMuonSegmentHitSummaryTool::HitCounts hitCounts =
m_hitSummaryTool->getHitCounts(seg);
136 xaodSeg->
setNHits(hitCounts.nmdtHits()+ hitCounts.nmmHits() + hitCounts.nstgcHits.netaHits + hitCounts.ncscHits.netaHits,
137 hitCounts.nphiTrigHitLayers + hitCounts.nstgcHits.nphiHits, hitCounts.netaTrigHitLayers);
138
139
144 acc_mmStereoHits(*xaodSeg) = hitCounts.nmmStereoHits;
145 acc_mmEtaHits(*xaodSeg) = hitCounts.nmmEtaHits;
146 }
148 acc_stgcEtaHits(*xaodSeg) = hitCounts.nstgcHits.netaHits;
149 acc_stgcPhiHits(*xaodSeg) = hitCounts.nstgcHits.nphiHits;
150 }
151 return xaodSeg;
152}
Scalar eta() const
pseudorapidity method
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
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
const SG::AuxVectorData * container() const
Return the container holding this element.