Go to the documentation of this file.00001 #ifndef ECALGETLASERDATA_H
00002 #define ECALGETLASERDATA_H
00003
00004 #include "FWCore/Framework/interface/EDAnalyzer.h"
00005 #include "CondCore/DBCommon/interface/Exception.h"
00006
00007 #include "FWCore/Framework/interface/IOVSyncValue.h"
00008
00009 #include "CondFormats/EcalObjects/interface/EcalLaserAPDPNRatios.h"
00010 #include "CondFormats/DataRecord/interface/EcalLaserAPDPNRatiosRcd.h"
00011 #include "CondFormats/EcalObjects/interface/EcalLaserAPDPNRatiosRef.h"
00012 #include "CondFormats/DataRecord/interface/EcalLaserAPDPNRatiosRefRcd.h"
00013 #include "CondFormats/EcalObjects/interface/EcalLaserAlphas.h"
00014 #include "CondFormats/DataRecord/interface/EcalLaserAlphasRcd.h"
00015
00016 #include "OnlineDB/EcalCondDB/interface/all_monitoring_types.h"
00017 #include "OnlineDB/Oracle/interface/Oracle.h"
00018 #include "OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h"
00019
00020 #include "DataFormats/EcalDetId/interface/EBDetId.h"
00021 #include "DataFormats/EcalDetId/interface/EEDetId.h"
00022
00023 #include <string>
00024 #include <map>
00025 #include <iostream>
00026 #include <vector>
00027 #include <time.h>
00028
00029 namespace edm {
00030 class ParameterSet;
00031 class Event;
00032 class EventSetup;
00033 }
00034
00035 class EcalGetLaserData : public edm::EDAnalyzer {
00036 public:
00037
00038 explicit EcalGetLaserData(const edm::ParameterSet& iConfig );
00039 ~EcalGetLaserData();
00040
00041 virtual void analyze( const edm::Event& evt, const edm::EventSetup& evtSetup);
00042
00043
00044 private:
00045
00046
00047 std::map<std::string, unsigned long long> m_cacheIDs;
00048 std::map<std::string, std::string> m_records;
00049
00050
00051
00052 virtual void beginJob() ;
00053 virtual void endJob() ;
00054
00055
00056 };
00057
00058 #endif