Changeset 1365 in svn for trunk/external/Hector/H_RectangularCollimator.h
- Timestamp:
- Apr 16, 2014, 3:56:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external/Hector/H_RectangularCollimator.h
r1360 r1365 2 2 #define _H_RectangularCollimator_ 3 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 * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 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 */ 21 14 22 15 /// \file H_RectangularCollimator.h … … 24 17 25 18 // local #includes 26 #include "H_ Drift.h"19 #include "H_OpticalElement.h" 27 20 28 21 /// R-Collimators for the LHC beamline. 29 class H_RectangularCollimator : public H_ Drift {22 class H_RectangularCollimator : public H_OpticalElement { 30 23 31 24 public: 32 25 /// Constructors and destructor 33 26 //@{ 34 H_RectangularCollimator():H_ Drift() {type = RCOLLIMATOR;init();}27 H_RectangularCollimator():H_OpticalElement(RCOLLIMATOR,0.,0.,0.) {init();} 35 28 H_RectangularCollimator(const double, const double ); 36 H_RectangularCollimator(const string &, const double, const double );37 ~H_RectangularCollimator() { };29 H_RectangularCollimator(const string, const double, const double ); 30 ~H_RectangularCollimator() { return; }; 38 31 //@} 39 H_RectangularCollimator* clone() const;32 virtual void printProperties() const; 40 33 void init(); 34 41 35 private: 42 36 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); 37 virtual void setMatrix(const float, const float, const float) const ; 38 46 39 }; 47 40
Note:
See TracChangeset
for help on using the changeset viewer.