Changeset 227 for MEMPHYS


Ignore:
Timestamp:
Jun 23, 2006, 3:05:08 PM (18 years ago)
Author:
barrand
Message:

G.Barrand : handle file format in firt arg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MEMPHYS/HEAD/applications/MEMPHYS_batch.cxx

    r219 r227  
    2828/////////////////////////////////////////////////////////////////
    2929int main(
    30          int //aArgc
    31          , char** //aArgv
    32          )
     30 int aArgc
     31,char** aArgv
     32)
    3333{
     34  std::string arg1 = (aArgc>=2?aArgv[1]:"");
     35
    3436  //AIDA Analysis factory
    3537  AIDA::IAnalysisFactory* aida = AIDA_createAnalysisFactory();
     
    3941  }
    4042  //Book all the histo, tuple
    41   MEMPHYS::Analysis* analysis = new MEMPHYS::Analysis(aida);
    42 
     43  MEMPHYS::Analysis* analysis = new MEMPHYS::Analysis(aida,arg1);
    4344
    4445  // Construct the default run manager
Note: See TracChangeset for help on using the changeset viewer.