Fork me on GitHub

source: git/external/Hector/H_RectangularDipole.h@ 239e1d0

ImprovedOutputFile Timing dual_readout llp 3.3.3pre11
Last change on this file since 239e1d0 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.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 private:
32 virtual void setTypeString() { typestring = RDIPOLENAME;};
33 virtual void setMatrix(const float, const float, const float) const ;
34};
35
36#endif
Note: See TracBrowser for help on using the repository browser.