00001 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00002 // 19.04.2007, AUTHOR: STEFFEN KAISER 00003 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00004 00005 #ifndef MyVBFCandidateH 00006 #define MyVBFCandidateH 00007 00008 //:::::::::::::::::::::::::::::::: 00009 //:: CLASS MyVBFCandidate :: 00010 //:::::::::::::::::::::::::::::::: 00011 00019 00020 //:::::::::::::::::: 00021 //:: HEADER FILES :: 00022 //:::::::::::::::::: 00023 00024 // STL // 00025 #include <iostream> 00026 //#include <fstream> 00027 00028 //#include <string> 00029 #include <vector> 00030 00031 // // ROOT // 00032 #include "TLorentzVector.h" 00033 00034 // HiggsAnalysis // 00035 #include "MyParticle.h" 00036 #include "MyParticlePair.h" 00037 #include "MyMissingEt.h" 00038 #include "MyCollinearApproximation.h" 00039 00040 class MyVBFCandidate { 00041 00042 public: 00043 // Constructors // 00044 MyVBFCandidate(void) { 00045 //init(); 00046 } 00048 MyVBFCandidate( MyParticlePair tagjet_pair, 00049 MyParticlePair lepton_pair, 00050 const MyMissingEt & missing_et){ 00051 00052 init(tagjet_pair, lepton_pair, missing_et); 00053 } 00056 00057 ~MyVBFCandidate(void) { 00058 destruct(); 00059 } 00061 00062 // Methods // 00063 void set_has_tagjet_pair(bool tagjet_pair_exists); 00065 void set_has_lepton_pair(bool lepton_pair_exists); 00067 bool has_tagjet_pair(void) const; 00069 bool has_lepton_pair(void) const; 00071 void set_cut_map(long bitmap); 00073 long get_cut_map(void) const; 00075 MyParticlePair get_tagjet_pair(void) const; 00077 MyParticlePair get_lepton_pair(void) const; 00079 MyMissingEt get_missinget(void) const; 00081 MyCollinearApproximation get_collinear_approximation(void) const; 00083 TLorentzVector get_pt_sum(void) const; 00085 double get_lj_DeltaEta1(void) const; 00087 double get_lj_DeltaEta2(void) const; 00089 double get_lj_DeltaEtaMin(void) const; 00091 double get_lj_DeltaEtaMax(void) const; 00093 //TString get_lepton_flavors(void); 00095 00096 void Print(std::string option=""); 00097 00098 private: 00099 // private variables and methods // 00100 00101 bool has_tagjets; 00102 bool has_leptons; 00103 long cut_map; 00104 MyParticlePair m_tagjet_pair; 00105 MyParticlePair m_lepton_pair; 00106 MyMissingEt m_missing_et; 00107 00108 //TString pdgIdToString(int pdgId); 00109 // translates pdgIds (+-)11,13 to 'e','mu' string 00110 00111 void init( MyParticlePair tagjet_pair, 00112 MyParticlePair lepton_pair, 00113 const MyMissingEt & missing_et); 00114 // initialization method (variables as defined 00115 // in the constructor of this class) 00116 00117 void destruct(void); 00118 // destruction method 00119 00120 }; 00121 00122 #endif