00001 #ifndef Alignment_MuonAlignment_MuonAlignmentInputSurveyDB_h 00002 #define Alignment_MuonAlignment_MuonAlignmentInputSurveyDB_h 00003 // -*- C++ -*- 00004 // 00005 // Package: MuonAlignment 00006 // Class : MuonAlignmentInputSurveyDB 00007 // 00016 // 00017 // Original Author: Jim Pivarski 00018 // Created: Fri Mar 7 16:13:19 CST 2008 00019 // $Id: MuonAlignmentInputSurveyDB.h,v 1.1 2008/03/15 20:26:46 pivarski Exp $ 00020 // 00021 00022 // system include files 00023 00024 // user include files 00025 #include "Alignment/MuonAlignment/interface/MuonAlignmentInputMethod.h" 00026 #include "CondFormats/Alignment/interface/Alignments.h" 00027 #include "CondFormats/Alignment/interface/SurveyErrors.h" 00028 00029 // forward declarations 00030 00031 class MuonAlignmentInputSurveyDB: public MuonAlignmentInputMethod { 00032 public: 00033 MuonAlignmentInputSurveyDB(); 00034 MuonAlignmentInputSurveyDB(std::string dtLabel, std::string cscLabel); 00035 virtual ~MuonAlignmentInputSurveyDB(); 00036 00037 // ---------- const member functions --------------------- 00038 00039 // ---------- static member functions -------------------- 00040 00041 // ---------- member functions --------------------------- 00042 00043 virtual AlignableMuon *newAlignableMuon(const edm::EventSetup &iSetup) const; 00044 00045 private: 00046 MuonAlignmentInputSurveyDB(const MuonAlignmentInputSurveyDB&); // stop default 00047 00048 const MuonAlignmentInputSurveyDB& operator=(const MuonAlignmentInputSurveyDB&); // stop default 00049 00050 void addSurveyInfo_(Alignable* ali, 00051 unsigned int* theSurveyIndex, 00052 const Alignments* theSurveyValues, 00053 const SurveyErrors* theSurveyErrors) const; 00054 00055 // ---------- member data -------------------------------- 00056 00057 std::string m_dtLabel, m_cscLabel; 00058 }; 00059 00060 00061 #endif