Main Page
Namespaces
Classes
Package Documentation
RecoLocalTracker
SiPixelRecHits
plugins
FakePixelCPEESProducer.cc
Go to the documentation of this file.
1
#include "
RecoLocalTracker/ClusterParameterEstimator/interface/PixelFakeCPE.h
"
2
3
#include "
MagneticField/Engine/interface/MagneticField.h
"
4
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
5
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
6
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
7
#include "
Geometry/Records/interface/TrackerTopologyRcd.h
"
8
#include "
DataFormats/TrackerCommon/interface/TrackerTopology.h
"
9
10
#include "
FWCore/Framework/interface/EventSetup.h
"
11
#include "
FWCore/Framework/interface/ESHandle.h
"
12
#include "
FWCore/Framework/interface/ModuleFactory.h
"
13
#include "
FWCore/Framework/interface/ESProducer.h
"
14
15
16
17
#include <string>
18
#include <memory>
19
20
21
#include "
FWCore/Framework/interface/ESProducer.h
"
22
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
23
#include "
RecoLocalTracker/Records/interface/TkPixelCPERecord.h
"
24
25
namespace
{
26
27
class
FakePixelCPEESProducer final :
public
edm::ESProducer
{
28
public
:
29
30
FakePixelCPEESProducer(
const
edm::ParameterSet
&
p
) {
31
std::string
myname = p.
getParameter
<
std::string
>(
"ComponentName"
);
32
setWhatProduced
(
this
,myname);
33
}
34
35
~FakePixelCPEESProducer() =
default
;
36
37
std::unique_ptr<PixelClusterParameterEstimator> produce(
const
TkPixelCPERecord
&) {
38
return
std::make_unique<PixelFakeCPE>();
39
}
40
41
private
:
42
43
};
44
45
}
46
47
#include "
FWCore/Framework/interface/MakerMacros.h
"
48
#include "
FWCore/Utilities/interface/typelookup.h
"
49
#include "
FWCore/Framework/interface/eventsetuprecord_registration_macro.h
"
50
51
DEFINE_FWK_EVENTSETUP_MODULE
(FakePixelCPEESProducer);
52
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition:
ESProducer.h:124
TrackerDigiGeometryRecord.h
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
MakerMacros.h
EventSetup.h
PixelFakeCPE.h
TkPixelCPERecord.h
typelookup.h
edm::ESProducer
Definition:
ESProducer.h:99
MagneticField.h
ParameterSet.h
ESHandle.h
TrackerTopologyRcd.h
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:60
TkPixelCPERecord
Definition:
TkPixelCPERecord.h:17
ESProducer.h
TrackerGeometry.h
eventsetuprecord_registration_macro.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ModuleFactory.h
TrackerTopology.h
IdealMagneticFieldRecord.h
Generated for CMSSW Reference Manual by
1.8.11