Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:45

0001 #ifndef DTHVCheckByAbsoluteValues_H
0002 #define DTHVCheckByAbsoluteValues_H
0003 /** \class DTHVCheckByAbsoluteValues
0004  *
0005  *  Description: 
0006  *
0007  *
0008  *  $Date: 2010/04/02 14:10:27 $
0009  *  $Revision: 1.2 $
0010  *  \author Paolo Ronchese INFN Padova
0011  *
0012  */
0013 
0014 //----------------------
0015 // Base Class Headers --
0016 //----------------------
0017 #include "CondTools/DT/interface/DTHVAbstractCheck.h"
0018 
0019 //------------------------------------
0020 // Collaborating Class Declarations --
0021 //------------------------------------
0022 namespace edm {
0023   //  class Event;
0024   //  class EventSetup;
0025   class ParameterSet;
0026   class ActivityRegistry;
0027 }  // namespace edm
0028 
0029 //---------------
0030 // C++ Headers --
0031 //---------------
0032 
0033 //              ---------------------
0034 //              -- Class Interface --
0035 //              ---------------------
0036 
0037 namespace cond {
0038   namespace service {
0039     class DTHVCheckByAbsoluteValues : public DTHVAbstractCheck {
0040     public:
0041       /** Constructor
0042    */
0043       DTHVCheckByAbsoluteValues();
0044       DTHVCheckByAbsoluteValues(const edm::ParameterSet& iConfig, edm::ActivityRegistry& iAR);
0045 
0046       /** Destructor
0047    */
0048       ~DTHVCheckByAbsoluteValues() override;
0049 
0050       /** Operations
0051    */
0052       /// check HV status
0053       //  virtual int checkCurrentStatus(
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   }  // namespace service
0070 }  // namespace cond
0071 
0072 #endif  // DTHVCheckByAbsoluteValues_H