CMS 3D CMS Logo

EBTestPulseTask.h

Go to the documentation of this file.
00001 #ifndef EBTestPulseTask_H
00002 #define EBTestPulseTask_H
00003 
00004 /*
00005  * \file EBTestPulseTask.h
00006  *
00007  * $Date: 2008/05/11 09:35:08 $
00008  * $Revision: 1.31 $
00009  * \author G. Della Ricca
00010  * \author G. Franzoni
00011  *
00012 */
00013 
00014 #include "FWCore/Framework/interface/EDAnalyzer.h"
00015 #include "FWCore/Framework/interface/Event.h"
00016 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00017 
00018 class MonitorElement;
00019 class DQMStore;
00020 
00021 class EBTestPulseTask: public edm::EDAnalyzer{
00022 
00023 public:
00024 
00026 EBTestPulseTask(const edm::ParameterSet& ps);
00027 
00029 virtual ~EBTestPulseTask();
00030 
00031 protected:
00032 
00034 void analyze(const edm::Event& e, const edm::EventSetup& c);
00035 
00037 void beginJob(const edm::EventSetup& c);
00038 
00040 void endJob(void);
00041 
00043 void beginRun(const edm::Run & r, const edm::EventSetup & c);
00044 
00046 void endRun(const edm::Run & r, const edm::EventSetup & c);
00047 
00049 void reset(void);
00050 
00052 void setup(void);
00053 
00055 void cleanup(void);
00056 
00057 private:
00058 
00059 int ievt_;
00060 
00061 DQMStore* dqmStore_;
00062 
00063 std::string prefixME_;
00064 
00065 bool enableCleanup_;
00066 
00067 bool mergeRuns_;
00068 
00069 edm::InputTag EcalRawDataCollection_;
00070 edm::InputTag EBDigiCollection_;
00071 edm::InputTag EcalPnDiodeDigiCollection_;
00072 edm::InputTag EcalUncalibratedRecHitCollection_;
00073 
00074 MonitorElement* meShapeMapG01_[36];
00075 MonitorElement* meShapeMapG06_[36];
00076 MonitorElement* meShapeMapG12_[36];
00077 
00078 MonitorElement* meAmplMapG01_[36];
00079 MonitorElement* meAmplMapG06_[36];
00080 MonitorElement* meAmplMapG12_[36];
00081 
00082 MonitorElement* mePnAmplMapG01_[36];
00083 MonitorElement* mePnAmplMapG16_[36];
00084 
00085 MonitorElement* mePnPedMapG01_[36];
00086 MonitorElement* mePnPedMapG16_[36];
00087 
00088 // Quality check on crystals, one per each gain
00089 
00090 float amplitudeThreshold_;
00091 
00092 bool init_;
00093 
00094 };
00095 
00096 #endif

Generated on Tue Jun 9 17:32:45 2009 for CMSSW by  doxygen 1.5.4