CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/Alignment/SurveyAnalysis/plugins/SurveyInputCSCfromPins.h

Go to the documentation of this file.
00001 #ifndef Alignment_SurveyAnalysis_SurveyInputCSCfromPins_h
00002 #define Alignment_SurveyAnalysis_SurveyInputCSCfromPins_h
00003 
00012 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00013 #include "Alignment/SurveyAnalysis/interface/SurveyInputBase.h"
00014 
00015 class SurveyInputCSCfromPins:
00016   public SurveyInputBase
00017 {
00018 public:
00019         
00020   SurveyInputCSCfromPins(const edm::ParameterSet&);
00021         
00023   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00024 
00025 private:
00026 
00027   void orient(LocalVector LC1, LocalVector LC2, double a, double b, double &T, double &dx, double &dy, double &dz, double &PhX, double &PhZ);
00028   void errors(double a, double b, bool missing1, bool missing2, double &dx_dx, double &dy_dy, double &dz_dz, double &phix_phix, double &phiz_phiz, double &dy_phix);
00029 
00030   void fillAllRecords(Alignable *ali);
00031 
00032   std::string m_pinPositions;
00033   std::string m_rootFile;
00034   bool m_verbose;
00035   double m_errorX, m_errorY, m_errorZ;
00036   double m_missingErrorTranslation, m_missingErrorAngle;
00037   double m_stationErrorX, m_stationErrorY, m_stationErrorZ, m_stationErrorPhiX, m_stationErrorPhiY, m_stationErrorPhiZ;
00038 };
00039 
00040 #endif