Herwig++
2.7.0
|
00001 // -*- C++ -*- 00002 #ifndef HERWIG_TauTo2MesonAnalysis_H 00003 #define HERWIG_TauTo2MesonAnalysis_H 00004 // 00005 // This is the declaration of the TauTo2MesonAnalysis class. 00006 // 00007 00008 #include "ThePEG/Repository/CurrentGenerator.h" 00009 #include "ThePEG/Handlers/AnalysisHandler.h" 00010 #include "Herwig++/Utilities/Histogram.h" 00011 00012 namespace Herwig { 00013 00014 using namespace ThePEG; 00015 00029 class TauTo2MesonAnalysis: public AnalysisHandler { 00030 00031 public: 00032 00052 virtual void analyze(tEventPtr event, long ieve, int loop, int state); 00053 00054 using AnalysisHandler::analyze; 00056 00057 public: 00058 00065 static void Init(); 00066 00067 protected: 00068 00075 inline virtual IBPtr clone() const {return new_ptr(*this);} 00076 00081 inline virtual IBPtr fullclone() const {return new_ptr(*this);} 00083 00084 00085 protected: 00086 00087 protected: 00088 00095 virtual void doinitrun(); 00096 00101 virtual void dofinish(); 00103 00104 private: 00105 00110 static NoPIOClassDescription<TauTo2MesonAnalysis> initTauTo2MesonAnalysis; 00111 00116 TauTo2MesonAnalysis & operator=(const TauTo2MesonAnalysis &); 00117 00118 private: 00119 00128 HistogramPtr _m2pipiBELLE,_mpipiCLEO; 00129 00133 HistogramPtr _m2KpiA,_m2KpiB,_mKpiA,_mKpiB,_m2KpiC,_m2KpiD; 00134 00138 HistogramPtr _m2Keta,_mKeta; 00139 00143 HistogramPtr _m2KK,_mKK; 00145 00146 }; 00147 00148 } 00149 00150 #include "ThePEG/Utilities/ClassTraits.h" 00151 00152 namespace ThePEG { 00153 00158 template <> 00159 struct BaseClassTrait<Herwig::TauTo2MesonAnalysis,1> { 00161 typedef AnalysisHandler NthBase; 00162 }; 00163 00166 template <> 00167 struct ClassTraits<Herwig::TauTo2MesonAnalysis> 00168 : public ClassTraitsBase<Herwig::TauTo2MesonAnalysis> { 00170 static string className() { return "Herwig::TauTo2MesonAnalysis"; } 00178 static string library() { return "HwTauAnalysis.so"; } 00179 }; 00180 00183 } 00184 00185 #endif /* HERWIG_TauTo2MesonAnalysis_H */