Changeset 1365 in svn for trunk/external/Hector/H_Kicker.h
- Timestamp:
- Apr 16, 2014, 3:56:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external/Hector/H_Kicker.h
r1360 r1365 1 #ifndef _H_Kicker_2 #define _H_Kicker_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 1 /// \file H_Kicker.h 23 2 /// \brief Classes aiming at simulating kickers in LHC beamline. 24 3 /// fk [rad] for kickers !!!! 4 5 /* 6 ---- Hector the simulator ---- 7 A fast simulator of particles through generic beamlines. 8 J. de Favereau, X. Rouby ~~~ hector_devel@cp3.phys.ucl.ac.be 9 10 http://www.fynu.ucl.ac.be/hector.html 11 12 Centre de Physique des Particules et de Phénoménologie (CP3) 13 Université Catholique de Louvain (UCL) 14 */ 15 16 #ifndef _H_Kicker_ 17 #define _H_Kicker_ 25 18 26 19 // local #includes … … 35 28 H_Kicker():H_OpticalElement() {} 36 29 H_Kicker(const int dtype, const double s, const double k, const double l):H_OpticalElement(dtype,s,k,l){} 37 H_Kicker(const string &nameE, const int dtype, const double s, const double k, const double l):H_OpticalElement(nameE,dtype,s,k,l){}38 virtual ~H_Kicker() { };30 H_Kicker(const string nameE, const int dtype, const double s, const double k, const double l):H_OpticalElement(nameE,dtype,s,k,l){} 31 virtual ~H_Kicker() {return;}; 39 32 //@} 40 virtual H_Kicker* clone() const = 0;41 virtual void printProperties() const { cout << *this; return;};33 /// prints the kicker properties 34 virtual void printProperties() const; 42 35 void init(); 43 36 44 37 protected: 45 virtual void setTypeString() = 0; 46 virtual void setMatrix(const float, const float, const float) = 0; 47 friend std::ostream& operator<< (std::ostream& os, const H_Kicker& el); 38 virtual void setTypeString() =0; 39 virtual void setMatrix(const float, const float, const float) const =0; 48 40 }; 49 41
Note:
See TracChangeset
for help on using the changeset viewer.