Fork me on GitHub

source: svn/trunk/Utilities/Hector/include/H_RomanPot.h@ 3

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

first commit

File size: 1.0 KB
Line 
1#ifndef _H_RomanPot_
2#define _H_RomanPot_
3
4/// \file H_RomanPot.h
5/// \brief Roman pot class
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// local #includes
19#include "H_Drift.h"
20
21#define RP_LENGTH 0.0001
22#define RP_HEIGHT 10000
23/// Roman pot as an optics element.
24class H_RomanPot : public H_Drift {
25
26 public:
27 /// Constructors and destructor
28 //@{
29 H_RomanPot():H_Drift() {type = RP; init();}
30 H_RomanPot(const string, const double, const double);
31 H_RomanPot(const double, const double);
32 ~H_RomanPot() { return; };
33 //@}
34 virtual void printProperties() const;
35 H_RomanPot* clone() const ;
36 void init();
37 private:
38 virtual void setTypeString() {typestring=RPNAME;};
39 virtual void setMatrix(const float, const float, const float) ;
40
41};
42
43#endif
Note: See TracBrowser for help on using the repository browser.