Ignore:
Timestamp:
02/07/05 15:18:01 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJCalibTest.cc

    r6234 r6281  
    9191
    9292using namespace std;
     93
    9394// --------------------------------------------------------------------------
    9495//
     
    277278  cont.Add(&cam);
    278279  return ReadContainer(cont);
    279 }
    280 
    281 // --------------------------------------------------------------------------
    282 //
    283 // MJCalibration allows to setup several option by a resource file:
    284 //   MJCalibrateSignal.RawData: yes,no
    285 //
    286 // For more details see the class description and the corresponding Getters
    287 //
    288 Bool_t MJCalibTest::CheckEnvLocal()
    289 {
    290 
    291   SetUseRootData();
    292  
    293   if (HasEnv("DataType"))
    294     {
    295       TString dat = GetEnv("DataType", "");
    296       dat = dat.Strip(TString::kBoth);
    297       if (dat.BeginsWith("raw", TString::kIgnoreCase))
    298         {
    299           fDataFlag = 0;
    300           SetUseRawData();
    301         }
    302       if (dat.BeginsWith("root", TString::kIgnoreCase))
    303         {
    304           fDataFlag = 0;
    305           SetUseRootData();
    306       }
    307       if (dat.BeginsWith("mc", TString::kIgnoreCase))
    308         {
    309           fDataFlag = 0;
    310           SetUseMC();
    311         }
    312     }
    313   return kTRUE;
    314280}
    315281
Note: See TracChangeset for help on using the changeset viewer.