/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Analysis/ParticleID/ParticleID-00-04-61/ParticleID/TofQPID.h

Go to the documentation of this file.
00001 #ifndef ParticleID_TofQPID_H
00002 #define ParticleID_TofQPID_H
00003 //
00004 // TofQPID package: particle Identification with Barrel TOF Q value
00005 //
00006 //
00007 // In 1st version, nothing is done since the Q0 calibarions are not done
00008 // Author: K.L. He     date: 11/12/2005, created
00009 //
00010 
00011 #include "ParticleID/ParticleIDBase.h"
00012 
00013 class TofQPID : public ParticleIDBase {
00014 
00015  public:
00016   static TofQPID *instance();
00017   ~TofQPID(){;} 
00018 
00019   void init();
00020   void calculate();
00021   bool IsPidInfoValid() const {return (m_ndof > 0);}
00022   double chi(int n) const {return m_chi[n];}
00023   double prob(int n) const {return m_prob[n];}
00024   int ndof() const {return m_ndof;}
00025   double hitstatus() const {return m_hitstatus;}
00026 //  int q1() const{return m_q1;}
00027 //  int q2() const{return m_q2;}
00028   int neuronPID() const {return -1;}
00029 
00030  protected:
00031 
00032   int neuronPIDCalculation() { return -1;}
00033   int particleIDCalculation();
00034   int LikelihoodCalculation() {return -1;}
00035 
00036  private:
00037   double m_chi[5];
00038   double m_prob[5];
00039   double m_chimin;
00040   int m_ndof;
00041   double m_hitstatus; 
00042 //  int m_q1;
00043 //  int m_q2;
00044 
00045  private:
00046   TofQPID();
00047   static TofQPID *m_pointer;
00048 };
00049 
00050 #endif

Generated on Tue Nov 29 22:57:34 2016 for BOSS_7.0.2 by  doxygen 1.4.7