Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
();
24
25
float
meanped
,
meanrms
;
26
int
seed
;
long
int
M
;
27
28
void
prefillPedestals
();
29
30
typedef
const
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
& );
37
CSCPedestals
*
cnpedestals
;
38
};
39
40
#endif
CSCFakePedestalsConditions::CSCFakePedestalsConditions
CSCFakePedestalsConditions(const edm::ParameterSet &)
Definition:
CSCFakePedestalsConditions.cc:59
CSCFakePedestalsConditions::M
long int M
Definition:
CSCFakePedestalsConditions.h:26
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CSCDetId.h
Event.h
MakerMacros.h
EventSetup.h
CSCPedestals
Definition:
CSCPedestals.h:8
CSCFakePedestalsConditions::producePedestals
ReturnType producePedestals(const CSCPedestalsRcd &)
Definition:
CSCFakePedestalsConditions.cc:85
CSCPedestals.h
CSCFakePedestalsConditions::prefillPedestals
void prefillPedestals()
Definition:
CSCFakePedestalsConditions.cc:4
Frameworkfwd.h
CSCPedestalsRcd.h
edm::ESProducer
Definition:
ESProducer.h:97
ParameterSet.h
CSCFakePedestalsConditions::meanrms
float meanrms
Definition:
CSCFakePedestalsConditions.h:25
CSCFakePedestalsConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
Definition:
CSCFakePedestalsConditions.cc:90
CSCPedestalsRcd
Definition:
CSCPedestalsRcd.h:5
ESHandle.h
CSCFakePedestalsConditions::~CSCFakePedestalsConditions
~CSCFakePedestalsConditions()
Definition:
CSCFakePedestalsConditions.cc:70
CSCFakePedestalsConditions::meanped
float meanped
Definition:
CSCFakePedestalsConditions.h:25
CSCFakePedestalsConditions::ReturnType
const CSCPedestals * ReturnType
Definition:
CSCFakePedestalsConditions.h:30
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:34
CSCFakePedestalsConditions::cnpedestals
CSCPedestals * cnpedestals
Definition:
CSCFakePedestalsConditions.h:37
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:31
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.5