Skip to content

Commit

Permalink
Merge pull request #25395 from bsunanda/Phase2-hgx175
Browse files Browse the repository at this point in the history
Phase2-hgx175 Update documentation of trigger DetId of HGCal and also the mask for trigger type
  • Loading branch information
cmsbuild committed Dec 4, 2018
2 parents f44a319 + 0b46678 commit c4e05b0
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions DataFormats/ForwardDetId/interface/HGCalTriggerDetId.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@
#include "DataFormats/ForwardDetId/interface/HGCSiliconDetId.h"

/* \brief description of the bit assigment
[0:4] u-coordinate of the cell (measured from the lower left
[5:9] v-coordinate of the cell corner of the wafer)
[10:13] abs(u) of the wafer (u-axis points along -x axis)
[14:14] sign of u (0:+u; 1:-u) (u=0 is at the center of beam line)
[15:18] abs(v) of the wafer (v-axis points 60-degree wrt x-axis)
[19:19] sign of v (0:+v; 1:-v) (v=0 is at the center of beam line)
[20:24] layer number
[25:25] z-side (0 for +z; 1 for -z)
[26:27] Type (0 fine divisions of wafer with 120 mum thick silicon
[0:3] u-coordinate of the cell (measured from the lower left
[4:7] v-coordinate of the cell corner of the wafer)
[8:11] abs(u) of the wafer (u-axis points along -x axis)
[12:12] sign of u (0:+u; 1:-u) (u=0 is at the center of beam line)
[13:16] abs(v) of the wafer (v-axis points 60-degree wrt x-axis)
[17:17] sign of v (0:+v; 1:-v) (v=0 is at the center of beam line)
[18:22] layer number
[23:24] Type (0 fine divisions of wafer with 120 mum thick silicon
1 coarse divisions of wafer with 200 mum thick silicon
2 coarse divisions of wafer with 300 mum thick silicon)
[28:31] Detector type (HGCalEE or HGCalHSi)
[25:26] Subdetector Type (HGCalEETrigger/HGCalHSiTrigger)
[27:27] z-side (0 for +z; 1 for -z)
[28:31] Detector type (HGCalTrigger)
*/

class HGCalTriggerDetId : public DetId {
Expand Down Expand Up @@ -102,7 +103,7 @@ class HGCalTriggerDetId : public DetId {
static const int kHGCalLayerOffset = 18;
static const int kHGCalLayerMask = 0x1F;
static const int kHGCalTypeOffset = 23;
static const int kHGCalTypeMask = 0x1;
static const int kHGCalTypeMask = 0x3;
static const int kHGCalZsideOffset = 27;
static const int kHGCalZsideMask = 0x1;
static const int kHGCalSubdetOffset = 25;
Expand Down

0 comments on commit c4e05b0

Please sign in to comment.