Changeset 1646 for trunk/MagicSoft


Ignore:
Timestamp:
11/19/02 13:25:44 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/MagicHillas.C

    r1640 r1646  
    111111    MHillasCalc    hcalc;
    112112    MHillasSrcCalc csrc1;
    113     MHillasSrcCalc csrc2;
    114113
    115114    //
     
    141140    tlist.AddToList(&hcalc);
    142141    tlist.AddToList(&csrc1);
    143     tlist.AddToList(&csrc2);
    144142
    145143    tlist.AddToList(&hfill1);
  • trunk/MagicSoft/Mars/mmain/MMonteCarlo.cc

    r1603 r1646  
    186186#include "MEvtLoop.h"
    187187
    188 #include "MReadTree.h"
     188#include "MReadMarsFile.h"
    189189
    190190#include "MHMcRate.h"
     
    239239    //  - Then we can fill the efficiency histograms
    240240    //
    241     MReadTree read("Events", fInputFile);
     241    MReadMarsFile read("Events", fInputFile);
    242242    tlist.AddToList(&read);
    243243
  • trunk/MagicSoft/Mars/mmontecarlo/MMcCollectionAreaCalc.cc

    r1613 r1646  
    2525
    2626//////////////////////////////////////////////////////////////////////////////
    27 //                                                                          //
    28 //  MHMcCollectionAreaCalc                                                  //
    29 //                                                                          //
     27//
     28//  MHMcCollectionAreaCalc
     29//
     30//  Remark: The initialization is maily done in the ReInit function.
     31//          Please make sure, that you don't use MReadTree when processing
     32//          a file. Use a 'ReInit'-calling task like MReadMarsFile
     33//
    3034//////////////////////////////////////////////////////////////////////////////
    3135
     
    7377        return kFALSE;
    7478
    75 
    76     fTotalNumSimulatedShowers = 0;
    77     fCorsikaVersion           = 0;
     79    fTheta                    = -1;
     80    fTotalNumSimulatedShowers =  0;
     81    fCorsikaVersion           =  0;
    7882    fAllEvtsTriggered         = kFALSE;
    7983
     
    9599
    96100    if (fTheta>=0 && fTheta!=runheader->GetTelesTheta())
    97         *fLog << warn << dbginf << "Warning - Read files have different TelesTheta..." << endl;
     101    {
     102        *fLog << warn << dbginf << "Warning - Read files have different TelesTheta (";
     103        *fLog << fTheta << ", " << runheader->GetTelesTheta() << ")..." << endl;
     104    }
    98105
    99106    fTheta = runheader->GetTelesTheta();
     
    123130Bool_t MMcCollectionAreaCalc::Process()
    124131{
     132//    *fLog << all << fMcEvt << " " << (int)fAllEvtsTriggered << " " << fCollArea << endl;
    125133    const Float_t energy = fMcEvt->GetEnergy();
    126134    const Float_t impact = fMcEvt->GetImpact()/100.;
Note: See TracChangeset for help on using the changeset viewer.