CMS 3D CMS Logo

HGCalTileIndex.cc
Go to the documentation of this file.
3 
4 int32_t HGCalTileIndex::tileIndex(int32_t layer, int32_t ring, int32_t phi) {
5  int32_t id(0);
9  return id;
10 }
11 
12 int32_t HGCalTileIndex::tileLayer(int32_t id) {
14 }
15 
16 int32_t HGCalTileIndex::tileRing(int32_t id) {
18 }
19 
20 int32_t HGCalTileIndex::tilePhi(int32_t id) {
22 }
23 
24 int32_t HGCalTileIndex::tileProperty(int32_t type, int32_t sipm) {
27 }
28 
29 int32_t HGCalTileIndex::tileType(int32_t property) {
31 }
32 
33 int32_t HGCalTileIndex::tileSiPM(int32_t property) {
35 }
36 
37 int32_t HGCalTileIndex::tilePack(int32_t ly, int32_t k1, int32_t k2) {
38  return (
42 }
43 
44 std::tuple<int32_t, int32_t, int32_t> HGCalTileIndex::tileUnpack(int32_t index) {
45  int32_t ly =
48  int32_t k2 = (index % HGCalProperty::kHGCalTilePack);
49  return std::make_tuple(ly, k1, k2);
50 }
51 
52 bool HGCalTileIndex::tileExist(const int32_t* hex, int32_t zside, int32_t iphi) {
53  int32_t phi(iphi - 1);
54  if (zside > 0) {
58  }
62  bool ok = (hex[iw] & (1 << ibit));
63  return ok;
64 }
HGCalTileIndex::tilePack
int32_t tilePack(int32_t ly, int32_t k1, int32_t k2)
Definition: HGCalTileIndex.cc:37
HGCalProperty::kHGCalOffsetType
constexpr int32_t kHGCalOffsetType
Definition: HGCalProperty.h:40
HGCalTileIndex::tilePhi
int32_t tilePhi(int32_t index)
Definition: HGCalTileIndex.cc:20
HGCalProperty::kHGCalTilePack
constexpr int32_t kHGCalTilePack
Definition: HGCalProperty.h:42
HGCalProperty.h
HGCalProperty::kHGCalFactor
constexpr int32_t kHGCalFactor
Definition: HGCalProperty.h:36
ecaldqm::zside
int zside(DetId const &)
Definition: EcalDQMCommonUtils.cc:189
HGCalTileIndex::tileRing
int32_t tileRing(int32_t index)
Definition: HGCalTileIndex.cc:16
HGCalProperty::kHGCalTilePhisBy12
constexpr int32_t kHGCalTilePhisBy12
Definition: HGCalProperty.h:47
convertSQLiteXML.ok
bool ok
Definition: convertSQLiteXML.py:98
HGCalTileIndex::tileIndex
int32_t tileIndex(int32_t layer, int32_t ring, int32_t phi)
Definition: HGCalTileIndex.cc:4
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
HGCalTileIndex.h
HGCalTileIndex::tileLayer
int32_t tileLayer(int32_t index)
Definition: HGCalTileIndex.cc:12
HGCalTileIndex::tileExist
bool tileExist(const int32_t *hex, int32_t zside, int32_t phi)
Definition: HGCalTileIndex.cc:52
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
HGCalProperty::kHGCalRingMask
constexpr int32_t kHGCalRingMask
Definition: HGCalProperty.h:34
HGCalTileIndex::tileUnpack
std::tuple< int32_t, int32_t, int32_t > tileUnpack(int32_t index)
Definition: HGCalTileIndex.cc:44
PVValHelper::phi
Definition: PVValidationHelpers.h:69
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
HGCalTileIndex::tileProperty
int32_t tileProperty(int32_t, int32_t)
Definition: HGCalTileIndex.cc:24
HGCalProperty::kHGCalTilePhis
constexpr int32_t kHGCalTilePhis
Definition: HGCalProperty.h:44
HGCalProperty::kHGCalPhiMask
constexpr int32_t kHGCalPhiMask
Definition: HGCalProperty.h:32
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29
HGCalTileIndex::tileSiPM
int32_t tileSiPM(int32_t)
Definition: HGCalTileIndex.cc:33
HGCalProperty::kHGCalTilePhisBy2
constexpr int32_t kHGCalTilePhisBy2
Definition: HGCalProperty.h:45
findQualityFiles.jj
string jj
Definition: findQualityFiles.py:188
relativeConstraints.ring
ring
Definition: relativeConstraints.py:68
HGCalProperty::kHGCalLayerOffset
constexpr int32_t kHGCalLayerOffset
Definition: HGCalProperty.h:28
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
HGCalTileIndex::tileType
int32_t tileType(int32_t)
Definition: HGCalTileIndex.cc:29
HGCalProperty::kHGCalRingOffset
constexpr int32_t kHGCalRingOffset
Definition: HGCalProperty.h:33
HGCalProperty::kHGCalTilePhisBy3
constexpr int32_t kHGCalTilePhisBy3
Definition: HGCalProperty.h:46
HGCalProperty::kHGCalPhiOffset
constexpr int32_t kHGCalPhiOffset
Definition: HGCalProperty.h:31
HGCalProperty::kHGCalOffsetSiPM
constexpr int32_t kHGCalOffsetSiPM
Definition: HGCalProperty.h:41
HGCalProperty::kHGCalLayerMask
constexpr int32_t kHGCalLayerMask
Definition: HGCalProperty.h:29