BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
IMdcHvDropSvc.h
Go to the documentation of this file.
1/**
2 * @file IMdcHvDropSvc.h
3 * @author your name ([email protected])
4 * @brief
5 * @version 0.1
6 * @date 2022-01-19
7 *
8 */
9#ifndef IMDCHVDROPSVC_H_
10#define IMDCHVDROPSVC_H_
11
12#include "GaudiKernel/IInterface.h"
13#include "GaudiKernel/Kernel.h"
14#include <string>
15#include "CLHEP/Matrix/Vector.h"
16using CLHEP::HepVector;
17
18/* Declaration of the interface ID */
19static const InterfaceID IID_IMdcHvDropSvc("IMdcHvDropSvc",1,0);
20
21class IMdcHvDropSvc: virtual public IInterface{
22public:
23 static const InterfaceID& interfaceID() { return IID_IMdcHvDropSvc; }
24
25 //virtual void SetBossRelease(const std::string& _bossrelease)=0;
26 //virtual std::string GetBossRelease() const=0;
27//
28 //virtual bool getMdcHvDropSvcInfo()=0;
29 //virtual std::string getPi0CalibFile() const = 0;
30 //virtual std::string getSingleGammaCalibFile() const = 0;
31 //virtual unsigned int getRunFrom() const =0 ;
32 //virtual unsigned int getRunTo() const =0;
33
34 virtual double queryRelativeHvDrop()=0;// get avg relative HV drop for this event
35 virtual void setRelativeHvDropThreshold(double threshold)=0; // by default 0.007
36 virtual bool queryIsHvDrop()=0; // checks if this event is in HV drop by comparing with threshold
37 // virtual bool queryIsHvValid()=0; // checks if we are having hv here.
38};
39
40#endif /* ISHENCALIBSVC_H_ */
virtual bool queryIsHvDrop()=0
virtual double queryRelativeHvDrop()=0
virtual void setRelativeHvDropThreshold(double threshold)=0
static const InterfaceID & interfaceID()