Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-16 03:23:37

0001 #ifndef ECALPFRECHITTHRESHOLDSMAKER_H
0002 #define ECALPFRECHITTHRESHOLDSMAKER_H
0003 
0004 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0005 #include "CondCore/CondDB/interface/Exception.h"
0006 
0007 #include "FWCore/Framework/interface/IOVSyncValue.h"
0008 #include "CondFormats/EcalObjects/interface/EcalPedestals.h"
0009 #include "CondFormats/EcalObjects/interface/EcalIntercalibConstants.h"
0010 #include <string>
0011 
0012 namespace edm {
0013   class ParameterSet;
0014   class Event;
0015   class EventSetup;
0016 }  // namespace edm
0017 
0018 class EcalPedestalsRcd;
0019 class EcalADCToGeVConstant;
0020 class EcalADCToGeVConstantRcd;
0021 class EcalIntercalibConstantsRcd;
0022 class EcalLaserDbService;
0023 class EcalLaserDbRecord;
0024 class EcalPFRecHitThresholdsMaker : public edm::one::EDAnalyzer<> {
0025 public:
0026   explicit EcalPFRecHitThresholdsMaker(const edm::ParameterSet& iConfig);
0027   ~EcalPFRecHitThresholdsMaker() override;
0028 
0029   void analyze(const edm::Event& evt, const edm::EventSetup& evtSetup) override;
0030 
0031 private:
0032   std::string m_timetype;
0033   double m_nsigma;
0034   edm::ESGetToken<EcalPedestals, EcalPedestalsRcd> ecalPedestalsToken_;
0035   edm::ESGetToken<EcalADCToGeVConstant, EcalADCToGeVConstantRcd> ecalADCToGeVConstantToken_;
0036   edm::ESGetToken<EcalIntercalibConstants, EcalIntercalibConstantsRcd> ecalIntercalibConstantsToken_;
0037   edm::ESGetToken<EcalLaserDbService, EcalLaserDbRecord> ecalLaserDbServiceToken_;
0038 };
0039 
0040 #endif