CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes | Friends
HGCalTBParameters Class Reference

#include <HGCalTBParameters.h>

Classes

struct  hgtrap
 
struct  hgtrform
 

Public Types

typedef std::vector< std::unordered_map< int32_t, int32_t > > layer_map
 
typedef std::unordered_map< int32_t, int32_t > wafer_map
 
typedef std::unordered_map< int32_t, std::pair< int32_t, int32_t > > waferT_map
 
enum  waferType { HGCalFine = 0, HGCalCoarseThin = 1, HGCalCoarseThick = 2 }
 

Public Member Functions

void addTrForm (const CLHEP::Hep3Vector &h3v)
 
void fillModule (const hgtrap &mytr, bool reco)
 
void fillTrForm (const hgtrform &mytr)
 
std::array< int, 4 > getID (unsigned int k) const
 
hgtrap getModule (unsigned int k, bool reco) const
 
hgtrform getTrForm (unsigned int k) const
 
 HGCalTBParameters (const std::string &nam)
 
void scaleTrForm (double)
 
 ~HGCalTBParameters (void)=default
 

Public Attributes

std::vector< double > boundR_
 
std::vector< int > cellCoarse_
 
std::vector< bool > cellCoarseHalf_
 
wafer_map cellCoarseIndex_
 
std::vector< double > cellCoarseX_
 
std::vector< double > cellCoarseY_
 
std::vector< int > cellFactor_
 
std::vector< int > cellFine_
 
std::vector< bool > cellFineHalf_
 
wafer_map cellFineIndex_
 
std::vector< double > cellFineX_
 
std::vector< double > cellFineY_
 
std::vector< double > cellSize_
 
layer_map copiesInLayers_
 
bool defineFull_
 
std::vector< int > depth_
 
std::vector< int > depthIndex_
 
std::vector< int > depthLayerF_
 
int detectorType_
 
int firstLayer_
 
std::vector< int > layer_
 
std::vector< int > layerGroup_
 
std::vector< int > layerGroupM_
 
std::vector< int > layerGroupO_
 
std::vector< int > layerIndex_
 
std::vector< int > levelT_
 
int levelZSide_
 
HGCalGeometryMode::GeometryMode mode_
 
std::vector< double > moduleAlphaR_
 
std::vector< double > moduleAlphaS_
 
std::vector< double > moduleBlR_
 
std::vector< double > moduleBlS_
 
std::vector< double > moduleCellR_
 
std::vector< double > moduleCellS_
 
std::vector< double > moduleDzR_
 
std::vector< double > moduleDzS_
 
std::vector< double > moduleHR_
 
std::vector< double > moduleHS_
 
std::vector< int > moduleLayR_
 
std::vector< int > moduleLayS_
 
std::vector< double > moduleTlR_
 
std::vector< double > moduleTlS_
 
double mouseBite_
 
std::string name_
 
int nCells_
 
int nSectors_
 
std::vector< double > rLimit_
 
std::vector< double > rMaxFront_
 
std::vector< double > rMaxLayHex_
 
std::vector< double > rMinFront_
 
std::vector< double > rMinLayHex_
 
double sensorSeparation_
 
std::vector< double > slopeMin_
 
std::vector< double > slopeTop_
 
std::vector< uint32_t > trformIndex_
 
std::vector< double > trformRotXX_
 
std::vector< double > trformRotXY_
 
std::vector< double > trformRotXZ_
 
std::vector< double > trformRotYX_
 
std::vector< double > trformRotYY_
 
std::vector< double > trformRotYZ_
 
std::vector< double > trformRotZX_
 
std::vector< double > trformRotZY_
 
std::vector< double > trformRotZZ_
 
std::vector< double > trformTranX_
 
std::vector< double > trformTranY_
 
std::vector< double > trformTranZ_
 
int useSimWt_
 
std::vector< int > waferCopy_
 
std::vector< double > waferPosX_
 
std::vector< double > waferPosY_
 
double waferR_
 
double waferSize_
 
double waferThick_
 
std::vector< int > waferTypeL_
 
waferT_map waferTypes_
 
std::vector< int > waferTypeT_
 
int waferUVMax_
 
std::vector< int > waferUVMaxLayer_
 
std::vector< double > xLayerHex_
 
std::vector< double > yLayerHex_
 
std::vector< double > zFrontMin_
 
std::vector< double > zFrontTop_
 
std::vector< double > zLayerHex_
 
std::vector< double > zRanges_
 

Static Public Attributes

static constexpr uint32_t k_CornerSize = 6
 
static constexpr double k_ScaleFromDD4hep = (1.0 / dd4hep::cm)
 
static constexpr double k_ScaleFromDD4hepToG4 = (1.0 / dd4hep::mm)
 
static constexpr double k_ScaleFromDDD = 0.1
 
static constexpr double k_ScaleFromDDDToG4 = 1.0
 
static constexpr double k_ScaleToDD4hep = dd4hep::cm
 
static constexpr double k_ScaleToDD4hepFromG4 = dd4hep::mm
 
static constexpr double k_ScaleToDDD = 10.0
 
static constexpr double k_ScaleToDDDFromG4 = 1.0
 
static constexpr double tol = 1.0e-12
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Static Private Attributes

static constexpr int kMaskLayer = 0x7F
 
static constexpr int kMaskSector = 0x3FF
 
static constexpr int kMaskSubSec = 0x1
 
static constexpr int kMaskZside = 0x1
 
static constexpr int kShiftLayer = 12
 
static constexpr int kShiftSector = 1
 
static constexpr int kShiftSubSec = 0
 
static constexpr int kShiftZside = 19
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 15 of file HGCalTBParameters.h.

Member Typedef Documentation

◆ layer_map

typedef std::vector<std::unordered_map<int32_t, int32_t> > HGCalTBParameters::layer_map

Definition at line 17 of file HGCalTBParameters.h.

◆ wafer_map

typedef std::unordered_map<int32_t, int32_t> HGCalTBParameters::wafer_map

Definition at line 18 of file HGCalTBParameters.h.

◆ waferT_map

typedef std::unordered_map<int32_t, std::pair<int32_t, int32_t> > HGCalTBParameters::waferT_map

Definition at line 19 of file HGCalTBParameters.h.

Member Enumeration Documentation

◆ waferType

Enumerator
HGCalFine 
HGCalCoarseThin 
HGCalCoarseThick 

Definition at line 31 of file HGCalTBParameters.h.

Constructor & Destructor Documentation

◆ HGCalTBParameters()

HGCalTBParameters::HGCalTBParameters ( const std::string &  nam)

Definition at line 8 of file HGCalTBParameters.cc.

References name_.

8  : name_(nam), nCells_(0) {
9 #ifdef EDM_ML_DEBUG
10  edm::LogVerbatim("HGCalGeom") << "Construct HGCalTBParameters for " << name_;
11 #endif
12 }
Log< level::Info, true > LogVerbatim

◆ ~HGCalTBParameters()

HGCalTBParameters::~HGCalTBParameters ( void  )
default

Member Function Documentation

◆ addTrForm()

void HGCalTBParameters::addTrForm ( const CLHEP::Hep3Vector &  h3v)

Definition at line 140 of file HGCalTBParameters.cc.

References dqmdumpme::k, trformTranX_, trformTranY_, and trformTranZ_.

Referenced by HGCalTBGeomParameters::loadGeometryHexagon().

140  {
141  unsigned int k = trformTranX_.size();
142  if (k > 0) {
143  trformTranX_[k - 1] += h3v.x();
144  trformTranY_[k - 1] += h3v.y();
145  trformTranZ_[k - 1] += h3v.z();
146  }
147 }
std::vector< double > trformTranX_
std::vector< double > trformTranZ_
std::vector< double > trformTranY_

◆ fillModule()

void HGCalTBParameters::fillModule ( const hgtrap mytr,
bool  reco 
)

Definition at line 14 of file HGCalTBParameters.cc.

References HGCalTBParameters::hgtrap::alpha, HGCalTBParameters::hgtrap::bl, HGCalTBParameters::hgtrap::cellSize, HGCalTBParameters::hgtrap::dz, HGCalTBParameters::hgtrap::h, HGCalTBParameters::hgtrap::lay, moduleAlphaR_, moduleAlphaS_, moduleBlR_, moduleBlS_, moduleCellR_, moduleCellS_, moduleDzR_, moduleDzS_, moduleHR_, moduleHS_, moduleLayR_, moduleLayS_, moduleTlR_, moduleTlS_, and HGCalTBParameters::hgtrap::tl.

Referenced by HGCalTBGeomParameters::loadGeometryHexagon().

14  {
15  if (reco) {
16  moduleLayR_.emplace_back(mytr.lay);
17  moduleBlR_.emplace_back(mytr.bl);
18  moduleTlR_.emplace_back(mytr.tl);
19  moduleHR_.emplace_back(mytr.h);
20  moduleDzR_.emplace_back(mytr.dz);
21  moduleAlphaR_.emplace_back(mytr.alpha);
22  moduleCellR_.emplace_back(mytr.cellSize);
23  } else {
24  moduleLayS_.emplace_back(mytr.lay);
25  moduleBlS_.emplace_back(mytr.bl);
26  moduleTlS_.emplace_back(mytr.tl);
27  moduleHS_.emplace_back(mytr.h);
28  moduleDzS_.emplace_back(mytr.dz);
29  moduleAlphaS_.emplace_back(mytr.alpha);
30  moduleCellS_.emplace_back(mytr.cellSize);
31  }
32 }
std::vector< double > moduleCellR_
std::vector< double > moduleBlS_
std::vector< double > moduleHS_
std::vector< double > moduleTlS_
std::vector< int > moduleLayR_
std::vector< double > moduleHR_
std::vector< double > moduleAlphaR_
std::vector< double > moduleAlphaS_
std::vector< double > moduleDzR_
std::vector< double > moduleBlR_
std::vector< int > moduleLayS_
fixed size matrix
std::vector< double > moduleTlR_
std::vector< double > moduleDzS_
std::vector< double > moduleCellS_

◆ fillTrForm()

void HGCalTBParameters::fillTrForm ( const hgtrform mytr)

Definition at line 66 of file HGCalTBParameters.cc.

References funct::abs(), TauDecayModes::dec, HGCalTBParameters::hgtrform::h3v, HGCalTBParameters::hgtrform::hr, dqmdumpme::k, kMaskLayer, kMaskSector, kMaskSubSec, kMaskZside, kShiftLayer, kShiftSector, kShiftSubSec, kShiftZside, HGCalTBParameters::hgtrform::lay, HGCalTBParameters::hgtrform::sec, HGCalTBParameters::hgtrform::subsec, tol, trformIndex_, trformRotXX_, trformRotXY_, trformRotXZ_, trformRotYX_, trformRotYY_, trformRotYZ_, trformRotZX_, trformRotZY_, trformRotZZ_, trformTranX_, trformTranY_, trformTranZ_, and HGCalTBParameters::hgtrform::zp.

Referenced by HGCalTBGeomParameters::loadGeometryHexagon().

66  {
67  int zp = (mytr.zp == 1) ? 1 : 0;
68  uint32_t indx = ((zp & kMaskZside) << kShiftZside);
69  indx |= ((mytr.lay & kMaskLayer) << kShiftLayer);
70  indx |= ((mytr.sec & kMaskSector) << kShiftSector);
71  indx |= ((mytr.subsec & kMaskSubSec) << kShiftSubSec);
72 #ifdef EDM_ML_DEBUG
73  edm::LogVerbatim("HGCalGeom") << "ZP " << zp << ":" << kMaskZside << ":" << kShiftZside
74  << ((zp & kMaskZside) << kShiftZside) << " Lay " << mytr.lay << ":" << kMaskLayer << ":"
75  << kShiftLayer << ":" << ((mytr.lay & kMaskLayer) << kShiftLayer) << " Sector "
76  << mytr.sec << ":" << kMaskSector << ":" << kShiftSector << ":"
77  << ((mytr.sec & kMaskSector) << kShiftSector) << " SubSec " << mytr.subsec << ":"
78  << kMaskSubSec << ":" << kShiftSubSec << ":"
79  << ((mytr.subsec & kMaskSubSec) << kShiftSubSec) << " Index " << std::hex << indx
80  << std::dec;
81 #endif
82  trformIndex_.emplace_back(indx);
83  trformTranX_.emplace_back(mytr.h3v.x());
84  trformTranY_.emplace_back(mytr.h3v.y());
85  trformTranZ_.emplace_back(mytr.h3v.z());
86  trformRotXX_.emplace_back((std::abs(mytr.hr.xx()) > tol) ? mytr.hr.xx() : 0);
87  trformRotYX_.emplace_back((std::abs(mytr.hr.yx()) > tol) ? mytr.hr.yx() : 0);
88  trformRotZX_.emplace_back((std::abs(mytr.hr.zx()) > tol) ? mytr.hr.zx() : 0);
89  trformRotXY_.emplace_back((std::abs(mytr.hr.xy()) > tol) ? mytr.hr.xy() : 0);
90  trformRotYY_.emplace_back((std::abs(mytr.hr.yy()) > tol) ? mytr.hr.yy() : 0);
91  trformRotZY_.emplace_back((std::abs(mytr.hr.zy()) > tol) ? mytr.hr.zy() : 0);
92  trformRotXZ_.emplace_back((std::abs(mytr.hr.xz()) > tol) ? mytr.hr.xz() : 0);
93  trformRotYZ_.emplace_back((std::abs(mytr.hr.yz()) > tol) ? mytr.hr.yz() : 0);
94  trformRotZZ_.emplace_back((std::abs(mytr.hr.zz()) > tol) ? mytr.hr.zz() : 0);
95 #ifdef EDM_ML_DEBUG
96  unsigned int k = trformIndex_.size() - 1;
97  edm::LogVerbatim("HGCalGeom") << "HGCalTBParameters[" << k << "] Index " << std::hex << trformIndex_[k] << std::dec
98  << " (" << mytr.zp << ", " << mytr.lay << ", " << mytr.sec << ", " << mytr.subsec
99  << ") Translation (" << trformTranX_[k] << ", " << trformTranY_[k] << ", "
100  << trformTranZ_[k] << ") Rotation (" << trformRotXX_[k] << ", " << trformRotYX_[k]
101  << ", " << trformRotZX_[k] << ", " << trformRotXY_[k] << ", " << trformRotYY_[k] << ", "
102  << trformRotZY_[k] << ", " << trformRotXZ_[k] << ", " << trformRotYZ_[k] << ", "
103  << trformRotZZ_[k];
104 #endif
105 }
Log< level::Info, true > LogVerbatim
static constexpr int kMaskLayer
std::vector< double > trformRotZY_
std::vector< double > trformRotZX_
std::vector< double > trformTranX_
static constexpr int kMaskSubSec
std::vector< double > trformRotYZ_
static constexpr double tol
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
static constexpr int kShiftSector
static constexpr int kMaskSector
std::vector< double > trformTranZ_
std::vector< double > trformRotXX_
std::vector< double > trformRotYX_
std::vector< double > trformRotZZ_
std::vector< double > trformRotYY_
std::vector< double > trformTranY_
std::vector< uint32_t > trformIndex_
static constexpr int kShiftLayer
static constexpr int kShiftSubSec
std::vector< double > trformRotXY_
static constexpr int kShiftZside
std::vector< double > trformRotXZ_
static constexpr int kMaskZside

◆ getID()

std::array< int, 4 > HGCalTBParameters::getID ( unsigned int  k) const

Definition at line 158 of file HGCalTBParameters.cc.

References dqmdumpme::k, kMaskLayer, kMaskSector, kMaskSubSec, kMaskZside, kShiftLayer, kShiftSector, kShiftSubSec, kShiftZside, fileinputsource_cfi::sec, and trformIndex_.

Referenced by getTrForm().

158  {
159  int zp = ((trformIndex_[k] >> kShiftZside) & kMaskZside);
160  if (zp != 1)
161  zp = -1;
162  int lay = ((trformIndex_[k] >> kShiftLayer) & kMaskLayer);
163  int sec = ((trformIndex_[k] >> kShiftSector) & kMaskSector);
164  int subsec = ((trformIndex_[k] >> kShiftSubSec) & kMaskSubSec);
165  return std::array<int, 4>{{zp, lay, sec, subsec}};
166 }
static constexpr int kMaskLayer
static constexpr int kMaskSubSec
static constexpr int kShiftSector
static constexpr int kMaskSector
std::vector< uint32_t > trformIndex_
static constexpr int kShiftLayer
static constexpr int kShiftSubSec
static constexpr int kShiftZside
static constexpr int kMaskZside

◆ getModule()

HGCalTBParameters::hgtrap HGCalTBParameters::getModule ( unsigned int  k,
bool  reco 
) const

Definition at line 34 of file HGCalTBParameters.cc.

References HGCalTBParameters::hgtrap::alpha, HGCalTBParameters::hgtrap::bl, HGCalTBParameters::hgtrap::cellSize, HGCalTBParameters::hgtrap::dz, HGCalTBParameters::hgtrap::h, dqmdumpme::k, HGCalTBParameters::hgtrap::lay, moduleAlphaR_, moduleAlphaS_, moduleBlR_, moduleBlS_, moduleCellR_, moduleCellS_, moduleDzR_, moduleDzS_, moduleHR_, moduleHS_, moduleLayR_, moduleLayS_, moduleTlR_, moduleTlS_, and HGCalTBParameters::hgtrap::tl.

Referenced by HGCalTBDDDConstants::getModule(), HGCalTBDDDConstants::getModules(), and HGCalTBGeomParameters::loadGeometryHexagon().

34  {
36  if (reco) {
37  if (k < moduleLayR_.size()) {
38  mytr.lay = moduleLayR_[k];
39  mytr.bl = moduleBlR_[k];
40  mytr.tl = moduleTlR_[k];
41  mytr.h = moduleHR_[k];
42  mytr.dz = moduleDzR_[k];
43  mytr.alpha = moduleAlphaR_[k];
44  mytr.cellSize = moduleCellR_[k];
45  } else {
46  mytr.lay = -1;
47  mytr.bl = mytr.tl = mytr.h = mytr.dz = mytr.alpha = mytr.cellSize = 0;
48  }
49  } else {
50  if (k < moduleLayS_.size()) {
51  mytr.lay = moduleLayS_[k];
52  mytr.bl = moduleBlS_[k];
53  mytr.tl = moduleTlS_[k];
54  mytr.h = moduleHS_[k];
55  mytr.dz = moduleDzS_[k];
56  mytr.alpha = moduleAlphaS_[k];
57  mytr.cellSize = moduleCellS_[k];
58  } else {
59  mytr.lay = -1;
60  mytr.bl = mytr.tl = mytr.h = mytr.dz = mytr.alpha = mytr.cellSize = 0;
61  }
62  }
63  return mytr;
64 }
std::vector< double > moduleCellR_
std::vector< double > moduleBlS_
std::vector< double > moduleHS_
std::vector< double > moduleTlS_
std::vector< int > moduleLayR_
std::vector< double > moduleHR_
std::vector< double > moduleAlphaR_
std::vector< double > moduleAlphaS_
std::vector< double > moduleDzR_
std::vector< double > moduleBlR_
std::vector< int > moduleLayS_
fixed size matrix
std::vector< double > moduleTlR_
std::vector< double > moduleDzS_
std::vector< double > moduleCellS_

◆ getTrForm()

HGCalTBParameters::hgtrform HGCalTBParameters::getTrForm ( unsigned int  k) const

Definition at line 107 of file HGCalTBParameters.cc.

References TauDecayModes::dec, getID(), HGCalTBParameters::hgtrform::h3v, HGCalTBParameters::hgtrform::hr, dqmdumpme::k, HGCalTBParameters::hgtrform::lay, idealTransformation::rotation, HGCalTBParameters::hgtrform::sec, HGCalTBParameters::hgtrform::subsec, trformIndex_, trformRotXX_, trformRotXY_, trformRotXZ_, trformRotYX_, trformRotYY_, trformRotYZ_, trformRotZX_, trformRotZY_, trformRotZZ_, trformTranX_, trformTranY_, trformTranZ_, and HGCalTBParameters::hgtrform::zp.

Referenced by HGCalTBDDDConstants::getTrForm(), and HGCalTBDDDConstants::getTrForms().

107  {
109  if (k < trformIndex_.size()) {
110  const auto& id = getID(k);
111  mytr.zp = id[0];
112  mytr.lay = id[1];
113  mytr.sec = id[2];
114  mytr.subsec = id[3];
115  mytr.h3v = CLHEP::Hep3Vector(trformTranX_[k], trformTranY_[k], trformTranZ_[k]);
116  const CLHEP::HepRep3x3 rotation(trformRotXX_[k],
117  trformRotXY_[k],
118  trformRotXZ_[k],
119  trformRotYX_[k],
120  trformRotYY_[k],
121  trformRotYZ_[k],
122  trformRotZX_[k],
123  trformRotZY_[k],
124  trformRotZZ_[k]);
125  mytr.hr = CLHEP::HepRotation(rotation);
126  } else {
127  mytr.zp = mytr.lay = mytr.sec = mytr.subsec = 0;
128  }
129 #ifdef EDM_ML_DEBUG
130  edm::LogVerbatim("HGCalGeom") << "HGCalTBParameters[" << k << "] Index " << std::hex << trformIndex_[k] << std::dec
131  << " (" << mytr.zp << ", " << mytr.lay << ", " << mytr.sec << ", " << mytr.subsec
132  << ") Translation (" << mytr.h3v.x() << ", " << mytr.h3v.y() << ", " << mytr.h3v.z()
133  << ") Rotation (" << mytr.hr.xx() << ", " << mytr.hr.yx() << ", " << mytr.hr.zx()
134  << ", " << mytr.hr.xy() << ", " << mytr.hr.yy() << ", " << mytr.hr.zy() << ", "
135  << mytr.hr.xz() << ", " << mytr.hr.yz() << ", " << mytr.hr.zz();
136 #endif
137  return mytr;
138 }
Log< level::Info, true > LogVerbatim
std::vector< double > trformRotZY_
std::vector< double > trformRotZX_
std::vector< double > trformTranX_
std::vector< double > trformRotYZ_
std::array< int, 4 > getID(unsigned int k) const
std::vector< double > trformTranZ_
std::vector< double > trformRotXX_
std::vector< double > trformRotYX_
std::vector< double > trformRotZZ_
std::vector< double > trformRotYY_
std::vector< double > trformTranY_
std::vector< uint32_t > trformIndex_
std::vector< double > trformRotXY_
std::vector< double > trformRotXZ_

◆ scaleTrForm()

void HGCalTBParameters::scaleTrForm ( double  scale)

Definition at line 149 of file HGCalTBParameters.cc.

References dqmdumpme::k, l1tEGammaCrystalsEmulatorProducer_cfi::scale, trformTranX_, trformTranY_, and trformTranZ_.

Referenced by HGCalTBGeomParameters::loadGeometryHexagon().

149  {
150  unsigned int k = trformTranX_.size();
151  if (k > 0) {
152  trformTranX_[k - 1] *= scale;
153  trformTranY_[k - 1] *= scale;
154  trformTranZ_[k - 1] *= scale;
155  }
156 }
std::vector< double > trformTranX_
std::vector< double > trformTranZ_
std::vector< double > trformTranY_

◆ serialize()

template<class Archive >
void HGCalTBParameters::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 141 of file HGCalTBParameters.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 141 of file HGCalTBParameters.h.

Member Data Documentation

◆ boundR_

std::vector<double> HGCalTBParameters::boundR_

◆ cellCoarse_

std::vector<int> HGCalTBParameters::cellCoarse_

Definition at line 128 of file HGCalTBParameters.h.

Referenced by HGCalTBGeomParameters::loadCellParsHexagon().

◆ cellCoarseHalf_

std::vector<bool> HGCalTBParameters::cellCoarseHalf_

◆ cellCoarseIndex_

wafer_map HGCalTBParameters::cellCoarseIndex_

Definition at line 109 of file HGCalTBParameters.h.

◆ cellCoarseX_

std::vector<double> HGCalTBParameters::cellCoarseX_

◆ cellCoarseY_

std::vector<double> HGCalTBParameters::cellCoarseY_

◆ cellFactor_

std::vector<int> HGCalTBParameters::cellFactor_

Definition at line 117 of file HGCalTBParameters.h.

◆ cellFine_

std::vector<int> HGCalTBParameters::cellFine_

Definition at line 127 of file HGCalTBParameters.h.

Referenced by HGCalTBGeomParameters::loadCellParsHexagon().

◆ cellFineHalf_

std::vector<bool> HGCalTBParameters::cellFineHalf_

◆ cellFineIndex_

wafer_map HGCalTBParameters::cellFineIndex_

Definition at line 105 of file HGCalTBParameters.h.

◆ cellFineX_

std::vector<double> HGCalTBParameters::cellFineX_

◆ cellFineY_

std::vector<double> HGCalTBParameters::cellFineY_

◆ cellSize_

std::vector<double> HGCalTBParameters::cellSize_

◆ copiesInLayers_

layer_map HGCalTBParameters::copiesInLayers_

◆ defineFull_

bool HGCalTBParameters::defineFull_

Definition at line 61 of file HGCalTBParameters.h.

Referenced by HGCalTBParametersFromDD::build().

◆ depth_

std::vector<int> HGCalTBParameters::depth_

◆ depthIndex_

std::vector<int> HGCalTBParameters::depthIndex_

◆ depthLayerF_

std::vector<int> HGCalTBParameters::depthLayerF_

◆ detectorType_

int HGCalTBParameters::detectorType_

Definition at line 55 of file HGCalTBParameters.h.

Referenced by HGCalTBParametersFromDD::build().

◆ firstLayer_

int HGCalTBParameters::firstLayer_

◆ k_CornerSize

constexpr uint32_t HGCalTBParameters::k_CornerSize = 6
static

Definition at line 29 of file HGCalTBParameters.h.

Referenced by HGCalTBGeomParameters::loadWaferHexagon().

◆ k_ScaleFromDD4hep

constexpr double HGCalTBParameters::k_ScaleFromDD4hep = (1.0 / dd4hep::cm)
static

◆ k_ScaleFromDD4hepToG4

constexpr double HGCalTBParameters::k_ScaleFromDD4hepToG4 = (1.0 / dd4hep::mm)
static

◆ k_ScaleFromDDD

constexpr double HGCalTBParameters::k_ScaleFromDDD = 0.1
static

◆ k_ScaleFromDDDToG4

constexpr double HGCalTBParameters::k_ScaleFromDDDToG4 = 1.0
static

Definition at line 23 of file HGCalTBParameters.h.

Referenced by HGCalTBGeomParameters::loadGeometryHexagon().

◆ k_ScaleToDD4hep

constexpr double HGCalTBParameters::k_ScaleToDD4hep = dd4hep::cm
static

Definition at line 26 of file HGCalTBParameters.h.

◆ k_ScaleToDD4hepFromG4

constexpr double HGCalTBParameters::k_ScaleToDD4hepFromG4 = dd4hep::mm
static

Definition at line 28 of file HGCalTBParameters.h.

◆ k_ScaleToDDD

constexpr double HGCalTBParameters::k_ScaleToDDD = 10.0
static

◆ k_ScaleToDDDFromG4

constexpr double HGCalTBParameters::k_ScaleToDDDFromG4 = 1.0
static

Definition at line 24 of file HGCalTBParameters.h.

◆ kMaskLayer

constexpr int HGCalTBParameters::kMaskLayer = 0x7F
staticprivate

Definition at line 145 of file HGCalTBParameters.h.

Referenced by fillTrForm(), and getID().

◆ kMaskSector

constexpr int HGCalTBParameters::kMaskSector = 0x3FF
staticprivate

Definition at line 146 of file HGCalTBParameters.h.

Referenced by fillTrForm(), and getID().

◆ kMaskSubSec

constexpr int HGCalTBParameters::kMaskSubSec = 0x1
staticprivate

Definition at line 147 of file HGCalTBParameters.h.

Referenced by fillTrForm(), and getID().

◆ kMaskZside

constexpr int HGCalTBParameters::kMaskZside = 0x1
staticprivate

Definition at line 144 of file HGCalTBParameters.h.

Referenced by fillTrForm(), and getID().

◆ kShiftLayer

constexpr int HGCalTBParameters::kShiftLayer = 12
staticprivate

Definition at line 149 of file HGCalTBParameters.h.

Referenced by fillTrForm(), and getID().

◆ kShiftSector

constexpr int HGCalTBParameters::kShiftSector = 1
staticprivate

Definition at line 150 of file HGCalTBParameters.h.

Referenced by fillTrForm(), and getID().

◆ kShiftSubSec

constexpr int HGCalTBParameters::kShiftSubSec = 0
staticprivate

Definition at line 151 of file HGCalTBParameters.h.

Referenced by fillTrForm(), and getID().

◆ kShiftZside

constexpr int HGCalTBParameters::kShiftZside = 19
staticprivate

Definition at line 148 of file HGCalTBParameters.h.

Referenced by fillTrForm(), and getID().

◆ layer_

std::vector<int> HGCalTBParameters::layer_

◆ layerGroup_

std::vector<int> HGCalTBParameters::layerGroup_

◆ layerGroupM_

std::vector<int> HGCalTBParameters::layerGroupM_

Definition at line 124 of file HGCalTBParameters.h.

Referenced by HGCalTBGeomParameters::loadSpecParsHexagon().

◆ layerGroupO_

std::vector<int> HGCalTBParameters::layerGroupO_

◆ layerIndex_

std::vector<int> HGCalTBParameters::layerIndex_

◆ levelT_

std::vector<int> HGCalTBParameters::levelT_

◆ levelZSide_

int HGCalTBParameters::levelZSide_

Definition at line 131 of file HGCalTBParameters.h.

Referenced by HGCalTBParametersFromDD::build().

◆ mode_

HGCalGeometryMode::GeometryMode HGCalTBParameters::mode_

Definition at line 60 of file HGCalTBParameters.h.

Referenced by HGCalTBParametersFromDD::build().

◆ moduleAlphaR_

std::vector<double> HGCalTBParameters::moduleAlphaR_

◆ moduleAlphaS_

std::vector<double> HGCalTBParameters::moduleAlphaS_

◆ moduleBlR_

std::vector<double> HGCalTBParameters::moduleBlR_

◆ moduleBlS_

std::vector<double> HGCalTBParameters::moduleBlS_

◆ moduleCellR_

std::vector<double> HGCalTBParameters::moduleCellR_

Definition at line 84 of file HGCalTBParameters.h.

Referenced by fillModule(), HGCalTBDDDConstants::getIndex(), and getModule().

◆ moduleCellS_

std::vector<double> HGCalTBParameters::moduleCellS_

Definition at line 77 of file HGCalTBParameters.h.

Referenced by fillModule(), HGCalTBDDDConstants::getIndex(), and getModule().

◆ moduleDzR_

std::vector<double> HGCalTBParameters::moduleDzR_

◆ moduleDzS_

std::vector<double> HGCalTBParameters::moduleDzS_

◆ moduleHR_

std::vector<double> HGCalTBParameters::moduleHR_

◆ moduleHS_

std::vector<double> HGCalTBParameters::moduleHS_

◆ moduleLayR_

std::vector<int> HGCalTBParameters::moduleLayR_

◆ moduleLayS_

std::vector<int> HGCalTBParameters::moduleLayS_

◆ moduleTlR_

std::vector<double> HGCalTBParameters::moduleTlR_

◆ moduleTlS_

std::vector<double> HGCalTBParameters::moduleTlS_

◆ mouseBite_

double HGCalTBParameters::mouseBite_

Definition at line 136 of file HGCalTBParameters.h.

Referenced by HGCalTBDDDConstants::mouseBite().

◆ name_

std::string HGCalTBParameters::name_

Definition at line 54 of file HGCalTBParameters.h.

Referenced by HGCalTBParameters().

◆ nCells_

int HGCalTBParameters::nCells_

Definition at line 57 of file HGCalTBParameters.h.

◆ nSectors_

int HGCalTBParameters::nSectors_

◆ rLimit_

std::vector<double> HGCalTBParameters::rLimit_

◆ rMaxFront_

std::vector<double> HGCalTBParameters::rMaxFront_

Definition at line 69 of file HGCalTBParameters.h.

◆ rMaxLayHex_

std::vector<double> HGCalTBParameters::rMaxLayHex_

◆ rMinFront_

std::vector<double> HGCalTBParameters::rMinFront_

Definition at line 66 of file HGCalTBParameters.h.

◆ rMinLayHex_

std::vector<double> HGCalTBParameters::rMinLayHex_

◆ sensorSeparation_

double HGCalTBParameters::sensorSeparation_

◆ slopeMin_

std::vector<double> HGCalTBParameters::slopeMin_

◆ slopeTop_

std::vector<double> HGCalTBParameters::slopeTop_

Definition at line 67 of file HGCalTBParameters.h.

◆ tol

constexpr double HGCalTBParameters::tol = 1.0e-12
static

Definition at line 30 of file HGCalTBParameters.h.

Referenced by fillTrForm(), and HGCalTBGeomParameters::loadGeometryHexagon().

◆ trformIndex_

std::vector<uint32_t> HGCalTBParameters::trformIndex_

◆ trformRotXX_

std::vector<double> HGCalTBParameters::trformRotXX_

◆ trformRotXY_

std::vector<double> HGCalTBParameters::trformRotXY_

◆ trformRotXZ_

std::vector<double> HGCalTBParameters::trformRotXZ_

◆ trformRotYX_

std::vector<double> HGCalTBParameters::trformRotYX_

◆ trformRotYY_

std::vector<double> HGCalTBParameters::trformRotYY_

◆ trformRotYZ_

std::vector<double> HGCalTBParameters::trformRotYZ_

◆ trformRotZX_

std::vector<double> HGCalTBParameters::trformRotZX_

◆ trformRotZY_

std::vector<double> HGCalTBParameters::trformRotZY_

◆ trformRotZZ_

std::vector<double> HGCalTBParameters::trformRotZZ_

◆ trformTranX_

std::vector<double> HGCalTBParameters::trformTranX_

◆ trformTranY_

std::vector<double> HGCalTBParameters::trformTranY_

◆ trformTranZ_

std::vector<double> HGCalTBParameters::trformTranZ_

◆ useSimWt_

int HGCalTBParameters::useSimWt_

Definition at line 56 of file HGCalTBParameters.h.

Referenced by HGCalTBParametersFromDD::build().

◆ waferCopy_

std::vector<int> HGCalTBParameters::waferCopy_

◆ waferPosX_

std::vector<double> HGCalTBParameters::waferPosX_

◆ waferPosY_

std::vector<double> HGCalTBParameters::waferPosY_

◆ waferR_

double HGCalTBParameters::waferR_

◆ waferSize_

double HGCalTBParameters::waferSize_

◆ waferThick_

double HGCalTBParameters::waferThick_

Definition at line 134 of file HGCalTBParameters.h.

Referenced by HGCalTBDDDConstants::rangeZ().

◆ waferTypeL_

std::vector<int> HGCalTBParameters::waferTypeL_

◆ waferTypes_

waferT_map HGCalTBParameters::waferTypes_

◆ waferTypeT_

std::vector<int> HGCalTBParameters::waferTypeT_

◆ waferUVMax_

int HGCalTBParameters::waferUVMax_

◆ waferUVMaxLayer_

std::vector<int> HGCalTBParameters::waferUVMaxLayer_

Definition at line 138 of file HGCalTBParameters.h.

◆ xLayerHex_

std::vector<double> HGCalTBParameters::xLayerHex_

Definition at line 98 of file HGCalTBParameters.h.

◆ yLayerHex_

std::vector<double> HGCalTBParameters::yLayerHex_

Definition at line 99 of file HGCalTBParameters.h.

◆ zFrontMin_

std::vector<double> HGCalTBParameters::zFrontMin_

Definition at line 65 of file HGCalTBParameters.h.

◆ zFrontTop_

std::vector<double> HGCalTBParameters::zFrontTop_

Definition at line 68 of file HGCalTBParameters.h.

◆ zLayerHex_

std::vector<double> HGCalTBParameters::zLayerHex_

◆ zRanges_

std::vector<double> HGCalTBParameters::zRanges_

Definition at line 70 of file HGCalTBParameters.h.