1#ifndef ParticleID_TofCPID_H
2#define ParticleID_TofCPID_H
11#include "ParticleID/ParticleIDBase.h"
22 double chi(
int n)
const {
return m_chi[
n];}
23 double prob(
int n)
const {
return m_prob[
n];}
24 double sigma(
int n)
const{
return m_sigma[
n];}
25 double offset(
int n)
const{
return m_offset[
n];}
26 int ndof()
const {
return m_ndof;}
27 double mass2()
const {
return m_mass2;}
28 double phc()
const {
return m_phc;}
29 double zhitc()
const {
return m_zhitc;}
30 double pathc()
const{
return m_pathc;}
31 double tofc()
const{
return m_tofc;}
43double sigmaTofC(
int n,
double ptrk,
double cost);
46 double mypol3(
double x,
double par0,
double par1,
double par2,
double par3);
47 double mypol5(
double x,
double par0,
double par1,
double par2,
double par3,
double par4,
double par5);
63 double m_momentpara[5][12];
64 double m_thetapara[5][8];
65 double m_endcappara[5][4];
bool IsPidInfoValid() const
int particleIDCalculation()
double mypol3(double x, double par0, double par1, double par2, double par3)
int neuronPIDCalculation()
double sigma(int n) const
double sampleQ0(double betagamma, double beta)
double mypol5(double x, double par0, double par1, double par2, double par3, double par4, double par5)
static TofCPID * instance()
double offsetTofC(int n, double ptrk, double cost)
int LikelihoodCalculation()
double offset(int n) const
double sigmaTofC(int n, double ptrk, double cost)