Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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( const edm::EventSetup& );
67
virtual
void
beginJob
( );
68
69
//--- The top-level event method.
70
virtual
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
);
71
72
//--- Execute the algorithm(s).
73
void
run
(
const
edm::DetSetVector<PixelDigi>
&
input
,
74
edm::ESHandle<TrackerGeometry>
&
geom
,
75
edmNew::DetSetVector<SiPixelCluster>
&
output
);
76
77
private
:
78
edm::ParameterSet
conf_
;
79
edm::EDGetTokenT<edm::DetSetVector<PixelDigi>
>
tPixelDigi
;
80
// TO DO: maybe allow a map of pointers?
81
SiPixelGainCalibrationServiceBase
*
theSiPixelGainCalibration_
;
82
std::string
clusterMode_
;
// user's choice of the clusterizer
83
PixelClusterizerBase
*
clusterizer_
;
// what we got (for now, one ptr to base class)
84
bool
readyToCluster_
;
// needed clusterizers valid => good to go!
85
edm::InputTag
src_
;
86
88
int32_t
maxTotalClusters_
;
89
};
90
}
91
92
93
#endif
cms::SiPixelClusterProducer::~SiPixelClusterProducer
virtual ~SiPixelClusterProducer()
Definition:
SiPixelClusterProducer.cc:81
cms::SiPixelClusterProducer::clusterizer_
PixelClusterizerBase * clusterizer_
Definition:
SiPixelClusterProducer.h:83
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:30
input
static std::string const input
Definition:
EdmProvDump.cc:44
DetSetVector.h
ParameterSet.h
cms::SiPixelClusterProducer::conf_
edm::ParameterSet conf_
Definition:
SiPixelClusterProducer.h:78
edm::ESHandle< TrackerGeometry >
relativeConstraints.geom
list geom
Definition:
relativeConstraints.py:71
ESHandle.h
edmNew::DetSetVector< SiPixelCluster >
edm::EventSetup
Definition:
EventSetup.h:44
cms::SiPixelClusterProducer::clusterMode_
std::string clusterMode_
Definition:
SiPixelClusterProducer.h:82
cms::SiPixelClusterProducer::tPixelDigi
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > tPixelDigi
Definition:
SiPixelClusterProducer.h:79
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:84
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::produce
virtual void produce(edm::Event &e, const edm::EventSetup &c)
The "Event" entrypoint: gets called by framework for every event.
Definition:
SiPixelClusterProducer.cc:96
cms::SiPixelClusterProducer::beginJob
virtual void beginJob()
Definition:
SiPixelClusterProducer.cc:87
cms::SiPixelClusterProducer::src_
edm::InputTag src_
Definition:
SiPixelClusterProducer.h:85
cms::SiPixelClusterProducer::maxTotalClusters_
int32_t maxTotalClusters_
Optional limit on the total number of clusters.
Definition:
SiPixelClusterProducer.h:88
edm::DetSetVector
Definition:
DetSetVector.h:62
cms::SiPixelClusterProducer::theSiPixelGainCalibration_
SiPixelGainCalibrationServiceBase * theSiPixelGainCalibration_
Definition:
SiPixelClusterProducer.h:81
Generated for CMSSW Reference Manual by
1.8.5