Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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/EDProducer.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
7
#include "
DataFormats/TrackerRecHit2D/interface/SiPixelRecHitCollection.h
"
8
9
namespace
edm {
class
Run
;
class
Event
;
class
EventSetup
; }
10
11
class
TrackerGeometry
;
12
13
class
HIPixelClusterVtxProducer
:
public
edm::EDProducer
14
{
15
public
:
16
explicit
HIPixelClusterVtxProducer
(
const
edm::ParameterSet
& ps);
17
~HIPixelClusterVtxProducer
();
18
19
private
:
20
struct
VertexHit
21
{
22
float
z
;
23
float
r
;
24
float
w
;
25
};
26
27
virtual
void
produce
(
edm::Event
&
ev
,
const
edm::EventSetup
& es);
28
int
getContainedHits
(
const
std::vector<VertexHit> &hits,
double
z0,
double
&chi);
29
30
std::string
srcPixelsString_
;
//pixel rec hits
31
edm::EDGetTokenT<SiPixelRecHitCollection>
srcPixels_
;
32
33
double
minZ_
;
34
double
maxZ_
;
35
double
zStep_
;
36
37
};
38
#endif
HIPixelClusterVtxProducer::VertexHit::z
float z
Definition:
HIPixelClusterVtxProducer.h:22
HIPixelClusterVtxProducer::getContainedHits
int getContainedHits(const std::vector< VertexHit > &hits, double z0, double &chi)
Definition:
HIPixelClusterVtxProducer.cc:139
HIPixelClusterVtxProducer
Definition:
HIPixelClusterVtxProducer.h:13
HIPixelClusterVtxProducer::HIPixelClusterVtxProducer
HIPixelClusterVtxProducer(const edm::ParameterSet &ps)
Definition:
HIPixelClusterVtxProducer.cc:29
HIPixelClusterVtxProducer::produce
virtual void produce(edm::Event &ev, const edm::EventSetup &es)
Definition:
HIPixelClusterVtxProducer.cc:51
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:90
edm::EDGetTokenT
Definition:
EDGetToken.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::EDProducer
Definition:
EDProducer.h:35
HIPixelClusterVtxProducer::~HIPixelClusterVtxProducer
~HIPixelClusterVtxProducer()
Definition:
HIPixelClusterVtxProducer.cc:44
ParameterSet.h
HIPixelClusterVtxProducer::VertexHit::r
float r
Definition:
HIPixelClusterVtxProducer.h:23
EventSetup
SiPixelRecHitCollection.h
HIPixelClusterVtxProducer::minZ_
double minZ_
Definition:
HIPixelClusterVtxProducer.h:33
edm::EventSetup
Definition:
EventSetup.h:44
HIPixelClusterVtxProducer::maxZ_
double maxZ_
Definition:
HIPixelClusterVtxProducer.h:34
HIPixelClusterVtxProducer::srcPixels_
edm::EDGetTokenT< SiPixelRecHitCollection > srcPixels_
Definition:
HIPixelClusterVtxProducer.h:31
EDProducer.h
HIPixelClusterVtxProducer::srcPixelsString_
std::string srcPixelsString_
Definition:
HIPixelClusterVtxProducer.h:30
HIPixelClusterVtxProducer::VertexHit::w
float w
Definition:
HIPixelClusterVtxProducer.h:24
Event
edm::ParameterSet
Definition:
ParameterSet.h:35
HIPixelClusterVtxProducer::zStep_
double zStep_
Definition:
HIPixelClusterVtxProducer.h:35
edm::Event
Definition:
Event.h:59
TrackerGeometry
Definition:
TrackerGeometry.h:29
Run
HIPixelClusterVtxProducer::VertexHit
Definition:
HIPixelClusterVtxProducer.h:20
Generated for CMSSW Reference Manual by
1.8.5