/[PAMELA software]/DarthVader/TrackerLevel2/src/TrkParams.cpp
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/src/TrkParams.cpp

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

revision 1.26 by mocchiut, Fri Jan 29 05:49:32 2010 UTC revision 1.27 by pam-fi, Tue Nov 29 13:25:07 2011 UTC
# Line 177  Bool_t TrkParams::SetCalib( GL_RUN *glru Line 177  Bool_t TrkParams::SetCalib( GL_RUN *glru
177                    
178          if(LOCAL_CONNECTION&&dbc){          if(LOCAL_CONNECTION&&dbc){
179              dbc->Close();              dbc->Close();
180                delete dbc;
181              if(TrkParams::DebugMode()){              if(TrkParams::DebugMode()){
182                  cout << " DB connection closed."<<endl;                  cout << " DB connection closed."<<endl;
183              }                    }      
# Line 868  Bool_t TrkParams::Load(UInt_t type){ Line 869  Bool_t TrkParams::Load(UInt_t type){
869  }  }
870    
871  Bool_t TrkParams::Load( ){  Bool_t TrkParams::Load( ){
872      for(Int_t i=0 ; i<NTYPES; i++)if(!glload[i] && trkparamtype[i]>0 )if( !TrkParams::Load(trkparamtype[i]) )return false;          Bool_t result = true;
873      return true;      for(Int_t i=0 ; i<NTYPES; i++)
874          if(!glload[i] && trkparamtype[i]>0 )
875            if( !TrkParams::Load(trkparamtype[i]) )
876              result = false;
877        return result;
878  };  };
879  Bool_t TrkParams::IsLoaded( ){  Bool_t TrkParams::IsLoaded( ){
880      for(Int_t i=0 ; i<NTYPES; i++)if(!glload[i] && trkparamtype[i]>0 )return false;      for(Int_t i=0 ; i<NTYPES; i++)if(!glload[i] && trkparamtype[i]>0 )return false;

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.23