00001 #ifndef Alignment_SurveyAnalysis_SurveyMisalignmentInput_h 00002 #define Alignment_SurveyAnalysis_SurveyMisalignmentInput_h 00003 00012 // user include files 00013 00014 #include "Alignment/SurveyAnalysis/interface/SurveyInputBase.h" 00015 #include "Alignment/SurveyAnalysis/interface/SurveyInputTextReader.h" 00016 #include "FWCore/Framework/interface/ESHandle.h" 00017 00018 class AlignableSurface; 00019 class Alignments; 00020 00021 class SurveyMisalignmentInput: 00022 public SurveyInputBase 00023 { 00024 public: 00025 00026 SurveyMisalignmentInput( 00027 const edm::ParameterSet& 00028 ); 00029 00031 virtual void analyze( 00032 const edm::Event&, 00033 const edm::EventSetup& 00034 ); 00035 00036 private: 00037 00038 SurveyInputTextReader::MapType uIdMap; 00039 00040 std::string textFileName; 00041 00042 edm::ESHandle<Alignments> alignments; 00043 00045 void addSurveyInfo(Alignable*); 00046 00048 AlignableSurface getAlignableSurface(align::ID); 00049 00050 }; 00051 00052 #endif