|
ATLAS Offline Software
|
Go to the documentation of this file.
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))
129 #endif // XAODMUON_VERSIONS_MUONSEGMENT_V1_H
float numberDoF() const
Returns the numberDoF.
Amg::Vector3D direction() const
Returns the direction as Amg::Vector.
void setPosition(float x, float y, float z)
Sets the global position.
int nTrigEtaLayers() const
Returns the number of trigger eta layers.
Base class for elements of a container that can have aux data.
Class describing a MuonSegment.
float pz() const
Returns the pz.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
MuonSegment_v1()=default
Default constructor.
void setT0Error(float t0, float t0Error)
Sets the time error.
void setNHits(int nPrecisionHits, int nPhiLayers, int nTrigEtaLayers)
Set the number of hits/layers.
float t0error() const
Returns the time error.
float py() const
Returns the py.
::Muon::MuonStationIndex::TechnologyIndex technology() const
Returns the main technology of the segment.
int nPhiLayers() const
Returns the number of phi layers.
ElementLink implementation for ROOT usage.
Amg::Vector3D position() const
Returns the position as Amg::Vector.
int nPrecisionHits() const
void setMuonSegment(const ElementLink< ::Trk::SegmentCollection > &segment)
const ElementLink< ::Trk::SegmentCollection > & muonSegment() const
Eigen::Matrix< double, 3, 1 > Vector3D
virtual ~MuonSegment_v1()=default
Default destructor.
float z() const
Returns the y position.
float y() const
Returns the x position.
int etaIndex() const
Returns the eta index, which corresponds to stationEta in the offline identifiers (and the ).
void setIdentifier(int sector, ::Muon::MuonStationIndex::ChIndex chamberIndex, int etaIndex, ::Muon::MuonStationIndex::TechnologyIndex technology)
Set the identifier.
void setDirection(float px, float py, float pz)
Sets the direction.
ChIndex
enum to classify the different chamber layers in the muon spectrometer
TechnologyIndex
enum to classify the different layers in the muon spectrometer
void setFitQuality(float chiSquared, float numberDoF)
Set the 'Fit Quality' information.
::Muon::MuonStationIndex::ChIndex chamberIndex() const
Returns the chamber index.
Base class for elements of a container that can have aux data.
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)