Fork me on GitHub

source: svn/trunk/Utilities/frog/Event_MET.h@ 899

Last change on this file since 899 was 583, checked in by cp3-support, 13 years ago

FROG 3.0

File size: 687 bytes
RevLine 
[583]1#ifndef _FROG_EVENT_MET_H__
2#define _FROG_EVENT_MET_H__
3
4#include "Event_Candidate.h"
5
6namespace FROG{
7
8class Event_MET : public Event_Candidate {
9public :
10 float SumEt_;
11
12 virtual unsigned int chunkId(){ return 14100;}
13 virtual bool isCompactible(){ return true; }
14
15 Event_MET(){}
16 Event_MET(int PdgId, float P, float Eta, float Phi, float SumEt ) :
17 Event_Candidate(PdgId,P,Eta,Phi), SumEt_(SumEt){}
18
19 virtual ByteBuffer writeData(){
20 ByteBuffer toReturn(20);
21 toReturn.putInt(PdgId_);
22 toReturn.putFloat(P_);
23 toReturn.putFloat(Eta_);
24 toReturn.putFloat(Phi_);
25 toReturn.putFloat(SumEt_);
26 return toReturn;
27 }
28};
29
30}//FROG Namespace
31#endif
Note: See TracBrowser for help on using the repository browser.