CondFormats
SiPixelObjects
interface
FrameConversion.h
Go to the documentation of this file.
1
#ifndef SiPixelObjects_FrameConversion_H
2
#define SiPixelObjects_FrameConversion_H
3
4
#include "
CondFormats/SiPixelObjects/interface/LinearConversion.h
"
5
6
class
PixelEndcapName
;
7
class
PixelBarrelName
;
8
class
TrackerTopology
;
9
10
namespace
sipixelobjects
{
11
12
class
FrameConversion
{
13
public
:
14
FrameConversion
() {}
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
25
const
sipixelobjects::LinearConversion
&
row
()
const
{
return
theRowConversion
; }
26
const
sipixelobjects::LinearConversion
&
collumn
()
const
{
return
theCollumnConversion
; }
27
28
private
:
29
sipixelobjects::LinearConversion
theRowConversion
;
30
sipixelobjects::LinearConversion
theCollumnConversion
;
31
};
32
33
}
// namespace sipixelobjects
34
#endif
LinearConversion.h
TrackerTopology
Definition:
TrackerTopology.h:16
sipixelobjects::FrameConversion::FrameConversion
FrameConversion(int rowOffset, int rowSlopeSign, int colOffset, int colSlopeSign)
Definition:
FrameConversion.h:17
PixelBarrelName
Definition:
PixelBarrelName.h:16
sipixelobjects::FrameConversion::theCollumnConversion
sipixelobjects::LinearConversion theCollumnConversion
Definition:
FrameConversion.h:30
sipixelobjects::FrameConversion::row
const sipixelobjects::LinearConversion & row() const
Definition:
FrameConversion.h:25
sipixelobjects::FrameConversion::FrameConversion
FrameConversion()
Definition:
FrameConversion.h:14
sipixelobjects::FrameConversion::theRowConversion
sipixelobjects::LinearConversion theRowConversion
Definition:
FrameConversion.h:29
PixelEndcapName
Definition:
PixelEndcapName.h:16
sipixelobjects
Definition:
CablingPathToDetUnit.h:4
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition:
phase1PixelTopology.h:99
sipixelobjects::LinearConversion
Definition:
LinearConversion.h:6
sipixelobjects::FrameConversion
Definition:
FrameConversion.h:12
sipixelobjects::FrameConversion::collumn
const sipixelobjects::LinearConversion & collumn() const
Definition:
FrameConversion.h:26
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.16