Main Page
Namespaces
Classes
Package Documentation
CalibMuon
CSCCalibration
interface
CSCFakePedestalsConditions.h
Go to the documentation of this file.
1
#ifndef _CSCFAKEPEDESTALSCONDITIONS_H
2
#define _CSCFAKEPEDESTALSCONDITIONS_H
3
4
#include <memory>
5
#include "
FWCore/Framework/interface/SourceFactory.h
"
6
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
7
#include "
FWCore/Framework/interface/ESProducer.h
"
8
#include "
FWCore/Framework/interface/Event.h
"
9
#include "
FWCore/Framework/interface/MakerMacros.h
"
10
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
11
#include "
FWCore/Framework/interface/ESHandle.h
"
12
#include "
FWCore/Framework/interface/EventSetup.h
"
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
;
long
int
M
;
27
28
CSCPedestals
*
prefillPedestals
();
29
30
typedef
std::unique_ptr<CSCPedestals>
ReturnType
;
31
32
ReturnType
producePedestals
(
const
CSCPedestalsRcd
&);
33
34
private
:
35
// ----------member data ---------------------------
36
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
const
edm::IOVSyncValue
&,
edm::ValidityInterval
& )
override
;
37
};
38
39
#endif
CSCFakePedestalsConditions::CSCFakePedestalsConditions
CSCFakePedestalsConditions(const edm::ParameterSet &)
Definition:
CSCFakePedestalsConditions.cc:60
CSCFakePedestalsConditions::M
long int M
Definition:
CSCFakePedestalsConditions.h:26
CSCFakePedestalsConditions::ReturnType
std::unique_ptr< CSCPedestals > ReturnType
Definition:
CSCFakePedestalsConditions.h:30
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CSCDetId.h
Event.h
MakerMacros.h
EventSetup.h
CSCPedestals
Definition:
CSCPedestals.h:10
CSCFakePedestalsConditions::producePedestals
ReturnType producePedestals(const CSCPedestalsRcd &)
Definition:
CSCFakePedestalsConditions.cc:84
CSCPedestals.h
Frameworkfwd.h
CSCPedestalsRcd.h
edm::ESProducer
Definition:
ESProducer.h:97
ParameterSet.h
CSCFakePedestalsConditions::meanrms
float meanrms
Definition:
CSCFakePedestalsConditions.h:25
CSCPedestalsRcd
Definition:
CSCPedestalsRcd.h:5
ESHandle.h
CSCFakePedestalsConditions::prefillPedestals
CSCPedestals * prefillPedestals()
Definition:
CSCFakePedestalsConditions.cc:4
CSCFakePedestalsConditions::meanped
float meanped
Definition:
CSCFakePedestalsConditions.h:25
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
CSCFakePedestalsConditions::seed
int seed
Definition:
CSCFakePedestalsConditions.h:26
CSCFakePedestalsConditions
Definition:
CSCFakePedestalsConditions.h:20
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
CSCFakePedestalsConditions::~CSCFakePedestalsConditions
~CSCFakePedestalsConditions() override
Definition:
CSCFakePedestalsConditions.cc:70
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:36
CSCFakePedestalsConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
CSCFakePedestalsConditions.cc:89
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.11