CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FrameConversion.h
Go to the documentation of this file.
1 #ifndef SiPixelObjects_FrameConversion_H
2 #define SiPixelObjects_FrameConversion_H
3 
5 #include <boost/cstdint.hpp>
6 
7 class PixelEndcapName;
8 class PixelBarrelName;
9 
10 namespace sipixelobjects {
11 
13 public:
14  FrameConversion( const PixelEndcapName & name, int rocIdInDetUnit);
15  FrameConversion( const PixelBarrelName & name, int rocIdInDetUnit);
16  FrameConversion( int rowOffset, int rowSlopeSign, int colOffset, int colSlopeSign)
17  : theRowConversion( LinearConversion(rowOffset,rowSlopeSign) ),
18  theCollumnConversion( LinearConversion(colOffset, colSlopeSign) ) {}
19 
20  FrameConversion * clone() const { return new FrameConversion(*this); }
21 
24 
25 private:
28 };
29 
30 }
31 #endif
FrameConversion(const PixelEndcapName &name, int rocIdInDetUnit)
const sipixelobjects::LinearConversion & row() const
const sipixelobjects::LinearConversion & collumn() const
FrameConversion * clone() const
sipixelobjects::LinearConversion theRowConversion
FrameConversion(int rowOffset, int rowSlopeSign, int colOffset, int colSlopeSign)
sipixelobjects::LinearConversion theCollumnConversion