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
#include <string>
16
#include <memory>
17
18
#include "
FWCore/Framework/interface/ESProducer.h
"
19
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
20
#include "
RecoLocalTracker/Records/interface/TkPixelCPERecord.h
"
21
22
namespace
{
23
24
class
FakePixelCPEESProducer final :
public
edm::ESProducer
{
25
public
:
26
FakePixelCPEESProducer(
const
edm::ParameterSet
&
p
) {
27
std::string
myname = p.
getParameter
<
std::string
>(
"ComponentName"
);
28
setWhatProduced
(
this
, myname);
29
}
30
31
~FakePixelCPEESProducer()
override
=
default
;
32
33
std::unique_ptr<PixelClusterParameterEstimator> produce(
const
TkPixelCPERecord
&) {
34
return
std::make_unique<PixelFakeCPE>();
35
}
36
37
private
:
38
};
39
40
}
// namespace
41
42
#include "
FWCore/Framework/interface/MakerMacros.h
"
43
#include "
FWCore/Utilities/interface/typelookup.h
"
44
#include "
FWCore/Framework/interface/eventsetuprecord_registration_macro.h
"
45
46
DEFINE_FWK_EVENTSETUP_MODULE
(FakePixelCPEESProducer);
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition:
ESProducer.h:138
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:101
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:18
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