ATLAS Offline Software
DipoleBender.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 FPTRACKER_DIPOLEBENDER_H
6 #define FPTRACKER_DIPOLEBENDER_H
7 
8 #include "IBender.h"
9 #include "FPTracker/FPTrackerConstants.h" // Bendplane enum
10 #include <memory>
11 
12 namespace FPTracker{
13  class IParticle;
14  class DipoleBender: public IBender
15  {
16  public:
18  Bendplane,
19  double length,
20  double strength,
21  double pbeam0,
22  int side
23  );
24 
25  void bend(IParticle&) const;
26  std::string label() const;
27  std::shared_ptr< IBender > clone() const;
28  private:
29 
30  static const std::string s_label;
32  double m_length;
33  double m_strength;
34  double m_pbeam0;
35  double m_dside;
36  };
37 }
38 #endif
FPTracker::DipoleBender::DipoleBender
DipoleBender(Bendplane, double length, double strength, double pbeam0, int side)
Definition: DipoleBender.cxx:14
FPTracker::DipoleBender::clone
std::shared_ptr< IBender > clone() const
Definition: DipoleBender.cxx:28
FPTracker::DipoleBender::m_dside
double m_dside
Definition: DipoleBender.h:35
FPTracker::IBender
Definition: FPTracker/FPTracker/IBender.h:13
TRT::Hit::side
@ side
Definition: HitInfo.h:83
FPTracker::DipoleBender::label
std::string label() const
Definition: DipoleBender.cxx:74
IBender.h
FPTrackerConstants.h
FPTracker::DipoleBender::m_pbeam0
double m_pbeam0
Definition: DipoleBender.h:34
FPTracker::DipoleBender
Definition: DipoleBender.h:15
FPTracker::DipoleBender::s_label
static const std::string s_label
Definition: DipoleBender.h:30
FPTracker::Bendplane
Bendplane
Definition: FPTrackerConstants.h:11
FPTracker::DipoleBender::m_length
double m_length
Definition: DipoleBender.h:32
FPTracker
Definition: FPTracker/FPTracker/Beamline.h:12
FPTracker::DipoleBender::m_strength
double m_strength
Definition: DipoleBender.h:33
FPTracker::IParticle
Definition: ForwardDetectors/FPTracker/FPTracker/IParticle.h:17
IParticle
Definition: Event/EventKernel/EventKernel/IParticle.h:43
length
double length(const pvec &v)
Definition: FPGATrackSimLLPDoubletHoughTransformTool.cxx:26
FPTracker::DipoleBender::bend
void bend(IParticle &) const
Definition: DipoleBender.cxx:33
FPTracker::DipoleBender::m_bendplane
Bendplane m_bendplane
Definition: DipoleBender.h:31