1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#ifndef CalibTracker_RPCCalibration_RPCPerformanceESSource_H
#define CalibTracker_RPCCalibration_RPCPerformanceESSource_H
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/ESProducer.h"
#include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include <memory>
class RPCStripNoises;
class RPCStripNoisesRcd;
/**
@class RPCPerformanceESSource
@brief Pure virtual class for EventSetup sources of RPCStripNoises.
@author R. Trentadue
*/
class RPCPerformanceESSource : public edm::ESProducer, public edm::EventSetupRecordIntervalFinder {
public:
RPCPerformanceESSource(const edm::ParameterSet &);
~RPCPerformanceESSource() override { ; }
std::unique_ptr<RPCStripNoises> produce(const RPCStripNoisesRcd &);
// protected:
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &,
const edm::IOVSyncValue &,
edm::ValidityInterval &) override;
// private:
RPCPerformanceESSource(const RPCPerformanceESSource &);
const RPCPerformanceESSource &operator=(const RPCPerformanceESSource &);
virtual RPCStripNoises *makeNoise() = 0;
};
#endif // CalibTracker_RPCCalibration_RPCPerformanceESSource_H
|