Fork me on GitHub

Ignore:
Timestamp:
Mar 1, 2009, 3:56:11 PM (16 years ago)
Author:
Xavier Rouby
Message:

new Hector version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/Hector/include/H_RecRPObject.h

    r3 r281  
    22#define _H_RecRPObject_
    33
    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   * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    1421
    1522/// \file H_RecRPObject.h
     
    2229#define NOT_YET_COMPUTED -666
    2330
     31/// Reconstruction of parameters at IP using measurements with roman pots
    2432class H_RecRPObject {
    2533        public:
    2634                H_RecRPObject();
    27                 H_RecRPObject(const float, const float, H_AbstractBeamLine* );
     35                H_RecRPObject(const float, const float, const H_AbstractBeamLine* );
    2836                H_RecRPObject(const H_RecRPObject&);
    2937                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;};
    3142
    3243                inline float getX1() const {return x1;};
     
    6475                TF1* k_1, *k_2;
    6576                TF1* l_1, *l_2;
     77        friend std::ostream& operator<< (std::ostream& os, const H_RecRPObject& rp);
    6678};
    6779
Note: See TracChangeset for help on using the changeset viewer.