BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/MdcTunningSvc/include/MdcTunningSvc/IMdcTunningSvc.h
Go to the documentation of this file.
1#ifndef IMDCTUNNINGSVC_H_
2#define IMDCTUNNINGSVC_H_
3
4#include "BesMdcRes.hh"
5#include "GaudiKernel/IInterface.h"
6#include "GaudiKernel/Kernel.h"
7#include <string>
8/* Declaration of the interface ID */
9// static const InterfaceID IID_IMdcTunningSvc("IMdcTunningSvc",1,0);
10
11class GAUDI_API IMdcTunningSvc : virtual public IInterface {
12public:
13 // static const InterfaceID& interfaceID() { return IID_IMdcTunningSvc; }
15 // huangb add
16 virtual bool setMcEff( std::string eff_con ) = 0;
17 virtual bool setMcRes() = 0;
18 // bool setMcRes2();
19 virtual bool setMcRes2( std::string res_con ) = 0;
20 virtual bool setMcRes3( std::string res_con ) = 0;
21 virtual StatusCode getMdcTuningTableInfo() = 0;
22
23 virtual BesMdcRes* getMdcRes() = 0;
24 virtual void setMdcRes( std::string path ) = 0;
25 virtual double NewSig( int layerId, double driftD ) = 0;
26 virtual double DeldriftD( int layerId, double driftD ) = 0;
27 virtual double Delcostta( int layerId, double costta ) = 0;
28 virtual double GetEff( int layerId, int cellId, double driftD, double cosTheta,
29 int posFlag ) = 0;
30 virtual double GetRes( int layerId, int cellId, double driftD, double cosTheta, int posFlag,
31 double entranceAngle, double& mean, double& sigma ) = 0;
32 virtual double GetRes2( int layerId, int cellId, double driftD, double cosTheta, int posFlag,
33 double entranceAngle, double& f, double& mean1, double& sigma1,
34 double& mean2, double& sigma2 ) = 0;
35 virtual double GetRes3( int layerId, int cellId, double driftD, double cosTheta, int posFlag,
36 double entranceAngle, double& f, double& mean1, double& sigma1,
37 double& mean2, double& sigma2, double& ResLargest,
38 double& ResSmallest, double& ResRatio ) = 0;
39 virtual double ResvEntr( int layerId, double enterA, int ilr, double driftD ) = 0;
40 virtual double DelEtr_Sig( int lay, double enterA, int ilr, double driftD ) = 0;
41
42 virtual double get_docaEff( int i, int j ) = 0;
43 virtual double get_thetaEff( int i, int j ) = 0;
44 virtual double get_cellEff( int i, int j ) = 0;
45};
46
47#endif
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")
virtual BesMdcRes * getMdcRes()=0
virtual StatusCode getMdcTuningTableInfo()=0
virtual bool setMcEff(std::string eff_con)=0
virtual double get_docaEff(int i, int j)=0
virtual double NewSig(int layerId, double driftD)=0
virtual double get_thetaEff(int i, int j)=0
virtual double DelEtr_Sig(int lay, double enterA, int ilr, double driftD)=0
virtual double get_cellEff(int i, int j)=0
virtual double GetRes(int layerId, int cellId, double driftD, double cosTheta, int posFlag, double entranceAngle, double &mean, double &sigma)=0
virtual double GetRes2(int layerId, int cellId, double driftD, double cosTheta, int posFlag, double entranceAngle, double &f, double &mean1, double &sigma1, double &mean2, double &sigma2)=0
virtual double GetEff(int layerId, int cellId, double driftD, double cosTheta, int posFlag)=0
virtual double DeldriftD(int layerId, double driftD)=0
virtual double GetRes3(int layerId, int cellId, double driftD, double cosTheta, int posFlag, double entranceAngle, double &f, double &mean1, double &sigma1, double &mean2, double &sigma2, double &ResLargest, double &ResSmallest, double &ResRatio)=0
virtual bool setMcRes()=0
virtual bool setMcRes3(std::string res_con)=0
DeclareInterfaceID(IMdcTunningSvc, 1, 0)
virtual void setMdcRes(std::string path)=0
virtual bool setMcRes2(std::string res_con)=0
virtual double Delcostta(int layerId, double costta)=0
virtual double ResvEntr(int layerId, double enterA, int ilr, double driftD)=0