Fork me on GitHub

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

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

new Hector version

File size: 1.9 KB
Line 
1#ifndef _H_RectangularCollimator_
2#define _H_RectangularCollimator_
3
4 /* * * * * * * * * * * * * * * * * * * * * * * * * * * *
5 * *
6* --<--<-- A fast simulator --<--<-- *
7* / --<--<-- of particle --<--<-- *
8* ----HECTOR----< *
9* \ -->-->-- transport through -->-->-- *
10* -->-->-- generic beamlines -->-->-- *
11* *
12* JINST 2:P09005 (2007) *
13* X Rouby, J de Favereau, K Piotrzkowski (CP3) *
14* http://www.fynu.ucl.ac.be/hector.html *
15* *
16* Center for Cosmology, Particle Physics and Phenomenology *
17* Universite catholique de Louvain *
18* Louvain-la-Neuve, Belgium *
19 * *
20 * * * * * * * * * * * * * * * * * * * * * * * * * * * */
21
22/// \file H_RectangularCollimator.h
23/// \brief Class describing Rectangular Collimators
24
25// local #includes
26#include "H_Drift.h"
27
28/// R-Collimators for the LHC beamline.
29class H_RectangularCollimator : public H_Drift {
30
31 public:
32 /// Constructors and destructor
33 //@{
34 H_RectangularCollimator():H_Drift() {type = RCOLLIMATOR; init();}
35 H_RectangularCollimator(const double, const double );
36 H_RectangularCollimator(const string&, const double, const double );
37 ~H_RectangularCollimator() {};
38 //@}
39 H_RectangularCollimator* clone() const;
40 void init();
41 private:
42 virtual void setTypeString() {typestring=RCOLLIMATORNAME;};
43 virtual void setMatrix(const float, const float, const float) ;
44
45 friend std::ostream& operator<< (std::ostream& os, const H_RectangularCollimator& el);
46};
47
48#endif
Note: See TracBrowser for help on using the repository browser.