CMS 3D CMS Logo

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 class TrackerTopology;
10 
11 namespace sipixelobjects {
12 
14 public:
16  FrameConversion( const PixelEndcapName & name, int rocIdInDetUnit);
17  FrameConversion( const PixelBarrelName & name, int rocIdInDetUnit);
18  FrameConversion( int rowOffset, int rowSlopeSign, int colOffset, int colSlopeSign)
19  : theRowConversion( LinearConversion(rowOffset,rowSlopeSign) ),
20  theCollumnConversion( LinearConversion(colOffset, colSlopeSign) ) {}
21  // for phase1
22  FrameConversion(bool bpix, int side, int layer, int rocIdInDetUnit);
23  // Frame conversion compatible with CMSSW_9_0_X Monte Carlo samples
24  FrameConversion(bool bpix, int side, int rocIdInDetUnit);
25 
28 
29 private:
32 };
33 
34 }
35 #endif
const sipixelobjects::LinearConversion & row() const
const sipixelobjects::LinearConversion & collumn() const
sipixelobjects::LinearConversion theRowConversion
FrameConversion(int rowOffset, int rowSlopeSign, int colOffset, int colSlopeSign)
sipixelobjects::LinearConversion theCollumnConversion