CMS 3D CMS Logo

HIPixelClusterVtxProducer.h
Go to the documentation of this file.
1 #ifndef HIPixelClusterVtxProducer_H
2 #define HIPixelClusterVtxProducer_H
3 
6 
8 
9 namespace edm {
10  class Run;
11  class Event;
12  class EventSetup;
13 } // namespace edm
14 
15 class TrackerGeometry;
16 
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
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
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelRecHitCollection.h
edm::ParameterSet
Definition: ParameterSet.h:36
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
HIPixelClusterVtxProducer::zStep_
double zStep_
Definition: HIPixelClusterVtxProducer.h:37
HIPixelClusterVtxProducer
Definition: HIPixelClusterVtxProducer.h:17
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
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