#ifndef _FROG_EVENT_MET_H__ #define _FROG_EVENT_MET_H__ #include "Event_Candidate.h" namespace FROG{ class Event_MET : public Event_Candidate { public : float SumEt_; virtual unsigned int chunkId(){ return 14100;} virtual bool isCompactible(){ return true; } Event_MET(){} Event_MET(int PdgId, float P, float Eta, float Phi, float SumEt ) : Event_Candidate(PdgId,P,Eta,Phi), SumEt_(SumEt){} virtual ByteBuffer writeData(){ ByteBuffer toReturn(20); toReturn.putInt(PdgId_); toReturn.putFloat(P_); toReturn.putFloat(Eta_); toReturn.putFloat(Phi_); toReturn.putFloat(SumEt_); return toReturn; } }; }//FROG Namespace #endif