CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FrameConversion.h
Go to the documentation of this file.
1 #ifndef SiPixelObjects_FrameConversion_H
2 #define SiPixelObjects_FrameConversion_H
3 
5 
6 class PixelEndcapName;
7 class PixelBarrelName;
8 class TrackerTopology;
9 
10 namespace sipixelobjects {
11 
13  public:
15  FrameConversion(const PixelEndcapName& name, int rocIdInDetUnit);
16  FrameConversion(const PixelBarrelName& name, int rocIdInDetUnit);
17  FrameConversion(int rowOffset, int rowSlopeSign, int colOffset, int colSlopeSign)
18  : theRowConversion(LinearConversion(rowOffset, rowSlopeSign)),
19  theCollumnConversion(LinearConversion(colOffset, colSlopeSign)) {}
20  // for phase1
21  FrameConversion(bool bpix, int side, int layer, int rocIdInDetUnit);
22  // Frame conversion compatible with CMSSW_9_0_X Monte Carlo samples
23  FrameConversion(bool bpix, int side, int rocIdInDetUnit);
24 
27 
28  private:
31  };
32 
33 } // namespace sipixelobjects
34 #endif
const sipixelobjects::LinearConversion & row() const
constexpr std::array< uint8_t, layerIndexSize > layer
const sipixelobjects::LinearConversion & collumn() const
sipixelobjects::LinearConversion theRowConversion
FrameConversion(int rowOffset, int rowSlopeSign, int colOffset, int colSlopeSign)
sipixelobjects::LinearConversion theCollumnConversion