CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/Validation/HcalHits/interface/SimHitsValidationHcal.h

Go to the documentation of this file.
00001 #ifndef ValidationSimHitsValidationHcal_H
00002 #define ValidationSimHitsValidationHcal_H
00003 
00004 #include "FWCore/Framework/interface/Frameworkfwd.h"
00005 #include "FWCore/Framework/interface/EDAnalyzer.h"
00006 
00007 #include "FWCore/Framework/interface/Event.h"
00008 #include "FWCore/Framework/interface/EventSetup.h"
00009 #include "FWCore/Framework/interface/ESHandle.h"
00010 #include "FWCore/Framework/interface/MakerMacros.h"
00011 
00012 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00013 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00014 
00015 #include "DQMServices/Core/interface/DQMStore.h"
00016 #include "DQMServices/Core/interface/MonitorElement.h"
00017 #include "FWCore/ServiceRegistry/interface/Service.h"
00018 
00019 #include "SimDataFormats/CaloHit/interface/PCaloHit.h"
00020 #include "SimDataFormats/CaloHit/interface/PCaloHitContainer.h"
00021 
00022 #include <iostream>
00023 #include <fstream>
00024 #include <vector>
00025 #include <map>
00026 #include <string>
00027 
00028 class SimHitsValidationHcal: public edm::EDAnalyzer{
00029 public:
00030 
00031   SimHitsValidationHcal(const edm::ParameterSet& ps);
00032   ~SimHitsValidationHcal();
00033 
00034 protected:
00035 
00036   void beginJob ();
00037   void endJob   ();
00038   void analyze  (const edm::Event& e, const edm::EventSetup& c);
00039 
00040   void analyzeHits  (std::vector<PCaloHit> &);
00041 
00042 private:
00043 
00044   std::string    g4Label, hcalHits;
00045   bool           verbose_;
00046   DQMStore       *dbe_;
00047 
00048   MonitorElement *meHcalHitEta_[25];
00049 
00050 };
00051 
00052 #endif