Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition:
ESProducer.h:163
TrackerDigiGeometryRecord.h
MakerMacros.h
EventSetup.h
PixelFakeCPE.h
TkPixelCPERecord.h
typelookup.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ESProducer
Definition:
ESProducer.h:104
MagneticField.h
ParameterSet.h
ESHandle.h
TrackerTopologyRcd.h
TkPixelCPERecord
Definition:
TkPixelCPERecord.h:17
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:60
ESProducer.h
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
TrackerGeometry.h
eventsetuprecord_registration_macro.h
edm::ParameterSet
Definition:
ParameterSet.h:47
ModuleFactory.h
TrackerTopology.h
IdealMagneticFieldRecord.h
Generated for CMSSW Reference Manual by
1.8.5