CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
58 
59 
60 //
61 // class declaration
62 //
63 class ClusterVariables;
64 class ClusterSummary;
65 
66 
68  public:
71 
72  private:
73  virtual void beginStream(edm::StreamID) override;
74  virtual void produce(edm::Event&, const edm::EventSetup&) override;
75 
76  void decodeInput(std::vector<std::string> &, std::string );
77 
78  // ----------member data ---------------------------
79 
83 
84  std::vector<std::string> v_stripModuleTypes;
86  std::vector<std::string> v_pixelModuleTypes;
87 
89  std::vector<std::string> v_stripVariables;
91  std::vector<std::string> v_pixelVariables;
92 
94  std::map< std::string, int > EnumMap;
95  std::vector<ClusterSummary::ModuleSelection*> ModuleSelectionVect;
96  std::vector<ClusterSummary::ModuleSelection*> ModuleSelectionVectPixels;
97 
98 
99  bool doStrips;
100  bool doPixels;
101  bool verbose;
102  bool firstpass;
106 
107  //Declare the variables to fill the summary info with
108  std::vector<std::string> v_userContent;
109 
110 
111 
112 };
113 
114 #endif
std::vector< ClusterSummary::ModuleSelection * > ModuleSelectionVect
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > stripClusters_
std::vector< std::string > v_userContent
virtual void produce(edm::Event &, const edm::EventSetup &) override
void decodeInput(std::vector< std::string > &, std::string)
ClusterSummaryProducer(const edm::ParameterSet &)
std::vector< std::string > v_pixelVariables
std::vector< std::string > v_pixelModuleTypes
std::vector< std::string > v_stripModuleTypes
virtual void beginStream(edm::StreamID) override
std::map< std::string, int > EnumMap
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClusters_
std::vector< std::string > v_stripVariables
std::vector< ClusterSummary::ModuleSelection * > ModuleSelectionVectPixels