CMS 3D CMS Logo

ConverterTester.h

Go to the documentation of this file.
00001 #ifndef ConverterTester_h
00002 #define ConverterTester_h
00003 
00013 // framework & common header files
00014 #include "FWCore/Framework/interface/EDAnalyzer.h"
00015 #include "FWCore/Framework/interface/Frameworkfwd.h"
00016 #include "FWCore/Framework/interface/Event.h"
00017 #include "FWCore/Framework/interface/EventSetup.h"
00018 #include "FWCore/Framework/interface/Run.h"
00019 #include "FWCore/Framework/interface/MakerMacros.h"
00020 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00021 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00022 
00023 //DQM services
00024 #include "DQMServices/Core/interface/DQMStore.h"
00025 #include "FWCore/ServiceRegistry/interface/Service.h"
00026 #include "DQMServices/Core/interface/MonitorElement.h"
00027 
00028 #include <iostream>
00029 #include <stdlib.h>
00030 #include <string>
00031 #include <memory>
00032 #include <vector>
00033 
00034 #include "TString.h"
00035 #include "TRandom.h"
00036 #include "TRandom3.h"
00037 
00038 class ConverterTester : public edm::EDAnalyzer
00039 {
00040   
00041  public:
00042 
00043   explicit ConverterTester(const edm::ParameterSet&);
00044   virtual ~ConverterTester();
00045   virtual void beginJob(const edm::EventSetup&);
00046   virtual void endJob();  
00047   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00048   virtual void beginRun(const edm::Run&, const edm::EventSetup&);
00049   virtual void endRun(const edm::Run&, const edm::EventSetup&);
00050 
00051   
00052 private:
00053   std::string fName;
00054   int verbosity;
00055   int frequency;
00056   std::string label;
00057   DQMStore *dbe;
00058 
00059   MonitorElement *meTestString;
00060   MonitorElement *meTestInt;
00061   MonitorElement *meTestFloat;
00062   MonitorElement *meTestTH1FD;
00063   MonitorElement *meTestTH1FN;
00064   MonitorElement *meTestTH2F;
00065   MonitorElement *meTestTH3F;
00066   MonitorElement *meTestProfile1;
00067   MonitorElement *meTestProfile2;
00068 
00069   TRandom *Random;
00070   double RandomVal1;
00071   double RandomVal2;
00072   double RandomVal3;
00073 
00074  // private statistics information
00075   unsigned int count;
00076 };
00077 
00078 #endif

Generated on Tue Jun 9 17:34:15 2009 for CMSSW by  doxygen 1.5.4