CMS 3D CMS Logo

ClusterSummaryProducer.h
Go to the documentation of this file.
1 #ifndef CLUSTERSUMMARYPRODUCER
2 #define CLUSTERSUMMARYPRODUCER
3 
4 // -*- C++ -*-
5 //
6 // Package: ClusterSummaryProducer
7 // Class: ClusterSummaryProducer
8 //
16 //
17 // Original Author: Michael Segala
18 // Created: Thu Jun 23 09:33:08 CDT 2011
19 //
20 //
21 
22 
23 // system include files
24 #include <memory>
25 #include <string>
26 #include <map>
27 #include <vector>
28 #include<iostream>
29 #include <string.h>
30 // user include files
31 
35 
38 
41 
46 
47 
51 
52 
55 
59 
60 
61 //
62 // class declaration
63 //
64 class ClusterVariables;
65 class ClusterSummary;
66 
67 
69  public:
72 
73  private:
74  virtual void beginStream(edm::StreamID) override;
75  virtual void produce(edm::Event&, const edm::EventSetup&) override;
76 
77 
78  typedef std::pair<DetIdSelector,ClusterSummary::CMSTracker> ModuleSelection;
79  typedef std::vector<ModuleSelection> ModuleSelections;
80 
81  // ----------member data ---------------------------
82 
85 
86  ModuleSelections selectors;
87  std::vector<std::string> moduleNames;
88 
90  std::map< std::string, int > EnumMap;
91 
92 
93  bool doStrips;
94  bool doPixels;
95  bool verbose;
96 
97 };
98 
99 #endif
std::vector< std::string > moduleNames
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > stripClusters_
virtual void produce(edm::Event &, const edm::EventSetup &) override
ClusterSummaryProducer(const edm::ParameterSet &)
virtual void beginStream(edm::StreamID) override
std::pair< DetIdSelector, ClusterSummary::CMSTracker > ModuleSelection
std::vector< ModuleSelection > ModuleSelections
std::map< std::string, int > EnumMap
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClusters_