Fork me on GitHub

source: svn/trunk/Utilities/Hector/include/H_SectorDipole.h@ 260

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

passing all objects as references

File size: 1.1 KB
Line 
1/// \file H_SectorDipole.h
2/// \brief Classes aiming at simulating sector dipoles.
3
4#ifndef _H_SectorDipole_
5#define _H_SectorDipole_
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/// Sector dipoles.
21class H_SectorDipole : public H_Dipole {
22
23 public:
24 /// Constructors and destructor
25 //@{
26 H_SectorDipole():H_Dipole(SDIPOLE,0.,0.,0.) {init();}
27 H_SectorDipole(const double s, const double k, const double l) :H_Dipole(SDIPOLE,s,k,l){init();}
28 H_SectorDipole(const string nameE, const double s, const double k, const double l) :H_Dipole(nameE,SDIPOLE,s,k,l){init();}
29 ~H_SectorDipole() {};
30 //@}
31 H_SectorDipole* clone() const ;
32 private:
33 virtual void setTypeString() { typestring = SDIPOLENAME;};
34 virtual void setMatrix(const float ,const float, const float) ;
35};
36
37#endif
Note: See TracBrowser for help on using the repository browser.