CalibMuon
DTCalibration
plugins
DTFakeT0ESProducer.h
Go to the documentation of this file.
1
#ifndef _DTFAKET0_H
2
#define _DTFAKET0_H
3
4
/*
5
* See header file for a description of this class.
6
*
7
* \author S. Bolognesi - INFN Torino
8
*/
9
10
// system include files
11
#include <memory>
12
13
// user include files
14
#include "
FWCore/Framework/interface/SourceFactory.h
"
15
16
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
17
#include "
FWCore/Framework/interface/ESProducer.h
"
18
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
19
20
#include "
FWCore/Framework/interface/Event.h
"
21
#include "
FWCore/Framework/interface/MakerMacros.h
"
22
23
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
24
//#include <pair>
25
#include <map>
26
27
class
DTT0
;
28
class
DTT0Rcd
;
29
class
DTLayerId
;
30
31
class
DTFakeT0ESProducer
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
32
public
:
33
DTFakeT0ESProducer
(
const
edm::ParameterSet
&
pset
);
34
35
~DTFakeT0ESProducer
()
override
;
36
37
std::unique_ptr<DTT0>
produce
(
const
DTT0Rcd
& iRecord);
38
39
private
:
40
void
parseDDD
(
const
DTT0Rcd
& iRecord);
41
42
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
43
const
edm::IOVSyncValue
&,
44
edm::ValidityInterval
& oValidity)
override
;
45
46
std::map<DTLayerId, std::pair<unsigned int, unsigned int> >
theLayerIdWiresMap
;
47
48
//t0 mean and sigma values read from cfg
49
double
t0Mean
;
50
double
t0Sigma
;
51
};
52
#endif
DTFakeT0ESProducer
Definition:
DTFakeT0ESProducer.h:31
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
DTFakeT0ESProducer::parseDDD
void parseDDD(const DTT0Rcd &iRecord)
Definition:
DTFakeT0ESProducer.cc:61
DTT0Rcd
Definition:
DTT0Rcd.h:9
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
DTFakeT0ESProducer::theLayerIdWiresMap
std::map< DTLayerId, std::pair< unsigned int, unsigned int > > theLayerIdWiresMap
Definition:
DTFakeT0ESProducer.h:46
MakerMacros.h
DTFakeT0ESProducer::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &oValidity) override
Definition:
DTFakeT0ESProducer.cc:71
DTFakeT0ESProducer::DTFakeT0ESProducer
DTFakeT0ESProducer(const edm::ParameterSet &pset)
Definition:
DTFakeT0ESProducer.cc:28
DTFakeT0ESProducer::t0Sigma
double t0Sigma
Definition:
DTFakeT0ESProducer.h:50
DTLayerId
Definition:
DTLayerId.h:12
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
SourceFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
DTFakeT0ESProducer::~DTFakeT0ESProducer
~DTFakeT0ESProducer() override
Definition:
DTFakeT0ESProducer.cc:39
DTFakeT0ESProducer::produce
std::unique_ptr< DTT0 > produce(const DTT0Rcd &iRecord)
Definition:
DTFakeT0ESProducer.cc:42
Frameworkfwd.h
DTT0
Definition:
DTT0.h:48
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
DTFakeT0ESProducer::t0Mean
double t0Mean
Definition:
DTFakeT0ESProducer.h:49
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16