Ignore:
Timestamp:
11/04/04 21:52:46 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mmontecarlo/MMcCollectionAreaCalc.cc

    r5073 r5340  
    6767    fAllEvtsTriggered         =  kFALSE;
    6868    fTotalNumSimulatedShowers =  0;
    69     fTheta                    = -1.;
     69    fThetaMin                 = -1.;
     70    fThetaMax                 = -1.;
    7071
    7172}
     
    100101
    101102
    102     if (fTheta>=0 && fTheta!=runheader->GetTelesTheta())
    103     {
    104         *fLog << warn << "Warning - Read files have different TelesTheta (";
    105         *fLog << fTheta << ", " << runheader->GetTelesTheta() << ")..." << endl;
    106     }
    107     fTheta = runheader->GetTelesTheta();
     103    if ( (fThetaMin >= 0 && fThetaMin != runheader->GetShowerThetaMin()) ||
     104         (fThetaMax >= 0 && fThetaMax != runheader->GetShowerThetaMax()) )
     105    {
     106        *fLog << warn << "Warning - Read files have different Theta ranges (";
     107        *fLog << "(" << fThetaMin << ", " << fThetaMax << ")   vs   (" <<
     108          runheader->GetShowerThetaMin() << ", " <<
     109          runheader->GetShowerThetaMax() << ")..." << endl;
     110    }
     111    fThetaMin = runheader->GetShowerThetaMin();
     112    fThetaMax = runheader->GetShowerThetaMax();
    108113
    109114
Note: See TracChangeset for help on using the changeset viewer.