CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DQM/SiStripMonitorSummary/interface/SiStripClassToMonitorCondData.h

Go to the documentation of this file.
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 class SiStripCablingDQM;
00038 class SiStripThresholdDQM;
00039 
00040 class SiStripClassToMonitorCondData{
00041  
00042  public:
00043  
00044    explicit SiStripClassToMonitorCondData(edm::ParameterSet const& iConfig);
00045  
00046    ~SiStripClassToMonitorCondData();
00047    
00048    void beginJob() ;  
00049    void beginRun(edm::EventSetup const& eSetup);
00050    void analyseCondData(const edm::EventSetup&);
00051    void endRun(edm::EventSetup const& eSetup);
00052    void endJob() ;
00053   
00054    void getModMEsOnDemand(edm::EventSetup const& eSetup, uint32_t requestedDetId);
00055    void getLayerMEsOnDemand(edm::EventSetup const& eSetup, std::string requestedSubDetector, uint32_t requestedSide, uint32_t requestedLayer);
00056   
00057  private:  
00058   
00059    
00060    edm::ParameterSet conf_;
00061   
00062    bool monitorPedestals_     ;
00063    bool monitorNoises_        ;
00064    bool monitorQuality_       ;
00065    bool monitorApvGains_      ;
00066    bool monitorLorentzAngle_  ;
00067    bool monitorLowThreshold_  ;
00068    bool monitorHighThreshold_ ;
00069    bool monitorCabling_       ;
00070 
00071    bool gainRenormalisation_;
00072      
00073    std::string outPutFileName;
00074 
00075    SiStripPedestalsDQM*           pedestalsDQM_;
00076    SiStripNoisesDQM*                 noisesDQM_; 
00077    SiStripQualityDQM*               qualityDQM_; 
00078    SiStripApvGainsDQM*             apvgainsDQM_; 
00079    SiStripLorentzAngleDQM*     lorentzangleDQM_;    
00080    SiStripCablingDQM*               cablingDQM_;
00081    SiStripThresholdDQM*        lowthresholdDQM_;
00082    SiStripThresholdDQM*       highthresholdDQM_;
00083 
00084   
00085 };
00086 
00087 #endif