Universita' di GenovaINFN Sezione di Genova  
AIRWATCH / EUSO Genova

EsafSys - source file

// $Id: EsafSys.cc,v 1.4 2005/05/22 13:20:57 thea Exp $
// Author: Alessandro Thea   2005/05/19

/*****************************************************************************
 * ESAF: Euso Simulation and Analysis Framework                              *
 *                                                                           *
 *  Id: EsafSys                                                           *
 *  Package: <packagename>                                                   *
 *  Coordinator: <coordinator>                                               *
 *                                                                           *
 *****************************************************************************/

//_____________________________________________________________________________
//
// EsafSys
//
// <extensive class description>
//
//   Config file parameters
//   ======================
//
//   <parameter name>: <parameter description>
//   -Valid options: <available options>
//

#include "EsafSys.hh"
#include <TSystem.h>

EsafSys* gEsafSys(0);


#define str(s) _QUOTE_(s)

#if !defined(ESAFARCH)
#warning ESAFARCH missing, assuming ESAFARCH=i686
#define ESAFARCH i686
#endif

ClassImp(EsafSys)

//_____________________________________________________________________________
 EsafSys::EsafSys( Bool_t absolute ) {
    //
    // Constructor
    //

    
    fArch = str(ESAFARCH);
    fRootVers = ROOT_RELEASE;
    fCxxVers = str(ESAFCXX);
    
    if ( absolute && gSystem->Getenv("ESAFSYS") )
        fPath = gSystem->Getenv("ESAFSYS");
    else 
        fPath       = ".";

    fAuxPath = AbsolutePath("/auxilar");
    fBinPath = AbsolutePath("/bin/"+fArch);
    fLibPath = AbsolutePath("/lib/"+fArch);
    fOutPath = AbsolutePath("/output");
}

//_____________________________________________________________________________
 EsafSys::~EsafSys() {
    //
    // Destructor
    //
}

About Us | EUSO Official Website | Web pages created by Roberto Pesce and Alessandro Thea - Last Update Wed Nov 16 16:57:39 2005 Wed Nov 16 16:29:22 2005