Changeset 281 in svn for trunk/Utilities/Hector/include/H_RecRPObject.h
- Timestamp:
- Mar 1, 2009, 3:56:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/Hector/include/H_RecRPObject.h
r3 r281 2 2 #define _H_RecRPObject_ 3 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 */ 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 * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 14 21 15 22 /// \file H_RecRPObject.h … … 22 29 #define NOT_YET_COMPUTED -666 23 30 31 /// Reconstruction of parameters at IP using measurements with roman pots 24 32 class H_RecRPObject { 25 33 public: 26 34 H_RecRPObject(); 27 H_RecRPObject(const float, const float, H_AbstractBeamLine* );35 H_RecRPObject(const float, const float, const H_AbstractBeamLine* ); 28 36 H_RecRPObject(const H_RecRPObject&); 29 37 H_RecRPObject& operator=(const H_RecRPObject&); 30 ~H_RecRPObject() {if(f_1) delete f_1; if(f_2) delete f_2; if(g_1) delete g_1; if(g_2) delete g_2; if(d_1) delete d_1; if(d_2) delete d_2; if(k_1) delete k_1; if(k_2) delete k_2; if(l_1) delete l_1; if(l_2) delete l_2; }; 38 ~H_RecRPObject() {delete f_1; delete f_2; delete g_1; delete g_2; 39 delete d_1; delete d_2; delete k_1; delete k_2; 40 delete l_1; delete l_2; 41 delete thebeam;}; 31 42 32 43 inline float getX1() const {return x1;}; … … 64 75 TF1* k_1, *k_2; 65 76 TF1* l_1, *l_2; 77 friend std::ostream& operator<< (std::ostream& os, const H_RecRPObject& rp); 66 78 }; 67 79
Note:
See TracChangeset
for help on using the changeset viewer.