ATLAS Offline Software
QuadrupoleBender.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_QUADRUPOLEBENDER_H
6 #define FPTRACKER_QUADRUPOLEBENDER_H
7 
8 #include "IBender.h"
9 #include "IQuadFocuser.h"
10 namespace FPTracker{
11 
12  class IFocuser;
13  class IParticle;
14 
15  class QuadrupoleBender: public IBender{
16  public:
18  double magnetLength,
19  double magnetStrength,
20  int side);
21 
22 
23  void bend(IParticle&) const;
24  std::string label() const;
25 
26  private:
27 
28  const static std::string s_label;
29 
31  double m_length;
33  double m_dside;
34 
35  void swap(QuadrupoleBender&);
36  };
37 }
38 #endif
FPTracker::QuadrupoleBender::m_focuser
IQuadFocuser::Ptr_t m_focuser
Definition: QuadrupoleBender.h:30
FPTracker::QuadrupoleBender::m_bendConstant
double m_bendConstant
Definition: QuadrupoleBender.h:32
FPTracker::QuadrupoleBender::s_label
static const std::string s_label
Definition: QuadrupoleBender.h:28
FPTracker::IBender
Definition: FPTracker/FPTracker/IBender.h:13
FPTracker::QuadrupoleBender::label
std::string label() const
Definition: QuadrupoleBender.cxx:77
TRT::Hit::side
@ side
Definition: HitInfo.h:83
IBender.h
FPTracker::IQuadFocuser::Ptr_t
std::shared_ptr< IQuadFocuser > Ptr_t
Definition: IQuadFocuser.h:30
FPTracker::QuadrupoleBender::QuadrupoleBender
QuadrupoleBender(IQuadFocuser::Ptr_t focuser, double magnetLength, double magnetStrength, int side)
Definition: QuadrupoleBender.cxx:19
FPTracker::QuadrupoleBender::m_dside
double m_dside
Definition: QuadrupoleBender.h:33
IQuadFocuser.h
FPTracker::QuadrupoleBender::bend
void bend(IParticle &) const
Definition: QuadrupoleBender.cxx:38
FPTracker::QuadrupoleBender::swap
void swap(QuadrupoleBender &)
Definition: QuadrupoleBender.cxx:30
FPTracker::QuadrupoleBender::m_length
double m_length
Definition: QuadrupoleBender.h:31
FPTracker
Definition: FPTracker/FPTracker/Beamline.h:12
FPTracker::magnetStrength
double magnetStrength(int type, double length, double strength, double Brho)
Definition: magnetStrength.cxx:8
FPTracker::IParticle
Definition: ForwardDetectors/FPTracker/FPTracker/IParticle.h:17
IParticle
Definition: Event/EventKernel/EventKernel/IParticle.h:43
FPTracker::QuadrupoleBender
Definition: QuadrupoleBender.h:15