00001 #ifndef Alignment_MuonAlignment_MuonAlignmentInputDB_h 00002 #define Alignment_MuonAlignment_MuonAlignmentInputDB_h 00003 // -*- C++ -*- 00004 // 00005 // Package: MuonAlignment 00006 // Class : MuonAlignmentInputDB 00007 // 00016 // 00017 // Original Author: Jim Pivarski 00018 // Created: Thu Mar 6 17:30:40 CST 2008 00019 // $Id: MuonAlignmentInputDB.h,v 1.2 2009/10/07 20:46:38 pivarski Exp $ 00020 // 00021 00022 // system include files 00023 00024 // user include files 00025 #include "Alignment/MuonAlignment/interface/MuonAlignmentInputMethod.h" 00026 00027 // forward declarations 00028 00029 class MuonAlignmentInputDB: public MuonAlignmentInputMethod { 00030 public: 00031 MuonAlignmentInputDB(); 00032 MuonAlignmentInputDB(std::string dtLabel, std::string cscLabel, bool getAPEs); 00033 virtual ~MuonAlignmentInputDB(); 00034 00035 // ---------- const member functions --------------------- 00036 00037 // ---------- static member functions -------------------- 00038 00039 // ---------- member functions --------------------------- 00040 00041 virtual AlignableMuon *newAlignableMuon(const edm::EventSetup &iSetup) const; 00042 00043 private: 00044 MuonAlignmentInputDB(const MuonAlignmentInputDB&); // stop default 00045 00046 const MuonAlignmentInputDB& operator=(const MuonAlignmentInputDB&); // stop default 00047 00048 // ---------- member data -------------------------------- 00049 00050 std::string m_dtLabel, m_cscLabel; 00051 bool m_getAPEs; 00052 }; 00053 00054 00055 #endif