BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
ISimplePIDSvc.h
Go to the documentation of this file.
1#ifndef ISIMPLE_PID_SVC_H
2#define ISIMPLE_PID_SVC_H
3
4#include "GaudiKernel/IService.h"
6
7/* Decaration of the interface ID */
8static const InterfaceID IID_ISimplePIDSvc("ISimplePIDSvc", 1, 0);
9
10class EvtRecDTag;
11
12class ISimplePIDSvc : virtual public IService
13{
14 public :
15 virtual ~ISimplePIDSvc() {}
16
17 static const InterfaceID& interfaceID() { return IID_ISimplePIDSvc; }
18
19 virtual void setdedxminchi(double x) = 0;
20 virtual void settofminchi(double x) = 0;
21 virtual void preparePID(EvtRecTrack* track) = 0;
22 virtual bool iselectron(bool eop=false) = 0;
23 virtual bool ispion() = 0;
24 virtual bool iskaon() = 0;
25 virtual double probElectron() = 0;
26 virtual double probMuon() = 0;
27 virtual double probPion() = 0;
28 virtual double probKaon() = 0;
29 virtual double probProton() = 0;
30 virtual double getdEdxChi(int i) = 0;
31 virtual double getTOFChi(int i) = 0;
32 virtual double getChi2(int i) = 0;
33
34};
35
36#endif
virtual double getdEdxChi(int i)=0
virtual void setdedxminchi(double x)=0
virtual double probKaon()=0
virtual double getTOFChi(int i)=0
virtual void settofminchi(double x)=0
static const InterfaceID & interfaceID()
Definition: ISimplePIDSvc.h:17
virtual double probMuon()=0
virtual ~ISimplePIDSvc()
Definition: ISimplePIDSvc.h:15
virtual bool ispion()=0
virtual void preparePID(EvtRecTrack *track)=0
virtual bool iskaon()=0
virtual double probPion()=0
virtual double getChi2(int i)=0
virtual double probElectron()=0
virtual double probProton()=0
virtual bool iselectron(bool eop=false)=0