/[PAMELA software]/DarthVader/OrbitalInfo/src/OrbitalInfoCore.cpp
ViewVC logotype

Diff of /DarthVader/OrbitalInfo/src/OrbitalInfoCore.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.71 by mocchiut, Fri Apr 4 09:38:45 2014 UTC revision 1.72 by mocchiut, Tue Apr 15 15:48:17 2014 UTC
# Line 280  int OrbitalInfoCore(UInt_t run, TFile *f Line 280  int OrbitalInfoCore(UInt_t run, TFile *f
280    vector<Float_t> recq3;    vector<Float_t> recq3;
281    Float_t Norm = 1;    Float_t Norm = 1;
282    Int_t parerror=glparam0->Query_GL_PARAM(1,303,dbc); // parameters stored in DB in GL_PRAM table    Int_t parerror=glparam0->Query_GL_PARAM(1,303,dbc); // parameters stored in DB in GL_PRAM table
283    cout<<parerror<<"\t"<<(char*)(glparam0->PATH+glparam0->NAME).Data()<<endl;    if ( verbose ) cout<<parerror<<"\t"<<(char*)(glparam0->PATH+glparam0->NAME).Data()<<endl;
284    ifstream in((char*)(glparam0->PATH+glparam0->NAME).Data(),ios::in);    ifstream in((char*)(glparam0->PATH+glparam0->NAME).Data(),ios::in);
285    if ( parerror<0 ) {    if ( parerror<0 ) {
286      code = parerror;      code = parerror;
# Line 1444  int OrbitalInfoCore(UInt_t run, TFile *f Line 1444  int OrbitalInfoCore(UInt_t run, TFile *f
1444  //10REDNEW  //10REDNEW
1445          /* If initial orientation data have reason to be inaccurate */          /* If initial orientation data have reason to be inaccurate */
1446          Double_t tg = 0;          Double_t tg = 0;
1447          cout<<modf(orbitalinfo->TimeGap,&tg)<<endl;          if ( debug ) cout<<modf(orbitalinfo->TimeGap,&tg)<<endl;
1448  //      if(orbitalinfo->TimeGap>0 && errq==0 && azim==0){               // 10RED CHECK  (comparison between three metod of recovering orientation)  //      if(orbitalinfo->TimeGap>0 && errq==0 && azim==0){               // 10RED CHECK  (comparison between three metod of recovering orientation)
1449          if(((orbitalinfo->TimeGap>60.0 && TMath::Abs(orbitalinfo->etha)>0.5) || errq!=0 || modf(orbitalinfo->TimeGap,&tg)*1000>700 || modf(orbitalinfo->TimeGap,&tg)*1000==0.0 ) && azim==0){           //Standard condition to use this;               One of these two cases should be commented          if(((orbitalinfo->TimeGap>60.0 && TMath::Abs(orbitalinfo->etha)>0.5) || errq!=0 || modf(orbitalinfo->TimeGap,&tg)*1000>700 || modf(orbitalinfo->TimeGap,&tg)*1000==0.0 ) && azim==0){           //Standard condition to use this;               One of these two cases should be commented
1450          /*  found in Rotation Table this data for this time interval*/          /*  found in Rotation Table this data for this time interval*/

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72

  ViewVC Help
Powered by ViewVC 1.1.23