test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoLocalTracker
SiPixelClusterizer
interface
SiPixelClusterProducer.h
Go to the documentation of this file.
1
#ifndef RecoLocalTracker_SiPixelClusterizer_SiPixelClusterProducer_h
2
#define RecoLocalTracker_SiPixelClusterizer_SiPixelClusterProducer_h
3
4
//---------------------------------------------------------------------------
29
//---------------------------------------------------------------------------
30
31
#include "
RecoLocalTracker/SiPixelClusterizer/interface/PixelClusterizerBase.h
"
32
33
//#include "Geometry/CommonDetUnit/interface/TrackingGeometry.h"
34
35
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
36
37
#include "
DataFormats/Common/interface/DetSetVector.h
"
38
#include "
DataFormats/Common/interface/DetSetVectorNew.h
"
39
#include "
DataFormats/SiPixelDigi/interface/PixelDigi.h
"
40
#include "
DataFormats/SiPixelCluster/interface/SiPixelCluster.h
"
41
42
43
#include "
FWCore/Framework/interface/EDProducer.h
"
44
#include "
FWCore/Framework/interface/Event.h
"
45
#include "
FWCore/Framework/interface/EventSetup.h
"
46
#include "
DataFormats/Common/interface/Handle.h
"
47
#include "
FWCore/Framework/interface/ESHandle.h
"
48
49
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
50
#include "
FWCore/Utilities/interface/InputTag.h
"
51
52
53
54
namespace
cms
55
{
56
57
class
SiPixelClusterProducer
:
public
edm::EDProducer
{
58
public
:
59
//--- Constructor, virtual destructor (just in case)
60
explicit
SiPixelClusterProducer
(
const
edm::ParameterSet
&
conf
);
61
virtual
~SiPixelClusterProducer
();
62
63
void
setupClusterizer
();
64
65
// Begin Job
66
virtual
void
beginJob
( )
override
;
67
68
//--- The top-level event method.
69
virtual
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
70
71
//--- Execute the algorithm(s).
72
void
run
(
const
edm::DetSetVector<PixelDigi>
&
input
,
73
edm::ESHandle<TrackerGeometry>
&
geom
,
74
edmNew::DetSetVector<SiPixelCluster>
&
output
);
75
76
private
:
77
edm::ParameterSet
conf_
;
78
edm::EDGetTokenT<edm::DetSetVector<PixelDigi>
>
tPixelDigi
;
79
// TO DO: maybe allow a map of pointers?
80
SiPixelGainCalibrationServiceBase
*
theSiPixelGainCalibration_
;
81
std::string
clusterMode_
;
// user's choice of the clusterizer
82
PixelClusterizerBase
*
clusterizer_
;
// what we got (for now, one ptr to base class)
83
bool
readyToCluster_
;
// needed clusterizers valid => good to go!
84
edm::InputTag
src_
;
85
87
int32_t
maxTotalClusters_
;
88
};
89
}
90
91
92
#endif
cms::SiPixelClusterProducer::~SiPixelClusterProducer
virtual ~SiPixelClusterProducer()
Definition:
SiPixelClusterProducer.cc:81
cms::SiPixelClusterProducer::clusterizer_
PixelClusterizerBase * clusterizer_
Definition:
SiPixelClusterProducer.h:82
DetSetVectorNew.h
PixelClusterizerBase.h
Event.h
EventSetup.h
cms::SiPixelClusterProducer::setupClusterizer
void setupClusterizer()
Definition:
SiPixelClusterProducer.cc:129
Handle.h
PixelDigi.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::EDProducer
Definition:
EDProducer.h:33
input
static std::string const input
Definition:
EdmProvDump.cc:44
DetSetVector.h
ParameterSet.h
cms::SiPixelClusterProducer::conf_
edm::ParameterSet conf_
Definition:
SiPixelClusterProducer.h:77
cms::SiPixelClusterProducer::beginJob
virtual void beginJob() override
Definition:
SiPixelClusterProducer.cc:87
edm::ESHandle< TrackerGeometry >
relativeConstraints.geom
list geom
Definition:
relativeConstraints.py:71
ESHandle.h
edmNew::DetSetVector< SiPixelCluster >
cms::SiPixelClusterProducer::produce
virtual void produce(edm::Event &e, const edm::EventSetup &c) override
The "Event" entrypoint: gets called by framework for every event.
Definition:
SiPixelClusterProducer.cc:96
edm::EventSetup
Definition:
EventSetup.h:44
cms::SiPixelClusterProducer::clusterMode_
std::string clusterMode_
Definition:
SiPixelClusterProducer.h:81
cms::SiPixelClusterProducer::tPixelDigi
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > tPixelDigi
Definition:
SiPixelClusterProducer.h:78
cms::SiPixelClusterProducer
Definition:
SiPixelClusterProducer.h:57
SiPixelGainCalibrationServiceBase
Definition:
SiPixelGainCalibrationServiceBase.h:28
dbtoconf.conf
tuple conf
Definition:
dbtoconf.py:185
cms::SiPixelClusterProducer::readyToCluster_
bool readyToCluster_
Definition:
SiPixelClusterProducer.h:83
EDProducer.h
convertSQLitetoXML_cfg.output
tuple output
Definition:
convertSQLitetoXML_cfg.py:32
trackerHits.c
tuple c
Definition:
trackerHits.py:26
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
cms::SiPixelClusterProducer::SiPixelClusterProducer
SiPixelClusterProducer(const edm::ParameterSet &conf)
Constructor: set the ParameterSet and defer all thinking to setupClusterizer().
Definition:
SiPixelClusterProducer.cc:51
cms::SiPixelClusterProducer::run
void run(const edm::DetSetVector< PixelDigi > &input, edm::ESHandle< TrackerGeometry > &geom, edmNew::DetSetVector< SiPixelCluster > &output)
Iterate over DetUnits, and invoke the PixelClusterizer on each.
Definition:
SiPixelClusterProducer.cc:149
edm::InputTag
Definition:
InputTag.h:17
InputTag.h
TrackerGeometry.h
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:62
PixelClusterizerBase
Definition:
PixelClusterizerBase.h:16
SiPixelCluster.h
cms::SiPixelClusterProducer::src_
edm::InputTag src_
Definition:
SiPixelClusterProducer.h:84
cms::SiPixelClusterProducer::maxTotalClusters_
int32_t maxTotalClusters_
Optional limit on the total number of clusters.
Definition:
SiPixelClusterProducer.h:87
edm::DetSetVector
Definition:
DetSetVector.h:62
cms::SiPixelClusterProducer::theSiPixelGainCalibration_
SiPixelGainCalibrationServiceBase * theSiPixelGainCalibration_
Definition:
SiPixelClusterProducer.h:80
Generated for CMSSW Reference Manual by
1.8.5