Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:45:24

0001 #ifndef Alignment_MuonAlignmentAlgorithms_MuonHitsChamberResidual_H
0002 #define Alignment_MuonAlignmentAlgorithms_MuonHitsChamberResidual_H
0003 
0004 /** \class MuonHitsChamberResidual
0005  * 
0006  * Second level abstraction class for muon chamber residulas: 
0007  * for alignment using individual rechits it implements linear segment fit of hits.
0008  * 
0009  *  $Id: $
0010  *  \author V. Khotilovich - Texas A&M University <khotilov@cern.ch>
0011  */
0012 
0013 #include "Alignment/MuonAlignmentAlgorithms/interface/MuonChamberResidual.h"
0014 
0015 #include "FWCore/Framework/interface/ESHandle.h"
0016 #include "Alignment/CommonAlignment/interface/AlignableNavigator.h"
0017 #include "Alignment/CommonAlignment/interface/Alignable.h"
0018 #include "Alignment/CommonAlignment/interface/AlignmentParameters.h"
0019 #include "Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h"
0020 #include "DataFormats/DetId/interface/DetId.h"
0021 
0022 class MuonHitsChamberResidual : public MuonChamberResidual {
0023 public:
0024   MuonHitsChamberResidual(edm::ESHandle<GlobalTrackingGeometry> globalGeometry,
0025                           AlignableNavigator* navigator,
0026                           DetId chamberId,
0027                           const AlignableDetOrUnitPtr& chamberAlignable);
0028 
0029   void segment_fit();
0030 
0031 protected:
0032   double m_chamber_width;
0033   double m_chamber_length;
0034   double m_residual_1;
0035   double m_residual_x;
0036   double m_residual_y;
0037   double m_residual_xx;
0038   double m_residual_xy;
0039   double m_trackx_1;
0040   double m_trackx_x;
0041   double m_trackx_y;
0042   double m_trackx_xx;
0043   double m_trackx_xy;
0044   double m_tracky_1;
0045   double m_tracky_x;
0046   double m_tracky_y;
0047   double m_tracky_xx;
0048   double m_tracky_xy;
0049   double m_hitx_1;
0050   double m_hitx_x;
0051   double m_hitx_y;
0052   double m_hitx_xx;
0053   double m_hitx_xy;
0054   double m_hity_1;
0055   double m_hity_x;
0056   double m_hity_y;
0057   double m_hity_xx;
0058   double m_hity_xy;
0059 };
0060 
0061 #endif  // Alignment_MuonAlignmentAlgorithms_MuonHitsChamberResidual_H