00001 #ifndef LOCAL_KAON_SELECTOR_H 00002 #define LOCAL_KAON_SELECTOR_H 00003 00004 #include "BesDChain/CDChargedKaon.h" 00005 #include "DecayChain/Function/DCSelectionFunction.h" 00006 00007 class LocalKaonSelector : public DCSelectionFunction<CDChargedKaon> 00008 { 00009 public : 00010 00011 LocalKaonSelector(); 00012 00013 00014 bool operator() (CDChargedKaon& aKaon); 00015 void setpidtype(int type){m_pidtype=type;} 00016 00017 private : 00018 00019 LocalKaonSelector( const LocalKaonSelector& ); 00020 const LocalKaonSelector& operator= ( const LocalKaonSelector& ); 00021 00022 int m_pidtype; 00023 00024 double m_VrCut; 00025 double m_VzCut; 00026 double m_CosThetaCut; 00027 00028 bool m_useSimplePID; 00029 bool m_useDedx; 00030 bool m_useTof1; 00031 bool m_useTof2; 00032 bool m_useTofE; 00033 bool m_useTofQ; 00034 bool m_useEmc; 00035 bool m_useMuc; 00036 00037 bool m_probability; 00038 double m_PidProbCut; 00039 bool m_rejectPion; 00040 bool m_rejectProton; 00041 00042 bool m_likelihood; 00043 bool m_neuronNetwork; 00044 std::vector<double> m_neuronValCut; 00045 00046 }; 00047 00048 extern LocalKaonSelector kaonSelector; 00049 00050 #endif