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 // system include files
23 #include <memory>
24 #include <string>
25 #include <map>
26 #include <vector>
27 #include <iostream>
28 #include <cstring>
29 // user include files
30 
34 
37 
40 
45 
49 
52 
56 
57 //
58 // class declaration
59 //
60 class ClusterVariables;
61 class ClusterSummary;
62 
64 public:
67 
68 private:
69  void beginStream(edm::StreamID) override;
70  void produce(edm::Event&, const edm::EventSetup&) override;
71 
72  typedef std::pair<DetIdSelector, ClusterSummary::CMSTracker> ModuleSelection;
73  typedef std::vector<ModuleSelection> ModuleSelections;
74 
75  // ----------member data ---------------------------
76 
79 
80  ModuleSelections selectors;
81  std::vector<std::string> moduleNames;
82 
84  std::map<std::string, int> EnumMap;
85 
86  bool doStrips;
87  bool doPixels;
88  bool verbose;
89 };
90 
91 #endif
std::vector< std::string > moduleNames
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > stripClusters_
std::map< std::string, int > EnumMap
void produce(edm::Event &, const edm::EventSetup &) override
ClusterSummaryProducer(const edm::ParameterSet &)
void beginStream(edm::StreamID) override
std::vector< ModuleSelection > ModuleSelections
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClusters_
std::pair< DetIdSelector, ClusterSummary::CMSTracker > ModuleSelection