Fork me on GitHub

Ignore:
Timestamp:
May 20, 2009, 10:33:21 AM (15 years ago)
Author:
Xavier Rouby
Message:

update to Hector_1_5_2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/Hector/src/H_RecRPObject.cc

    r281 r400  
    6464        {if(ss1==ss2) cout<<"<H_RecRPObject> WARNING : detectors are on same position"<<endl;
    6565}
     66
     67
     68H_RecRPObject::H_RecRPObject(const float ss1, const float ss2, const H_AbstractBeamLine& beam) : emin(0), emax(-1), x1(0), x2(0), y1(0), y2(0), s1(ss1), s2(ss2),
     69                                txip(NOT_YET_COMPUTED), tyip(NOT_YET_COMPUTED), energy(NOT_YET_COMPUTED), q2(NOT_YET_COMPUTED), pt(NOT_YET_COMPUTED),
     70                                thebeam(beam.clone()),
     71                                f_1(new TF1("f_1","[0] + [1]*x + [2]*x*x ",emin,emax)),
     72                                f_2(new TF1("f_2","[0] + [1]*x + [2]*x*x ",emin,emax)),
     73                                g_1(new TF1("g_1","[0] + [1]*x + [2]*x*x ",emin,emax)),
     74                                g_2(new TF1("g_2","[0] + [1]*x + [2]*x*x ",emin,emax)),
     75                                d_1(new TF1("d_1","[0] + [1]*x + [2]*x*x ",emin,emax)),
     76                                d_2(new TF1("d_2","[0] + [1]*x + [2]*x*x ",emin,emax)),
     77                                k_1(new TF1("k_1","[0] + [1]*x + [2]*x*x ",emin,emax)),
     78                                k_2(new TF1("k_2","[0] + [1]*x + [2]*x*x ",emin,emax)),
     79                                l_1(new TF1("l_1","[0] + [1]*x + [2]*x*x ",emin,emax)),
     80                                l_2(new TF1("l_2","[0] + [1]*x + [2]*x*x ",emin,emax))
     81        {if(ss1==ss2) cout<<"<H_RecRPObject> WARNING : detectors are on same position"<<endl;
     82}
     83
    6684
    6785H_RecRPObject::H_RecRPObject(const H_RecRPObject& r):
     
    351369   return os;
    352370}
     371
Note: See TracChangeset for help on using the changeset viewer.