Ignore:
Timestamp:
10/22/18 20:50:24 (6 years ago)
Author:
tbretz
Message:
Fixed some minor issues with the cling based interpreter - this should not have any effect at runtime maybe except stability
Location:
trunk/Mars/fact/analysis/mc
Files:
3 edited

Legend:

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

    r18579 r19266  
    55#include "MLogManip.h"
    66
    7 #if !defined(__CINT__) || defined(__MAKECINT__)
     7#if (!defined(__CINT__) && !defined(__CLING__)) || defined(__MAKECINT__)
    88
    99#include "TH1F.h"
     
    285285    treat5.SetProcessPedestalEvt(kFALSE);
    286286
    287     MHCamEvent evt5b(0, "ExtSig",   "Extracted signal;;S [mV·sl]");
     287    MHCamEvent evt5b(0, "ExtSig",   "Extracted signal;;S [mV#dot sl]");
    288288    MHCamEvent evt5c(0, "CalSig",   "Calibrated and interpolated signal;;S [~phe]");
    289289    MHCamEvent evt5d(4, "ExtSigTm", "Extracted time;;T [sl]");
  • trunk/Mars/fact/analysis/mc/ganymed.C

    r17733 r19266  
    1 void SetupWriter(MWriteRootFile *write, const char *name, Bool_t ismc) const
     1void SetupWriter(MWriteRootFile *write, const char *name, Bool_t ismc)
    22{
    33    if (!write)
     
    153153    scale.SetVal(1./fNumOffSourcePos);
    154154
    155     MHThetaSq *halphaoff = plist.FindCreateObj("MHThetaSq", "HistOff");
     155    MHThetaSq *halphaoff = (MHThetaSq*)plist.FindCreateObj("MHThetaSq", "HistOff");
    156156    halphaoff->ForceUsingSize();
    157157
     
    385385    fill3d.SetFilter(&ftheta);
    386386
    387     MHThetaSq *halphaon = plist.FindCreateObj("MHThetaSq", "Hist");
     387    MHThetaSq *halphaon = (MHThetaSq*)plist.FindCreateObj("MHThetaSq", "Hist");
    388388    halphaon->ForceUsingSize();
    389389
  • trunk/Mars/fact/analysis/mc/star.C

    r17871 r19266  
    55#include "MLogManip.h"
    66
    7 #if !defined(__CINT__) || defined(__MAKECINT__)
     7#if (!defined(__CINT__) && !defined(__CLING__)) || defined(__MAKECINT__)
     8
     9#error test1
    810
    911#include "TH1F.h"
     
    212214
    213215    MH3 hrate("MRawRunHeader.GetFileID"/*, "MRawEvtHeader.GetTriggerID"*/);
    214     hrate.SetWeight("1./TMath::Max(MRawRunHeader.GetRunLength,1)");
     216    hrate.SetWeight("1./TMath::Max(MRawRunHeader.GetRunLength,1.)");
    215217    hrate.SetName("Rate");
    216218    hrate.SetTitle("Event rate after cleaning;File Id;Event Rate [Hz];");
Note: See TracChangeset for help on using the changeset viewer.