00001 #ifndef SiStripMonitorSummary_SiStripClassToMonitorCondData_h 00002 #define SiStripMonitorSummary_SiStripClassToMonitorCondData_h 00003 // -*- C++ -*- 00004 // 00005 // Package: SiStripMonitorSummary 00006 // Class : SiStripClassToMonitorCondData 00007 // 00008 // Original Author: Evelyne Delmeire 00009 // 00010 00011 00012 // system include files 00013 #include <memory> 00014 00015 // user include files 00016 #include "FWCore/Framework/interface/Frameworkfwd.h" 00017 #include "FWCore/Framework/interface/EDAnalyzer.h" 00018 #include "FWCore/Framework/interface/ESHandle.h" 00019 00020 #include "FWCore/Framework/interface/Event.h" 00021 #include "FWCore/Framework/interface/MakerMacros.h" 00022 00023 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00024 00025 #include "boost/cstdint.hpp" 00026 #include <iostream> 00027 #include <string> 00028 #include <vector> 00029 00030 class MonitorElement; 00031 00032 class SiStripPedestalsDQM; 00033 class SiStripNoisesDQM; 00034 class SiStripQualityDQM; 00035 class SiStripApvGainsDQM; 00036 class SiStripLorentzAngleDQM; 00037 00038 class SiStripClassToMonitorCondData{ 00039 00040 public: 00041 00042 explicit SiStripClassToMonitorCondData(edm::ParameterSet const& iConfig); 00043 00044 ~SiStripClassToMonitorCondData(); 00045 00046 void beginJob() ; 00047 void beginRun(edm::EventSetup const& eSetup); 00048 void analyseCondData(const edm::EventSetup&); 00049 void endRun(edm::EventSetup const& eSetup); 00050 void endJob() ; 00051 00052 void getModMEsOnDemand(edm::EventSetup const& eSetup, uint32_t requestedDetId); 00053 void getLayerMEsOnDemand(edm::EventSetup const& eSetup, std::string requestedSubDetector, uint32_t requestedSide, uint32_t requestedLayer); 00054 00055 private: 00056 00057 00058 edm::ParameterSet conf_; 00059 00060 bool monitorPedestals_ ; 00061 bool monitorNoises_ ; 00062 bool monitorQuality_ ; 00063 bool monitorApvGains_ ; 00064 bool monitorLorentzAngle_; 00065 00066 bool gainRenormalisation_; 00067 00068 std::string outPutFileName; 00069 00070 SiStripPedestalsDQM* pedestalsDQM_; 00071 SiStripNoisesDQM* noisesDQM_; 00072 SiStripQualityDQM* qualityDQM_; 00073 SiStripApvGainsDQM* apvgainsDQM_; 00074 SiStripLorentzAngleDQM* lorentzangleDQM_; 00075 00076 }; 00077 00078 #endif