Fork me on GitHub

source: svn/trunk/Utilities/Hector/include/H_Kicker.h@ 244

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

passing all objects as references

File size: 1.2 KB
Line 
1/// \file H_Kicker.h
2/// \brief Classes aiming at simulating kickers in LHC beamline.
3/// fk [rad] for kickers !!!!
4
5/*
6---- Hector the simulator ----
7 A fast simulator of particles through generic beamlines.
8 J. de Favereau, X. Rouby ~~~ hector_devel@cp3.phys.ucl.ac.be
9
10 http://www.fynu.ucl.ac.be/hector.html
11
12 Centre de Physique des Particules et de Phénoménologie (CP3)
13 Université Catholique de Louvain (UCL)
14*/
15
16#ifndef _H_Kicker_
17#define _H_Kicker_
18
19// local #includes
20#include "H_OpticalElement.h"
21
22/// Abstract class aiming at simulating kickers in LHC beamline.
23class H_Kicker : public H_OpticalElement {
24
25public:
26 /// Constructors and destructor
27 //@{
28 H_Kicker():H_OpticalElement() {}
29 H_Kicker(const int dtype, const double s, const double k, const double l):H_OpticalElement(dtype,s,k,l){}
30 H_Kicker(const string& nameE, const int dtype, const double s, const double k, const double l):H_OpticalElement(nameE,dtype,s,k,l){}
31 virtual ~H_Kicker() {};
32 //@}
33 /// prints the kicker properties
34 virtual void printProperties() const;
35 virtual H_Kicker* clone() const = 0;
36 void init();
37
38 protected:
39 virtual void setTypeString() = 0;
40 virtual void setMatrix(const float, const float, const float) = 0;
41};
42
43#endif
Note: See TracBrowser for help on using the repository browser.