CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/Validation/EcalRecHits/interface/EcalEndcapRecHitsValidation.h

Go to the documentation of this file.
00001 #ifndef EcalEndcapRecHitsValidation_H
00002 #define EcalEndcapRecHitsValidation_H
00003 
00004 /*
00005  * \file EcalEndcapRecHitsValidation.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/EEDataFrame.h"
00026 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
00027 #include "DataFormats/EcalDigi/interface/EcalDigiCollections.h"
00028 
00029 #include "CondFormats/EcalObjects/interface/EcalPedestals.h"
00030 #include "CondFormats/DataRecord/interface/EcalPedestalsRcd.h"
00031 
00032 #include <iostream>
00033 #include <fstream>
00034 #include <vector>
00035 #include <map>
00036 #include "DQMServices/Core/interface/MonitorElement.h"
00037 
00038 class EcalEndcapRecHitsValidation: public edm::EDAnalyzer{
00039 
00040 public:
00041 
00043 EcalEndcapRecHitsValidation(const edm::ParameterSet& ps);
00044 
00046 ~EcalEndcapRecHitsValidation();
00047 
00048 protected:
00049 
00051 void analyze(const edm::Event& e, const edm::EventSetup& c);
00052 
00053 // BeginJob
00054 void beginJob();
00055 
00056 // EndJob
00057 void endJob(void);
00058 
00059 private:
00060 
00061  bool verbose_;
00062  
00063  DQMStore* dbe_;
00064 
00065  edm::InputTag EEdigiCollection_;
00066  edm::InputTag EEuncalibrechitCollection_;
00067 
00068  MonitorElement* meEEUncalibRecHitsOccupancyPlus_;     
00069  MonitorElement* meEEUncalibRecHitsOccupancyMinus_;     
00070  MonitorElement* meEEUncalibRecHitsAmplitude_;    
00071  MonitorElement* meEEUncalibRecHitsPedestal_;      
00072  MonitorElement* meEEUncalibRecHitsJitter_;        
00073  MonitorElement* meEEUncalibRecHitsChi2_;          
00074  MonitorElement* meEEUncalibRecHitMaxSampleRatio_; 
00075  MonitorElement* meEEUncalibRecHitsOccupancyPlusGt60adc_;     
00076  MonitorElement* meEEUncalibRecHitsOccupancyMinusGt60adc_;     
00077  MonitorElement* meEEUncalibRecHitsAmplitudeGt60adc_;    
00078  MonitorElement* meEEUncalibRecHitsPedestalGt60adc_;      
00079  MonitorElement* meEEUncalibRecHitsJitterGt60adc_;        
00080  MonitorElement* meEEUncalibRecHitsChi2Gt60adc_;          
00081  MonitorElement* meEEUncalibRecHitMaxSampleRatioGt60adc_; 
00082  MonitorElement* meEEUncalibRecHitsAmpFullMap_;
00083  MonitorElement* meEEUncalibRecHitsPedFullMap_;
00084 };
00085 
00086 #endif