Fork me on GitHub

source: svn/trunk/Utilities/Hector/include/H_RectangularCollimator.h@ 127

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

first commit

File size: 1.1 KB
Line 
1#ifndef _H_RectangularCollimator_
2#define _H_RectangularCollimator_
3
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
8
9 http://www.fynu.ucl.ac.be/hector.html
10
11 Centre de Physique des Particules et de Phénoménologie (CP3)
12 Université Catholique de Louvain (UCL)
13*/
14
15/// \file H_RectangularCollimator.h
16/// \brief Class describing Rectangular Collimators
17
18// local #includes
19#include "H_Drift.h"
20
21/// R-Collimators for the LHC beamline.
22class H_RectangularCollimator : public H_Drift {
23
24 public:
25 /// Constructors and destructor
26 //@{
27 H_RectangularCollimator():H_Drift() {type = RCOLLIMATOR; init();}
28 H_RectangularCollimator(const double, const double );
29 H_RectangularCollimator(const string, const double, const double );
30 ~H_RectangularCollimator() { return; };
31 //@}
32 virtual void printProperties() const;
33 H_RectangularCollimator* clone() const;
34 void init();
35 private:
36 virtual void setTypeString() {typestring=RCOLLIMATORNAME;};
37 virtual void setMatrix(const float, const float, const float) ;
38
39};
40
41#endif
Note: See TracBrowser for help on using the repository browser.