00001 #ifndef Alignment_SurveyAnalysis_DTSurveyConvert_H 00002 #define Alignment_SurveyAnalysis_DTSurveyConvert_H 00003 00004 // -*- C++ -*- 00005 // 00006 // Package: DTSurveyConvert 00007 // Class: DTSurveyConvert 00008 // 00016 // 00017 // Original Author: Pablo Martinez Ruiz Del Arbol 00018 // Created: Wed Mar 28 09:50:08 CEST 2007 00019 // $Id: DTSurveyConvert.h,v 1.1 2008/04/11 05:06:12 cklae Exp $ 00020 // 00021 // 00022 00023 #include "FWCore/Framework/interface/EDAnalyzer.h" 00024 00025 class DTSurvey; 00026 00027 class DTSurveyConvert : public edm::EDAnalyzer 00028 { 00029 public: 00030 explicit DTSurveyConvert(const edm::ParameterSet&); 00031 00032 private: 00033 virtual void analyze(const edm::Event&, const edm::EventSetup&); 00034 virtual void endJob(const edm::EventSetup&); 00035 std::vector<DTSurvey *> wheelList; 00036 std::string nameWheel_m2; 00037 std::string nameWheel_m1; 00038 std::string nameWheel_0; 00039 std::string nameWheel_p1; 00040 std::string nameWheel_p2; 00041 std::string nameChambers_m2; 00042 std::string nameChambers_m1; 00043 std::string nameChambers_0; 00044 std::string nameChambers_p1; 00045 std::string nameChambers_p2; 00046 std::string outputFileName; 00047 bool wheel_m2; 00048 bool wheel_m1; 00049 bool wheel_0; 00050 bool wheel_p1; 00051 bool wheel_p2; 00052 bool WriteToDB; 00053 }; 00054 00055 #endif 00056