#ifndef MARS_MMcTriggerLvl2Calc
#define MARS_MMcTriggerLvl2Calc

#ifndef MARS_MTask
#include "MTask.h"
#endif

class MParList;

class MMcEvt;
class MMcTrig;

class MMcTriggerLvl2;
class MHMcTriggerLvl2;

class TH1F;

class MMcTriggerLvl2Calc : public MTask
{
 private:
  const MMcEvt  *fMcEvt;
  MMcTrig *fMcTrig;

  MMcTriggerLvl2 *fMMcTriggerLvl2;
  MHMcTriggerLvl2 *fMHMcTriggerLvl2;
    
 public:
    MMcTriggerLvl2Calc(const char *name=NULL, const char *title=NULL);   

    Bool_t PreProcess(MParList *pList);
    Bool_t Process();
    Bool_t PostProcess();

    //    TH1F *h1;

    ClassDef(MMcTriggerLvl2Calc, 0) // Task to calculate the MMcTriggerLvl2 Parameters
};

#endif 




