Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RecoHI
HiTracking
plugins
HIPixelClusterVtxProducer.h
Go to the documentation of this file.
1
#ifndef HIPixelClusterVtxProducer_H
2
#define HIPixelClusterVtxProducer_H
3
4
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
7
#include "
DataFormats/TrackerRecHit2D/interface/SiPixelRecHitCollection.h
"
8
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
9
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
10
11
namespace
edm {
12
class
Run
;
13
class
Event
;
14
class
EventSetup
;
15
}
// namespace edm
16
17
class
TrackerGeometry
;
18
19
class
HIPixelClusterVtxProducer
:
public
edm::stream::EDProducer
<> {
20
public
:
21
explicit
HIPixelClusterVtxProducer
(
const
edm::ParameterSet
& ps);
22
~HIPixelClusterVtxProducer
()
override
;
23
24
private
:
25
struct
VertexHit
{
26
float
z
;
27
float
r
;
28
float
w
;
29
};
30
31
void
produce
(
edm::Event
&
ev
,
const
edm::EventSetup
& es)
override
;
32
int
getContainedHits
(
const
std::vector<VertexHit>& hits,
double
z0,
double
& chi);
33
34
std::string
srcPixelsString_
;
//pixel rec hits
35
edm::EDGetTokenT<SiPixelRecHitCollection>
srcPixels_
;
36
edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord>
trackerToken_
;
37
38
double
minZ_
;
39
double
maxZ_
;
40
double
zStep_
;
41
};
42
#endif
HIPixelClusterVtxProducer::VertexHit::z
float z
Definition:
HIPixelClusterVtxProducer.h:26
TrackerDigiGeometryRecord.h
HIPixelClusterVtxProducer::getContainedHits
int getContainedHits(const std::vector< VertexHit > &hits, double z0, double &chi)
Definition:
HIPixelClusterVtxProducer.cc:126
HIPixelClusterVtxProducer
Definition:
HIPixelClusterVtxProducer.h:19
HIPixelClusterVtxProducer::HIPixelClusterVtxProducer
HIPixelClusterVtxProducer(const edm::ParameterSet &ps)
Definition:
HIPixelClusterVtxProducer.cc:25
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:96
edm::EDGetTokenT
Definition:
EDGetToken.h:33
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HIPixelClusterVtxProducer::produce
void produce(edm::Event &ev, const edm::EventSetup &es) override
Definition:
HIPixelClusterVtxProducer.cc:44
ParameterSet.h
EDProducer.h
HIPixelClusterVtxProducer::VertexHit::r
float r
Definition:
HIPixelClusterVtxProducer.h:27
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord >
EventSetup
SiPixelRecHitCollection.h
HIPixelClusterVtxProducer::minZ_
double minZ_
Definition:
HIPixelClusterVtxProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:59
HIPixelClusterVtxProducer::maxZ_
double maxZ_
Definition:
HIPixelClusterVtxProducer.h:39
HIPixelClusterVtxProducer::trackerToken_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerToken_
Definition:
HIPixelClusterVtxProducer.h:36
HIPixelClusterVtxProducer::srcPixels_
edm::EDGetTokenT< SiPixelRecHitCollection > srcPixels_
Definition:
HIPixelClusterVtxProducer.h:35
HIPixelClusterVtxProducer::~HIPixelClusterVtxProducer
~HIPixelClusterVtxProducer() override
Definition:
HIPixelClusterVtxProducer.cc:39
edm::stream::EDProducer
Definition:
EDProducer.h:36
HIPixelClusterVtxProducer::srcPixelsString_
std::string srcPixelsString_
Definition:
HIPixelClusterVtxProducer.h:34
HIPixelClusterVtxProducer::VertexHit::w
float w
Definition:
HIPixelClusterVtxProducer.h:28
Event
TrackerGeometry.h
edm::ParameterSet
Definition:
ParameterSet.h:47
HIPixelClusterVtxProducer::zStep_
double zStep_
Definition:
HIPixelClusterVtxProducer.h:40
edm::Event
Definition:
Event.h:73
TrackerGeometry
Definition:
TrackerGeometry.h:14
Run
HIPixelClusterVtxProducer::VertexHit
Definition:
HIPixelClusterVtxProducer.h:25
Generated for CMSSW Reference Manual by
1.8.5