00001 #ifndef SiStripPedDB_SiStripPedDBTemp_h 00002 #define SiStripPedDB_SiStripPedDBTemp_h 00003 // -*- C++ -*- 00004 // 00005 // Package: SiStripPedDB 00006 // Class : SiStripPedDB 00007 // 00016 // 00017 // Original Author: dkcira 00018 // Created: Sat Feb 4 20:49:51 CET 2006 00019 // $Id: SiStripPedDB.h,v 1.8 2008/05/14 10:05:32 giordano Exp $ 00020 // 00021 00022 // system include files 00023 #include <memory> 00024 00025 // user include files 00026 #include "FWCore/Framework/interface/Frameworkfwd.h" 00027 #include "FWCore/Framework/interface/EDAnalyzer.h" 00028 00029 #include "FWCore/Framework/interface/Event.h" 00030 #include "FWCore/Framework/interface/MakerMacros.h" 00031 00032 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00033 00034 #include "DQMServices/Core/interface/MonitorElement.h" 00035 00036 // data formats 00037 #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h" 00038 #include "DataFormats/Common/interface/DetSetVector.h" 00039 #include "DataFormats/SiStripDigi/interface/SiStripDigi.h" 00040 #include "DataFormats/SiStripDigi/interface/SiStripRawDigi.h" 00041 #include "DataFormats/SiStripCommon/interface/SiStripEventSummary.h" 00042 // cabling 00043 #include "CondFormats/SiStripObjects/interface/SiStripFedCabling.h" 00044 #include "CondFormats/DataRecord/interface/SiStripFedCablingRcd.h" 00045 #include "CondFormats/SiStripObjects/interface/FedChannelConnection.h" 00046 //#include "DataFormats/SiStripDetId/interface/SiStripReadoutKey.h" 00047 //#include "DQM/SiStripCommon/interface/SiStripGenerateKey.h" 00048 // 00049 #include "CalibTracker/SiStripAPVAnalysis/interface/ApvAnalysisFactory.h" 00050 00051 #include "CondFormats/SiStripObjects/interface/SiStripPedestals.h" 00052 00053 #include "boost/cstdint.hpp" 00054 #include <iostream> 00055 #include <sstream> 00056 #include <iomanip> 00057 #include <string> 00058 #include <vector> 00059 00060 00061 class FEDRawDataCollection; 00062 class FEDRawData; 00063 class SiStripDigi; 00064 class SiStripRawDigi; 00065 class SiStripEventSummary; 00066 class SiStripFedCabling; 00067 class DaqMonitorBEInterface; 00068 00069 class SiStripPedDB : public edm::EDAnalyzer { 00070 public: 00071 explicit SiStripPedDB(const edm::ParameterSet&); 00072 ~SiStripPedDB(); 00073 00074 virtual void analyze(const edm::Event&, const edm::EventSetup&); 00075 virtual void beginJob(edm::EventSetup const&) ; 00076 virtual void endJob() ; 00077 00078 00079 private: 00080 DaqMonitorBEInterface* dbe_; 00081 edm::ParameterSet conf_; 00082 SiStripFedCabling* fedCabling_; 00083 00084 SiStripPedestals* SiStripPedestals_; 00085 std::vector< std::pair<uint32_t,SiStripPedestals::InputVector > > mSiStripPedestals; 00086 00087 std::vector<uint32_t> SelectedDetIds; 00088 00089 ApvAnalysisFactory* apvFactory_; 00090 edm::ParameterSet pedsPSet_; 00091 int nEvTot_; 00092 int theEventInitNumber_; 00093 int theEventIterNumber_; 00094 int NumCMstripsInGroup_; 00095 std::string outPutFileName; 00096 00097 }; 00098 00099 #endif