Changeset 1947 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
04/11/03 19:42:54 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r1940 r1947  
    11                                                 -*-*- END OF LINE -*-*-
     2
     3 2003/04/11: Thomas Bretz
     4
     5   * macros/readMagic.C:
     6     - replaced GetEventNum by GetNumEntry
     7     
     8   * manalysis/MCT1SupercutsCalc.cc:
     9     - fixed constructor (no default for fHadronnessName)
     10     - missing fHadronness->SetReadyToSave added
     11     
     12   * manalysis/MMultiDimDistCalc.cc:
     13     - missing fHadronness->SetReadyToSave added
     14   
     15   * manalysis/MParameters.cc:
     16     - changed title
     17
     18   * mfilter/MFCT1SelFinal.h:
     19     - set ClassDef to 0
     20   
     21   * mimage/Makefile:
     22     - fixed a typo
     23     
     24   * mraw/MRawEvtData.cc:
     25     - fixed Pixel assignment (i->ipos, fPosInArray++)
     26
     27
    228
    329 2003/04/10: Thomas Bretz
     
    5076
    5177   * manalysis/Makefile, manalysis/AnalysisLinkDef.h,
    52      mhist/Makefile, mhist/AnalysisLinkDef.h:
     78     mhist/Makefile, mhist/AnalysisLinkDef.h, mmain/Makefile,
     79     mfilter/Makefile, meventdisp/Makefile, mgui/Makefile:
    5380     - adapted
    5481
  • trunk/MagicSoft/Mars/macros/readMagic.C

    r1542 r1947  
    9898    while (tlist.Process())
    9999    {
    100         cout << "Event #" << read.GetEventNum() ":" << endl;
     100        cout << "Event #" << read.GetNumEntry() ":" << endl;
    101101
    102102        display.DrawPhotNum((MCerPhotEvt*)clone.GetClone());
  • trunk/MagicSoft/Mars/manalysis/MCT1SupercutsCalc.cc

    r1934 r1947  
    136136//
    137137MCT1SupercutsCalc::MCT1SupercutsCalc(const char *hilname,
    138                const char *hilsrcname, const char *name, const char *title)
     138                                     const char *hilsrcname, const char *name, const char *title)
     139: fHadronnessName("MHadronness"), fHilName(hilname), fHilSrcName(hilsrcname)
    139140{
    140141    fName  = name  ? name  : "MCT1SupercutsCalc";
    141142    fTitle = title ? title : "Class to evaluate the Supercuts";
    142143
    143     fHilName    = hilname;
    144     fHilSrcName = hilsrcname;
    145 
    146144    InitParams();
    147145}
     
    186184        return kFALSE;
    187185    }
    188 
    189186
    190187    fCam = (MGeomCam*)pList->FindObject("MGeomCam");
     
    274271  //      << width << endl;
    275272
    276   if (    newdist  < 1.05
    277        && newdist  < CtsMCut (fDistUp,   dmls, dmcza, dmls2, dd2)
    278        && newdist  > CtsMCut (fDistLo,   dmls, dmcza, dmls2, dd2)
    279        && dist     < 1.05
    280        && length   < CtsMCut (fLengthUp, dmls, dmcza, dmls2, dd2)
    281        && length   > CtsMCut (fLengthLo, dmls, dmcza, dmls2, dd2)
    282        && width    < CtsMCut (fWidthUp,  dmls, dmcza, dmls2, dd2)
    283        && width    > CtsMCut (fWidthLo,  dmls, dmcza, dmls2, dd2)
    284        //&& asym   < CtsMCut (asymup,    dmls, dmcza, dmls2, dd2)
    285        //&& asym   > CtsMCut (asymlow,   dmls, dmcza, dmls2, dd2)
    286        && dist     < CtsMCut (fDistUp,   dmls, dmcza, dmls2, dd2)
    287        && dist     > CtsMCut (fDistLo,   dmls, dmcza, dmls2, dd2)  )
    288     fHadronness->SetHadronness(0.25);
     273  if (newdist < 1.05                                         &&
     274      newdist < CtsMCut (fDistUp,   dmls, dmcza, dmls2, dd2) &&
     275      newdist > CtsMCut (fDistLo,   dmls, dmcza, dmls2, dd2) &&
     276      dist    < 1.05                                         &&
     277      length  < CtsMCut (fLengthUp, dmls, dmcza, dmls2, dd2) &&
     278      length  > CtsMCut (fLengthLo, dmls, dmcza, dmls2, dd2) &&
     279      width   < CtsMCut (fWidthUp,  dmls, dmcza, dmls2, dd2) &&
     280      width   > CtsMCut (fWidthLo,  dmls, dmcza, dmls2, dd2) &&
     281      //asym  < CtsMCut (asymup,    dmls, dmcza, dmls2, dd2) &&
     282      //asym  > CtsMCut (asymlow,   dmls, dmcza, dmls2, dd2) &&
     283      dist    < CtsMCut (fDistUp,   dmls, dmcza, dmls2, dd2) &&
     284      dist    > CtsMCut (fDistLo,   dmls, dmcza, dmls2, dd2)  )
     285      fHadronness->SetHadronness(0.25);
    289286  else
    290     fHadronness->SetHadronness(0.75);
     287      fHadronness->SetHadronness(0.75);
     288
     289  fHadronness->SetReadyToSave();
    291290
    292291  return kTRUE;
  • trunk/MagicSoft/Mars/manalysis/MMultiDimDistCalc.cc

    r1921 r1947  
    210210
    211211    fHadronness->SetHadronness(dg==0 ? 0 : exp(-dh/dg));
     212    fHadronness->SetReadyToSave();
    212213
    213214    return kTRUE;
  • trunk/MagicSoft/Mars/manalysis/MParameters.cc

    r1884 r1947  
    4242ClassImp(MParameterD);
    4343ClassImp(MParameterI);
     44//ClassImp(MParameter);
    4445
    4546// --------------------------------------------------------------------------
     
    5051{
    5152    fName  = name  ? name  : "MParameterD";
    52     fTitle = title ? title : "Storgare container for general parameters";
     53    fTitle = title ? title : "Storgare container for general parameters (double)";
    5354}
    5455
     
    6061{
    6162    fName  = name  ? name  : "MParameterI";
    62     fTitle = title ? title : "Storgare container for general parameters";
     63    fTitle = title ? title : "Storgare container for general parameters (integer)";
    6364}
    6465
  • trunk/MagicSoft/Mars/mfilter/MFCT1SelFinal.h

    r1921 r1947  
    5656    void SetCuts(Float_t hadmax, Float_t alphamax);
    5757
    58     ClassDef(MFCT1SelFinal, 1)   // Class to evaluate final cuts
     58    ClassDef(MFCT1SelFinal, 0)   // Class to evaluate final cuts
    5959};
    6060
  • trunk/MagicSoft/Mars/mimage/Makefile

    r1945 r1947  
    2222#  connect the include files defined in the config.mk file
    2323#
    24 INCLUDES = -I. -I../mbase -I../mhist -I../mgeom -I../manalysi
     24INCLUDES = -I. -I../mbase -I../mhist -I../mgeom -I../manalysis
    2525
    2626#------------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mraw/MRawEvtData.cc

    r1914 r1947  
    420420        // get the spiral pixel number from the run header
    421421        //
    422         const UShort_t npix = fRunHeader->GetPixAssignment(i);
    423 
    424422        const UShort_t ipos = npos+i;
     423
     424        const UShort_t npix = fRunHeader->GetPixAssignment(ipos);
     425
    425426        //
    426427        //  This is to fill the data of one pixel to the MRawEvtHeader Class.
     
    440441        //}
    441442    }
    442 }
    443 
     443
     444    fPosInArray++;
     445}
     446
Note: See TracChangeset for help on using the changeset viewer.