Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:49

0001 /****************************************************************************
0002 * Authors: 
0003 *  Jan Kašpar (jan.kaspar@gmail.com) 
0004 ****************************************************************************/
0005 
0006 #ifndef CalibPPS_AlignmentRelative_HitCollection_h
0007 #define CalibPPS_AlignmentRelative_HitCollection_h
0008 
0009 #include <vector>
0010 
0011 //----------------------------------------------------------------------------------------------------
0012 
0013 struct Hit {
0014   /// sensor id
0015   unsigned int id;
0016 
0017   /// index of read-out direction (valid are: 1 or 2)
0018   unsigned int dirIdx;
0019 
0020   /// measurement position; mm
0021   double position;
0022 
0023   /// measurement position; mm
0024   double sigma;
0025 
0026   /// global z - AlignmentGeometry::z0, mm
0027   double z;
0028 
0029   Hit(unsigned int _id = 0, unsigned int _dirIdx = 0, double _pos = 0, double _sig = 0, double _z = 0)
0030       : id(_id), dirIdx(_dirIdx), position(_pos), sigma(_sig), z(_z) {}
0031 };
0032 
0033 //----------------------------------------------------------------------------------------------------
0034 
0035 typedef std::vector<Hit> HitCollection;
0036 
0037 //----------------------------------------------------------------------------------------------------
0038 
0039 #endif