Changeset 3043


Ignore:
Timestamp:
02/06/04 17:36:05 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3042 r3043  
    44
    55                                                 -*-*- END OF LINE -*-*-
     6 2004/02/06: Thomas Bretz
     7
     8  * mhist/MHPixVsTime.[h,cc]:
     9    - changed such that you can set the name of the time container now
     10
     11
     12
    613 2004/02/06: Oscar Blanch
     14
    715  * mmc/MFadcDefine.h && mmc/MMcFadcHeader.cxx
    8     _ We cahnged the name (and values) of the global variable
     16    - We cahnged the name (and values) of the global variable
    917       MFADC_RESPONSE_AMPLITUDE to  MFADC_RESPONSE_INTEGRAL
    1018
     19
     20
    1121 2004/02/05: Markus Gaug
     22
    1223   * mcalib/MHCalibrationPixel.[h,cc]
    1324     - put an NDF limit for the fit
     
    1526     - Check for nan's of all returned fit values
    1627
    17    * mcalib/MCalibrationPix.[h,cc]
    18    * mcalib/MCalibrationCam.cc
     28   * mcalib/MCalibrationPix.[h,cc], mcalib/MCalibrationCam.cc:
    1929     - reshuffled HiLoGainConversion, calculation of F-Factor method,
    2030     - calculation of total F-Factor of the readout.
     
    7282
    7383
     84
    7485 2004/02/05: Abelardo Moralejo
    7586
     
    8091       we will use it for calibrated real data (to be changed if so).
    8192
     93
     94
    8295 2004/02/05: Sebastian Raducci
    8396
     
    95108     - test macro. Shows how to use the MCubicSpline class
    96109     - it could be used to test the methods of the Spline class
    97      
     110
     111
    98112
    99113 2004/02/05: Thomas Bretz
  • trunk/MagicSoft/Mars/mhist/MHPixVsTime.cc

    r2612 r3043  
    6666    TString t("Pixel Index #");
    6767    t += idx;
    68     t += " vs ";
    69     t += fUseEventTime ? "Time" : "Event Number";
     68    t += " vs Time";
    7069
    7170    fGraph.SetName("MCamEvent");
     
    108107    }
    109108
    110     if (fUseEventTime)
    111     {
    112         fTime = (MTime*)plist->FindObject("MTime");
     109    if (!fNameTime.IsNull())
     110    {
     111        fTime = (MTime*)plist->FindObject(fNameTime, "MTime");
    113112        if (!fTime)
    114113        {
    115             *fLog << err << "MTime not found... abort." << endl;
     114            *fLog << err << fNameTime << " [MTime] not found... abort." << endl;
    116115            return kFALSE;
    117116        }
     
    149148
    150149    Double_t t = 0;
    151     if (fUseEventTime)
     150    if (!fNameTime.IsNull())
    152151        t = fTime->GetAxisTime();
    153152    else
  • trunk/MagicSoft/Mars/mhist/MHPixVsTime.h

    r2572 r3043  
    3030
    3131    TString fNameEvt;
     32    TString fNameTime;
    3233
    3334    Int_t fType;
    3435    Int_t fTypeErr;
    35 
    36     Bool_t fUseEventTime;
    3736
    3837    Bool_t SetupFill(const MParList *pList);
     
    4544
    4645    void SetNameEvt(const TString name) { fNameEvt = name; }
     46    void SetNameTime(const TString name) { fNameTime = name; }
    4747    void SetType(Int_t type, Int_t e=-1) { fType = type; fTypeErr=e; }
    4848
    4949    TH1 *GetHistByName(const TString name="");
    5050    TGraph &GetGraph() { return fGraph; }
    51 
    52     void SetUseEventTime(Bool_t use = kTRUE) { fUseEventTime = use; }
    5351
    5452    void Draw(Option_t *o="");
Note: See TracChangeset for help on using the changeset viewer.