#ifndef MARS_MMcTriggerLvl2Calc
#define MARS_MMcTriggerLvl2Calc

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

class MParList;

class MMcEvt;
class MMcTrig;

class MMcTriggerLvl2;

class TH1F;

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

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

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

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

#endif 




