Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-10-22 02:30:51

0001 #ifndef Alignment_MuonAlignment_MuonAlignmentInputSurveyDB_h
0002 #define Alignment_MuonAlignment_MuonAlignmentInputSurveyDB_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     MuonAlignment
0006 // Class  :     MuonAlignmentInputSurveyDB
0007 //
0008 /**\class MuonAlignmentInputSurveyDB MuonAlignmentInputSurveyDB.h Alignment/MuonAlignment/interface/MuonAlignmentInputSurveyDB.h
0009 
0010  Description: <one line class summary>
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:  Jim Pivarski
0018 //         Created:  Fri Mar  7 16:13:19 CST 2008
0019 // $Id$
0020 //
0021 
0022 // system include files
0023 
0024 // user include files
0025 #include "Alignment/MuonAlignment/interface/MuonAlignmentInputMethod.h"
0026 #include "CondFormats/Alignment/interface/Alignments.h"
0027 #include "CondFormats/Alignment/interface/SurveyErrors.h"
0028 
0029 // forward declarations
0030 
0031 class MuonAlignmentInputSurveyDB : public MuonAlignmentInputMethod {
0032 public:
0033   MuonAlignmentInputSurveyDB(const DTGeometry* dtGeometry,
0034                              const CSCGeometry* cscGeometry,
0035                              const GEMGeometry* gemGeometry,
0036                              const Alignments* dtSurvey,
0037                              const Alignments* cscSurvey,
0038                              const SurveyErrors* dtSurveyError,
0039                              const SurveyErrors* cscSurveyError);
0040   ~MuonAlignmentInputSurveyDB() override;
0041 
0042   // ---------- const member functions ---------------------
0043 
0044   // ---------- static member functions --------------------
0045 
0046   // ---------- member functions ---------------------------
0047 
0048   AlignableMuon* newAlignableMuon() const override;
0049 
0050   MuonAlignmentInputSurveyDB(const MuonAlignmentInputSurveyDB&) = delete;  // stop default
0051 
0052   const MuonAlignmentInputSurveyDB& operator=(const MuonAlignmentInputSurveyDB&) = delete;  // stop default
0053 
0054 private:
0055   void addSurveyInfo_(Alignable* ali,
0056                       unsigned int* theSurveyIndex,
0057                       const Alignments* theSurveyValues,
0058                       const SurveyErrors* theSurveyErrors) const;
0059 
0060   // ---------- member data --------------------------------
0061   const DTGeometry* dtGeometry_;
0062   const CSCGeometry* cscGeometry_;
0063   const GEMGeometry* gemGeometry_;
0064   const Alignments* dtSurvey_;
0065   const Alignments* cscSurvey_;
0066   const SurveyErrors* dtSurveyError_;
0067   const SurveyErrors* cscSurveyError_;
0068 };
0069 
0070 #endif