SusyNtuple
|
00001 // Dear emacs, this is -*- c++ -*- 00002 #ifndef SUSYNTUPLE_TRUTHMET_H 00003 #define SUSYNTUPLE_TRUTHMET_H 00004 00005 #include "TObject.h" 00006 #include "TLorentzVector.h" 00007 00008 namespace Susy 00009 { 00011 class TruthMet : public TObject 00012 { 00013 public: 00014 TruthMet(){ clear(); } 00015 virtual ~TruthMet(){}; 00017 TruthMet(const TruthMet &); 00019 TruthMet& operator=(const TruthMet &); 00020 00021 float Et; 00022 float phi; 00023 00025 const TLorentzVector lv() const { 00026 TLorentzVector tlv; 00027 tlv.SetPtEtaPhiE(this->Et,0,this->phi,this->Et); 00028 return tlv; 00029 } 00030 00031 // print vars 00032 void print() const; 00033 00034 // Clear vars 00035 void clear(){ 00036 Et = 0; 00037 phi = 0; 00038 } 00039 00040 ClassDef(TruthMet, 1); 00041 }; 00042 } // Susy 00043 #endif