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
9
namespace
edm
{
10
class
Run
;
11
class
Event
;
12
class
EventSetup
;
13
}
// namespace edm
14
15
class
TrackerGeometry
;
16
17
class
HIPixelClusterVtxProducer
:
public
edm::stream::EDProducer
<> {
18
public
:
19
explicit
HIPixelClusterVtxProducer
(
const
edm::ParameterSet
& ps);
20
~HIPixelClusterVtxProducer
()
override
;
21
22
private
:
23
struct
VertexHit
{
24
float
z
;
25
float
r
;
26
float
w
;
27
};
28
29
void
produce
(
edm::Event
&
ev
,
const
edm::EventSetup
& es)
override
;
30
int
getContainedHits
(
const
std::vector<VertexHit>&
hits
,
double
z0
,
double
& chi);
31
32
std::string
srcPixelsString_
;
//pixel rec hits
33
edm::EDGetTokenT<SiPixelRecHitCollection>
srcPixels_
;
34
35
double
minZ_
;
36
double
maxZ_
;
37
double
zStep_
;
38
};
39
#endif
HIPixelClusterVtxProducer::produce
void produce(edm::Event &ev, const edm::EventSetup &es) override
Definition:
HIPixelClusterVtxProducer.cc:46
HIPixelClusterVtxProducer::VertexHit
Definition:
HIPixelClusterVtxProducer.h:23
HIPixelClusterVtxProducer::getContainedHits
int getContainedHits(const std::vector< VertexHit > &hits, double z0, double &chi)
Definition:
HIPixelClusterVtxProducer.cc:130
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
edm::EDGetTokenT
Definition:
EDGetToken.h:33
edm
HLT enums.
Definition:
AlignableModifier.h:19
HIPixelClusterVtxProducer::VertexHit::w
float w
Definition:
HIPixelClusterVtxProducer.h:26
EDProducer.h
HIPixelClusterVtxProducer::minZ_
double minZ_
Definition:
HIPixelClusterVtxProducer.h:35
HIPixelClusterVtxProducer::HIPixelClusterVtxProducer
HIPixelClusterVtxProducer(const edm::ParameterSet &ps)
Definition:
HIPixelClusterVtxProducer.cc:28
HIPixelClusterVtxProducer::srcPixelsString_
std::string srcPixelsString_
Definition:
HIPixelClusterVtxProducer.h:32
HIPixelClusterVtxProducer::maxZ_
double maxZ_
Definition:
HIPixelClusterVtxProducer.h:36
Event
HLTMuonOfflineAnalyzer_cfi.z0
z0
Definition:
HLTMuonOfflineAnalyzer_cfi.py:98
SiPixelRecHitCollection.h
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::stream::EDProducer
Definition:
EDProducer.h:36
edm::EventSetup
Definition:
EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HIPixelClusterVtxProducer::zStep_
double zStep_
Definition:
HIPixelClusterVtxProducer.h:37
HIPixelClusterVtxProducer
Definition:
HIPixelClusterVtxProducer.h:17
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:97
HIPixelClusterVtxProducer::srcPixels_
edm::EDGetTokenT< SiPixelRecHitCollection > srcPixels_
Definition:
HIPixelClusterVtxProducer.h:33
EventSetup
ParameterSet.h
edm::Event
Definition:
Event.h:73
HIPixelClusterVtxProducer::VertexHit::r
float r
Definition:
HIPixelClusterVtxProducer.h:25
HIPixelClusterVtxProducer::~HIPixelClusterVtxProducer
~HIPixelClusterVtxProducer() override
Definition:
HIPixelClusterVtxProducer.cc:41
HIPixelClusterVtxProducer::VertexHit::z
float z
Definition:
HIPixelClusterVtxProducer.h:24
TrackerGeometry
Definition:
TrackerGeometry.h:14
Run
Generated for CMSSW Reference Manual by
1.8.16