Ignore:
Timestamp:
11/03/03 18:08:26 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhist
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTime.cc

    r2173 r2461  
    117117    MHillasSrc &hil = *(MHillasSrc*)par;
    118118
    119     fHist.Fill(fabs(hil.GetAlpha()), fEnergy->GetEnergy(), 0.0001*fTime->GetTimeLo(), w);
     119    fHist.Fill(fabs(hil.GetAlpha()), fEnergy->GetEnergy(), *fTime, w);
    120120    return kTRUE;
    121121}
  • trunk/MagicSoft/Mars/mhist/MHEnergyTime.cc

    r2173 r2461  
    104104    const MMcEvt &mcevt = *(MMcEvt*)par;
    105105
    106     fHist.Fill(mcevt.GetEnergy(), 0.0001*fTime->GetTimeLo(), w);
     106    fHist.Fill(mcevt.GetEnergy(), *fTime, w);
    107107
    108108    return kTRUE;
  • trunk/MagicSoft/Mars/mhist/MHThetabarTime.cc

    r2173 r2461  
    6363    fHist.SetDirectory(NULL);
    6464
    65     fHist.SetXTitle("time [s]");
     65    fHist.SetXTitle("t [s]");
    6666    fHist.SetYTitle("\\bar{\\Theta} [ \\circ]");
    6767}
     
    122122Bool_t MHThetabarTime::Fill(const MParContainer *par, const Stat_t w)
    123123{
    124     const Int_t time = fTime->GetTimeLo();
    125 
    126     fHist.Fill(0.0001*time, fMcEvt->GetTheta()*kRad2Deg, w);
     124    fHist.Fill(*fTime, fMcEvt->GetTheta()*kRad2Deg, w);
    127125
    128126    return kTRUE;
  • trunk/MagicSoft/Mars/mhist/MHTimeDiffTheta.cc

    r2173 r2461  
    146146Bool_t MHTimeDiffTheta::Fill(const MParContainer *par, const Stat_t w)
    147147{
    148     const Double_t time = 200e-9*fTime->GetTimeLo() + fTime->GetTimeHi();
     148    const Double_t time = *fTime;
    149149
    150150    fHist.Fill(time-fLastTime, fMcEvt->GetTelescopeTheta()*kRad2Deg, w);
  • trunk/MagicSoft/Mars/mhist/MHTimeDiffTime.cc

    r2173 r2461  
    1616!
    1717!
    18 !   Author(s): Thomas Bretz    1/2002 <mailto:tbretz@uni-sw.gwdg.de>
     18!   Author(s): Thomas Bretz    1/2002 <mailto:tbretz@astro.uni-wuerzburg.de>
    1919!   Author(s): Wolfgang Wittek 1/2002 <mailto:wittek@mppmu.mpg.de>
    2020!
     
    2525
    2626//////////////////////////////////////////////////////////////////////////////
    27 //                                                                          //
    28 //  MHTimeDiffTime                                                          //
    29 //                                                                          //
    30 //  calculates the 2D-histogram   time-difference vs. time                  //
    31 //                                                                          //
    32 //                                                                          //
     27//
     28//  MHTimeDiffTime
     29//
     30//  calculates the 2D-histogram   time-difference vs. time
     31//
     32//
    3333//////////////////////////////////////////////////////////////////////////////
    34 
    3534#include "MHTimeDiffTime.h"
    3635
     
    139138Bool_t MHTimeDiffTime::Fill(const MParContainer *par, const Stat_t w)
    140139{
    141     const Double_t time = 200e-9*fTime->GetTimeLo() + fTime->GetTimeHi();
     140    const Double_t time = *fTime;
    142141
    143142    fHist.Fill(time-fLastTime, time, w);
     
    146145    return kTRUE;
    147146}
    148 
    149 
    150 
    151 
Note: See TracChangeset for help on using the changeset viewer.