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 "
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::M
long int M
Definition:
CSCFakePedestalsConditions.h:27
CSCFakePedestalsConditions::ReturnType
std::unique_ptr< CSCPedestals > ReturnType
Definition:
CSCFakePedestalsConditions.h:31
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:90
CSCPedestals.h
Frameworkfwd.h
CSCPedestalsRcd.h
edm::ESProducer
Definition:
ESProducer.h:99
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:80
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:94
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.11