CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Validation/EcalRecHits/interface/EcalPreshowerRecHitsValidation.h

Go to the documentation of this file.
00001 #ifndef EcalPreshowerRecHitsValidation_H
00002 #define EcalPreshowerRecHitsValidation_H
00003 
00004 /*
00005  * \file EcalPreshowerRecHitsValidation.h
00006  *
00007  * $Date: 2009/12/14 22:24:41 $
00008  * \author C. Rovelli
00009  *
00010  */
00011 
00012 #include "FWCore/Framework/interface/Frameworkfwd.h"
00013 #include "FWCore/Framework/interface/EDAnalyzer.h"
00014 
00015 #include "FWCore/Framework/interface/Event.h"
00016 #include "FWCore/Framework/interface/EventSetup.h"
00017 #include "FWCore/Framework/interface/ESHandle.h"
00018 #include "FWCore/Framework/interface/MakerMacros.h"
00019 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00020 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00021 
00022 #include "DQMServices/Core/interface/DQMStore.h"
00023 #include "FWCore/ServiceRegistry/interface/Service.h"
00024 
00025 #include "DataFormats/EcalDigi/interface/ESDataFrame.h"
00026 #include "DataFormats/EcalDigi/interface/EEDataFrame.h"
00027 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
00028 
00029 #include <iostream>
00030 #include <fstream>
00031 #include <vector>
00032 #include <map>
00033 #include "DQMServices/Core/interface/MonitorElement.h"
00034 
00035 class EcalPreshowerRecHitsValidation: public edm::EDAnalyzer{
00036   
00037  public:
00038   
00040   EcalPreshowerRecHitsValidation(const edm::ParameterSet& ps);
00041   
00043   ~EcalPreshowerRecHitsValidation();
00044   
00045  protected:
00046   
00048   void analyze(const edm::Event& e, const edm::EventSetup& c);
00049   
00050   // BeginJob
00051   void beginJob();
00052   
00053   // EndJob
00054   void endJob(void);
00055   
00056  private:
00057   
00058   bool verbose_;
00059   
00060   DQMStore* dbe_;
00061 
00062   edm::InputTag EEuncalibrechitCollection_;
00063   edm::InputTag EErechitCollection_;
00064   edm::InputTag ESrechitCollection_;
00065   
00066   MonitorElement* meESRecHitsEnergy_;    
00067   MonitorElement* meESRecHitsEnergy_zp1st_;
00068   MonitorElement* meESRecHitsEnergy_zp2nd_;
00069   MonitorElement* meESRecHitsEnergy_zm1st_;
00070   MonitorElement* meESRecHitsEnergy_zm2nd_;
00071   MonitorElement* meESRecHitsMultip_;
00072   MonitorElement* meESRecHitsMultip_zp1st_;
00073   MonitorElement* meESRecHitsMultip_zp2nd_;
00074   MonitorElement* meESRecHitsMultip_zm1st_;
00075   MonitorElement* meESRecHitsMultip_zm2nd_;
00076   MonitorElement* meESEERecHitsEnergy_zp_;
00077   MonitorElement* meESEERecHitsEnergy_zm_;
00078   MonitorElement* meESRecHitsStripOccupancy_zp1st_[36];
00079   MonitorElement* meESRecHitsStripOccupancy_zm1st_[36];
00080   MonitorElement* meESRecHitsStripOccupancy_zp2nd_[36];
00081   MonitorElement* meESRecHitsStripOccupancy_zm2nd_[36];
00082 
00083 };
00084 
00085 #endif