Rev | Line | |
---|
[583] | 1 | #ifndef _FROG_EVENT_MET_H__
|
---|
| 2 | #define _FROG_EVENT_MET_H__
|
---|
| 3 |
|
---|
| 4 | #include "Event_Candidate.h"
|
---|
| 5 |
|
---|
| 6 | namespace FROG{
|
---|
| 7 |
|
---|
| 8 | class Event_MET : public Event_Candidate {
|
---|
| 9 | public :
|
---|
| 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.