Ignore:
Timestamp:
10/30/03 18:12:46 (21 years ago)
Author:
stamerra
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2Calc.cc

    r2365 r2446  
    9595        return kFALSE;
    9696    }
    97 
     97    // Check if fCam is a Magic geometry: only MGeomCamMagic geometry and
     98    // geometries with 577 pixels are now accepted by MMcTriggerLvl2
     99    if (fCam->GetNumPixels()!= 577)
     100      {
     101        *fLog << dbginf << "MGeomCam has a wrong geometry; only MAGIC geometry (577 pixels) is accepted by now... aborting" <<endl;
     102        return kFALSE;
     103      }
    98104    fMMcTriggerLvl2 = (MMcTriggerLvl2*)pList->FindObject("MMcTriggerLvl2");
    99105    if (!fMMcTriggerLvl2)
     
    132138Int_t MMcTriggerLvl2Calc::Process()
    133139{
    134   fMMcTriggerLvl2->CalcEnergy(fMcEvt);
     140  fMMcTriggerLvl2->GetEnergy(fMcEvt);
    135141
    136142  fMMcTriggerLvl2->SetLv1(fMcTrig);
     
    139145
    140146  fMMcTriggerLvl2->Calc();
     147
     148  fMMcTriggerLvl2->CalcTriggerPattern(fCam);
    141149
    142150  return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.