Changeset 8256 for trunk/MagicSoft


Ignore:
Timestamp:
01/16/07 13:59:22 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8255 r8256  
    2929   * mimage/MHHillasExt.cc:
    3030     - call SetDirectory(NULL) after SetName
     31
     32   * mjobs/MSequence.[h,cc]:
     33     - commented out obsolete GetFileNames
    3134
    3235
  • trunk/MagicSoft/Mars/mimage/MHHillasExt.cc

    r6977 r8256  
    7272    // connect all the histogram with the container fHist
    7373    //
     74    fHAsym.UseCurrentStyle();
     75    fHM3Long.UseCurrentStyle();
     76    fHM3Trans.UseCurrentStyle();
     77    fHMaxDist.UseCurrentStyle();
     78
     79    fHAsym.SetName("Asymmetry");
     80    fHM3Long.SetName("M3l");
     81    fHM3Trans.SetName("M3t");
     82    fHMaxDist.SetName("MaxDist");
     83
     84    fHAsym.SetTitle("Asymmetry");
     85    fHM3Long.SetTitle("3^{rd} Moment Longitudinal");
     86    fHM3Trans.SetTitle("3^{rd} Moment Transverse");
     87    fHMaxDist.SetTitle("Distance of max distant pixel");
     88
     89    fHAsym.SetXTitle("Asym [mm]");
     90    fHM3Long.SetXTitle("3^{rd} M_{l} [mm]");
     91    fHM3Trans.SetXTitle("3^{rd} M_{t} [mm]");
     92    fHMaxDist.SetXTitle("D_{max} [mm]");
     93
     94    fHAsym.SetYTitle("Counts");
     95    fHM3Long.SetYTitle("Counts");
     96    fHM3Trans.SetYTitle("Counts");
     97    fHMaxDist.SetYTitle("Counts");
     98
     99    fHAsym.SetFillStyle(4000);
     100    fHM3Long.SetFillStyle(4000);
     101    fHM3Trans.SetFillStyle(4000);
     102    fHMaxDist.SetFillStyle(4000);
     103
    74104    fHAsym.SetDirectory(NULL);
    75105    fHM3Long.SetDirectory(NULL);
    76106    fHM3Trans.SetDirectory(NULL);
    77107    fHMaxDist.SetDirectory(NULL);
    78 
    79     fHAsym.UseCurrentStyle();
    80     fHM3Long.UseCurrentStyle();
    81     fHM3Trans.UseCurrentStyle();
    82     fHMaxDist.UseCurrentStyle();
    83 
    84     fHAsym.SetName("Asymmetry");
    85     fHM3Long.SetName("M3l");
    86     fHM3Trans.SetName("M3t");
    87     fHMaxDist.SetName("MaxDist");
    88 
    89     fHAsym.SetTitle("Asymmetry");
    90     fHM3Long.SetTitle("3^{rd} Moment Longitudinal");
    91     fHM3Trans.SetTitle("3^{rd} Moment Transverse");
    92     fHMaxDist.SetTitle("Distance of max distant pixel");
    93 
    94     fHAsym.SetXTitle("Asym [mm]");
    95     fHM3Long.SetXTitle("3^{rd} M_{l} [mm]");
    96     fHM3Trans.SetXTitle("3^{rd} M_{t} [mm]");
    97     fHMaxDist.SetXTitle("D_{max} [mm]");
    98 
    99     fHAsym.SetYTitle("Counts");
    100     fHM3Long.SetYTitle("Counts");
    101     fHM3Trans.SetYTitle("Counts");
    102     fHMaxDist.SetYTitle("Counts");
    103 
    104     fHAsym.SetFillStyle(4000);
    105     fHM3Long.SetFillStyle(4000);
    106     fHM3Trans.SetFillStyle(4000);
    107     fHMaxDist.SetFillStyle(4000);
    108108
    109109    fHM3Trans.SetLineColor(kBlue);
  • trunk/MagicSoft/Mars/mjobs/MSequence.cc

    r8247 r8256  
    346346// Read the file fname as setup file for the sequence.
    347347//
    348 void MSequence::GetFileNames(TEnv &env, const TArrayI &arr)
    349 {
     348//void MSequence::GetFileNames(TEnv &env, const TArrayI &arr)
     349//{
    350350    /*
    351351    for (int i=0; i<arr.GetSize(); i++)
     
    362362        }
    363363        */
    364 }
     364//}
    365365
    366366// --------------------------------------------------------------------------
     
    368368// Get a file name corresponding to the run-number num, returns 0 if n/a
    369369//
    370 const char *MSequence::GetFileName(UInt_t num)
    371 {
    372     return 0;
     370//const char *MSequence::GetFileName(UInt_t num)
     371//{
     372//    return 0;
    373373    /*
    374374    TString *str = (TString*)fFileNames.GetValue(num);
    375375    return str ? str->Data() : 0;*/
    376 }
     376//}
    377377
    378378MSequence::LightCondition_t MSequence::ReadLightCondition(TEnv &env) const
     
    452452    Split(str, fDatRuns);
    453453
    454     GetFileNames(env, fRuns);
    455     GetFileNames(env, fCalRuns);
    456     GetFileNames(env, fPedRuns);
    457     GetFileNames(env, fDatRuns);
     454  //  GetFileNames(env, fRuns);
     455  //  GetFileNames(env, fCalRuns);
     456  //  GetFileNames(env, fPedRuns);
     457  //  GetFileNames(env, fDatRuns);
    458458
    459459    // Dummies:
  • trunk/MagicSoft/Mars/mjobs/MSequence.h

    r8245 r8256  
    5454
    5555    void Split(TString &runs, TArrayI &data) const;
    56     void GetFileNames(TEnv &env, const TArrayI &arr);
     56    //void GetFileNames(TEnv &env, const TArrayI &arr);
    5757    LightCondition_t ReadLightCondition(TEnv &env) const;
    5858
Note: See TracChangeset for help on using the changeset viewer.