ImprovedOutputFile
Timing
Last change
on this file since 0e6b14e 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.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_OpticalElement.h"
|
---|
20 |
|
---|
21 | #define RP_LENGTH 0.0001
|
---|
22 | #define RP_HEIGHT 10000
|
---|
23 | /// Roman pot as an optics element.
|
---|
24 | class H_RomanPot : public H_OpticalElement {
|
---|
25 |
|
---|
26 | public:
|
---|
27 | /// Constructors and destructor
|
---|
28 | //@{
|
---|
29 | H_RomanPot():H_OpticalElement(RP,0.,0.,RP_LENGTH) {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 | void init();
|
---|
36 |
|
---|
37 | private:
|
---|
38 | virtual void setTypeString() {typestring=RPNAME;};
|
---|
39 | virtual void setMatrix(const float, const float, const float) const;
|
---|
40 |
|
---|
41 | };
|
---|
42 |
|
---|
43 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.