Changeset 17870


Ignore:
Timestamp:
05/16/14 14:53:23 (11 years ago)
Author:
tbretz
Message:
This version should run uncompiled as well.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/analysis/mc/callisto.C

    r17736 r17870  
    44#include "MLog.h"
    55#include "MLogManip.h"
     6
     7#if !defined(__CINT__) || defined(__MAKECINT__)
    68
    79#include "TH1F.h"
     
    4749#include "MWriteAsciiFile.h"
    4850
     51#endif
     52
    4953using namespace std;
    5054
     
    115119
    116120    // map file to use (get that from La Palma!)
    117     const char *map = usemap ? "TestForThomas/FACT/FACTmap111030.txt" : NULL;
     121    const char *pmap = usemap ? "TestForThomas/FACT/FACTmap111030.txt" : NULL;
    118122
    119123    Bool_t maximum = kTRUE;
     
    164168    // ======================================================
    165169
    166     if (map && gSystem->AccessPathName(map, kFileExists))
     170    if (pmap && gSystem->AccessPathName(pmap, kFileExists))
    167171    {
    168         gLog << err << "ERROR - Cannot access mapping file '" << map << "'" << endl;
     172        gLog << err << "ERROR - Cannot access mapping file '" << pmap << "'" << endl;
    169173        return 1;
    170174    }
     
    357361
    358362    MRawFitsRead read3;
    359     read3.LoadMap(map);
     363    read3.LoadMap(pmap);
    360364    read3.AddFile(pedfile);
    361365
     
    448452
    449453    MRawFitsRead read4;
    450     read4.LoadMap(map);
     454    read4.LoadMap(pmap);
    451455    read4.AddFile(pedfile);
    452456
     
    533537    MRawFitsRead read5a;
    534538    MReadMarsFile read5b("Events");
    535     read5a.LoadMap(map);
     539    read5a.LoadMap(pmap);
    536540    read5a.AddFile(datfile);
    537541    read5b.DisableAutoScheme();
Note: See TracChangeset for help on using the changeset viewer.