Fork me on GitHub

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

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

new Hector version

File size: 1.8 KB
Line 
1#ifndef _H_RectangularDipole_
2#define _H_RectangularDipole_
3
4 /* * * * * * * * * * * * * * * * * * * * * * * * * * * *
5 * *
6* --<--<-- A fast simulator --<--<-- *
7* / --<--<-- of particle --<--<-- *
8* ----HECTOR----< *
9* \ -->-->-- transport through -->-->-- *
10* -->-->-- generic beamlines -->-->-- *
11* *
12* JINST 2:P09005 (2007) *
13* X Rouby, J de Favereau, K Piotrzkowski (CP3) *
14* http://www.fynu.ucl.ac.be/hector.html *
15* *
16* Center for Cosmology, Particle Physics and Phenomenology *
17* Universite catholique de Louvain *
18* Louvain-la-Neuve, Belgium *
19 * *
20 * * * * * * * * * * * * * * * * * * * * * * * * * * * */
21
22/// \file H_RectangularDipole.h
23/// \brief Classes aiming at simulating LHC beam rectangular dipoles.
24
25#include "H_Dipole.h"
26
27/// Rectangle dipoles.
28class H_RectangularDipole : public H_Dipole {
29
30 public:
31 /// constructor
32 //@{
33 H_RectangularDipole():H_Dipole(RDIPOLE,0.,0.,0.) {init();}
34 H_RectangularDipole(const double s, const double k, const double l) :H_Dipole(RDIPOLE,s,k,l){init();}
35 H_RectangularDipole(const string& nameE, const double s, const double k, const double l) :H_Dipole(nameE,RDIPOLE,s,k,l){init();}
36 ~H_RectangularDipole() {};
37 //@}
38 H_RectangularDipole* clone() const ;
39 private:
40 virtual void setTypeString() { typestring = RDIPOLENAME;};
41 virtual void setMatrix(const float, const float, const float) ;
42};
43
44#endif
Note: See TracBrowser for help on using the repository browser.