CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/CondTools/Hcal/interface/HcalAutoPedestalValidator.h

Go to the documentation of this file.
00001 #ifndef HcalAutoPedestalValidator_h
00002 #define HcalAutoPedestalValidator_h
00003 
00004 // S.Won
00005 // Code to check pedestals to compare to previous pedestals
00006 
00007 #include <string>
00008 #include <iostream>
00009 #include <fstream>
00010 #include <sstream>
00011 #include <map>
00012 #include <vector>
00013 #include <algorithm>
00014 
00015 #include "FWCore/Framework/interface/EDAnalyzer.h"
00016 #include "FWCore/Framework/interface/Event.h"
00017 #include "FWCore/Framework/interface/ESHandle.h"
00018 #include "FWCore/Framework/interface/MakerMacros.h"
00019 
00020 #include "FWCore/Framework/interface/EventSetup.h"
00021 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00022 
00023 #include "CondFormats/HcalObjects/interface/HcalPedestals.h"
00024 #include "CondFormats/HcalObjects/interface/HcalPedestalWidths.h"
00025 #include "CondFormats/HcalObjects/interface/HcalGains.h"
00026 #include "CondFormats/HcalObjects/interface/HcalGainWidths.h"
00027 #include "CondFormats/HcalObjects/interface/HcalElectronicsMap.h"
00028 
00029 #include "DataFormats/HcalDetId/interface/HcalGenericDetId.h"
00030 #include "DataFormats/DetId/interface/DetId.h"
00031 
00032 #include "CondFormats/DataRecord/interface/HcalPedestalsRcd.h"
00033 #include "CondFormats/DataRecord/interface/HcalPedestalWidthsRcd.h"
00034 #include "CondFormats/DataRecord/interface/HcalGainsRcd.h"
00035 #include "CondFormats/DataRecord/interface/HcalGainWidthsRcd.h"
00036 #include "CondFormats/DataRecord/interface/HcalElectronicsMapRcd.h"
00037 
00038 #include "CalibCalorimetry/HcalAlgos/interface/HcalDbASCIIIO.h"
00039 #include "Geometry/HcalTowerAlgo/interface/HcalGeometry.h"
00040 
00041 class HcalAutoPedestalValidator: public edm::EDAnalyzer
00042 {
00043  public:
00044   HcalAutoPedestalValidator(edm::ParameterSet const& ps);
00045 
00046   ~HcalAutoPedestalValidator();
00047 
00048   void analyze(const edm::Event& ev, const edm::EventSetup& es);
00049 
00050  private:
00051   std::string outfile;
00052   double epsilon;
00053   //  vecDetId getMissingDetIds(std::vector<HcalPedestals> &);
00054 };
00055 #endif