ATLAS Offline Software
Loading...
Searching...
No Matches
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
12namespace FPTracker{
13 class IParticle;
14 class DipoleBender: public IBender
15 {
16 public:
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
double length(const pvec &v)
static const std::string s_label
void bend(IParticle &) const
std::shared_ptr< IBender > clone() const
std::string label() const
DipoleBender(Bendplane, double length, double strength, double pbeam0, int side)