Fork me on GitHub

source: svn/trunk/Utilities/Hector/include/H_HorizontalKicker.h@ 263

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

passing all objects as references

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