Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:51

0001 #ifndef ECAL_LASER_HANDLER_H
0002 #define ECAL_LASER_HANDLER_H
0003 
0004 #include <vector>
0005 #include <typeinfo>
0006 #include <string>
0007 #include <map>
0008 #include <iostream>
0009 #include <ctime>
0010 
0011 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
0012 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
0013 
0014 #include "FWCore/ServiceRegistry/interface/Service.h"
0015 #include "CondCore/DBOutputService/interface/PoolDBOutputService.h"
0016 #include "FWCore/Framework/interface/ESHandle.h"
0017 #include "FWCore/Framework/interface/Event.h"
0018 #include "FWCore/Framework/interface/MakerMacros.h"
0019 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0020 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0021 #include "DataFormats/Common/interface/Handle.h"
0022 #include "FWCore/Framework/interface/EventSetup.h"
0023 #include "FWCore/Framework/interface/EventSetupRecordKey.h"
0024 
0025 #include "CondFormats/EcalObjects/interface/EcalTPGLinearizationConst.h"
0026 #include "CondFormats/DataRecord/interface/EcalTPGLinearizationConstRcd.h"
0027 
0028 #include "OnlineDB/EcalCondDB/interface/all_monitoring_types.h"
0029 #include "OnlineDB/EcalCondDB/interface/all_lmf_types.h"
0030 
0031 #include "OnlineDB/Oracle/interface/Oracle.h"
0032 #include "OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h"
0033 
0034 #include "DataFormats/EcalDetId/interface/EEDetId.h"
0035 #include "DataFormats/EcalDetId/interface/EBDetId.h"
0036 #include "DataFormats/Provenance/interface/Timestamp.h"
0037 
0038 namespace edm {
0039   class ParameterSet;
0040   class Event;
0041   class EventSetup;
0042 }  // namespace edm
0043 
0044 namespace popcon {
0045   class EcalLaser_weekly_Linearization_Check : public popcon::PopConSourceHandler<EcalTPGLinearizationConst> {
0046   public:
0047     void getNewObjects() override;
0048     ~EcalLaser_weekly_Linearization_Check() override;
0049     EcalLaser_weekly_Linearization_Check(edm::ParameterSet const&);
0050 
0051     std::string id() const override { return m_name; }
0052 
0053   private:
0054     enum { kEBChannels = 61200, kEEChannels = 14648, kGains = 3 };
0055     //    const EcalLaserAPDPNRatios * myapdpns;
0056     std::string m_name;
0057   };
0058 }  // namespace popcon
0059 #endif