1#ifndef SIMPLE_PID_SVC_H
2#define SIMPLE_PID_SVC_H
4#include "GaudiKernel/Service.h"
18 SimplePIDSvc(
const std::string& name, ISvcLocator* svcLoc);
23 virtual StatusCode
queryInterface(
const InterfaceID& riid,
void** ppvIF);
45 inline double getChi2(
int i){
return pow(m_dedxchi[i],2)+pow(m_tofchi[i],2);}
58 vector<double> m_datatof;
59 vector<double> m_mctof;
69 double m_tofscale1[5];
70 double m_tofscale2[5];
84 IDataProviderSvc* eventSvc_;
NTuple::Item< double > m_p
void settofminchi(double x)
bool iselectron(bool eop=false)
void preparePID(EvtRecTrack *track)
void setdedxminchi(double x)
virtual StatusCode initialize()
virtual StatusCode finalize()
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvIF)