00001 //-------------------------------------------------------------------------- 00002 // Environment: 00003 // This software was developed for the BESIII collaboration. If you 00004 // use all or part of it, please give an appropriate acknowledgement. 00005 // 00006 // Author List: 00007 // ChunXiu Liu IHEP 00008 // 00009 //------------------------------------------------------------------------ 00010 00011 #ifndef BHABHATYPE_H 00012 #define BHABHATYPE_H 00013 00014 #include "CLHEP/Vector/LorentzVector.h" 00015 #include "CLHEP/Vector/ThreeVector.h" 00016 #include <list> 00017 #include <iostream> 00018 using namespace std; 00019 using CLHEP::Hep3Vector; 00020 00021 00022 // --------------------- 00023 // -- Class Interface -- 00024 // --------------------- 00025 00034 class BhabhaType 00035 { 00036 public: 00037 00038 enum Selection{Nothing = 0, 00039 OneProng=1, 00040 TwoProngMatched=2, 00041 TwoProngOneMatched=3}; 00042 00043 // Constructor, puts a list of the two particles in the event 00044 BhabhaType( ); 00045 00046 ~BhabhaType( ); 00047 00048 void setSelectedType( int selectedType) 00049 { 00050 m_selectedType = selectedType; 00051 } 00052 00053 int selectedType() const 00054 { 00055 return m_selectedType; 00056 } 00057 00058 00059 // print out event information 00060 // void print(); 00061 00062 private: 00063 00064 int m_selectedType ; 00065 00066 }; 00067 00068 #endif //BHABHATYPE_H 00069