Fork me on GitHub

source: svn/trunk/Utilities/Hector/include/H_RectangularDipole.h@ 3

Last change on this file since 3 was 3, checked in by Xavier Rouby, 16 years ago

first commit

File size: 1.1 KB
Line 
1#ifndef _H_RectangularDipole_
2#define _H_RectangularDipole_
3
4/// \file H_RectangularDipole.h
5/// \brief Classes aiming at simulating LHC beam rectangular dipoles.
6
7/*
8---- Hector the simulator ----
9 A fast simulator of particles through generic beamlines.
10 J. de Favereau, X. Rouby ~~~ hector_devel@cp3.phys.ucl.ac.be
11
12 http://www.fynu.ucl.ac.be/hector.html
13
14 Centre de Physique des Particules et de Phénoménologie (CP3)
15 Université Catholique de Louvain (UCL)
16*/
17
18#include "H_Dipole.h"
19
20/// Rectangle dipoles.
21class H_RectangularDipole : public H_Dipole {
22
23 public:
24 /// constructor
25 //@{
26 H_RectangularDipole():H_Dipole(RDIPOLE,0.,0.,0.) {init();}
27 H_RectangularDipole(const double s, const double k, const double l) :H_Dipole(RDIPOLE,s,k,l){init();}
28 H_RectangularDipole(const string nameE, const double s, const double k, const double l) :H_Dipole(nameE,RDIPOLE,s,k,l){init();}
29 ~H_RectangularDipole() { return; };
30 //@}
31 H_RectangularDipole* clone() const ;
32 private:
33 virtual void setTypeString() { typestring = RDIPOLENAME;};
34 virtual void setMatrix(const float, const float, const float) ;
35};
36
37#endif
Note: See TracBrowser for help on using the repository browser.