4#ifndef XAODMUON_VERSIONS_MUONSEGMENT_V1_H
5#define XAODMUON_VERSIONS_MUONSEGMENT_V1_H
11#include "AthLinks/ElementLink.h"
18#if !(defined(GENERATIONBASE) || defined(XAOD_ANALYSIS))
120#if !(defined(GENERATIONBASE) || defined(XAOD_ANALYSIS))
Base class for elements of a container that can have aux data.
ElementLink implementation for ROOT usage.
void setDirection(float px, float py, float pz)
Sets the direction.
float y() const
Returns the x position.
float pz() const
Returns the pz.
int nTrigEtaLayers() const
Returns the number of trigger eta layers.
float numberDoF() const
Returns the numberDoF.
MuonSegment_v1()=default
Default constructor.
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.
int nPrecisionHits() const
Amg::Vector3D direction() const
Returns the direction as Amg::Vector.
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.
const ElementLink< ::Trk::SegmentCollection > & muonSegment() const
float py() const
Returns the py.
void setMuonSegment(const ElementLink< ::Trk::SegmentCollection > &segment)
void setPosition(float x, float y, float z)
Sets the global position.
::Muon::MuonStationIndex::TechnologyIndex technology() const
Returns the main technology of the segment.
::Muon::MuonStationIndex::ChIndex chamberIndex() const
Returns the chamber index.
Amg::Vector3D position() const
Returns the position as Amg::Vector.
int nPhiLayers() const
Returns the number of phi layers.
int etaIndex() const
Returns the eta index, which corresponds to stationEta in the offline identifiers (and the ).
virtual ~MuonSegment_v1()=default
Default destructor.
float t0error() const
Returns the time error.
float z() const
Returns the y position.
Eigen::Matrix< double, 3, 1 > Vector3D
TechnologyIndex
enum to classify the different layers in the muon spectrometer
ChIndex
enum to classify the different chamber layers in the muon spectrometer
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.