CalibMuon
CSCCalibration
interface
CSCFakePedestalsConditions.h
Go to the documentation of this file.
1
#ifndef _CSCFAKEPEDESTALSCONDITIONS_H
2
#define _CSCFAKEPEDESTALSCONDITIONS_H
3
4
#include "
FWCore/Framework/interface/ESHandle.h
"
5
#include "
FWCore/Framework/interface/ESProducer.h
"
6
#include "
FWCore/Framework/interface/Event.h
"
7
#include "
FWCore/Framework/interface/EventSetup.h
"
8
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
9
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
10
#include "
FWCore/Framework/interface/MakerMacros.h
"
11
#include "
FWCore/Framework/interface/SourceFactory.h
"
12
#include <memory>
13
14
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
15
16
#include "
CondFormats/CSCObjects/interface/CSCPedestals.h
"
17
#include "
CondFormats/DataRecord/interface/CSCPedestalsRcd.h
"
18
#include <
DataFormats/MuonDetId/interface/CSCDetId.h
>
19
20
class
CSCFakePedestalsConditions
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
21
public
:
22
CSCFakePedestalsConditions
(
const
edm::ParameterSet
&);
23
~CSCFakePedestalsConditions
()
override
;
24
25
float
meanped
,
meanrms
;
26
int
seed
;
27
long
int
M
;
28
29
CSCPedestals
*
prefillPedestals
();
30
31
typedef
std::unique_ptr<CSCPedestals>
ReturnType
;
32
33
ReturnType
producePedestals
(
const
CSCPedestalsRcd
&);
34
35
private
:
36
// ----------member data ---------------------------
37
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
38
const
edm::IOVSyncValue
&,
39
edm::ValidityInterval
&)
override
;
40
};
41
42
#endif
CSCFakePedestalsConditions::CSCFakePedestalsConditions
CSCFakePedestalsConditions(const edm::ParameterSet &)
Definition:
CSCFakePedestalsConditions.cc:72
CSCFakePedestalsConditions
Definition:
CSCFakePedestalsConditions.h:20
CSCFakePedestalsConditions::ReturnType
std::unique_ptr< CSCPedestals > ReturnType
Definition:
CSCFakePedestalsConditions.h:31
ESHandle.h
CSCPedestals
Definition:
CSCPedestals.h:10
CSCFakePedestalsConditions::producePedestals
ReturnType producePedestals(const CSCPedestalsRcd &)
Definition:
CSCFakePedestalsConditions.cc:90
CSCFakePedestalsConditions::M
long int M
Definition:
CSCFakePedestalsConditions.h:27
CSCFakePedestalsConditions::prefillPedestals
CSCPedestals * prefillPedestals()
Definition:
CSCFakePedestalsConditions.cc:4
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
CSCPedestalsRcd.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CSCDetId.h
CSCFakePedestalsConditions::meanped
float meanped
Definition:
CSCFakePedestalsConditions.h:25
CSCPedestalsRcd
Definition:
CSCPedestalsRcd.h:5
MakerMacros.h
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
SourceFactory.h
CSCPedestals.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
Frameworkfwd.h
CSCFakePedestalsConditions::seed
int seed
Definition:
CSCFakePedestalsConditions.h:26
CSCFakePedestalsConditions::~CSCFakePedestalsConditions
~CSCFakePedestalsConditions() override
Definition:
CSCFakePedestalsConditions.cc:80
EventSetup.h
CSCFakePedestalsConditions::meanrms
float meanrms
Definition:
CSCFakePedestalsConditions.h:25
edm::ESProducer
Definition:
ESProducer.h:101
ParameterSet.h
CSCFakePedestalsConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
CSCFakePedestalsConditions.cc:94
Generated for CMSSW Reference Manual by
1.8.16