Fork me on GitHub

source: svn/trunk/external/Hector/H_VerticalQuadrupole.h@ 1374

Last change on this file since 1374 was 1365, checked in by Pavel Demin, 11 years ago

switch to a more stable Hector version

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision Date
File size: 1.1 KB
RevLine 
[1360]1#ifndef _H_VerticalQuadrupole_
2#define _H_VerticalQuadrupole_
3
[1365]4/*
5---- Hector the simulator ----
6 A fast simulator of particles through generic beamlines.
7 J. de Favereau, X. Rouby ~~~ hector_devel@cp3.phys.ucl.ac.be
[1360]8
[1365]9 http://www.fynu.ucl.ac.be/hector.html
[1360]10
[1365]11 Centre de Physique des Particules et de Phénoménologie (CP3)
12 Université Catholique de Louvain (UCL)
13*/
14
[1360]15/// \file H_VerticalQuadrupole.h
16/// \brief Vertically focussing quadrupoles.
17
18// local #includes
19#include "H_Quadrupole.h"
20
21/// Vertically focussing quadrupoles.
22class H_VerticalQuadrupole : public H_Quadrupole {
23
24 public:
25 /// Constructors and destructor
26 //@{
27 H_VerticalQuadrupole():H_Quadrupole(VQUADRUPOLE,0.,0.,0.) {init();}
28 H_VerticalQuadrupole(const double s, const double k, const double l):H_Quadrupole(VQUADRUPOLE,s,k,l) {init();}
[1365]29 H_VerticalQuadrupole(string nameE, const double s, const double k, const double l):H_Quadrupole(nameE,VQUADRUPOLE,s,k,l) {init();}
30 ~H_VerticalQuadrupole() {return;};
31 //@}
32 private:
[1360]33 virtual void setTypeString() {typestring = VQUADRUPOLENAME;} ;
[1365]34 virtual void setMatrix(const float, const float, const float) const;
[1360]35};
36
37#endif
Note: See TracBrowser for help on using the repository browser.