File indexing completed on 2024-04-06 12:02:45
0001 #ifndef DTHVCheckByAbsoluteValues_H
0002 #define DTHVCheckByAbsoluteValues_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #include "CondTools/DT/interface/DTHVAbstractCheck.h"
0018
0019
0020
0021
0022 namespace edm {
0023
0024
0025 class ParameterSet;
0026 class ActivityRegistry;
0027 }
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037 namespace cond {
0038 namespace service {
0039 class DTHVCheckByAbsoluteValues : public DTHVAbstractCheck {
0040 public:
0041
0042
0043 DTHVCheckByAbsoluteValues();
0044 DTHVCheckByAbsoluteValues(const edm::ParameterSet& iConfig, edm::ActivityRegistry& iAR);
0045
0046
0047
0048 ~DTHVCheckByAbsoluteValues() override;
0049
0050
0051
0052
0053
0054 DTHVAbstractCheck::flag checkCurrentStatus(int rawId,
0055 int type,
0056 float valueA,
0057 float valueC,
0058 float valueS,
0059 const std::map<int, timedMeasurement>& snapshotValues,
0060 const std::map<int, int>& aliasMap,
0061 const std::map<int, int>& layerMap) override;
0062
0063 private:
0064 float* minHV;
0065 float* maxHV;
0066 float maxCurrent;
0067 };
0068
0069 }
0070 }
0071
0072 #endif