ATLAS Offline Software
MuonPattern.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUON_MUONPATTERN_H
6 #define MUON_MUONPATTERN_H
7 
10 
11 namespace Trk {
12  class PrepRawData;
13 }
14 
15 namespace Muon {
23  class MuonPattern {
24  public:
26  // MuonPattern( const Trk::GlobalPosition& pos, const Trk::GlobalMomentum& dir );
28 
30  virtual ~MuonPattern();
31 
33  virtual void addPrd(const Trk::PrepRawData* prd) = 0;
34 
36  const Amg::Vector3D& globalPosition() const;
37 
39  const Amg::Vector3D& globalDirection() const;
40 
42  virtual unsigned int numberOfContainedPrds() const = 0;
43 
45  virtual const Trk::PrepRawData* prd(unsigned int) const = 0;
46 
48  virtual MuonPattern* clone() const = 0;
49 
50  private:
53 
56  };
59 } // namespace Muon
60 
61 #endif
Muon::MuonPattern::globalDirection
const Amg::Vector3D & globalDirection() const
Global direction of the pattern.
Definition: MuonPattern.h:58
Muon::MuonPattern::m_globalPosition
Amg::Vector3D m_globalPosition
global position of the pattern
Definition: MuonPattern.h:52
Muon::MuonPattern::m_globalDirection
Amg::Vector3D m_globalDirection
global direction of the pattern
Definition: MuonPattern.h:55
Muon::MuonPattern::~MuonPattern
virtual ~MuonPattern()
Destructor.
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
Muon::MuonPattern::addPrd
virtual void addPrd(const Trk::PrepRawData *prd)=0
add hit to pattern
Muon::MuonPattern::MuonPattern
MuonPattern(const Amg::Vector3D &pos, const Amg::Vector3D &dir)
Constructor.
Definition: MuonPattern.cxx:25
GeoPrimitives.h
Muon::MuonPattern
Basic class for patterns in the muon spectrometer consistig out of a list of Trk::PrepRawData objects...
Definition: MuonPattern.h:23
Muon::MuonPattern::numberOfContainedPrds
virtual unsigned int numberOfContainedPrds() const =0
Number or PrepRawData contained by this Pattern.
Muon::MuonPattern::globalPosition
const Amg::Vector3D & globalPosition() const
Global position of the pattern.
Definition: MuonPattern.h:57
beamspotman.dir
string dir
Definition: beamspotman.py:623
Muon::MuonPattern::clone
virtual MuonPattern * clone() const =0
clone methode
Trk::PrepRawData
Definition: PrepRawData.h:62
EventPrimitives.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Muon::MuonPattern::prd
virtual const Trk::PrepRawData * prd(unsigned int) const =0
returns the PrepRawData objects depending on the integer, return zero if index out of range
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18