/search.css" rel="stylesheet" type="text/css"/> /search.js">
00001 /* 00002 * IDetCalibSvc.h 00003 * 00004 * Interface for Calibration data, at the detector level (as oppposed to the PMT/channel or RPC levels) 00005 * 00006 * Created by J. Pedro Ochoa on 2011/09/20 00007 */ 00008 00009 #ifndef DATASVC_IDETCALIBSVC_H 00010 #define DATASVC_IDETCALIBSVC_H 00011 00012 #include "GaudiKernel/IInterface.h" 00013 00014 namespace DayaBay{ 00015 00016 //Energy recon data for one detector 00017 class DetEnergyReconData { 00018 public: 00019 DetEnergyReconData(){m_PeEvis=0.; m_PeEvisUnc=0.;} 00020 ~DetEnergyReconData(){;} 00021 00022 public: 00023 float m_PeEvis; // PEs to MeV 00024 float m_PeEvisUnc; // Error in PEs to MeV number 00025 }; 00026 00027 00028 }//namespace DayaBay 00029 00030 00031 class ServiceMode; 00032 00033 //Declaration of the interface ID 00034 static const InterfaceID IID_IDetCalibSvc("IDetCalibSvc",1,0); 00035 00036 class IDetCalibSvc: virtual public IInterface 00037 { 00038 public: 00039 // Retrieve interface ID 00040 static const InterfaceID& interfaceID(){ 00041 return IID_IDetCalibSvc; 00042 } 00043 virtual ~IDetCalibSvc(){} 00044 00045 //Return the Energy Recon calibration data 00046 virtual const DayaBay::DetEnergyReconData* detEnergyReconData( 00047 const ServiceMode& svcMode)=0; 00048 00049 00050 }; 00051 00052 #endif // IDETCALIBSVC_H