L1TriggerConfig
DTTPGConfigProducers
src
DTConfigTrivialProducer.h
Go to the documentation of this file.
1
#ifndef DTTPGConfigProducers_DTConfigTrivialProducer_h
2
#define DTTPGConfigProducers_DTConfigTrivialProducer_h
3
4
// -*- C++ -*-
5
//
6
// Package: DTTPGConfigProducers
7
// Class: DTConfigTrivialProducer
8
//
17
//
18
// Original Author: Sara Vanini
19
// Created: March 2007
20
//
21
//
22
23
// system include files
24
#include <memory>
25
#include <vector>
26
27
// user include files
28
#include "
FWCore/Framework/interface/ESProducer.h
"
29
#include "
FWCore/Framework/interface/ModuleFactory.h
"
30
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
31
32
#include "
FWCore/Framework/interface/ESHandle.h
"
33
34
#include "
L1TriggerConfig/DTTPGConfig/interface/DTConfigManager.h
"
35
#include "
L1TriggerConfig/DTTPGConfig/interface/DTConfigManagerRcd.h
"
36
37
//
38
// class declaration
39
//
40
41
class
DTConfigTrivialProducer
:
public
edm::ESProducer
{
42
public
:
44
DTConfigTrivialProducer
(
const
edm::ParameterSet
&);
45
47
~DTConfigTrivialProducer
()
override
;
48
50
std::unique_ptr<DTConfigManager>
produce
(
const
DTConfigManagerRcd
&);
51
52
private
:
54
void
buildManager
();
55
57
DTConfigPedestals
buildTrivialPedestals
();
58
59
std::string
mapEntryName
(
const
DTChamberId
&chambid)
const
;
60
61
bool
m_debug
;
62
edm::ParameterSet
m_ps
;
63
DTConfigManager
*
m_manager
;
64
DTTPGParameters
*
m_tpgParams
;
65
};
66
67
#endif
ESHandle.h
DTConfigTrivialProducer::m_ps
edm::ParameterSet m_ps
Definition:
DTConfigTrivialProducer.h:62
ESProducer.h
DTConfigTrivialProducer::buildManager
void buildManager()
Build Config Manager.
Definition:
DTConfigTrivialProducer.cc:64
DTConfigManager.h
DTConfigTrivialProducer::buildTrivialPedestals
DTConfigPedestals buildTrivialPedestals()
Build Config Pedestals.
Definition:
DTConfigTrivialProducer.cc:178
DTConfigTrivialProducer::m_tpgParams
DTTPGParameters * m_tpgParams
Definition:
DTConfigTrivialProducer.h:64
DTConfigTrivialProducer
Definition:
DTConfigTrivialProducer.h:41
DTConfigTrivialProducer::~DTConfigTrivialProducer
~DTConfigTrivialProducer() override
destructor
Definition:
DTConfigTrivialProducer.cc:41
DTConfigManagerRcd
Definition:
DTConfigManagerRcd.h:31
edm::ParameterSet
Definition:
ParameterSet.h:47
DTTPGParameters
Definition:
DTTPGParameters.h:62
DTConfigTrivialProducer::mapEntryName
std::string mapEntryName(const DTChamberId &chambid) const
Definition:
DTConfigTrivialProducer.cc:205
DTConfigTrivialProducer::m_manager
DTConfigManager * m_manager
Definition:
DTConfigTrivialProducer.h:63
DTConfigManager
Definition:
DTConfigManager.h:49
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DTConfigTrivialProducer::DTConfigTrivialProducer
DTConfigTrivialProducer(const edm::ParameterSet &)
Constructor.
Definition:
DTConfigTrivialProducer.cc:15
DTConfigPedestals
Definition:
DTConfigPedestals.h:36
ModuleFactory.h
DTConfigManagerRcd.h
DTConfigTrivialProducer::produce
std::unique_ptr< DTConfigManager > produce(const DTConfigManagerRcd &)
ES produce method.
Definition:
DTConfigTrivialProducer.cc:50
edm::ESProducer
Definition:
ESProducer.h:104
DTChamberId
Definition:
DTChamberId.h:14
ParameterSet.h
DTConfigTrivialProducer::m_debug
bool m_debug
Definition:
DTConfigTrivialProducer.h:61
Generated for CMSSW Reference Manual by
1.8.16