Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CalibMuon
CSCCalibration
interface
CSCFakeGainsConditions.h
Go to the documentation of this file.
1
#ifndef _CSCFAKEGAINSCONDITIONS_H
2
#define _CSCFAKEGAINSCONDITIONS_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/CSCGains.h
"
17
#include "
CondFormats/DataRecord/interface/CSCGainsRcd.h
"
18
#include <
DataFormats/MuonDetId/interface/CSCDetId.h
>
19
20
class
CSCFakeGainsConditions
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
21
public
:
22
CSCFakeGainsConditions
(
const
edm::ParameterSet
&);
23
~CSCFakeGainsConditions
();
24
25
float
mean
,
min
,
minchi
;
26
int
seed
;
long
int
M
;
27
28
void
prefillGains
();
29
30
typedef
const
CSCGains
*
ReturnType
;
31
32
ReturnType
produceGains
(
const
CSCGainsRcd
&);
33
34
private
:
35
// ----------member data ---------------------------
36
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
const
edm::IOVSyncValue
&,
edm::ValidityInterval
& );
37
CSCGains
*
cngains
;
38
39
};
40
41
#endif
CSCFakeGainsConditions::produceGains
ReturnType produceGains(const CSCGainsRcd &)
Definition:
CSCFakeGainsConditions.cc:90
CSCFakeGainsConditions::seed
int seed
Definition:
CSCFakeGainsConditions.h:26
CSCGains
Definition:
CSCGains.h:8
CSCFakeGainsConditions::cngains
CSCGains * cngains
Definition:
CSCFakeGainsConditions.h:37
CSCFakeGainsConditions::mean
float mean
Definition:
CSCFakeGainsConditions.h:25
edm::ValidityInterval
Definition:
ValidityInterval.h:28
CSCFakeGainsConditions::minchi
float minchi
Definition:
CSCFakeGainsConditions.h:25
CSCDetId.h
CSCGainsRcd
Definition:
CSCGainsRcd.h:5
CSCGainsRcd.h
Event.h
MakerMacros.h
EventSetup.h
CSCFakeGainsConditions::ReturnType
const CSCGains * ReturnType
Definition:
CSCFakeGainsConditions.h:30
CSCFakeGainsConditions::~CSCFakeGainsConditions
~CSCFakeGainsConditions()
Definition:
CSCFakeGainsConditions.cc:75
CSCFakeGainsConditions::min
float min
Definition:
CSCFakeGainsConditions.h:25
Frameworkfwd.h
edm::ESProducer
Definition:
ESProducer.h:97
ParameterSet.h
ESHandle.h
CSCFakeGainsConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
Definition:
CSCFakeGainsConditions.cc:95
CSCFakeGainsConditions::CSCFakeGainsConditions
CSCFakeGainsConditions(const edm::ParameterSet &)
Definition:
CSCFakeGainsConditions.cc:64
CSCFakeGainsConditions::M
long int M
Definition:
CSCFakeGainsConditions.h:26
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
ESProducer.h
CSCFakeGainsConditions::prefillGains
void prefillGains()
Definition:
CSCFakeGainsConditions.cc:4
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:34
SourceFactory.h
CSCFakeGainsConditions
Definition:
CSCFakeGainsConditions.h:20
edm::ParameterSet
Definition:
ParameterSet.h:35
CSCGains.h
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.5