ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSystemExtension.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUON_MUONSYSTEMEXTENSION_H
6#define MUON_MUONSYSTEMEXTENSION_H
7
8#include <vector>
9
12
13namespace Muon {
14
19 public:
21 struct Intersection {
22 Intersection()= default;
23 Intersection(std::shared_ptr<const Trk::TrackParameters> trackParameters_, const MuonLayerSurface& layerSurface_) :
24 trackParameters(trackParameters_), layerSurface(layerSurface_) {}
25
26 std::shared_ptr<const Trk::TrackParameters> trackParameters;
28 };
29
34 MuonSystemExtension(const Trk::TrackParameters* muonEntry, std::vector<Intersection>&& intersections);
35
38
41
45 const std::vector<Intersection>& layerIntersections() const;
46
47 private:
51
54
57 std::vector<Intersection> m_layerIntersections;
58 };
59
61
62 inline const std::vector<MuonSystemExtension::Intersection>& MuonSystemExtension::layerIntersections() const {
64 }
65
66} // namespace Muon
67
68#endif
~MuonSystemExtension()
destructor
MuonSystemExtension & operator=(const MuonSystemExtension &)=delete
no copying nor assignment allow, use shared pointers instead
const Trk::TrackParameters & muonEntryLayerIntersection() const
access to intersection with the muon entry layer
const Trk::TrackParameters * m_muonEntryLayerIntersection
data members
const std::vector< Intersection > & layerIntersections() const
access to the intersections with the layers.
MuonSystemExtension(const MuonSystemExtension &)=delete
MuonSystemExtension()=delete
no default constructor
MuonSystemExtension(const Trk::TrackParameters *muonEntry, std::vector< Intersection > &&intersections)
constructor taking result of the intersection as arguments.
std::vector< Intersection > m_layerIntersections
parameters at the muon entrance
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
ParametersBase< TrackParametersDim, Charged > TrackParameters
std::shared_ptr< const Trk::TrackParameters > trackParameters
Intersection(std::shared_ptr< const Trk::TrackParameters > trackParameters_, const MuonLayerSurface &layerSurface_)