CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MixCollectionValidation.h
Go to the documentation of this file.
1 #ifndef MixCollectionValidation_H
2 #define MixCollectionValidation_H
3 
4 // system include files
7 
10 
12 //DQM services for histogram
16 
18 
19 #include <string>
20 
21 //
22 // class declaration
23 //
24 
26 public:
29 
30  void beginJob();
31  void endJob();
32 
33  virtual void analyze(const edm::Event&, const edm::EventSetup&);
34 
35 private:
36 
37  template<class T1, class T2> void fillMultiplicity(T1 & theItr_, T2 & theColl_, MonitorElement * theProfile_);
38 
39  template<class T1, class T2> void fillGenParticleMulti(T1 & theItr_, T2 & theColl_, MonitorElement * theProfile_);
40 
41  template<class T1, class T2> void fillSimHitTime(T1 & theItr_, T2 & theColl_, MonitorElement * theProfile_);
42 
43  template<class T1, class T2> void fillCaloHitTime(T1 & theItr_, T2 & theColl_, MonitorElement * theProfile_);
44 
45  std::string outputFile_;
46  int minbunch_;
47  int maxbunch_;
48 
49  bool verbose_;
50 
54 
55  std::map<std::string,MonitorElement *> SimHitNrmap_;
56  std::map<std::string,MonitorElement *> SimHitTimemap_;
57 
58  std::map<std::string,MonitorElement *> CaloHitNrmap_;
59  std::map<std::string,MonitorElement *> CaloHitTimemap_;
60 
62 
63  std::vector<std::string> names_;
64  std::vector<edm::InputTag> HepMCProductTags_;
65  std::vector<edm::InputTag> SimTrackTags_;
66  std::vector<edm::InputTag> SimVertexTags_;
67  std::vector<edm::InputTag> PSimHitTags_;
68  std::vector<edm::InputTag> PCaloHitTags_;
69 
70  int nbin_;
71 
72 };
73 
74 #endif
std::map< std::string, MonitorElement * > CaloHitNrmap_
std::vector< edm::InputTag > HepMCProductTags_
MixCollectionValidation(const edm::ParameterSet &)
std::map< std::string, MonitorElement * > SimHitTimemap_
void fillCaloHitTime(T1 &theItr_, T2 &theColl_, MonitorElement *theProfile_)
void fillMultiplicity(T1 &theItr_, T2 &theColl_, MonitorElement *theProfile_)
std::vector< edm::InputTag > PSimHitTags_
std::map< std::string, MonitorElement * > SimHitNrmap_
void fillSimHitTime(T1 &theItr_, T2 &theColl_, MonitorElement *theProfile_)
std::vector< edm::InputTag > PCaloHitTags_
std::vector< edm::InputTag > SimTrackTags_
std::vector< edm::InputTag > SimVertexTags_
std::map< std::string, MonitorElement * > CaloHitTimemap_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::vector< std::string > names_
void fillGenParticleMulti(T1 &theItr_, T2 &theColl_, MonitorElement *theProfile_)