CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 #ifndef EcalBarrelRecHitsValidation_H
00002 #define EcalBarrelRecHitsValidation_H
00003 
00004 /*
00005  * \file EcalBarrelRecHitsValidation.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/EBDataFrame.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 EcalBarrelRecHitsValidation: public edm::EDAnalyzer{
00039 
00040 public:
00041 
00043 EcalBarrelRecHitsValidation(const edm::ParameterSet& ps);
00044 
00046 ~EcalBarrelRecHitsValidation();
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 EBdigiCollection_;
00066  edm::InputTag EBuncalibrechitCollection_;
00067 
00068  MonitorElement* meEBUncalibRecHitsOccupancy_;     
00069  MonitorElement* meEBUncalibRecHitsAmplitude_;    
00070  MonitorElement* meEBUncalibRecHitsPedestal_;      
00071  MonitorElement* meEBUncalibRecHitsJitter_;        
00072  MonitorElement* meEBUncalibRecHitsChi2_;          
00073  MonitorElement* meEBUncalibRecHitMaxSampleRatio_;
00074  MonitorElement* meEBUncalibRecHitsOccupancyGt100adc_;     
00075  MonitorElement* meEBUncalibRecHitsAmplitudeGt100adc_;    
00076  MonitorElement* meEBUncalibRecHitsPedestalGt100adc_;      
00077  MonitorElement* meEBUncalibRecHitsJitterGt100adc_;        
00078  MonitorElement* meEBUncalibRecHitsChi2Gt100adc_;          
00079  MonitorElement* meEBUncalibRecHitMaxSampleRatioGt100adc_;
00080  MonitorElement* meEBUncalibRecHitsAmpFullMap_;
00081  MonitorElement* meEBUncalibRecHitsPedFullMap_;
00082  MonitorElement* meEBUncalibRecHitAmplMap_[36];
00083  MonitorElement* meEBUncalibRecHitPedMap_[36];
00084 };
00085 
00086 #endif