Fork me on GitHub

source: git/external/Hector/H_SectorDipole.h@ 3b3071a

3.4.3pre11
Last change on this file since 3b3071a was 3c40083, checked in by pavel <pavel@…>, 11 years ago

switch to a more stable Hector version

  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[3c40083]1/// \file H_SectorDipole.h
2/// \brief Classes aiming at simulating sector dipoles.
3
[5b822e5]4#ifndef _H_SectorDipole_
5#define _H_SectorDipole_
6
[3c40083]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
[5b822e5]11
[3c40083]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*/
[5b822e5]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();}
[3c40083]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() {return;};
[5b822e5]30 //@}
31 private:
32 virtual void setTypeString() { typestring = SDIPOLENAME;};
[3c40083]33 virtual void setMatrix(const float ,const float, const float) const ;
[5b822e5]34};
35
36#endif
Note: See TracBrowser for help on using the repository browser.