CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
trackerDTC::Setup Class Reference

Class to process and provide run-time constants used by Track Trigger emulators. More...

#include <Setup.h>

Public Member Functions

double baseBend () const
 
double baseCol () const
 
double basePhi () const
 
double baseR () const
 
double baseRegion () const
 
double baseRow () const
 
double baseSector () const
 
double baseWindowSize () const
 
double baseZ () const
 
double beamWindowZ () const
 
double bendCut () const
 
double boundarieEta (int eta) const
 
void checkHistory (const edm::ProcessHistory &processHistory) const
 
double chosenRofPhi () const
 
double chosenRofZ () const
 
bool configurationSupported () const
 
double drBaseCot () const
 
double drBasePhi0 () const
 
double drBaseQoverPt () const
 
double drBaseZ0 () const
 
int drDepthMemory () const
 
int drWidthCot () const
 
int drWidthPhi0 () const
 
int drWidthQoverPt () const
 
int drWidthZ0 () const
 
double dtcBaseM () const
 
double dtcBaseQoverPt () const
 
int dtcDepthMemory () const
 
int dtcId (int tklId) const
 
int dtcId (int tfpRegion, int tfpChannel) const
 
const std::vector< SensorModule * > & dtcModules (int dtcId) const
 
int dtcNumMergedRows () const
 
int dtcNumModulesPerRoutingBlock () const
 
int dtcNumRoutingBlocks () const
 
int dtcNumUnusedBits () const
 
int dtcWidthM () const
 
int dtcWidthQoverPt () const
 
int dtcWidthRowLUT () const
 
const std::vector< double > & encodingBend (int windowSize, bool psModule) const
 
const std::vector< int > & encodingLayerId (int tfpChannel) const
 
int gpDepthMemory () const
 
double htBasePhiT () const
 
double htBaseQoverPt () const
 
int htDepthMemory () const
 
int htMinLayers () const
 
int htNumBinsPhiT () const
 
int htNumBinsQoverPt () const
 
int htWidthPhiT () const
 
int htWidthQoverPt () const
 
double hybridBaseAlpha (SensorModule::Type type) const
 
double hybridBasePhi (SensorModule::Type type) const
 
double hybridBaseR (SensorModule::Type type) const
 
double hybridBaseZ (SensorModule::Type type) const
 
double hybridChosenRofPhi () const
 
double hybridDiskZ (int layerId) const
 
double hybridLayerR (int layerId) const
 
double hybridMaxCot () const
 
double hybridMaxEta () const
 
double hybridMinPt () const
 
int hybridNumLayers () const
 
int hybridNumRingsPS (int layerId) const
 
int hybridNumUnusedBits (SensorModule::Type type) const
 
int hybridWidthAlpha (SensorModule::Type type) const
 
int hybridWidthBend (SensorModule::Type type) const
 
int hybridWidthLayer () const
 
int hybridWidthPhi (SensorModule::Type type) const
 
int hybridWidthR (SensorModule::Type type) const
 
int hybridWidthZ (SensorModule::Type type) const
 
double invPtToDphi () const
 
double kfBaseC00 () const
 
double kfBaseC01 () const
 
double kfBaseC11 () const
 
double kfBaseC22 () const
 
double kfBaseC23 () const
 
double kfBaseC33 () const
 
double kfBaseChi2 () const
 
double kfBaseChi20 () const
 
double kfBaseChi21 () const
 
double kfBaseH00 () const
 
double kfBaseH12 () const
 
double kfBaseInvR00 () const
 
double kfBaseInvR11 () const
 
double kfBaseK00 () const
 
double kfBaseK10 () const
 
double kfBaseK21 () const
 
double kfBaseK31 () const
 
double kfBasem0 () const
 
double kfBasem1 () const
 
double kfBaser0 () const
 
double kfBaseR00 () const
 
double kfBaser02 () const
 
double kfBaser1 () const
 
double kfBaseR11 () const
 
double kfBaser12 () const
 
double kfBaseS00 () const
 
double kfBaseS01 () const
 
double kfBaseS12 () const
 
double kfBaseS13 () const
 
double kfBasev0 () const
 
double kfBasev1 () const
 
double kfBasex0 () const
 
double kfBasex1 () const
 
double kfBasex2 () const
 
double kfBasex3 () const
 
int kfMaxLayers () const
 
int kfMaxSkippedLayers () const
 
int kfMaxStubsPerLayer () const
 
int kfMinLayers () const
 
int kfNumTracks () const
 
int kfWidthLutInvPhi () const
 
int kfWidthLutInvZ () const
 
double maxCot () const
 
double maxEta () const
 
double maxZT () const
 
double mhtBasePhiT () const
 
double mhtBaseQoverPt () const
 
int mhtMinLayers () const
 
int mhtNumBinsPhiT () const
 
int mhtNumBinsQoverPt () const
 
int mhtNumCells () const
 
int mhtNumDLB () const
 
int mhtWidthPhiT () const
 
int mhtWidthQoverPt () const
 
double minPt () const
 
int numDTCs () const
 
int numDTCsPerRegion () const
 
int numDTCsPerTFP () const
 
int numFrames () const
 
int numFramesFE () const
 
int numFramesIO () const
 
int numLayers () const
 
int numModules () const
 
int numModulesPerDTC () const
 
int numOverlappingRegions () const
 
int numRegions () const
 
int numSectorsEta () const
 
int numSectorsPhi () const
 
double numTiltedLayerRing (int layerId) const
 
int offsetDetIdDSV () const
 
int offsetDetIdTP () const
 
int offsetLayerDisks () const
 
int offsetLayerId () const
 
bool psModule (int dtcId) const
 
SensorModulesensorModule (const DetId &detId) const
 
 Setup ()
 
 Setup (const edm::ParameterSet &iConfig, const MagneticField &magneticField, const TrackerGeometry &trackerGeometry, const TrackerTopology &trackerTopology, const TrackerDetToDTCELinkCablingMap &cablingMap, const StubAlgorithmOfficial &stubAlgorithm, const edm::ParameterSet &pSetStubAlgorithm, const edm::ParameterSet &pSetGeometryConfiguration, const edm::ParameterSetID &pSetIdTTStubAlgorithm, const edm::ParameterSetID &pSetIdGeometryConfiguration)
 
double sfBaseCot () const
 
double sfBaseZT () const
 
int sfMinLayers () const
 
bool side (int dtcId) const
 
int slot (int dtcId) const
 
GlobalPoint stubPos (bool hybrid, const TTDTC::Frame &frame, int tfpRegion, int tfpChannel) const
 
GlobalPoint stubPos (const TTStubRef &ttStubRef) const
 
int tkLayoutId (int dtcId) const
 
double tpMaxD0 () const
 
double tpMaxEta () const
 
double tpMaxVertR () const
 
double tpMaxVertZ () const
 
int tpMinLayers () const
 
int tpMinLayersPS () const
 
const TrackerGeometrytrackerGeometry () const
 
const TrackerTopologytrackerTopology () const
 
TTDTC ttDTC () const
 
int widthBend () const
 
int widthChiPhi () const
 
int widthChiZ () const
 
int widthCol () const
 
int widthLayer () const
 
int widthPhi () const
 
int widthPhiDTC () const
 
int widthR () const
 
int widthRow () const
 
int widthSectorEta () const
 
int widthZ () const
 
double windowSizeBarrelLayer (int layerId) const
 
double windowSizeEndcapDisksRing (int layerId, int ring) const
 
double windowSizeTiltedLayerRing (int layerId, int ring) const
 
 ~Setup ()
 

Private Member Functions

void calculateConstants ()
 
void checkDTCId (int dtcId) const
 
void checkGeometry ()
 
void checkHistory (const edm::ProcessHistory &, const edm::pset::Registry *, const std::string &, const edm::ParameterSetID &) const
 
void checkMagneticField ()
 
void checkTFPIdentifier (int tfpRegion, int tfpChannel) const
 
void checkTKLayoutId (int tkLayoutId) const
 
void consumeStubAlgorithm ()
 
std::string dumpDiff (const edm::ParameterSet &pSetHistory, const edm::ParameterSet &pSetProcess) const
 
void encodeBend (std::vector< std::vector< double >> &, bool) const
 
void encodeLayerId ()
 
void produceSensorModules ()
 

Private Attributes

double baseBend_
 
double baseCol_
 
double basePhi_
 
double baseR_
 
double baseRegion_
 
double baseRow_
 
double baseSector_
 
double baseWindowSize_
 
double baseZ_
 
double beamWindowZ_
 
double bendCut_
 
double bField_
 
double bFieldError_
 
std::vector< double > boundariesEta_
 
const TrackerDetToDTCELinkCablingMapcablingMap_
 
double chosenRofPhi_
 
double chosenRofZ_
 
bool configurationSupported_
 
std::unordered_map< DetId, SensorModule * > detIdToSensorModule_
 
std::vector< std::vector< double > > disk2SRs_
 
double drBaseCot_
 
double drBasePhi0_
 
double drBaseQoverPt_
 
double drBaseZ0_
 
int drDepthMemory_
 
int drWidthCot_
 
int drWidthPhi0_
 
int drWidthQoverPt_
 
int drWidthZ0_
 
double dtcBaseM_
 
double dtcBaseQoverPt_
 
int dtcDepthMemory_
 
std::vector< std::vector< SensorModule * > > dtcModules_
 
int dtcNumMergedRows_
 
int dtcNumModulesPerRoutingBlock_
 
int dtcNumRoutingBlocks_
 
int dtcNumUnusedBits_
 
int dtcWidthM_
 
int dtcWidthQoverPt_
 
int dtcWidthRowLUT_
 
std::vector< std::vector< double > > encodingsBend2S_
 
std::vector< std::vector< double > > encodingsBendPS_
 
std::vector< std::vector< int > > encodingsLayerId_
 
double freqBE_
 
double freqLHC_
 
bool fromDD4hep_
 
int gpDepthMemory_
 
double halfLength_
 
double htBasePhiT_
 
double htBaseQoverPt_
 
int htDepthMemory_
 
int htMinLayers_
 
int htNumBinsPhiT_
 
int htNumBinsQoverPt_
 
int htWidthPhiT_
 
int htWidthQoverPt_
 
double hybridBasePhi_
 
double hybridBaseR_
 
std::vector< double > hybridBasesAlpha_
 
std::vector< double > hybridBasesPhi_
 
std::vector< double > hybridBasesR_
 
std::vector< double > hybridBasesZ_
 
double hybridBaseZ_
 
double hybridChosenRofPhi_
 
std::vector< edm::ParameterSethybridDisk2SRsSet_
 
std::vector< double > hybridDiskZs_
 
std::vector< double > hybridLayerRs_
 
double hybridMaxCot_
 
double hybridMaxEta_
 
double hybridMinPt_
 
int hybridNumLayers_
 
std::vector< int > hybridNumRingsPS_
 
std::vector< int > hybridNumsUnusedBits_
 
std::vector< double > hybridRangesAlpha_
 
std::vector< double > hybridRangesR_
 
std::vector< double > hybridRangesZ_
 
int hybridWidthLayer_
 
std::vector< int > hybridWidthsAlpha_
 
std::vector< int > hybridWidthsBend_
 
std::vector< int > hybridWidthsPhi_
 
std::vector< int > hybridWidthsR_
 
std::vector< int > hybridWidthsZ_
 
double innerRadius_
 
double invPtToDphi_
 
double kfBaseC00_
 
double kfBaseC01_
 
double kfBaseC04_
 
double kfBaseC11_
 
double kfBaseC14_
 
double kfBaseC22_
 
double kfBaseC23_
 
double kfBaseC33_
 
double kfBaseC44_
 
double kfBaseChi20_
 
double kfBaseChi21_
 
double kfBaseChi2_
 
double kfBaseH00_
 
double kfBaseH04_
 
double kfBaseH12_
 
double kfBaseInvR00_
 
double kfBaseInvR11_
 
double kfBaseK00_
 
double kfBaseK10_
 
double kfBaseK21_
 
double kfBaseK31_
 
double kfBaseK40_
 
double kfBasem0_
 
double kfBasem1_
 
double kfBaseR00_
 
double kfBaser02_
 
double kfBaser0_
 
double kfBaseR11_
 
double kfBaser12_
 
double kfBaser1_
 
double kfBaseS00_
 
double kfBaseS01_
 
double kfBaseS04_
 
double kfBaseS12_
 
double kfBaseS13_
 
int kfBaseShiftC00_
 
int kfBaseShiftC01_
 
int kfBaseShiftC11_
 
int kfBaseShiftC22_
 
int kfBaseShiftC23_
 
int kfBaseShiftC33_
 
int kfBaseShiftChi20_
 
int kfBaseShiftChi21_
 
int kfBaseShiftChi2_
 
int kfBaseShiftInvR00_
 
int kfBaseShiftInvR11_
 
int kfBaseShiftK00_
 
int kfBaseShiftK10_
 
int kfBaseShiftK21_
 
int kfBaseShiftK31_
 
int kfBaseShiftR00_
 
int kfBaseShiftr02_
 
int kfBaseShiftr0_
 
int kfBaseShiftR11_
 
int kfBaseShiftr12_
 
int kfBaseShiftr1_
 
int kfBaseShiftS00_
 
int kfBaseShiftS01_
 
int kfBaseShiftS12_
 
int kfBaseShiftS13_
 
int kfBaseShiftv0_
 
int kfBaseShiftv1_
 
double kfBasev0_
 
double kfBasev1_
 
double kfBasex0_
 
double kfBasex1_
 
double kfBasex2_
 
double kfBasex3_
 
double kfBasex4_
 
int kfMaxLayers_
 
int kfMaxSkippedLayers_
 
int kfMaxStubsPerLayer_
 
int kfMinLayers_
 
int kfNumTracks_
 
int kfWidthLutInvPhi_
 
int kfWidthLutInvZ_
 
const MagneticFieldmagneticField_
 
int matchedLayers_
 
int matchedLayersPS_
 
double maxCot_
 
double maxEta_
 
double maxPitch_
 
int maxWindowSize_
 
double maxZT_
 
double mhtBasePhiT_
 
double mhtBaseQoverPt_
 
int mhtMinLayers_
 
int mhtNumBinsPhiT_
 
int mhtNumBinsQoverPt_
 
int mhtNumCells_
 
int mhtNumDLB_
 
int mhtWidthPhiT_
 
int mhtWidthQoverPt_
 
double minPt_
 
double neededRangeChiZ_
 
int numATCASlots_
 
int numDTCs_
 
int numDTCsPerRegion_
 
int numDTCsPerTFP_
 
int numFrames_
 
int numFramesFE_
 
int numFramesInfra_
 
int numFramesIO_
 
int numLayers_
 
int numModules_
 
int numModulesPerDTC_
 
int numOverlappingRegions_
 
int numRegions_
 
int numSectorsEta_
 
int numSectorsPhi_
 
std::vector< double > numTiltedLayerRings_
 
int offsetDetIdDSV_
 
int offsetDetIdTP_
 
int offsetLayerDisks_
 
int offsetLayerId_
 
double outerRadius_
 
std::string phGeometryConfiguration_
 
std::string phTTStubAlgorithm_
 
edm::ParameterSet pSetDR_
 
edm::ParameterSet pSetDTC_
 
edm::ParameterSet pSetFE_
 
edm::ParameterSet pSetFW_
 
const edm::ParameterSetpSetGC_
 
edm::ParameterSet pSetGP_
 
edm::ParameterSet pSetHT_
 
edm::ParameterSet pSetHybrid_
 
edm::ParameterSetID pSetIdGeometryConfiguration_
 
edm::ParameterSetID pSetIdTTStubAlgorithm_
 
edm::ParameterSet pSetKF_
 
edm::ParameterSet pSetMHT_
 
edm::ParameterSet pSetPH_
 
const edm::ParameterSetpSetSA_
 
edm::ParameterSet pSetSF_
 
edm::ParameterSet pSetSG_
 
edm::ParameterSet pSetTF_
 
edm::ParameterSet pSetTMTT_
 
edm::ParameterSet pSetTP_
 
std::vector< SensorModulesensorModules_
 
double sfBaseCot_
 
int sfBaseDiffZ_
 
double sfBaseZT_
 
int sfMinLayers_
 
int sfPowerBaseCot_
 
std::string sgXMLFile_
 
std::string sgXMLLabel_
 
std::string sgXMLPath_
 
std::vector< std::string > sgXMLVersions_
 
double speedOfLight_
 
const StubAlgorithmOfficialstubAlgorithm_
 
int tmpFE_
 
int tmpTFP_
 
double tpMaxD0_
 
double tpMaxEta_
 
double tpMaxVertR_
 
double tpMaxVertZ_
 
int tpMinLayers_
 
int tpMinLayersPS_
 
const TrackerGeometrytrackerGeometry_
 
const TrackerTopologytrackerTopology_
 
int unMatchedStubs_
 
int unMatchedStubsPS_
 
int widthBend_
 
int widthChiPhi_
 
int widthChiZ_
 
int widthCol_
 
int widthLayer_
 
int widthPhi_
 
int widthPhiDTC_
 
int widthR_
 
int widthRow_
 
int widthSectorEta_
 
int widthZ_
 
std::vector< double > windowSizeBarrelLayers_
 
std::vector< std::vector< double > > windowSizeEndcapDisksRings_
 
std::vector< std::vector< double > > windowSizeTiltedLayerRings_
 

Detailed Description

Class to process and provide run-time constants used by Track Trigger emulators.

Author
Thomas Schuh
Date
2020, Apr

Definition at line 42 of file Setup.h.

Constructor & Destructor Documentation

◆ Setup() [1/2]

trackerDTC::Setup::Setup ( )
inline

Definition at line 44 of file Setup.h.

44 {}

◆ Setup() [2/2]

trackerDTC::Setup::Setup ( const edm::ParameterSet iConfig,
const MagneticField magneticField,
const TrackerGeometry trackerGeometry,
const TrackerTopology trackerTopology,
const TrackerDetToDTCELinkCablingMap cablingMap,
const StubAlgorithmOfficial stubAlgorithm,
const edm::ParameterSet pSetStubAlgorithm,
const edm::ParameterSet pSetGeometryConfiguration,
const edm::ParameterSetID pSetIdTTStubAlgorithm,
const edm::ParameterSetID pSetIdGeometryConfiguration 
)

Definition at line 19 of file Setup.cc.

References calculateConstants(), checkGeometry(), checkMagneticField(), configurationSupported_, consumeStubAlgorithm(), encodeBend(), encodeLayerId(), encodingsBend2S_, encodingsBendPS_, encodingsLayerId_, maxWindowSize_, numDTCsPerRegion_, and produceSensorModules().

32  cablingMap_(&cablingMap),
33  stubAlgorithm_(&stubAlgorithm),
34  pSetSA_(&pSetStubAlgorithm),
35  pSetGC_(&pSetGeometryConfiguration),
36  pSetIdTTStubAlgorithm_(pSetIdTTStubAlgorithm),
37  pSetIdGeometryConfiguration_(pSetIdGeometryConfiguration),
38  // DD4hep
39  fromDD4hep_(iConfig.getParameter<bool>("fromDD4hep")),
40  // Parameter to check if configured Tracker Geometry is supported
41  pSetSG_(iConfig.getParameter<ParameterSet>("SupportedGeometry")),
42  sgXMLLabel_(pSetSG_.getParameter<string>("XMLLabel")),
43  sgXMLPath_(pSetSG_.getParameter<string>("XMLPath")),
44  sgXMLFile_(pSetSG_.getParameter<string>("XMLFile")),
45  sgXMLVersions_(pSetSG_.getParameter<vector<string>>("XMLVersions")),
46  // Parameter to check if Process History is consistent with process configuration
47  pSetPH_(iConfig.getParameter<ParameterSet>("ProcessHistory")),
48  phGeometryConfiguration_(pSetPH_.getParameter<string>("GeometryConfiguration")),
49  phTTStubAlgorithm_(pSetPH_.getParameter<string>("TTStubAlgorithm")),
50  // Common track finding parameter
51  pSetTF_(iConfig.getParameter<ParameterSet>("TrackFinding")),
52  beamWindowZ_(pSetTF_.getParameter<double>("BeamWindowZ")),
53  matchedLayers_(pSetTF_.getParameter<int>("MatchedLayers")),
54  matchedLayersPS_(pSetTF_.getParameter<int>("MatchedLayersPS")),
55  unMatchedStubs_(pSetTF_.getParameter<int>("UnMatchedStubs")),
56  unMatchedStubsPS_(pSetTF_.getParameter<int>("UnMatchedStubsPS")),
57  // TMTT specific parameter
58  pSetTMTT_(iConfig.getParameter<ParameterSet>("TMTT")),
59  minPt_(pSetTMTT_.getParameter<double>("MinPt")),
60  maxEta_(pSetTMTT_.getParameter<double>("MaxEta")),
61  chosenRofPhi_(pSetTMTT_.getParameter<double>("ChosenRofPhi")),
62  numLayers_(pSetTMTT_.getParameter<int>("NumLayers")),
63  widthR_(pSetTMTT_.getParameter<int>("WidthR")),
64  widthPhi_(pSetTMTT_.getParameter<int>("WidthPhi")),
65  widthZ_(pSetTMTT_.getParameter<int>("WidthZ")),
66  // Hybrid specific parameter
67  pSetHybrid_(iConfig.getParameter<ParameterSet>("Hybrid")),
68  hybridMinPt_(pSetHybrid_.getParameter<double>("MinPt")),
69  hybridMaxEta_(pSetHybrid_.getParameter<double>("MaxEta")),
70  hybridChosenRofPhi_(pSetHybrid_.getParameter<double>("ChosenRofPhi")),
71  hybridNumLayers_(pSetHybrid_.getParameter<int>("NumLayers")),
72  hybridNumRingsPS_(pSetHybrid_.getParameter<vector<int>>("NumRingsPS")),
73  hybridWidthsR_(pSetHybrid_.getParameter<vector<int>>("WidthsR")),
74  hybridWidthsZ_(pSetHybrid_.getParameter<vector<int>>("WidthsZ")),
75  hybridWidthsPhi_(pSetHybrid_.getParameter<vector<int>>("WidthsPhi")),
76  hybridWidthsAlpha_(pSetHybrid_.getParameter<vector<int>>("WidthsAlpha")),
77  hybridWidthsBend_(pSetHybrid_.getParameter<vector<int>>("WidthsBend")),
78  hybridRangesR_(pSetHybrid_.getParameter<vector<double>>("RangesR")),
79  hybridRangesZ_(pSetHybrid_.getParameter<vector<double>>("RangesZ")),
80  hybridRangesAlpha_(pSetHybrid_.getParameter<vector<double>>("RangesAlpha")),
81  hybridLayerRs_(pSetHybrid_.getParameter<vector<double>>("LayerRs")),
82  hybridDiskZs_(pSetHybrid_.getParameter<vector<double>>("DiskZs")),
83  hybridDisk2SRsSet_(pSetHybrid_.getParameter<vector<ParameterSet>>("Disk2SRsSet")),
84  // Parameter specifying TrackingParticle used for Efficiency measurements
85  pSetTP_(iConfig.getParameter<ParameterSet>("TrackingParticle")),
86  tpMaxEta_(pSetTP_.getParameter<double>("MaxEta")),
87  tpMaxVertR_(pSetTP_.getParameter<double>("MaxVertR")),
88  tpMaxVertZ_(pSetTP_.getParameter<double>("MaxVertZ")),
89  tpMaxD0_(pSetTP_.getParameter<double>("MaxD0")),
90  tpMinLayers_(pSetTP_.getParameter<int>("MinLayers")),
91  tpMinLayersPS_(pSetTP_.getParameter<int>("MinLayersPS")),
92  // Fimrware specific Parameter
93  pSetFW_(iConfig.getParameter<ParameterSet>("Firmware")),
94  numFramesInfra_(pSetFW_.getParameter<int>("NumFramesInfra")),
95  freqLHC_(pSetFW_.getParameter<double>("FreqLHC")),
96  freqBE_(pSetFW_.getParameter<double>("FreqBE")),
97  tmpFE_(pSetFW_.getParameter<int>("TMP_FE")),
98  tmpTFP_(pSetFW_.getParameter<int>("TMP_TFP")),
99  speedOfLight_(pSetFW_.getParameter<double>("SpeedOfLight")),
100  bField_(pSetFW_.getParameter<double>("BField")),
101  bFieldError_(pSetFW_.getParameter<double>("BFieldError")),
102  outerRadius_(pSetFW_.getParameter<double>("OuterRadius")),
103  innerRadius_(pSetFW_.getParameter<double>("InnerRadius")),
104  halfLength_(pSetFW_.getParameter<double>("HalfLength")),
105  maxPitch_(pSetFW_.getParameter<double>("MaxPitch")),
106  // Parmeter specifying front-end
107  pSetFE_(iConfig.getParameter<ParameterSet>("FrontEnd")),
108  widthBend_(pSetFE_.getParameter<int>("WidthBend")),
109  widthCol_(pSetFE_.getParameter<int>("WidthCol")),
110  widthRow_(pSetFE_.getParameter<int>("WidthRow")),
111  baseBend_(pSetFE_.getParameter<double>("BaseBend")),
112  baseCol_(pSetFE_.getParameter<double>("BaseCol")),
113  baseRow_(pSetFE_.getParameter<double>("BaseRow")),
114  baseWindowSize_(pSetFE_.getParameter<double>("BaseWindowSize")),
115  bendCut_(pSetFE_.getParameter<double>("BendCut")),
116  // Parmeter specifying DTC
117  pSetDTC_(iConfig.getParameter<ParameterSet>("DTC")),
118  numRegions_(pSetDTC_.getParameter<int>("NumRegions")),
119  numOverlappingRegions_(pSetDTC_.getParameter<int>("NumOverlappingRegions")),
120  numATCASlots_(pSetDTC_.getParameter<int>("NumATCASlots")),
121  numDTCsPerRegion_(pSetDTC_.getParameter<int>("NumDTCsPerRegion")),
122  numModulesPerDTC_(pSetDTC_.getParameter<int>("NumModulesPerDTC")),
123  dtcNumRoutingBlocks_(pSetDTC_.getParameter<int>("NumRoutingBlocks")),
124  dtcDepthMemory_(pSetDTC_.getParameter<int>("DepthMemory")),
125  dtcWidthRowLUT_(pSetDTC_.getParameter<int>("WidthRowLUT")),
126  dtcWidthQoverPt_(pSetDTC_.getParameter<int>("WidthQoverPt")),
127  offsetDetIdDSV_(pSetDTC_.getParameter<int>("OffsetDetIdDSV")),
128  offsetDetIdTP_(pSetDTC_.getParameter<int>("OffsetDetIdTP")),
129  offsetLayerDisks_(pSetDTC_.getParameter<int>("OffsetLayerDisks")),
130  offsetLayerId_(pSetDTC_.getParameter<int>("OffsetLayerId")),
131  // Parmeter specifying GeometricProcessor
132  pSetGP_(iConfig.getParameter<ParameterSet>("GeometricProcessor")),
133  numSectorsPhi_(pSetGP_.getParameter<int>("NumSectorsPhi")),
134  chosenRofZ_(pSetGP_.getParameter<double>("ChosenRofZ")),
135  neededRangeChiZ_(pSetGP_.getParameter<double>("RangeChiZ")),
136  gpDepthMemory_(pSetGP_.getParameter<int>("DepthMemory")),
137  boundariesEta_(pSetGP_.getParameter<vector<double>>("BoundariesEta")),
138  // Parmeter specifying HoughTransform
139  pSetHT_(iConfig.getParameter<ParameterSet>("HoughTransform")),
140  htNumBinsQoverPt_(pSetHT_.getParameter<int>("NumBinsQoverPt")),
141  htNumBinsPhiT_(pSetHT_.getParameter<int>("NumBinsPhiT")),
142  htMinLayers_(pSetHT_.getParameter<int>("MinLayers")),
143  htDepthMemory_(pSetHT_.getParameter<int>("DepthMemory")),
144  // Parmeter specifying MiniHoughTransform
145  pSetMHT_(iConfig.getParameter<ParameterSet>("MiniHoughTransform")),
146  mhtNumBinsQoverPt_(pSetMHT_.getParameter<int>("NumBinsQoverPt")),
147  mhtNumBinsPhiT_(pSetMHT_.getParameter<int>("NumBinsPhiT")),
148  mhtNumDLB_(pSetMHT_.getParameter<int>("NumDLB")),
149  mhtMinLayers_(pSetMHT_.getParameter<int>("MinLayers")),
150  // Parmeter specifying SeedFilter
151  pSetSF_(iConfig.getParameter<ParameterSet>("SeedFilter")),
152  sfPowerBaseCot_(pSetSF_.getParameter<int>("PowerBaseCot")),
153  sfBaseDiffZ_(pSetSF_.getParameter<int>("BaseDiffZ")),
154  sfMinLayers_(pSetSF_.getParameter<int>("MinLayers")),
155  // Parmeter specifying KalmanFilter
156  pSetKF_(iConfig.getParameter<ParameterSet>("KalmanFilter")),
157  kfWidthLutInvPhi_(pSetKF_.getParameter<int>("WidthLutInvPhi")),
158  kfWidthLutInvZ_(pSetKF_.getParameter<int>("WidthLutInvZ")),
159  kfNumTracks_(pSetKF_.getParameter<int>("NumTracks")),
160  kfMinLayers_(pSetKF_.getParameter<int>("MinLayers")),
161  kfMaxLayers_(pSetKF_.getParameter<int>("MaxLayers")),
162  kfMaxStubsPerLayer_(pSetKF_.getParameter<int>("MaxStubsPerLayer")),
163  kfMaxSkippedLayers_(pSetKF_.getParameter<int>("MaxSkippedLayers")),
164  kfBaseShiftr0_(pSetKF_.getParameter<int>("BaseShiftr0")),
165  kfBaseShiftr02_(pSetKF_.getParameter<int>("BaseShiftr02")),
166  kfBaseShiftv0_(pSetKF_.getParameter<int>("BaseShiftv0")),
167  kfBaseShiftS00_(pSetKF_.getParameter<int>("BaseShiftS00")),
168  kfBaseShiftS01_(pSetKF_.getParameter<int>("BaseShiftS01")),
169  kfBaseShiftK00_(pSetKF_.getParameter<int>("BaseShiftK00")),
170  kfBaseShiftK10_(pSetKF_.getParameter<int>("BaseShiftK10")),
171  kfBaseShiftR00_(pSetKF_.getParameter<int>("BaseShiftR00")),
172  kfBaseShiftInvR00_(pSetKF_.getParameter<int>("BaseShiftInvR00")),
173  kfBaseShiftChi20_(pSetKF_.getParameter<int>("BaseShiftChi20")),
174  kfBaseShiftC00_(pSetKF_.getParameter<int>("BaseShiftC00")),
175  kfBaseShiftC01_(pSetKF_.getParameter<int>("BaseShiftC01")),
176  kfBaseShiftC11_(pSetKF_.getParameter<int>("BaseShiftC11")),
177  kfBaseShiftr1_(pSetKF_.getParameter<int>("BaseShiftr1")),
178  kfBaseShiftr12_(pSetKF_.getParameter<int>("BaseShiftr12")),
179  kfBaseShiftv1_(pSetKF_.getParameter<int>("BaseShiftv1")),
180  kfBaseShiftS12_(pSetKF_.getParameter<int>("BaseShiftS12")),
181  kfBaseShiftS13_(pSetKF_.getParameter<int>("BaseShiftS13")),
182  kfBaseShiftK21_(pSetKF_.getParameter<int>("BaseShiftK21")),
183  kfBaseShiftK31_(pSetKF_.getParameter<int>("BaseShiftK31")),
184  kfBaseShiftR11_(pSetKF_.getParameter<int>("BaseShiftR11")),
185  kfBaseShiftInvR11_(pSetKF_.getParameter<int>("BaseShiftInvR11")),
186  kfBaseShiftChi21_(pSetKF_.getParameter<int>("BaseShiftChi21")),
187  kfBaseShiftC22_(pSetKF_.getParameter<int>("BaseShiftC22")),
188  kfBaseShiftC23_(pSetKF_.getParameter<int>("BaseShiftC23")),
189  kfBaseShiftC33_(pSetKF_.getParameter<int>("BaseShiftC33")),
190  kfBaseShiftChi2_(pSetKF_.getParameter<int>("BaseShiftChi2")),
191  // Parmeter specifying DuplicateRemoval
192  pSetDR_(iConfig.getParameter<ParameterSet>("DuplicateRemoval")),
193  drDepthMemory_(pSetDR_.getParameter<int>("DepthMemory")),
194  drWidthPhi0_(pSetDR_.getParameter<int>("WidthPhi0")),
195  drWidthQoverPt_(pSetDR_.getParameter<int>("WidthQoverPt")),
196  drWidthCot_(pSetDR_.getParameter<int>("WidthCot")),
197  drWidthZ0_(pSetDR_.getParameter<int>("WidthZ0")) {
199  // check if bField is supported
201  // check if geometry is supported
202  checkGeometry();
204  return;
205  // derive constants
207  // convert configuration of TTStubAlgorithm
209  // create all possible encodingsBend
210  encodingsBendPS_.reserve(maxWindowSize_ + 1);
211  encodingsBend2S_.reserve(maxWindowSize_ + 1);
214  // create encodingsLayerId
216  encodeLayerId();
217  // create sensor modules
219  }
const TrackerGeometry * trackerGeometry() const
Definition: Setup.h:76
int maxWindowSize_
Definition: Setup.h:754
edm::ParameterSet pSetFW_
Definition: Setup.h:559
double baseWindowSize_
Definition: Setup.h:600
void checkMagneticField()
Definition: Setup.cc:347
void encodeLayerId()
Definition: Setup.cc:413
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
int kfBaseShiftS01_
Definition: Setup.h:699
double maxEta_
Definition: Setup.h:496
int hybridNumLayers_
Definition: Setup.h:517
std::string phGeometryConfiguration_
Definition: Setup.h:474
std::vector< int > hybridNumRingsPS_
Definition: Setup.h:519
std::vector< int > hybridWidthsR_
Definition: Setup.h:521
const TrackerTopology * trackerTopology_
Definition: Setup.h:443
int kfBaseShiftChi2_
Definition: Setup.h:721
int kfBaseShiftInvR11_
Definition: Setup.h:716
int kfBaseShiftK31_
Definition: Setup.h:714
int mhtNumBinsPhiT_
Definition: Setup.h:664
int dtcNumRoutingBlocks_
Definition: Setup.h:617
edm::ParameterSetID pSetIdGeometryConfiguration_
Definition: Setup.h:455
int kfBaseShiftK00_
Definition: Setup.h:700
double chosenRofPhi_
Definition: Setup.h:498
int unMatchedStubs_
Definition: Setup.h:487
int kfBaseShiftr0_
Definition: Setup.h:695
std::vector< edm::ParameterSet > hybridDisk2SRsSet_
Definition: Setup.h:541
double hybridChosenRofPhi_
Definition: Setup.h:515
int kfBaseShiftR11_
Definition: Setup.h:715
int kfMinLayers_
Definition: Setup.h:688
double innerRadius_
Definition: Setup.h:579
std::vector< int > hybridWidthsZ_
Definition: Setup.h:523
int mhtMinLayers_
Definition: Setup.h:668
std::vector< double > boundariesEta_
Definition: Setup.h:646
double hybridMaxEta_
Definition: Setup.h:513
void checkGeometry()
Definition: Setup.cc:358
std::vector< double > hybridLayerRs_
Definition: Setup.h:537
int kfBaseShiftC00_
Definition: Setup.h:705
int kfBaseShiftC11_
Definition: Setup.h:707
int kfBaseShiftr12_
Definition: Setup.h:709
std::vector< double > hybridDiskZs_
Definition: Setup.h:539
int kfNumTracks_
Definition: Setup.h:686
int offsetDetIdDSV_
Definition: Setup.h:625
int kfBaseShiftC23_
Definition: Setup.h:719
std::string phTTStubAlgorithm_
Definition: Setup.h:476
int numDTCsPerRegion_
Definition: Setup.h:613
bool fromDD4hep_
Definition: Setup.h:458
edm::ParameterSet pSetFE_
Definition: Setup.h:586
int kfMaxLayers_
Definition: Setup.h:690
double tpMaxEta_
Definition: Setup.h:546
int sfBaseDiffZ_
Definition: Setup.h:675
double freqLHC_
Definition: Setup.h:563
std::vector< double > hybridRangesAlpha_
Definition: Setup.h:535
std::vector< int > hybridWidthsPhi_
Definition: Setup.h:525
int offsetLayerDisks_
Definition: Setup.h:629
int kfBaseShiftS00_
Definition: Setup.h:698
double baseRow_
Definition: Setup.h:598
const StubAlgorithmOfficial * stubAlgorithm_
Definition: Setup.h:447
const TrackerDetToDTCELinkCablingMap * cablingMap_
Definition: Setup.h:445
int kfBaseShiftv0_
Definition: Setup.h:697
edm::ParameterSet pSetTMTT_
Definition: Setup.h:492
int kfMaxStubsPerLayer_
Definition: Setup.h:692
int dtcDepthMemory_
Definition: Setup.h:619
double tpMaxVertZ_
Definition: Setup.h:550
double maxPitch_
Definition: Setup.h:583
int htMinLayers_
Definition: Setup.h:655
double minPt_
Definition: Setup.h:494
int numATCASlots_
Definition: Setup.h:611
int kfWidthLutInvZ_
Definition: Setup.h:684
double freqBE_
Definition: Setup.h:565
int gpDepthMemory_
Definition: Setup.h:644
double tpMaxD0_
Definition: Setup.h:552
int kfBaseShiftS13_
Definition: Setup.h:712
std::vector< std::string > sgXMLVersions_
Definition: Setup.h:469
int matchedLayers_
Definition: Setup.h:483
int htNumBinsPhiT_
Definition: Setup.h:653
int kfBaseShiftv1_
Definition: Setup.h:710
int kfMaxSkippedLayers_
Definition: Setup.h:694
int kfBaseShiftr1_
Definition: Setup.h:708
int drWidthPhi0_
Definition: Setup.h:728
std::vector< std::vector< double > > encodingsBendPS_
Definition: Setup.h:828
int dtcWidthRowLUT_
Definition: Setup.h:621
double baseCol_
Definition: Setup.h:596
int kfWidthLutInvPhi_
Definition: Setup.h:682
void encodeBend(std::vector< std::vector< double >> &, bool) const
Definition: Setup.cc:403
double tpMaxVertR_
Definition: Setup.h:548
int kfBaseShiftC22_
Definition: Setup.h:718
int dtcWidthQoverPt_
Definition: Setup.h:623
double outerRadius_
Definition: Setup.h:577
int sfMinLayers_
Definition: Setup.h:677
int numSectorsPhi_
Definition: Setup.h:636
int numOverlappingRegions_
Definition: Setup.h:609
const edm::ParameterSet * pSetGC_
Definition: Setup.h:451
const TrackerTopology * trackerTopology() const
Definition: Setup.h:78
double bField_
Definition: Setup.h:573
std::vector< int > hybridWidthsAlpha_
Definition: Setup.h:527
int kfBaseShiftK10_
Definition: Setup.h:701
int mhtNumBinsQoverPt_
Definition: Setup.h:662
std::string sgXMLLabel_
Definition: Setup.h:463
const MagneticField * magneticField_
Definition: Setup.h:439
edm::ParameterSet pSetDTC_
Definition: Setup.h:605
int drDepthMemory_
Definition: Setup.h:726
void consumeStubAlgorithm()
Definition: Setup.cc:384
bool configurationSupported_
Definition: Setup.h:741
int kfBaseShiftC01_
Definition: Setup.h:706
int numFramesInfra_
Definition: Setup.h:561
edm::ParameterSet pSetSG_
Definition: Setup.h:461
edm::ParameterSet pSetKF_
Definition: Setup.h:680
edm::ParameterSet pSetTF_
Definition: Setup.h:479
int kfBaseShiftChi21_
Definition: Setup.h:717
std::string sgXMLFile_
Definition: Setup.h:467
int sfPowerBaseCot_
Definition: Setup.h:673
std::vector< int > hybridWidthsBend_
Definition: Setup.h:529
std::vector< double > hybridRangesR_
Definition: Setup.h:531
edm::ParameterSet pSetGP_
Definition: Setup.h:634
int kfBaseShiftInvR00_
Definition: Setup.h:703
double neededRangeChiZ_
Definition: Setup.h:642
int kfBaseShiftK21_
Definition: Setup.h:713
int kfBaseShiftR00_
Definition: Setup.h:702
edm::ParameterSet pSetDR_
Definition: Setup.h:724
void produceSensorModules()
Definition: Setup.cc:443
std::vector< std::vector< int > > encodingsLayerId_
Definition: Setup.h:832
double chosenRofZ_
Definition: Setup.h:640
int kfBaseShiftS12_
Definition: Setup.h:711
int tpMinLayersPS_
Definition: Setup.h:556
double hybridMinPt_
Definition: Setup.h:511
edm::ParameterSet pSetSF_
Definition: Setup.h:671
edm::ParameterSet pSetHT_
Definition: Setup.h:649
int offsetLayerId_
Definition: Setup.h:631
std::string sgXMLPath_
Definition: Setup.h:465
std::vector< std::vector< double > > encodingsBend2S_
Definition: Setup.h:830
int htDepthMemory_
Definition: Setup.h:657
double bendCut_
Definition: Setup.h:602
int unMatchedStubsPS_
Definition: Setup.h:489
int kfBaseShiftr02_
Definition: Setup.h:696
const edm::ParameterSet * pSetSA_
Definition: Setup.h:449
int kfBaseShiftC33_
Definition: Setup.h:720
std::vector< double > hybridRangesZ_
Definition: Setup.h:533
int offsetDetIdTP_
Definition: Setup.h:627
edm::ParameterSetID pSetIdTTStubAlgorithm_
Definition: Setup.h:453
edm::ParameterSet pSetHybrid_
Definition: Setup.h:509
int drWidthQoverPt_
Definition: Setup.h:730
edm::ParameterSet pSetMHT_
Definition: Setup.h:660
double beamWindowZ_
Definition: Setup.h:481
double speedOfLight_
Definition: Setup.h:571
double halfLength_
Definition: Setup.h:581
int matchedLayersPS_
Definition: Setup.h:485
int kfBaseShiftChi20_
Definition: Setup.h:704
double baseBend_
Definition: Setup.h:594
edm::ParameterSet pSetPH_
Definition: Setup.h:472
edm::ParameterSet pSetTP_
Definition: Setup.h:544
int numModulesPerDTC_
Definition: Setup.h:615
void calculateConstants()
Definition: Setup.cc:485
int tpMinLayers_
Definition: Setup.h:554
double bFieldError_
Definition: Setup.h:575
const TrackerGeometry * trackerGeometry_
Definition: Setup.h:441
int htNumBinsQoverPt_
Definition: Setup.h:651

◆ ~Setup()

trackerDTC::Setup::~Setup ( )
inline

Definition at line 55 of file Setup.h.

55 {}

Member Function Documentation

◆ baseBend()

double trackerDTC::Setup::baseBend ( ) const
inline

Definition at line 209 of file Setup.h.

References baseBend_.

209 { return baseBend_; }
double baseBend_
Definition: Setup.h:594

◆ baseCol()

double trackerDTC::Setup::baseCol ( ) const
inline

Definition at line 211 of file Setup.h.

References baseCol_.

211 { return baseCol_; }
double baseCol_
Definition: Setup.h:596

◆ basePhi()

double trackerDTC::Setup::basePhi ( ) const
inline

Definition at line 136 of file Setup.h.

References basePhi_.

Referenced by trackerDTC::Stub::formatTMTT(), and stubPos().

136 { return basePhi_; }
double basePhi_
Definition: Setup.h:778

◆ baseR()

double trackerDTC::Setup::baseR ( ) const
inline

Definition at line 132 of file Setup.h.

References baseR_.

Referenced by trackerDTC::Stub::formatTMTT(), and stubPos().

132 { return baseR_; }
double baseR_
Definition: Setup.h:774

◆ baseRegion()

double trackerDTC::Setup::baseRegion ( ) const
inline

Definition at line 99 of file Setup.h.

References baseRegion_.

Referenced by trackerDTC::Stub::formatHybrid(), and trackerDTC::Stub::formatTMTT().

99 { return baseRegion_; }
double baseRegion_
Definition: Setup.h:767

◆ baseRow()

double trackerDTC::Setup::baseRow ( ) const
inline

Definition at line 213 of file Setup.h.

References baseRow_.

213 { return baseRow_; }
double baseRow_
Definition: Setup.h:598

◆ baseSector()

double trackerDTC::Setup::baseSector ( ) const
inline

Definition at line 279 of file Setup.h.

References baseSector_.

Referenced by trackerDTC::Stub::formatTMTT().

279 { return baseSector_; }
double baseSector_
Definition: Setup.h:843

◆ baseWindowSize()

double trackerDTC::Setup::baseWindowSize ( ) const
inline

Definition at line 196 of file Setup.h.

References baseWindowSize_.

196 { return baseWindowSize_; }
double baseWindowSize_
Definition: Setup.h:600

◆ baseZ()

double trackerDTC::Setup::baseZ ( ) const
inline

Definition at line 134 of file Setup.h.

References baseZ_.

Referenced by trackerDTC::Stub::formatTMTT(), and stubPos().

134 { return baseZ_; }
double baseZ_
Definition: Setup.h:776

◆ beamWindowZ()

double trackerDTC::Setup::beamWindowZ ( ) const
inline

Definition at line 89 of file Setup.h.

References beamWindowZ_.

89 { return beamWindowZ_; }
double beamWindowZ_
Definition: Setup.h:481

◆ bendCut()

double trackerDTC::Setup::bendCut ( ) const
inline

Definition at line 215 of file Setup.h.

References bendCut_.

215 { return bendCut_; }
double bendCut_
Definition: Setup.h:602

◆ boundarieEta()

double trackerDTC::Setup::boundarieEta ( int  eta) const
inline

Definition at line 277 of file Setup.h.

References boundariesEta_, and PVValHelper::eta.

Referenced by trackerDTC::Stub::formatTMTT().

277 { return boundariesEta_.at(eta); }
std::vector< double > boundariesEta_
Definition: Setup.h:646

◆ calculateConstants()

void trackerDTC::Setup::calculateConstants ( )
private

Definition at line 485 of file Setup.cc.

References funct::abs(), basePhi_, baseR_, baseRegion_, baseRow_, baseSector_, baseZ_, beamWindowZ_, bField_, boundariesEta_, reco::ceil(), chosenRofPhi_, chosenRofZ_, trackerDTC::SensorModule::Disk2S, disk2SRs_, drBaseCot_, drBasePhi0_, drBaseQoverPt_, drBaseZ0_, drWidthCot_, drWidthPhi0_, drWidthQoverPt_, drWidthZ0_, dtcBaseM_, dtcBaseQoverPt_, dtcNumMergedRows_, dtcNumModulesPerRoutingBlock_, dtcNumRoutingBlocks_, dtcNumUnusedBits_, dtcWidthM_, dtcWidthQoverPt_, dtcWidthRowLUT_, freqBE_, freqLHC_, edm::ParameterSet::getParameter(), halfLength_, htBasePhiT_, htBaseQoverPt_, htNumBinsPhiT_, htNumBinsQoverPt_, htWidthPhiT_, htWidthQoverPt_, hybridBasesAlpha_, hybridBasesPhi_, hybridBasesR_, hybridBasesZ_, hybridChosenRofPhi_, hybridDisk2SRsSet_, hybridMaxCot_, hybridMaxEta_, hybridMinPt_, hybridNumLayers_, hybridNumsUnusedBits_, hybridRangesAlpha_, hybridRangesR_, hybridRangesZ_, hybridWidthLayer_, hybridWidthsAlpha_, hybridWidthsBend_, hybridWidthsPhi_, hybridWidthsR_, hybridWidthsZ_, innerRadius_, invPtToDphi_, kfBaseC00_, kfBaseC01_, kfBaseC11_, kfBaseC22_, kfBaseC23_, kfBaseC33_, kfBaseChi20_, kfBaseChi21_, kfBaseChi2_, kfBaseH00_, kfBaseH12_, kfBaseInvR00_, kfBaseInvR11_, kfBaseK00_, kfBaseK10_, kfBaseK21_, kfBaseK31_, kfBasem0_, kfBasem1_, kfBaseR00_, kfBaser02_, kfBaser0_, kfBaseR11_, kfBaser12_, kfBaser1_, kfBaseS00_, kfBaseS01_, kfBaseS12_, kfBaseS13_, kfBaseShiftC00_, kfBaseShiftC01_, kfBaseShiftC11_, kfBaseShiftC22_, kfBaseShiftC23_, kfBaseShiftC33_, kfBaseShiftChi20_, kfBaseShiftChi21_, kfBaseShiftChi2_, kfBaseShiftInvR00_, kfBaseShiftInvR11_, kfBaseShiftK00_, kfBaseShiftK10_, kfBaseShiftK21_, kfBaseShiftK31_, kfBaseShiftR00_, kfBaseShiftr02_, kfBaseShiftr0_, kfBaseShiftR11_, kfBaseShiftr12_, kfBaseShiftr1_, kfBaseShiftS00_, kfBaseShiftS01_, kfBaseShiftS12_, kfBaseShiftS13_, kfBaseShiftv0_, kfBaseShiftv1_, kfBasev0_, kfBasev1_, kfBasex0_, kfBasex1_, kfBasex2_, kfBasex3_, M_PI, SiStripPI::max, maxCot_, maxEta_, maxPitch_, maxZT_, mhtBasePhiT_, mhtBaseQoverPt_, mhtNumBinsPhiT_, mhtNumBinsQoverPt_, mhtNumCells_, mhtWidthPhiT_, mhtWidthQoverPt_, minPt_, neededRangeChiZ_, numDTCs_, numDTCsPerRegion_, numDTCsPerTFP_, numFrames_, numFramesFE_, numFramesInfra_, numFramesIO_, numLayers_, numModules_, numModulesPerDTC_, numOverlappingRegions_, numRegions_, numSectorsEta_, numSectorsPhi_, trackerDTC::SensorModule::NumTypes, outerRadius_, funct::pow(), TTBV::S, sfBaseCot_, sfBaseDiffZ_, sfBaseZT_, sfPowerBaseCot_, speedOfLight_, tmpFE_, tmpTFP_, widthChiPhi_, widthChiZ_, widthLayer_, widthPhi_, widthPhiDTC_, widthR_, widthRow_, widthSectorEta_, widthZ_, and testProducerWithPsetDescEmpty_cfi::x1.

Referenced by Setup().

485  {
486  // emp
487  const int numFramesPerBX = freqBE_ / freqLHC_;
488  numFrames_ = numFramesPerBX * tmpTFP_ - 1;
489  numFramesIO_ = numFramesPerBX * tmpTFP_ - numFramesInfra_;
490  numFramesFE_ = numFramesPerBX * tmpFE_ - numFramesInfra_;
491  // common track finding
492  invPtToDphi_ = speedOfLight_ * bField_ / 2000.;
493  baseRegion_ = 2. * M_PI / numRegions_;
494  // gp
496  maxCot_ = sinh(maxEta_);
498  numSectorsEta_ = boundariesEta_.size() - 1;
501  // ht
504  const double rangeQoverPt = 2. * invPtToDphi_ / minPt_;
505  htBaseQoverPt_ = rangeQoverPt / htNumBinsQoverPt_;
507  // tmtt
508  widthLayer_ = ceil(log2(numLayers_));
509  const double baseRgen = htBasePhiT_ / htBaseQoverPt_;
510  const double rangeR = 2. * max(abs(outerRadius_ - chosenRofPhi_), abs(innerRadius_ - chosenRofPhi_));
511  const int baseShiftR = ceil(log2(rangeR / baseRgen / pow(2., widthR_)));
512  baseR_ = baseRgen * pow(2., baseShiftR);
513  const double rangeZ = 2. * halfLength_;
514  const int baseShiftZ = ceil(log2(rangeZ / baseR_ / pow(2., widthZ_)));
515  baseZ_ = baseR_ * pow(2., baseShiftZ);
516  const double rangePhiDTC = baseRegion_ + rangeQoverPt * baseR_ * pow(2., widthR_) / 4.;
517  widthPhiDTC_ = widthPhi_ + ceil(log2(rangePhiDTC / baseRegion_));
518  const int baseShiftPhi = ceil(log2(rangePhiDTC / htBasePhiT_ / pow(2., widthPhiDTC_)));
519  basePhi_ = htBasePhiT_ * pow(2., baseShiftPhi);
520  const double neededRangeChiPhi = 2. * htBasePhiT_;
521  widthChiPhi_ = ceil(log2(neededRangeChiPhi / basePhi_));
522  // hybrid
523  const double hybridRangeQoverPt = 2. * invPtToDphi_ / hybridMinPt_;
524  const double hybridRangeR =
526  const double hybridRangePhi = baseRegion_ + hybridRangeR * hybridRangeQoverPt / 2.;
529  for (int type = 0; type < SensorModule::NumTypes; type++)
530  hybridBasesZ_.emplace_back(hybridRangesZ_.at(type) / pow(2., hybridWidthsZ_.at(type)));
532  for (int type = 0; type < SensorModule::NumTypes; type++)
533  hybridBasesR_.emplace_back(hybridRangesR_.at(type) / pow(2., hybridWidthsR_.at(type)));
536  for (int type = 0; type < SensorModule::NumTypes; type++)
537  hybridBasesPhi_.emplace_back(hybridRangePhi / pow(2., hybridWidthsPhi_.at(type)));
539  for (int type = 0; type < SensorModule::NumTypes; type++)
542  for (int type = 0; type < SensorModule::NumTypes; type++)
547  disk2SRs_.reserve(hybridDisk2SRsSet_.size());
548  for (const auto& pSet : hybridDisk2SRsSet_)
549  disk2SRs_.emplace_back(pSet.getParameter<vector<double>>("Disk2SRs"));
550  // dtc
556  const double maxRangeQoverPt = max(rangeQoverPt, hybridRangeQoverPt);
557  const int baseShiftQoverPt = htWidthQoverPt_ - dtcWidthQoverPt_ + ceil(log2(maxRangeQoverPt / rangeQoverPt));
558  dtcBaseQoverPt_ = htBaseQoverPt_ * pow(2., baseShiftQoverPt);
559  const int baseDiffM = dtcWidthRowLUT_ - widthRow_;
560  dtcBaseM_ = basePhi_ * pow(2., baseDiffM);
561  const double x1 = pow(2, widthRow_) * baseRow_ * maxPitch_ / 2.;
562  const double x0 = x1 - pow(2, dtcWidthRowLUT_) * baseRow_ * maxPitch_;
563  const double maxM = atan2(x1, innerRadius_) - atan2(x0, innerRadius_);
564  dtcWidthM_ = ceil(log2(maxM / dtcBaseM_));
567  // mht
573  // SF
576  // DR
579  drBaseCot_ = floor(log2(2. * maxCot_ * pow(2, -drWidthCot_)));
580  drBaseZ0_ = baseZ_ * pow(2, ceil(log2(2. * beamWindowZ_ / baseZ_)) - drWidthZ0_);
581  // KF
587  kfBasem1_ = baseZ_;
588  kfBaseH00_ = baseR_;
589  kfBaseH12_ = baseR_;
617  }
int numFramesIO_
Definition: Setup.h:761
double kfBasex3_
Definition: Setup.h:895
double kfBaser12_
Definition: Setup.h:903
constexpr int32_t ceil(float num)
double kfBaseS12_
Definition: Setup.h:907
int numDTCsPerTFP_
Definition: Setup.h:812
int kfBaseShiftS01_
Definition: Setup.h:699
std::vector< int > hybridNumsUnusedBits_
Definition: Setup.h:803
double maxEta_
Definition: Setup.h:496
int hybridNumLayers_
Definition: Setup.h:517
double dtcBaseQoverPt_
Definition: Setup.h:822
double kfBasem0_
Definition: Setup.h:888
std::vector< std::vector< double > > disk2SRs_
Definition: Setup.h:805
double drBaseZ0_
Definition: Setup.h:936
double drBasePhi0_
Definition: Setup.h:934
std::vector< int > hybridWidthsR_
Definition: Setup.h:521
int kfBaseShiftChi2_
Definition: Setup.h:721
int kfBaseShiftInvR11_
Definition: Setup.h:716
int kfBaseShiftK31_
Definition: Setup.h:714
int mhtNumBinsPhiT_
Definition: Setup.h:664
int dtcNumRoutingBlocks_
Definition: Setup.h:617
int kfBaseShiftK00_
Definition: Setup.h:700
double chosenRofPhi_
Definition: Setup.h:498
int kfBaseShiftr0_
Definition: Setup.h:695
std::vector< edm::ParameterSet > hybridDisk2SRsSet_
Definition: Setup.h:541
double hybridChosenRofPhi_
Definition: Setup.h:515
int kfBaseShiftR11_
Definition: Setup.h:715
double maxCot_
Definition: Setup.h:847
double innerRadius_
Definition: Setup.h:579
double baseZ_
Definition: Setup.h:776
std::vector< int > hybridWidthsZ_
Definition: Setup.h:523
double kfBaseChi2_
Definition: Setup.h:929
std::vector< double > boundariesEta_
Definition: Setup.h:646
double hybridMaxEta_
Definition: Setup.h:513
int kfBaseShiftC00_
Definition: Setup.h:705
int widthPhiDTC_
Definition: Setup.h:826
int kfBaseShiftC11_
Definition: Setup.h:707
int kfBaseShiftr12_
Definition: Setup.h:709
int kfBaseShiftC23_
Definition: Setup.h:719
int numDTCsPerRegion_
Definition: Setup.h:613
int dtcNumUnusedBits_
Definition: Setup.h:780
double invPtToDphi_
Definition: Setup.h:765
double sfBaseZT_
Definition: Setup.h:884
int sfBaseDiffZ_
Definition: Setup.h:675
double freqLHC_
Definition: Setup.h:563
std::vector< double > hybridRangesAlpha_
Definition: Setup.h:535
std::vector< int > hybridWidthsPhi_
Definition: Setup.h:525
int kfBaseShiftS00_
Definition: Setup.h:698
double baseRow_
Definition: Setup.h:598
int kfBaseShiftv0_
Definition: Setup.h:697
double maxZT_
Definition: Setup.h:845
int numSectorsEta_
Definition: Setup.h:638
double dtcBaseM_
Definition: Setup.h:824
double maxPitch_
Definition: Setup.h:583
double minPt_
Definition: Setup.h:494
int mhtWidthQoverPt_
Definition: Setup.h:871
double kfBaser0_
Definition: Setup.h:900
double freqBE_
Definition: Setup.h:565
int kfBaseShiftS13_
Definition: Setup.h:712
double drBaseQoverPt_
Definition: Setup.h:933
int htNumBinsPhiT_
Definition: Setup.h:653
double kfBasev0_
Definition: Setup.h:890
int kfBaseShiftv1_
Definition: Setup.h:710
int htWidthPhiT_
Definition: Setup.h:858
int kfBaseShiftr1_
Definition: Setup.h:708
int drWidthPhi0_
Definition: Setup.h:728
int dtcWidthRowLUT_
Definition: Setup.h:621
double basePhi_
Definition: Setup.h:778
int mhtNumCells_
Definition: Setup.h:869
double kfBaseC33_
Definition: Setup.h:926
double kfBaseR00_
Definition: Setup.h:909
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
int kfBaseShiftC22_
Definition: Setup.h:718
int dtcWidthQoverPt_
Definition: Setup.h:623
double outerRadius_
Definition: Setup.h:577
double mhtBaseQoverPt_
Definition: Setup.h:875
int numSectorsPhi_
Definition: Setup.h:636
int numOverlappingRegions_
Definition: Setup.h:609
double kfBaseC11_
Definition: Setup.h:921
double kfBaseChi20_
Definition: Setup.h:927
double kfBaseS13_
Definition: Setup.h:908
int widthChiPhi_
Definition: Setup.h:860
double bField_
Definition: Setup.h:573
double kfBaseC23_
Definition: Setup.h:925
std::vector< int > hybridWidthsAlpha_
Definition: Setup.h:527
int kfBaseShiftK10_
Definition: Setup.h:701
double kfBasex0_
Definition: Setup.h:892
int mhtNumBinsQoverPt_
Definition: Setup.h:662
double drBaseCot_
Definition: Setup.h:935
double kfBasex1_
Definition: Setup.h:893
std::vector< double > hybridBasesAlpha_
Definition: Setup.h:793
static constexpr int S
Definition: TTBV.h:20
#define M_PI
int kfBaseShiftC01_
Definition: Setup.h:706
int numFramesInfra_
Definition: Setup.h:561
int kfBaseShiftChi21_
Definition: Setup.h:717
double kfBaseS00_
Definition: Setup.h:904
int sfPowerBaseCot_
Definition: Setup.h:673
std::vector< int > hybridWidthsBend_
Definition: Setup.h:529
double kfBaseH00_
Definition: Setup.h:897
std::vector< double > hybridBasesZ_
Definition: Setup.h:791
int dtcNumMergedRows_
Definition: Setup.h:818
double kfBaser02_
Definition: Setup.h:902
std::vector< double > hybridRangesR_
Definition: Setup.h:531
int kfBaseShiftInvR00_
Definition: Setup.h:703
double neededRangeChiZ_
Definition: Setup.h:642
int kfBaseShiftK21_
Definition: Setup.h:713
int kfBaseShiftR00_
Definition: Setup.h:702
double baseR_
Definition: Setup.h:774
int widthSectorEta_
Definition: Setup.h:849
double hybridMaxCot_
Definition: Setup.h:801
double chosenRofZ_
Definition: Setup.h:640
int kfBaseShiftS12_
Definition: Setup.h:711
double kfBaseR11_
Definition: Setup.h:910
double baseSector_
Definition: Setup.h:843
std::vector< double > hybridBasesPhi_
Definition: Setup.h:789
double kfBasex2_
Definition: Setup.h:894
double mhtBasePhiT_
Definition: Setup.h:877
double kfBaseK21_
Definition: Setup.h:915
double kfBaser1_
Definition: Setup.h:901
int htWidthQoverPt_
Definition: Setup.h:856
double kfBaseK31_
Definition: Setup.h:916
double kfBaseK10_
Definition: Setup.h:914
double hybridMinPt_
Definition: Setup.h:511
std::vector< double > hybridBasesR_
Definition: Setup.h:787
double kfBaseInvR11_
Definition: Setup.h:912
double htBasePhiT_
Definition: Setup.h:864
double sfBaseCot_
Definition: Setup.h:882
int kfBaseShiftr02_
Definition: Setup.h:696
int kfBaseShiftC33_
Definition: Setup.h:720
double baseRegion_
Definition: Setup.h:767
std::vector< double > hybridRangesZ_
Definition: Setup.h:533
double kfBaseS01_
Definition: Setup.h:905
double kfBaseChi21_
Definition: Setup.h:928
int numFramesFE_
Definition: Setup.h:763
int mhtWidthPhiT_
Definition: Setup.h:873
double kfBaseH12_
Definition: Setup.h:899
double kfBasem1_
Definition: Setup.h:889
int dtcNumModulesPerRoutingBlock_
Definition: Setup.h:816
double kfBaseC00_
Definition: Setup.h:918
double kfBaseK00_
Definition: Setup.h:913
double kfBaseC01_
Definition: Setup.h:919
int drWidthQoverPt_
Definition: Setup.h:730
double kfBaseC22_
Definition: Setup.h:924
double beamWindowZ_
Definition: Setup.h:481
double speedOfLight_
Definition: Setup.h:571
double halfLength_
Definition: Setup.h:581
int kfBaseShiftChi20_
Definition: Setup.h:704
double kfBaseInvR00_
Definition: Setup.h:911
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
double kfBasev1_
Definition: Setup.h:891
int numModulesPerDTC_
Definition: Setup.h:615
int hybridWidthLayer_
Definition: Setup.h:785
double htBaseQoverPt_
Definition: Setup.h:862
int htNumBinsQoverPt_
Definition: Setup.h:651

◆ checkDTCId()

void trackerDTC::Setup::checkDTCId ( int  dtcId) const
private

Definition at line 695 of file Setup.cc.

References dtcId(), cppFunctionSkipper::exception, numDTCsPerRegion_, and numRegions_.

Referenced by psModule(), side(), slot(), and tkLayoutId().

695  {
696  if (dtcId < 0 || dtcId >= numDTCsPerRegion_ * numRegions_) {
697  cms::Exception exception("out_of_range");
698  exception.addContext("trackerDTC::Setup::checkDTCId");
699  exception << "Used DTC Id (" << dtcId << ") "
700  << "is out of range 0 to " << numDTCsPerRegion_ * numRegions_ - 1 << ".";
701  throw exception;
702  }
703  }
int dtcId(int tklId) const
Definition: Setup.cc:274
int numDTCsPerRegion_
Definition: Setup.h:613

◆ checkGeometry()

void trackerDTC::Setup::checkGeometry ( )
private

Definition at line 358 of file Setup.cc.

References configurationSupported_, mps_fire::end, cppFunctionSkipper::exception, spr::find(), fromDD4hep_, cmsPseudoTrapShapesXML_cfi::geomXMLFiles, edm::ParameterSet::getParameter(), pSetGC_, sgXMLFile_, sgXMLLabel_, sgXMLPath_, sgXMLVersions_, and BeamSplash_cfg::version.

Referenced by Setup().

358  {
359  //FIX ME: Can we assume that geometry used in dd4hep wf supports L1Track?
360  if (!fromDD4hep_) {
361  const vector<string>& geomXMLFiles = pSetGC_->getParameter<vector<string>>(sgXMLLabel_);
362  string version;
363  for (const string& geomXMLFile : geomXMLFiles) {
364  const auto begin = geomXMLFile.find(sgXMLPath_) + sgXMLPath_.size();
365  const auto end = geomXMLFile.find(sgXMLFile_);
366  if (begin != string::npos && end != string::npos)
367  version = geomXMLFile.substr(begin, end - begin - 1);
368  }
369  if (version.empty()) {
370  cms::Exception exception("LogicError");
371  exception << "No " << sgXMLPath_ << "*/" << sgXMLFile_ << " found in GeometryConfiguration";
372  exception.addContext("tt::Setup::checkGeometry");
373  throw exception;
374  }
375  if (find(sgXMLVersions_.begin(), sgXMLVersions_.end(), version) == sgXMLVersions_.end()) {
376  configurationSupported_ = false;
377  LogWarning("ConfigurationNotSupported")
378  << "Geometry Configuration " << sgXMLPath_ << version << "/" << sgXMLFile_ << " is not supported. ";
379  }
380  }
381  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
bool fromDD4hep_
Definition: Setup.h:458
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
std::vector< std::string > sgXMLVersions_
Definition: Setup.h:469
const edm::ParameterSet * pSetGC_
Definition: Setup.h:451
std::string sgXMLLabel_
Definition: Setup.h:463
bool configurationSupported_
Definition: Setup.h:741
std::string sgXMLFile_
Definition: Setup.h:467
std::string sgXMLPath_
Definition: Setup.h:465
Log< level::Warning, false > LogWarning

◆ checkHistory() [1/2]

void trackerDTC::Setup::checkHistory ( const edm::ProcessHistory processHistory) const

Definition at line 222 of file Setup.cc.

References instance, phGeometryConfiguration_, phTTStubAlgorithm_, pSetIdGeometryConfiguration_, and pSetIdTTStubAlgorithm_.

Referenced by trackerDTC::ProducerED::beginRun().

222  {
223  const pset::Registry* psetRegistry = pset::Registry::instance();
224  // check used TTStubAlgorithm in input producer
225  checkHistory(processHistory, psetRegistry, phTTStubAlgorithm_, pSetIdTTStubAlgorithm_);
226  // check used GeometryConfiguration in input producer
228  }
std::string phGeometryConfiguration_
Definition: Setup.h:474
edm::ParameterSetID pSetIdGeometryConfiguration_
Definition: Setup.h:455
static PFTauRenderPlugin instance
std::string phTTStubAlgorithm_
Definition: Setup.h:476
void checkHistory(const edm::ProcessHistory &processHistory) const
Definition: Setup.cc:222
edm::ParameterSetID pSetIdTTStubAlgorithm_
Definition: Setup.h:453

◆ checkHistory() [2/2]

void trackerDTC::Setup::checkHistory ( const edm::ProcessHistory ,
const edm::pset::Registry ,
const std::string &  ,
const edm::ParameterSetID  
) const
private

◆ checkMagneticField()

void trackerDTC::Setup::checkMagneticField ( )
private

Definition at line 347 of file Setup.cc.

References funct::abs(), bField_, bFieldError_, configurationSupported_, MagneticField::inTesla(), magneticField_, and PV3DBase< T, PVType, FrameType >::z().

Referenced by Setup().

347  {
348  const double bFieldES = magneticField_->inTesla(GlobalPoint(0., 0., 0.)).z();
349  if (abs(bField_ - bFieldES) > bFieldError_) {
350  configurationSupported_ = false;
351  LogWarning("ConfigurationNotSupported")
352  << "Magnetic Field from EventSetup (" << bFieldES << ") differs more then " << bFieldError_
353  << " from supported value (" << bField_ << "). ";
354  }
355  }
T z() const
Definition: PV3DBase.h:61
virtual GlobalVector inTesla(const GlobalPoint &gp) const =0
Field value ad specified global point, in Tesla.
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
double bField_
Definition: Setup.h:573
const MagneticField * magneticField_
Definition: Setup.h:439
bool configurationSupported_
Definition: Setup.h:741
Log< level::Warning, false > LogWarning
double bFieldError_
Definition: Setup.h:575

◆ checkTFPIdentifier()

void trackerDTC::Setup::checkTFPIdentifier ( int  tfpRegion,
int  tfpChannel 
) const
private

Definition at line 717 of file Setup.cc.

References cppFunctionSkipper::exception, numDTCsPerTFP_, and numRegions_.

Referenced by dtcId().

717  {
718  const bool oorRegion = tfpRegion >= numRegions_ || tfpRegion < 0;
719  const bool oorChannel = tfpChannel >= numDTCsPerTFP_ || tfpChannel < 0;
720  if (oorRegion || oorChannel) {
721  cms::Exception exception("out_of_range");
722  exception.addContext("trackerDTC::Setup::checkTFPIdentifier");
723  if (oorRegion)
724  exception << "Requested Processing Region "
725  << "(" << tfpRegion << ") "
726  << "is out of range 0 to " << numRegions_ - 1 << ".";
727  if (oorChannel)
728  exception << "Requested TFP Channel "
729  << "(" << tfpChannel << ") "
730  << "is out of range 0 to " << numDTCsPerTFP_ - 1 << ".";
731  throw exception;
732  }
733  }
int numDTCsPerTFP_
Definition: Setup.h:812

◆ checkTKLayoutId()

void trackerDTC::Setup::checkTKLayoutId ( int  tkLayoutId) const
private

Definition at line 706 of file Setup.cc.

References cppFunctionSkipper::exception, numDTCsPerRegion_, numRegions_, and tkLayoutId().

Referenced by dtcId().

706  {
707  if (tkLayoutId <= 0 || tkLayoutId > numDTCsPerRegion_ * numRegions_) {
708  cms::Exception exception("out_of_range");
709  exception.addContext("trackerDTC::Setup::checkTKLayoutId");
710  exception << "Used TKLayout Id (" << tkLayoutId << ") "
711  << "is out of range 1 to " << numDTCsPerRegion_ * numRegions_ << ".";
712  throw exception;
713  }
714  }
int numDTCsPerRegion_
Definition: Setup.h:613
int tkLayoutId(int dtcId) const
Definition: Setup.cc:284

◆ chosenRofPhi()

double trackerDTC::Setup::chosenRofPhi ( ) const
inline

Definition at line 120 of file Setup.h.

References chosenRofPhi_.

120 { return chosenRofPhi_; }
double chosenRofPhi_
Definition: Setup.h:498

◆ chosenRofZ()

double trackerDTC::Setup::chosenRofZ ( ) const
inline

Definition at line 273 of file Setup.h.

References chosenRofZ_.

273 { return chosenRofZ_; }
double chosenRofZ_
Definition: Setup.h:640

◆ configurationSupported()

bool trackerDTC::Setup::configurationSupported ( ) const
inline

Definition at line 58 of file Setup.h.

References configurationSupported_.

Referenced by trackerDTC::ProducerED::beginRun(), and trackerDTC::ProducerED::produce().

58 { return configurationSupported_; }
bool configurationSupported_
Definition: Setup.h:741

◆ consumeStubAlgorithm()

void trackerDTC::Setup::consumeStubAlgorithm ( )
private

Definition at line 384 of file Setup.cc.

References baseWindowSize_, edm::ParameterSet::getParameter(), SiStripPI::max, maxWindowSize_, numTiltedLayerRings_, pSetSA_, svgfig::window(), windowSizeBarrelLayers_, windowSizeEndcapDisksRings_, and windowSizeTiltedLayerRings_.

Referenced by Setup().

384  {
385  numTiltedLayerRings_ = pSetSA_->getParameter<vector<double>>("NTiltedRings");
386  windowSizeBarrelLayers_ = pSetSA_->getParameter<vector<double>>("BarrelCut");
387  const auto& pSetsTiltedLayer = pSetSA_->getParameter<vector<ParameterSet>>("TiltedBarrelCutSet");
388  const auto& pSetsEncapDisks = pSetSA_->getParameter<vector<ParameterSet>>("EndcapCutSet");
389  windowSizeTiltedLayerRings_.reserve(pSetsTiltedLayer.size());
390  for (const auto& pSet : pSetsTiltedLayer)
391  windowSizeTiltedLayerRings_.emplace_back(pSet.getParameter<vector<double>>("TiltedCut"));
392  windowSizeEndcapDisksRings_.reserve(pSetsEncapDisks.size());
393  for (const auto& pSet : pSetsEncapDisks)
394  windowSizeEndcapDisksRings_.emplace_back(pSet.getParameter<vector<double>>("EndcapCut"));
395  maxWindowSize_ = -1;
397  for (const auto& windows : windowss)
398  for (const auto& window : windows)
400  }
int maxWindowSize_
Definition: Setup.h:754
double baseWindowSize_
Definition: Setup.h:600
std::vector< std::vector< double > > windowSizeEndcapDisksRings_
Definition: Setup.h:752
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
def window(xmin, xmax, ymin, ymax, x=0, y=0, width=100, height=100, xlogbase=None, ylogbase=None, minusInfinity=-1000, flipx=False, flipy=True)
Definition: svgfig.py:643
std::vector< double > windowSizeBarrelLayers_
Definition: Setup.h:748
std::vector< double > numTiltedLayerRings_
Definition: Setup.h:746
std::vector< std::vector< double > > windowSizeTiltedLayerRings_
Definition: Setup.h:750
const edm::ParameterSet * pSetSA_
Definition: Setup.h:449

◆ drBaseCot()

double trackerDTC::Setup::drBaseCot ( ) const
inline

Definition at line 406 of file Setup.h.

References drBaseCot_.

406 { return drBaseCot_; }
double drBaseCot_
Definition: Setup.h:935

◆ drBasePhi0()

double trackerDTC::Setup::drBasePhi0 ( ) const
inline

Definition at line 405 of file Setup.h.

References drBasePhi0_.

405 { return drBasePhi0_; }
double drBasePhi0_
Definition: Setup.h:934

◆ drBaseQoverPt()

double trackerDTC::Setup::drBaseQoverPt ( ) const
inline

Definition at line 404 of file Setup.h.

References drBaseQoverPt_.

404 { return drBaseQoverPt_; }
double drBaseQoverPt_
Definition: Setup.h:933

◆ drBaseZ0()

double trackerDTC::Setup::drBaseZ0 ( ) const
inline

Definition at line 407 of file Setup.h.

References drBaseZ0_.

407 { return drBaseZ0_; }
double drBaseZ0_
Definition: Setup.h:936

◆ drDepthMemory()

int trackerDTC::Setup::drDepthMemory ( ) const
inline

Definition at line 395 of file Setup.h.

References drDepthMemory_.

395 { return drDepthMemory_; }
int drDepthMemory_
Definition: Setup.h:726

◆ drWidthCot()

int trackerDTC::Setup::drWidthCot ( ) const
inline

Definition at line 401 of file Setup.h.

References drWidthCot_.

401 { return drWidthCot_; }

◆ drWidthPhi0()

int trackerDTC::Setup::drWidthPhi0 ( ) const
inline

Definition at line 397 of file Setup.h.

References drWidthPhi0_.

397 { return drWidthPhi0_; }
int drWidthPhi0_
Definition: Setup.h:728

◆ drWidthQoverPt()

int trackerDTC::Setup::drWidthQoverPt ( ) const
inline

Definition at line 399 of file Setup.h.

References drWidthQoverPt_.

399 { return drWidthQoverPt_; }
int drWidthQoverPt_
Definition: Setup.h:730

◆ drWidthZ0()

int trackerDTC::Setup::drWidthZ0 ( ) const
inline

Definition at line 403 of file Setup.h.

References drWidthZ0_.

403 { return drWidthZ0_; }

◆ dtcBaseM()

double trackerDTC::Setup::dtcBaseM ( ) const
inline

Definition at line 258 of file Setup.h.

References dtcBaseM_.

258 { return dtcBaseM_; }
double dtcBaseM_
Definition: Setup.h:824

◆ dtcBaseQoverPt()

double trackerDTC::Setup::dtcBaseQoverPt ( ) const
inline

Definition at line 256 of file Setup.h.

References dtcBaseQoverPt_.

256 { return dtcBaseQoverPt_; }
double dtcBaseQoverPt_
Definition: Setup.h:822

◆ dtcDepthMemory()

int trackerDTC::Setup::dtcDepthMemory ( ) const
inline

Definition at line 230 of file Setup.h.

References dtcDepthMemory_.

Referenced by trackerDTC::DTC::merge().

230 { return dtcDepthMemory_; }
int dtcDepthMemory_
Definition: Setup.h:619

◆ dtcId() [1/2]

int trackerDTC::Setup::dtcId ( int  tklId) const

Definition at line 274 of file Setup.cc.

References checkTKLayoutId(), numATCASlots_, numDTCsPerRegion_, numRegions_, HLT_2022v12_cff::region, side(), slot(), and tkLayoutId().

Referenced by checkDTCId(), dtcModules(), encodeLayerId(), encodingLayerId(), L1FPGATrackProducer::produce(), produceSensorModules(), psModule(), side(), slot(), stubPos(), and tkLayoutId().

274  {
276  const int tkId = tkLayoutId - 1;
277  const int side = tkId / (numRegions_ * numATCASlots_);
278  const int region = (tkId % (numRegions_ * numATCASlots_)) / numATCASlots_;
279  const int slot = tkId % numATCASlots_;
281  }
int numDTCsPerRegion_
Definition: Setup.h:613
bool side(int dtcId) const
Definition: Setup.cc:309
int slot(int dtcId) const
Definition: Setup.cc:317
int numATCASlots_
Definition: Setup.h:611
void checkTKLayoutId(int tkLayoutId) const
Definition: Setup.cc:706
int tkLayoutId(int dtcId) const
Definition: Setup.cc:284

◆ dtcId() [2/2]

int trackerDTC::Setup::dtcId ( int  tfpRegion,
int  tfpChannel 
) const

Definition at line 293 of file Setup.cc.

References checkTFPIdentifier(), numDTCsPerRegion_, numOverlappingRegions_, and numRegions_.

293  {
294  checkTFPIdentifier(tfpRegion, tfpChannel);
295  const int dtcChannel = numOverlappingRegions_ - (tfpChannel / numDTCsPerRegion_) - 1;
296  const int dtcBoard = tfpChannel % numDTCsPerRegion_;
297  const int dtcRegion = tfpRegion - dtcChannel >= 0 ? tfpRegion - dtcChannel : tfpRegion - dtcChannel + numRegions_;
298  return dtcRegion * numDTCsPerRegion_ + dtcBoard;
299  }
int numDTCsPerRegion_
Definition: Setup.h:613
int numOverlappingRegions_
Definition: Setup.h:609
void checkTFPIdentifier(int tfpRegion, int tfpChannel) const
Definition: Setup.cc:717

◆ dtcModules()

const std::vector<SensorModule*>& trackerDTC::Setup::dtcModules ( int  dtcId) const
inline

Definition at line 262 of file Setup.h.

References dtcId(), and dtcModules_.

Referenced by produceSensorModules().

262 { return dtcModules_.at(dtcId); }
int dtcId(int tklId) const
Definition: Setup.cc:274
std::vector< std::vector< SensorModule * > > dtcModules_
Definition: Setup.h:836

◆ dtcNumMergedRows()

int trackerDTC::Setup::dtcNumMergedRows ( ) const
inline

Definition at line 252 of file Setup.h.

References dtcNumMergedRows_.

252 { return dtcNumMergedRows_; }
int dtcNumMergedRows_
Definition: Setup.h:818

◆ dtcNumModulesPerRoutingBlock()

int trackerDTC::Setup::dtcNumModulesPerRoutingBlock ( ) const
inline

Definition at line 250 of file Setup.h.

References dtcNumModulesPerRoutingBlock_.

int dtcNumModulesPerRoutingBlock_
Definition: Setup.h:816

◆ dtcNumRoutingBlocks()

int trackerDTC::Setup::dtcNumRoutingBlocks ( ) const
inline

Definition at line 228 of file Setup.h.

References dtcNumRoutingBlocks_.

Referenced by trackerDTC::DTC::produce().

228 { return dtcNumRoutingBlocks_; }
int dtcNumRoutingBlocks_
Definition: Setup.h:617

◆ dtcNumUnusedBits()

int trackerDTC::Setup::dtcNumUnusedBits ( ) const
inline

Definition at line 138 of file Setup.h.

References dtcNumUnusedBits_.

Referenced by trackerDTC::Stub::formatTMTT().

138 { return dtcNumUnusedBits_; }
int dtcNumUnusedBits_
Definition: Setup.h:780

◆ dtcWidthM()

int trackerDTC::Setup::dtcWidthM ( ) const
inline

Definition at line 254 of file Setup.h.

References dtcWidthM_.

254 { return dtcWidthM_; }

◆ dtcWidthQoverPt()

int trackerDTC::Setup::dtcWidthQoverPt ( ) const
inline

Definition at line 234 of file Setup.h.

References dtcWidthQoverPt_.

234 { return dtcWidthQoverPt_; }
int dtcWidthQoverPt_
Definition: Setup.h:623

◆ dtcWidthRowLUT()

int trackerDTC::Setup::dtcWidthRowLUT ( ) const
inline

Definition at line 232 of file Setup.h.

References dtcWidthRowLUT_.

232 { return dtcWidthRowLUT_; }
int dtcWidthRowLUT_
Definition: Setup.h:621

◆ dumpDiff()

string trackerDTC::Setup::dumpDiff ( const edm::ParameterSet pSetHistory,
const edm::ParameterSet pSetProcess 
) const
private

Definition at line 263 of file Setup.cc.

References edm::ParameterSet::dump(), and contentValuesCheck::ss.

263  {
264  stringstream ssHistory, ssProcess, ss;
265  ssHistory << pSetHistory.dump();
266  ssProcess << pSetProcess.dump();
267  string lineHistory, lineProcess;
268  for (; getline(ssHistory, lineHistory) && getline(ssProcess, lineProcess);)
269  ss << (lineHistory != lineProcess ? "\033[1;31m" : "") << lineHistory << "\033[0m" << endl;
270  return ss.str();
271  }
std::string dump(unsigned int indent=0) const

◆ encodeBend()

void trackerDTC::Setup::encodeBend ( std::vector< std::vector< double >> &  encodings,
bool  ps 
) const
private

Definition at line 403 of file Setup.cc.

References TTStubAlgorithm_official< T >::degradeBend(), maxWindowSize_, stubAlgorithm_, and svgfig::window().

Referenced by Setup().

403  {
404  for (int window = 0; window < maxWindowSize_ + 1; window++) {
405  set<double> encoding;
406  for (int bend = 0; bend < window + 1; bend++)
407  encoding.insert(stubAlgorithm_->degradeBend(ps, window, bend));
408  encodings.emplace_back(encoding.begin(), encoding.end());
409  }
410  }
int maxWindowSize_
Definition: Setup.h:754
const StubAlgorithmOfficial * stubAlgorithm_
Definition: Setup.h:447
float degradeBend(bool psModule, int window, int bend) const
def window(xmin, xmax, ymin, ymax, x=0, y=0, width=100, height=100, xlogbase=None, ylogbase=None, minusInfinity=-1000, flipx=False, flipy=True)
Definition: svgfig.py:643

◆ encodeLayerId()

void trackerDTC::Setup::encodeLayerId ( )
private

Definition at line 413 of file Setup.cc.

References Reference_intrackfit_cff::barrel, cablingMap_, TrackerDetToDTCELinkCablingMap::dtcELinkIdToDetId(), dtcId(), encodingLayerId(), encodingsLayerId_, cppFunctionSkipper::exception, TrackerDetToDTCELinkCablingMap::getKnownDTCELinkIds(), hybridNumLayers_, TrackerTopology::layer(), numDTCs_, numDTCsPerRegion_, numModulesPerDTC_, numRegions_, offsetLayerDisks_, push_back(), HLT_2022v12_cff::region, DetId::subdetId(), TrackerTopology::tidWheel(), StripSubdetector::TOB, and trackerTopology_.

Referenced by Setup().

413  {
414  vector<vector<DTCELinkId>> dtcELinkIds(numDTCs_);
415  for (vector<DTCELinkId>& dtcELinkId : dtcELinkIds)
416  dtcELinkId.reserve(numModulesPerDTC_);
417  for (const DTCELinkId& dtcLinkId : cablingMap_->getKnownDTCELinkIds())
418  dtcELinkIds[dtcId(dtcLinkId.dtc_id())].push_back(dtcLinkId);
419  for (int dtcBoard = 0; dtcBoard < numDTCsPerRegion_; dtcBoard++) {
420  set<int> encodingLayerId;
421  for (int region = 0; region < numRegions_; region++) {
422  const int dtcId = region * numDTCsPerRegion_ + dtcBoard;
423  for (const DTCELinkId& dtcLinkId : dtcELinkIds[dtcId]) {
424  const DetId& detId = cablingMap_->dtcELinkIdToDetId(dtcLinkId)->second;
425  const bool barrel = detId.subdetId() == StripSubdetector::TOB;
426  const int layerId =
428  encodingLayerId.insert(layerId);
429  }
430  }
431  // check configuration
432  if ((int)encodingLayerId.size() > hybridNumLayers_) {
433  cms::Exception exception("overflow");
434  exception << "Cabling map connects more than " << hybridNumLayers_ << " layers to a DTC.";
435  exception.addContext("tt::Setup::Setup");
436  throw exception;
437  }
438  encodingsLayerId_.emplace_back(encodingLayerId.begin(), encodingLayerId.end());
439  }
440  }
int dtcId(int tklId) const
Definition: Setup.cc:274
int hybridNumLayers_
Definition: Setup.h:517
const TrackerTopology * trackerTopology_
Definition: Setup.h:443
unsigned int tidWheel(const DetId &id) const
int numDTCsPerRegion_
Definition: Setup.h:613
int offsetLayerDisks_
Definition: Setup.h:629
const TrackerDetToDTCELinkCablingMap * cablingMap_
Definition: Setup.h:445
unsigned int layer(const DetId &id) const
std::unordered_map< DTCELinkId, uint32_t >::const_iterator dtcELinkIdToDetId(DTCELinkId const &) const
Resolves the raw DetId of the detector connected to the eLink identified by a DTCELinkId.
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:48
static constexpr auto TOB
const std::vector< int > & encodingLayerId(int tfpChannel) const
Definition: Setup.cc:341
Definition: DetId.h:17
std::vector< std::vector< int > > encodingsLayerId_
Definition: Setup.h:832
std::vector< DTCELinkId > getKnownDTCELinkIds() const
Returns a vector containing all elink DTCELinkId nown to the map.
deadvectors [0] push_back({0.0175431, 0.538005, 6.80997, 13.29})
int numModulesPerDTC_
Definition: Setup.h:615

◆ encodingBend()

const vector< double > & trackerDTC::Setup::encodingBend ( int  windowSize,
bool  psModule 
) const

Definition at line 335 of file Setup.cc.

References encodingsBend2S_, encodingsBendPS_, and psModule().

335  {
336  const vector<vector<double>>& encodingsBend = psModule ? encodingsBendPS_ : encodingsBend2S_;
337  return encodingsBend.at(windowSize);
338  }
bool psModule(int dtcId) const
Definition: Setup.cc:302
std::vector< std::vector< double > > encodingsBendPS_
Definition: Setup.h:828
std::vector< std::vector< double > > encodingsBend2S_
Definition: Setup.h:830

◆ encodingLayerId()

const vector< int > & trackerDTC::Setup::encodingLayerId ( int  tfpChannel) const

Definition at line 341 of file Setup.cc.

References dtcId(), encodingsLayerId_, and numDTCsPerRegion_.

Referenced by encodeLayerId().

341  {
342  const int index = dtcId % numDTCsPerRegion_;
343  return encodingsLayerId_.at(index);
344  }
int dtcId(int tklId) const
Definition: Setup.cc:274
int numDTCsPerRegion_
Definition: Setup.h:613
std::vector< std::vector< int > > encodingsLayerId_
Definition: Setup.h:832

◆ gpDepthMemory()

int trackerDTC::Setup::gpDepthMemory ( ) const
inline

Definition at line 275 of file Setup.h.

References gpDepthMemory_.

275 { return gpDepthMemory_; }
int gpDepthMemory_
Definition: Setup.h:644

◆ htBasePhiT()

double trackerDTC::Setup::htBasePhiT ( ) const
inline

Definition at line 308 of file Setup.h.

References htBasePhiT_.

308 { return htBasePhiT_; }
double htBasePhiT_
Definition: Setup.h:864

◆ htBaseQoverPt()

double trackerDTC::Setup::htBaseQoverPt ( ) const
inline

Definition at line 306 of file Setup.h.

References htBaseQoverPt_.

Referenced by trackerDTC::Stub::formatTMTT().

306 { return htBaseQoverPt_; }
double htBaseQoverPt_
Definition: Setup.h:862

◆ htDepthMemory()

int trackerDTC::Setup::htDepthMemory ( ) const
inline

Definition at line 298 of file Setup.h.

References htDepthMemory_.

298 { return htDepthMemory_; }
int htDepthMemory_
Definition: Setup.h:657

◆ htMinLayers()

int trackerDTC::Setup::htMinLayers ( ) const
inline

Definition at line 296 of file Setup.h.

References htMinLayers_.

296 { return htMinLayers_; }
int htMinLayers_
Definition: Setup.h:655

◆ htNumBinsPhiT()

int trackerDTC::Setup::htNumBinsPhiT ( ) const
inline

Definition at line 294 of file Setup.h.

References htNumBinsPhiT_.

294 { return htNumBinsPhiT_; }
int htNumBinsPhiT_
Definition: Setup.h:653

◆ htNumBinsQoverPt()

int trackerDTC::Setup::htNumBinsQoverPt ( ) const
inline

Definition at line 292 of file Setup.h.

References htNumBinsQoverPt_.

292 { return htNumBinsQoverPt_; }
int htNumBinsQoverPt_
Definition: Setup.h:651

◆ htWidthPhiT()

int trackerDTC::Setup::htWidthPhiT ( ) const
inline

Definition at line 302 of file Setup.h.

References htWidthPhiT_.

302 { return htWidthPhiT_; }
int htWidthPhiT_
Definition: Setup.h:858

◆ htWidthQoverPt()

int trackerDTC::Setup::htWidthQoverPt ( ) const
inline

Definition at line 300 of file Setup.h.

References htWidthQoverPt_.

Referenced by trackerDTC::Stub::formatTMTT().

300 { return htWidthQoverPt_; }
int htWidthQoverPt_
Definition: Setup.h:856

◆ hybridBaseAlpha()

double trackerDTC::Setup::hybridBaseAlpha ( SensorModule::Type  type) const
inline

Definition at line 169 of file Setup.h.

References hybridBasesAlpha_.

Referenced by trackerDTC::Stub::formatHybrid().

169 { return hybridBasesAlpha_.at(type); }
std::vector< double > hybridBasesAlpha_
Definition: Setup.h:793

◆ hybridBasePhi()

double trackerDTC::Setup::hybridBasePhi ( SensorModule::Type  type) const
inline

Definition at line 165 of file Setup.h.

References hybridBasesPhi_.

Referenced by trackerDTC::Stub::formatHybrid().

165 { return hybridBasesPhi_.at(type); }
std::vector< double > hybridBasesPhi_
Definition: Setup.h:789

◆ hybridBaseR()

double trackerDTC::Setup::hybridBaseR ( SensorModule::Type  type) const
inline

Definition at line 163 of file Setup.h.

References hybridBasesR_.

Referenced by trackerDTC::Stub::formatHybrid().

163 { return hybridBasesR_.at(type); }
std::vector< double > hybridBasesR_
Definition: Setup.h:787

◆ hybridBaseZ()

double trackerDTC::Setup::hybridBaseZ ( SensorModule::Type  type) const
inline

Definition at line 167 of file Setup.h.

References hybridBasesZ_.

Referenced by trackerDTC::Stub::formatHybrid().

167 { return hybridBasesZ_.at(type); }
std::vector< double > hybridBasesZ_
Definition: Setup.h:791

◆ hybridChosenRofPhi()

double trackerDTC::Setup::hybridChosenRofPhi ( ) const
inline

Definition at line 147 of file Setup.h.

References hybridChosenRofPhi_.

147 { return hybridChosenRofPhi_; }
double hybridChosenRofPhi_
Definition: Setup.h:515

◆ hybridDiskZ()

double trackerDTC::Setup::hybridDiskZ ( int  layerId) const
inline

Definition at line 179 of file Setup.h.

References hybridDiskZs_.

179 { return hybridDiskZs_.at(layerId); }
std::vector< double > hybridDiskZs_
Definition: Setup.h:539

◆ hybridLayerR()

double trackerDTC::Setup::hybridLayerR ( int  layerId) const
inline

Definition at line 177 of file Setup.h.

References hybridLayerRs_.

177 { return hybridLayerRs_.at(layerId); }
std::vector< double > hybridLayerRs_
Definition: Setup.h:537

◆ hybridMaxCot()

double trackerDTC::Setup::hybridMaxCot ( ) const
inline

Definition at line 173 of file Setup.h.

References hybridMaxCot_.

173 { return hybridMaxCot_; }
double hybridMaxCot_
Definition: Setup.h:801

◆ hybridMaxEta()

double trackerDTC::Setup::hybridMaxEta ( ) const
inline

Definition at line 145 of file Setup.h.

References hybridMaxEta_.

145 { return hybridMaxEta_; }
double hybridMaxEta_
Definition: Setup.h:513

◆ hybridMinPt()

double trackerDTC::Setup::hybridMinPt ( ) const
inline

Definition at line 143 of file Setup.h.

References hybridMinPt_.

143 { return hybridMinPt_; }
double hybridMinPt_
Definition: Setup.h:511

◆ hybridNumLayers()

int trackerDTC::Setup::hybridNumLayers ( ) const
inline

Definition at line 149 of file Setup.h.

References hybridNumLayers_.

149 { return hybridNumLayers_; }
int hybridNumLayers_
Definition: Setup.h:517

◆ hybridNumRingsPS()

int trackerDTC::Setup::hybridNumRingsPS ( int  layerId) const
inline

Definition at line 175 of file Setup.h.

References hybridNumRingsPS_.

175 { return hybridNumRingsPS_.at(layerId); }
std::vector< int > hybridNumRingsPS_
Definition: Setup.h:519

◆ hybridNumUnusedBits()

int trackerDTC::Setup::hybridNumUnusedBits ( SensorModule::Type  type) const
inline

Definition at line 171 of file Setup.h.

References hybridNumsUnusedBits_.

Referenced by trackerDTC::Stub::formatHybrid().

171 { return hybridNumsUnusedBits_.at(type); }
std::vector< int > hybridNumsUnusedBits_
Definition: Setup.h:803

◆ hybridWidthAlpha()

int trackerDTC::Setup::hybridWidthAlpha ( SensorModule::Type  type) const
inline

Definition at line 157 of file Setup.h.

References hybridWidthsAlpha_.

Referenced by trackerDTC::Stub::formatHybrid().

157 { return hybridWidthsAlpha_.at(type); }
std::vector< int > hybridWidthsAlpha_
Definition: Setup.h:527

◆ hybridWidthBend()

int trackerDTC::Setup::hybridWidthBend ( SensorModule::Type  type) const
inline

Definition at line 159 of file Setup.h.

References hybridWidthsBend_.

Referenced by trackerDTC::Stub::formatHybrid().

159 { return hybridWidthsBend_.at(type); }
std::vector< int > hybridWidthsBend_
Definition: Setup.h:529

◆ hybridWidthLayer()

int trackerDTC::Setup::hybridWidthLayer ( ) const
inline

Definition at line 161 of file Setup.h.

References hybridWidthLayer_.

Referenced by trackerDTC::Stub::formatHybrid().

161 { return hybridWidthLayer_; }
int hybridWidthLayer_
Definition: Setup.h:785

◆ hybridWidthPhi()

int trackerDTC::Setup::hybridWidthPhi ( SensorModule::Type  type) const
inline

Definition at line 155 of file Setup.h.

References hybridWidthsPhi_.

Referenced by trackerDTC::Stub::formatHybrid().

155 { return hybridWidthsPhi_.at(type); }
std::vector< int > hybridWidthsPhi_
Definition: Setup.h:525

◆ hybridWidthR()

int trackerDTC::Setup::hybridWidthR ( SensorModule::Type  type) const
inline

Definition at line 151 of file Setup.h.

References hybridWidthsR_.

Referenced by trackerDTC::Stub::formatHybrid().

151 { return hybridWidthsR_.at(type); }
std::vector< int > hybridWidthsR_
Definition: Setup.h:521

◆ hybridWidthZ()

int trackerDTC::Setup::hybridWidthZ ( SensorModule::Type  type) const
inline

Definition at line 153 of file Setup.h.

References hybridWidthsZ_.

Referenced by trackerDTC::Stub::formatHybrid().

153 { return hybridWidthsZ_.at(type); }
std::vector< int > hybridWidthsZ_
Definition: Setup.h:523

◆ invPtToDphi()

double trackerDTC::Setup::invPtToDphi ( ) const
inline

Definition at line 97 of file Setup.h.

References invPtToDphi_.

97 { return invPtToDphi_; }
double invPtToDphi_
Definition: Setup.h:765

◆ kfBaseC00()

double trackerDTC::Setup::kfBaseC00 ( ) const
inline

Definition at line 382 of file Setup.h.

References kfBaseC00_.

382 { return kfBaseC00_; }
double kfBaseC00_
Definition: Setup.h:918

◆ kfBaseC01()

double trackerDTC::Setup::kfBaseC01 ( ) const
inline

Definition at line 383 of file Setup.h.

References kfBaseC01_.

383 { return kfBaseC01_; }
double kfBaseC01_
Definition: Setup.h:919

◆ kfBaseC11()

double trackerDTC::Setup::kfBaseC11 ( ) const
inline

Definition at line 384 of file Setup.h.

References kfBaseC11_.

384 { return kfBaseC11_; }
double kfBaseC11_
Definition: Setup.h:921

◆ kfBaseC22()

double trackerDTC::Setup::kfBaseC22 ( ) const
inline

Definition at line 385 of file Setup.h.

References kfBaseC22_.

385 { return kfBaseC22_; }
double kfBaseC22_
Definition: Setup.h:924

◆ kfBaseC23()

double trackerDTC::Setup::kfBaseC23 ( ) const
inline

Definition at line 386 of file Setup.h.

References kfBaseC23_.

386 { return kfBaseC23_; }
double kfBaseC23_
Definition: Setup.h:925

◆ kfBaseC33()

double trackerDTC::Setup::kfBaseC33 ( ) const
inline

Definition at line 387 of file Setup.h.

References kfBaseC33_.

387 { return kfBaseC33_; }
double kfBaseC33_
Definition: Setup.h:926

◆ kfBaseChi2()

double trackerDTC::Setup::kfBaseChi2 ( ) const
inline

Definition at line 390 of file Setup.h.

References kfBaseChi2_.

390 { return kfBaseChi2_; }
double kfBaseChi2_
Definition: Setup.h:929

◆ kfBaseChi20()

double trackerDTC::Setup::kfBaseChi20 ( ) const
inline

Definition at line 388 of file Setup.h.

References kfBaseChi20_.

388 { return kfBaseChi20_; }
double kfBaseChi20_
Definition: Setup.h:927

◆ kfBaseChi21()

double trackerDTC::Setup::kfBaseChi21 ( ) const
inline

Definition at line 389 of file Setup.h.

References kfBaseChi21_.

389 { return kfBaseChi21_; }
double kfBaseChi21_
Definition: Setup.h:928

◆ kfBaseH00()

double trackerDTC::Setup::kfBaseH00 ( ) const
inline

Definition at line 364 of file Setup.h.

References kfBaseH00_.

364 { return kfBaseH00_; }
double kfBaseH00_
Definition: Setup.h:897

◆ kfBaseH12()

double trackerDTC::Setup::kfBaseH12 ( ) const
inline

Definition at line 365 of file Setup.h.

References kfBaseH12_.

365 { return kfBaseH12_; }
double kfBaseH12_
Definition: Setup.h:899

◆ kfBaseInvR00()

double trackerDTC::Setup::kfBaseInvR00 ( ) const
inline

Definition at line 376 of file Setup.h.

References kfBaseInvR00_.

376 { return kfBaseInvR00_; }
double kfBaseInvR00_
Definition: Setup.h:911

◆ kfBaseInvR11()

double trackerDTC::Setup::kfBaseInvR11 ( ) const
inline

Definition at line 377 of file Setup.h.

References kfBaseInvR11_.

377 { return kfBaseInvR11_; }
double kfBaseInvR11_
Definition: Setup.h:912

◆ kfBaseK00()

double trackerDTC::Setup::kfBaseK00 ( ) const
inline

Definition at line 378 of file Setup.h.

References kfBaseK00_.

378 { return kfBaseK00_; }
double kfBaseK00_
Definition: Setup.h:913

◆ kfBaseK10()

double trackerDTC::Setup::kfBaseK10 ( ) const
inline

Definition at line 379 of file Setup.h.

References kfBaseK10_.

379 { return kfBaseK10_; }
double kfBaseK10_
Definition: Setup.h:914

◆ kfBaseK21()

double trackerDTC::Setup::kfBaseK21 ( ) const
inline

Definition at line 380 of file Setup.h.

References kfBaseK21_.

380 { return kfBaseK21_; }
double kfBaseK21_
Definition: Setup.h:915

◆ kfBaseK31()

double trackerDTC::Setup::kfBaseK31 ( ) const
inline

Definition at line 381 of file Setup.h.

References kfBaseK31_.

381 { return kfBaseK31_; }
double kfBaseK31_
Definition: Setup.h:916

◆ kfBasem0()

double trackerDTC::Setup::kfBasem0 ( ) const
inline

Definition at line 356 of file Setup.h.

References kfBasem0_.

356 { return kfBasem0_; }
double kfBasem0_
Definition: Setup.h:888

◆ kfBasem1()

double trackerDTC::Setup::kfBasem1 ( ) const
inline

Definition at line 357 of file Setup.h.

References kfBasem1_.

357 { return kfBasem1_; }
double kfBasem1_
Definition: Setup.h:889

◆ kfBaser0()

double trackerDTC::Setup::kfBaser0 ( ) const
inline

Definition at line 366 of file Setup.h.

References kfBaser0_.

366 { return kfBaser0_; }
double kfBaser0_
Definition: Setup.h:900

◆ kfBaseR00()

double trackerDTC::Setup::kfBaseR00 ( ) const
inline

Definition at line 374 of file Setup.h.

References kfBaseR00_.

374 { return kfBaseR00_; }
double kfBaseR00_
Definition: Setup.h:909

◆ kfBaser02()

double trackerDTC::Setup::kfBaser02 ( ) const
inline

Definition at line 368 of file Setup.h.

References kfBaser02_.

368 { return kfBaser02_; }
double kfBaser02_
Definition: Setup.h:902

◆ kfBaser1()

double trackerDTC::Setup::kfBaser1 ( ) const
inline

Definition at line 367 of file Setup.h.

References kfBaser1_.

367 { return kfBaser1_; }
double kfBaser1_
Definition: Setup.h:901

◆ kfBaseR11()

double trackerDTC::Setup::kfBaseR11 ( ) const
inline

Definition at line 375 of file Setup.h.

References kfBaseR11_.

375 { return kfBaseR11_; }
double kfBaseR11_
Definition: Setup.h:910

◆ kfBaser12()

double trackerDTC::Setup::kfBaser12 ( ) const
inline

Definition at line 369 of file Setup.h.

References kfBaser12_.

369 { return kfBaser12_; }
double kfBaser12_
Definition: Setup.h:903

◆ kfBaseS00()

double trackerDTC::Setup::kfBaseS00 ( ) const
inline

Definition at line 370 of file Setup.h.

References kfBaseS00_.

370 { return kfBaseS00_; }
double kfBaseS00_
Definition: Setup.h:904

◆ kfBaseS01()

double trackerDTC::Setup::kfBaseS01 ( ) const
inline

Definition at line 371 of file Setup.h.

References kfBaseS01_.

371 { return kfBaseS01_; }
double kfBaseS01_
Definition: Setup.h:905

◆ kfBaseS12()

double trackerDTC::Setup::kfBaseS12 ( ) const
inline

Definition at line 372 of file Setup.h.

References kfBaseS12_.

372 { return kfBaseS12_; }
double kfBaseS12_
Definition: Setup.h:907

◆ kfBaseS13()

double trackerDTC::Setup::kfBaseS13 ( ) const
inline

Definition at line 373 of file Setup.h.

References kfBaseS13_.

373 { return kfBaseS13_; }
double kfBaseS13_
Definition: Setup.h:908

◆ kfBasev0()

double trackerDTC::Setup::kfBasev0 ( ) const
inline

Definition at line 358 of file Setup.h.

References kfBasev0_.

358 { return kfBasev0_; }
double kfBasev0_
Definition: Setup.h:890

◆ kfBasev1()

double trackerDTC::Setup::kfBasev1 ( ) const
inline

Definition at line 359 of file Setup.h.

References kfBasev1_.

359 { return kfBasev1_; }
double kfBasev1_
Definition: Setup.h:891

◆ kfBasex0()

double trackerDTC::Setup::kfBasex0 ( ) const
inline

Definition at line 360 of file Setup.h.

References kfBasex0_.

360 { return kfBasex0_; }
double kfBasex0_
Definition: Setup.h:892

◆ kfBasex1()

double trackerDTC::Setup::kfBasex1 ( ) const
inline

Definition at line 361 of file Setup.h.

References kfBasex1_.

361 { return kfBasex1_; }
double kfBasex1_
Definition: Setup.h:893

◆ kfBasex2()

double trackerDTC::Setup::kfBasex2 ( ) const
inline

Definition at line 362 of file Setup.h.

References kfBasex2_.

362 { return kfBasex2_; }
double kfBasex2_
Definition: Setup.h:894

◆ kfBasex3()

double trackerDTC::Setup::kfBasex3 ( ) const
inline

Definition at line 363 of file Setup.h.

References kfBasex3_.

363 { return kfBasex3_; }
double kfBasex3_
Definition: Setup.h:895

◆ kfMaxLayers()

int trackerDTC::Setup::kfMaxLayers ( ) const
inline

Definition at line 351 of file Setup.h.

References kfMaxLayers_.

351 { return kfMaxLayers_; }
int kfMaxLayers_
Definition: Setup.h:690

◆ kfMaxSkippedLayers()

int trackerDTC::Setup::kfMaxSkippedLayers ( ) const
inline

Definition at line 355 of file Setup.h.

References kfMaxSkippedLayers_.

355 { return kfMaxSkippedLayers_; }
int kfMaxSkippedLayers_
Definition: Setup.h:694

◆ kfMaxStubsPerLayer()

int trackerDTC::Setup::kfMaxStubsPerLayer ( ) const
inline

Definition at line 353 of file Setup.h.

References kfMaxStubsPerLayer_.

353 { return kfMaxStubsPerLayer_; }
int kfMaxStubsPerLayer_
Definition: Setup.h:692

◆ kfMinLayers()

int trackerDTC::Setup::kfMinLayers ( ) const
inline

Definition at line 349 of file Setup.h.

References kfMinLayers_.

349 { return kfMinLayers_; }
int kfMinLayers_
Definition: Setup.h:688

◆ kfNumTracks()

int trackerDTC::Setup::kfNumTracks ( ) const
inline

Definition at line 347 of file Setup.h.

References kfNumTracks_.

347 { return kfNumTracks_; }
int kfNumTracks_
Definition: Setup.h:686

◆ kfWidthLutInvPhi()

int trackerDTC::Setup::kfWidthLutInvPhi ( ) const
inline

Definition at line 343 of file Setup.h.

References kfWidthLutInvPhi_.

343 { return kfWidthLutInvPhi_; }
int kfWidthLutInvPhi_
Definition: Setup.h:682

◆ kfWidthLutInvZ()

int trackerDTC::Setup::kfWidthLutInvZ ( ) const
inline

Definition at line 345 of file Setup.h.

References kfWidthLutInvZ_.

345 { return kfWidthLutInvZ_; }
int kfWidthLutInvZ_
Definition: Setup.h:684

◆ maxCot()

double trackerDTC::Setup::maxCot ( ) const
inline

Definition at line 283 of file Setup.h.

References maxCot_.

283 { return maxCot_; }
double maxCot_
Definition: Setup.h:847

◆ maxEta()

double trackerDTC::Setup::maxEta ( ) const
inline

Definition at line 118 of file Setup.h.

References maxEta_.

118 { return maxEta_; }
double maxEta_
Definition: Setup.h:496

◆ maxZT()

double trackerDTC::Setup::maxZT ( ) const
inline

Definition at line 281 of file Setup.h.

References maxZT_.

281 { return maxZT_; }
double maxZT_
Definition: Setup.h:845

◆ mhtBasePhiT()

double trackerDTC::Setup::mhtBasePhiT ( ) const
inline

Definition at line 329 of file Setup.h.

References mhtBasePhiT_.

329 { return mhtBasePhiT_; }
double mhtBasePhiT_
Definition: Setup.h:877

◆ mhtBaseQoverPt()

double trackerDTC::Setup::mhtBaseQoverPt ( ) const
inline

Definition at line 327 of file Setup.h.

References mhtBaseQoverPt_.

327 { return mhtBaseQoverPt_; }
double mhtBaseQoverPt_
Definition: Setup.h:875

◆ mhtMinLayers()

int trackerDTC::Setup::mhtMinLayers ( ) const
inline

Definition at line 319 of file Setup.h.

References mhtMinLayers_.

319 { return mhtMinLayers_; }
int mhtMinLayers_
Definition: Setup.h:668

◆ mhtNumBinsPhiT()

int trackerDTC::Setup::mhtNumBinsPhiT ( ) const
inline

Definition at line 315 of file Setup.h.

References mhtNumBinsPhiT_.

315 { return mhtNumBinsPhiT_; }
int mhtNumBinsPhiT_
Definition: Setup.h:664

◆ mhtNumBinsQoverPt()

int trackerDTC::Setup::mhtNumBinsQoverPt ( ) const
inline

Definition at line 313 of file Setup.h.

References mhtNumBinsQoverPt_.

313 { return mhtNumBinsQoverPt_; }
int mhtNumBinsQoverPt_
Definition: Setup.h:662

◆ mhtNumCells()

int trackerDTC::Setup::mhtNumCells ( ) const
inline

Definition at line 321 of file Setup.h.

References mhtNumCells_.

321 { return mhtNumCells_; }
int mhtNumCells_
Definition: Setup.h:869

◆ mhtNumDLB()

int trackerDTC::Setup::mhtNumDLB ( ) const
inline

Definition at line 317 of file Setup.h.

References mhtNumDLB_.

317 { return mhtNumDLB_; }

◆ mhtWidthPhiT()

int trackerDTC::Setup::mhtWidthPhiT ( ) const
inline

Definition at line 325 of file Setup.h.

References mhtWidthPhiT_.

325 { return mhtWidthPhiT_; }
int mhtWidthPhiT_
Definition: Setup.h:873

◆ mhtWidthQoverPt()

int trackerDTC::Setup::mhtWidthQoverPt ( ) const
inline

Definition at line 323 of file Setup.h.

References mhtWidthQoverPt_.

323 { return mhtWidthQoverPt_; }
int mhtWidthQoverPt_
Definition: Setup.h:871

◆ minPt()

double trackerDTC::Setup::minPt ( ) const
inline

Definition at line 116 of file Setup.h.

References minPt_.

116 { return minPt_; }
double minPt_
Definition: Setup.h:494

◆ numDTCs()

int trackerDTC::Setup::numDTCs ( ) const
inline

Definition at line 244 of file Setup.h.

References numDTCs_.

Referenced by trackerDTC::ProducerED::produce().

244 { return numDTCs_; }

◆ numDTCsPerRegion()

int trackerDTC::Setup::numDTCsPerRegion ( ) const
inline

Definition at line 224 of file Setup.h.

References numDTCsPerRegion_.

224 { return numDTCsPerRegion_; }
int numDTCsPerRegion_
Definition: Setup.h:613

◆ numDTCsPerTFP()

int trackerDTC::Setup::numDTCsPerTFP ( ) const
inline

Definition at line 246 of file Setup.h.

References numDTCsPerTFP_.

246 { return numDTCsPerTFP_; }
int numDTCsPerTFP_
Definition: Setup.h:812

◆ numFrames()

int trackerDTC::Setup::numFrames ( ) const
inline

Definition at line 91 of file Setup.h.

References numFrames_.

91 { return numFrames_; }

◆ numFramesFE()

int trackerDTC::Setup::numFramesFE ( ) const
inline

Definition at line 95 of file Setup.h.

References numFramesFE_.

95 { return numFramesFE_; }
int numFramesFE_
Definition: Setup.h:763

◆ numFramesIO()

int trackerDTC::Setup::numFramesIO ( ) const
inline

Definition at line 93 of file Setup.h.

References numFramesIO_.

Referenced by trackerDTC::DTC::merge().

93 { return numFramesIO_; }
int numFramesIO_
Definition: Setup.h:761

◆ numLayers()

int trackerDTC::Setup::numLayers ( ) const
inline

Definition at line 122 of file Setup.h.

References numLayers_.

122 { return numLayers_; }

◆ numModules()

int trackerDTC::Setup::numModules ( ) const
inline

Definition at line 248 of file Setup.h.

References numModules_.

248 { return numModules_; }

◆ numModulesPerDTC()

int trackerDTC::Setup::numModulesPerDTC ( ) const
inline

Definition at line 226 of file Setup.h.

References numModulesPerDTC_.

Referenced by trackerDTC::ProducerED::produce().

226 { return numModulesPerDTC_; }
int numModulesPerDTC_
Definition: Setup.h:615

◆ numOverlappingRegions()

int trackerDTC::Setup::numOverlappingRegions ( ) const
inline

Definition at line 222 of file Setup.h.

References numOverlappingRegions_.

Referenced by trackerDTC::Stub::formatTMTT(), and trackerDTC::DTC::produce().

222 { return numOverlappingRegions_; }
int numOverlappingRegions_
Definition: Setup.h:609

◆ numRegions()

int trackerDTC::Setup::numRegions ( ) const
inline

Definition at line 220 of file Setup.h.

References numRegions_.

220 { return numRegions_; }

◆ numSectorsEta()

int trackerDTC::Setup::numSectorsEta ( ) const
inline

Definition at line 271 of file Setup.h.

References numSectorsEta_.

Referenced by trackerDTC::Stub::formatTMTT().

271 { return numSectorsEta_; }
int numSectorsEta_
Definition: Setup.h:638

◆ numSectorsPhi()

int trackerDTC::Setup::numSectorsPhi ( ) const
inline

Definition at line 269 of file Setup.h.

References numSectorsPhi_.

Referenced by trackerDTC::Stub::formatTMTT().

269 { return numSectorsPhi_; }
int numSectorsPhi_
Definition: Setup.h:636

◆ numTiltedLayerRing()

double trackerDTC::Setup::numTiltedLayerRing ( int  layerId) const
inline

Definition at line 184 of file Setup.h.

References numTiltedLayerRings_.

184 { return numTiltedLayerRings_.at(layerId); };
std::vector< double > numTiltedLayerRings_
Definition: Setup.h:746

◆ offsetDetIdDSV()

int trackerDTC::Setup::offsetDetIdDSV ( ) const
inline

Definition at line 236 of file Setup.h.

References offsetDetIdDSV_.

Referenced by trackerDTC::ProducerED::produce().

236 { return offsetDetIdDSV_; }
int offsetDetIdDSV_
Definition: Setup.h:625

◆ offsetDetIdTP()

int trackerDTC::Setup::offsetDetIdTP ( ) const
inline

Definition at line 238 of file Setup.h.

References offsetDetIdTP_.

238 { return offsetDetIdTP_; }
int offsetDetIdTP_
Definition: Setup.h:627

◆ offsetLayerDisks()

int trackerDTC::Setup::offsetLayerDisks ( ) const
inline

Definition at line 240 of file Setup.h.

References offsetLayerDisks_.

240 { return offsetLayerDisks_; }
int offsetLayerDisks_
Definition: Setup.h:629

◆ offsetLayerId()

int trackerDTC::Setup::offsetLayerId ( ) const
inline

Definition at line 242 of file Setup.h.

References offsetLayerId_.

242 { return offsetLayerId_; }
int offsetLayerId_
Definition: Setup.h:631

◆ produceSensorModules()

void trackerDTC::Setup::produceSensorModules ( )
private

Definition at line 443 of file Setup.cc.

References cablingMap_, TrackerGeometry::detIds(), TrackerDetToDTCELinkCablingMap::detIdToDTCELinkId(), detIdToSensorModule_, dtcId(), dtcModules(), dtcModules_, cppFunctionSkipper::exception, TrackerTopology::isLower(), numDTCs_, numModules_, numModulesPerDTC_, offsetDetIdTP_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, sensorModule(), sensorModules_, trackerGeometry_, and trackerTopology_.

Referenced by Setup().

443  {
444  sensorModules_.reserve(numModules_);
445  dtcModules_ = vector<vector<SensorModule*>>(numDTCs_);
446  for (vector<SensorModule*>& dtcModules : dtcModules_)
447  dtcModules.reserve(numModulesPerDTC_);
448  // loop over all tracker modules
449  for (const DetId& detId : trackerGeometry_->detIds()) {
450  // skip pixel detector
451  if (detId.subdetId() == PixelSubdetector::PixelBarrel || detId.subdetId() == PixelSubdetector::PixelEndcap)
452  continue;
453  // skip multiple detIds per module
454  if (!trackerTopology_->isLower(detId))
455  continue;
456  // lowerDetId - 1 = tk layout det id
457  const DetId detIdTkLayout = detId + offsetDetIdTP_;
458  // tk layout dtc id, lowerDetId - 1 = tk lyout det id
459  const int tklId = cablingMap_->detIdToDTCELinkId(detIdTkLayout).first->second.dtc_id();
460  // track trigger dtc id [0-215]
461  const int dtcId = Setup::dtcId(tklId);
462  // collection of so far connected modules to this dtc
463  vector<SensorModule*>& dtcModules = dtcModules_[dtcId];
464  // construct sendor module
465  sensorModules_.emplace_back(*this, detId, dtcId, dtcModules.size());
466  SensorModule* sensorModule = &sensorModules_.back();
467  // store connection between detId and sensor module
468  detIdToSensorModule_.emplace(detId, sensorModule);
469  // store connection between dtcId and sensor module
470  dtcModules.push_back(sensorModule);
471  }
472  for (vector<SensorModule*>& dtcModules : dtcModules_) {
473  dtcModules.shrink_to_fit();
474  // check configuration
475  if ((int)dtcModules.size() > numModulesPerDTC_) {
476  cms::Exception exception("overflow");
477  exception << "Cabling map connects more than " << numModulesPerDTC_ << " modules to a DTC.";
478  exception.addContext("tt::Setup::Setup");
479  throw exception;
480  }
481  }
482  }
int dtcId(int tklId) const
Definition: Setup.cc:274
SensorModule * sensorModule(const DetId &detId) const
Definition: Setup.cc:323
const TrackerTopology * trackerTopology_
Definition: Setup.h:443
const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
std::vector< std::vector< SensorModule * > > dtcModules_
Definition: Setup.h:836
std::unordered_map< DetId, SensorModule * > detIdToSensorModule_
Definition: Setup.h:838
const TrackerDetToDTCELinkCablingMap * cablingMap_
Definition: Setup.h:445
const std::vector< SensorModule * > & dtcModules(int dtcId) const
Definition: Setup.h:262
Definition: DetId.h:17
bool isLower(const DetId &id) const
std::vector< SensorModule > sensorModules_
Definition: Setup.h:834
std::pair< std::unordered_multimap< uint32_t, DTCELinkId >::const_iterator, std::unordered_multimap< uint32_t, DTCELinkId >::const_iterator > detIdToDTCELinkId(uint32_t const) const
Resolves one or more DTCELinkId of eLinks which are connected to the detector identified by the given...
int offsetDetIdTP_
Definition: Setup.h:627
int numModulesPerDTC_
Definition: Setup.h:615
const TrackerGeometry * trackerGeometry_
Definition: Setup.h:441

◆ psModule()

bool trackerDTC::Setup::psModule ( int  dtcId) const

Definition at line 302 of file Setup.cc.

References checkDTCId(), dtcId(), numATCASlots_, and slot().

Referenced by encodingBend(), L1FPGATrackProducer::produce(), and stubPos().

302  {
303  checkDTCId(dtcId);
304  // from tklayout: first 3 are 10 gbps PS, next 3 are 5 gbps PS and residual 6 are 5 gbps 2S modules
305  return slot(dtcId) < numATCASlots_ / 2;
306  }
int dtcId(int tklId) const
Definition: Setup.cc:274
int slot(int dtcId) const
Definition: Setup.cc:317
void checkDTCId(int dtcId) const
Definition: Setup.cc:695
int numATCASlots_
Definition: Setup.h:611

◆ sensorModule()

SensorModule * trackerDTC::Setup::sensorModule ( const DetId detId) const

Definition at line 323 of file Setup.cc.

References detIdToSensorModule_, and cppFunctionSkipper::exception.

Referenced by trackerDTC::ProducerED::produce(), and produceSensorModules().

323  {
324  const auto it = detIdToSensorModule_.find(detId);
325  if (it == detIdToSensorModule_.end()) {
326  cms::Exception exception("NullPtr");
327  exception << "Unknown DetId used.";
328  exception.addContext("tt::Setup::sensorModule");
329  throw exception;
330  }
331  return it->second;
332  }
std::unordered_map< DetId, SensorModule * > detIdToSensorModule_
Definition: Setup.h:838

◆ sfBaseCot()

double trackerDTC::Setup::sfBaseCot ( ) const
inline

Definition at line 336 of file Setup.h.

References sfBaseCot_.

336 { return sfBaseCot_; }
double sfBaseCot_
Definition: Setup.h:882

◆ sfBaseZT()

double trackerDTC::Setup::sfBaseZT ( ) const
inline

Definition at line 338 of file Setup.h.

References sfBaseZT_.

338 { return sfBaseZT_; }
double sfBaseZT_
Definition: Setup.h:884

◆ sfMinLayers()

int trackerDTC::Setup::sfMinLayers ( ) const
inline

Definition at line 334 of file Setup.h.

References sfMinLayers_.

334 { return sfMinLayers_; }
int sfMinLayers_
Definition: Setup.h:677

◆ side()

bool trackerDTC::Setup::side ( int  dtcId) const

Definition at line 309 of file Setup.cc.

References checkDTCId(), dtcId(), numATCASlots_, and numDTCsPerRegion_.

Referenced by dtcId(), stubPos(), and tkLayoutId().

309  {
310  checkDTCId(dtcId);
311  const int side = (dtcId % numDTCsPerRegion_) / numATCASlots_;
312  // from tkLayout: first 12 +z, next 12 -z
313  return side == 0;
314  }
int dtcId(int tklId) const
Definition: Setup.cc:274
int numDTCsPerRegion_
Definition: Setup.h:613
bool side(int dtcId) const
Definition: Setup.cc:309
void checkDTCId(int dtcId) const
Definition: Setup.cc:695
int numATCASlots_
Definition: Setup.h:611

◆ slot()

int trackerDTC::Setup::slot ( int  dtcId) const

Definition at line 317 of file Setup.cc.

References checkDTCId(), dtcId(), and numATCASlots_.

Referenced by dtcId(), psModule(), and tkLayoutId().

317  {
318  checkDTCId(dtcId);
319  return dtcId % numATCASlots_;
320  }
int dtcId(int tklId) const
Definition: Setup.cc:274
void checkDTCId(int dtcId) const
Definition: Setup.cc:695
int numATCASlots_
Definition: Setup.h:611

◆ stubPos() [1/2]

GlobalPoint trackerDTC::Setup::stubPos ( bool  hybrid,
const TTDTC::Frame frame,
int  tfpRegion,
int  tfpChannel 
) const

Definition at line 620 of file Setup.cc.

References Reference_intrackfit_cff::barrel, trackerDTC::SensorModule::Barrel2S, trackerDTC::SensorModule::BarrelPS, basePhi(), basePhi_, baseR(), baseR_, baseRegion_, baseZ(), baseZ_, chosenRofPhi_, trackerDTC::deltaPhi(), trackerDTC::SensorModule::Disk2S, disk2SRs_, trackerDTC::SensorModule::DiskPS, dtcId(), htWidthQoverPt_, hybridBasesPhi_, hybridBasesR_, hybridBasesZ_, hybridDiskZs_, hybridLayerRs_, hybridWidthLayer_, hybridWidthsAlpha_, hybridWidthsBend_, hybridWidthsPhi_, hybridWidthsR_, hybridWidthsZ_, TrackerTopology::layer(), numSectorsPhi_, offsetLayerId_, AlCaHLTBitMon_ParallelJobs::p, psModule(), alignCSCRings::r, side(), DetId::subdetId(), TrackerTopology::tidWheel(), StripSubdetector::TOB, trackerTopology_, TTBV::val(), widthBend(), widthLayer_, widthPhi(), widthPhiDTC_, widthR(), widthR_, widthSectorEta_, widthZ(), and widthZ_.

Referenced by L1FPGATrackProducer::produce().

620  {
621  GlobalPoint p;
622  if (frame.first.isNull())
623  return p;
624  TTBV bv(frame.second);
625  if (hybrid) {
626  const DetId& detId = frame.first->getDetId();
627  const int dtcId = Setup::dtcId(tfpRegion, tfpChannel);
628  const bool barrel = detId.subdetId() == StripSubdetector::TOB;
629  const bool psModule = Setup::psModule(dtcId);
630  const int layerId =
632  const bool side = Setup::side(dtcId);
634  if (barrel && psModule)
636  if (barrel && !psModule)
638  if (!barrel && psModule)
640  if (!barrel && !psModule)
642  const int widthBend = hybridWidthsBend_.at(type);
643  const int widthAlpha = hybridWidthsAlpha_.at(type);
644  const int widthPhi = hybridWidthsPhi_.at(type);
645  const int widthZ = hybridWidthsZ_.at(type);
646  const int widthR = hybridWidthsR_.at(type);
647  const double basePhi = hybridBasesPhi_.at(type);
648  const double baseZ = hybridBasesZ_.at(type);
649  const double baseR = hybridBasesR_.at(type);
650  // parse bit vector
651  bv >>= 1 + hybridWidthLayer_ + widthBend + widthAlpha;
652  double phi = (bv.val(widthPhi, 0, true) + .5) * basePhi;
653  bv >>= widthPhi;
654  double z = (bv.val(widthZ, 0, true) + .5) * baseZ;
655  bv >>= widthZ;
656  double r = (bv.val(widthR, 0, barrel) + .5) * baseR;
657  if (barrel) {
658  r += hybridLayerRs_.at(layerId);
659  } else {
660  z += hybridDiskZs_.at(layerId) * (side ? 1. : -1.);
661  }
662  phi = deltaPhi(phi + tfpRegion * baseRegion_);
663  if (type == SensorModule::Disk2S) {
664  r = bv.val(widthR);
665  r = disk2SRs_.at(layerId).at((int)r);
666  }
668  } else {
670  double z = (bv.val(widthZ_, 0, true) + .5) * baseZ_;
671  bv >>= widthZ_;
672  double phi = (bv.val(widthPhiDTC_, 0, true) + .5) * basePhi_;
673  bv >>= widthPhiDTC_;
674  double r = (bv.val(widthR_, 0, true) + .5) * baseR_;
675  bv >>= widthR_;
676  r = r + chosenRofPhi_;
677  phi = deltaPhi(phi + tfpRegion * baseRegion_);
679  }
680  return p;
681  }
int dtcId(int tklId) const
Definition: Setup.cc:274
int widthR() const
Definition: Setup.h:124
std::vector< std::vector< double > > disk2SRs_
Definition: Setup.h:805
std::vector< int > hybridWidthsR_
Definition: Setup.h:521
const TrackerTopology * trackerTopology_
Definition: Setup.h:443
Bit vector used by Track Trigger emulators. Mainly used to convert integers into arbitrary (within ma...
Definition: TTBV.h:18
double chosenRofPhi_
Definition: Setup.h:498
int widthZ() const
Definition: Setup.h:128
double baseR() const
Definition: Setup.h:132
double baseZ_
Definition: Setup.h:776
std::vector< int > hybridWidthsZ_
Definition: Setup.h:523
unsigned int tidWheel(const DetId &id) const
std::vector< double > hybridLayerRs_
Definition: Setup.h:537
int widthPhiDTC_
Definition: Setup.h:826
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
std::vector< double > hybridDiskZs_
Definition: Setup.h:539
bool side(int dtcId) const
Definition: Setup.cc:309
std::vector< int > hybridWidthsPhi_
Definition: Setup.h:525
double deltaPhi(double lhs, double rhs=0.)
Definition: Setup.h:35
unsigned int layer(const DetId &id) const
bool psModule(int dtcId) const
Definition: Setup.cc:302
double basePhi_
Definition: Setup.h:778
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:48
int numSectorsPhi_
Definition: Setup.h:636
static constexpr auto TOB
std::vector< int > hybridWidthsAlpha_
Definition: Setup.h:527
double basePhi() const
Definition: Setup.h:136
int widthPhi() const
Definition: Setup.h:126
double baseZ() const
Definition: Setup.h:134
std::vector< int > hybridWidthsBend_
Definition: Setup.h:529
Definition: DetId.h:17
std::vector< double > hybridBasesZ_
Definition: Setup.h:791
double baseR_
Definition: Setup.h:774
int widthSectorEta_
Definition: Setup.h:849
std::vector< double > hybridBasesPhi_
Definition: Setup.h:789
int htWidthQoverPt_
Definition: Setup.h:856
std::vector< double > hybridBasesR_
Definition: Setup.h:787
int widthBend() const
Definition: Setup.h:203
int offsetLayerId_
Definition: Setup.h:631
double baseRegion_
Definition: Setup.h:767
int hybridWidthLayer_
Definition: Setup.h:785

◆ stubPos() [2/2]

GlobalPoint trackerDTC::Setup::stubPos ( const TTStubRef ttStubRef) const

Definition at line 684 of file Setup.cc.

References TrackerGeometry::idToDetUnit(), Topology::localPosition(), offsetDetIdDSV_, Surface::toGlobal(), and trackerGeometry_.

684  {
685  const DetId detId = ttStubRef->getDetId() + offsetDetIdDSV_;
686  const GeomDetUnit* det = trackerGeometry_->idToDetUnit(detId);
687  const PixelTopology* topol =
688  dynamic_cast<const PixelTopology*>(&(dynamic_cast<const PixelGeomDetUnit*>(det)->specificTopology()));
689  const Plane& plane = dynamic_cast<const PixelGeomDetUnit*>(det)->surface();
690  const MeasurementPoint& mp = ttStubRef->clusterRef(0)->findAverageLocalCoordinatesCentered();
691  return plane.toGlobal(topol->localPosition(mp));
692  }
const TrackerGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
virtual LocalPoint localPosition(const MeasurementPoint &) const =0
int offsetDetIdDSV_
Definition: Setup.h:625
Definition: Plane.h:16
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:79
Definition: DetId.h:17
const TrackerGeometry * trackerGeometry_
Definition: Setup.h:441

◆ tkLayoutId()

int trackerDTC::Setup::tkLayoutId ( int  dtcId) const

Definition at line 284 of file Setup.cc.

References checkDTCId(), dtcId(), numATCASlots_, numDTCsPerRegion_, numRegions_, HLT_2022v12_cff::region, side(), and slot().

Referenced by checkTKLayoutId(), and dtcId().

284  {
285  checkDTCId(dtcId);
286  const int slot = dtcId % numATCASlots_;
287  const int region = dtcId / numDTCsPerRegion_;
288  const int side = (dtcId % numDTCsPerRegion_) / numATCASlots_;
289  return (side * numRegions_ + region) * numATCASlots_ + slot + 1;
290  }
int dtcId(int tklId) const
Definition: Setup.cc:274
int numDTCsPerRegion_
Definition: Setup.h:613
bool side(int dtcId) const
Definition: Setup.cc:309
int slot(int dtcId) const
Definition: Setup.cc:317
void checkDTCId(int dtcId) const
Definition: Setup.cc:695
int numATCASlots_
Definition: Setup.h:611

◆ tpMaxD0()

double trackerDTC::Setup::tpMaxD0 ( ) const
inline

Definition at line 107 of file Setup.h.

References tpMaxD0_.

107 { return tpMaxD0_; }
double tpMaxD0_
Definition: Setup.h:552

◆ tpMaxEta()

double trackerDTC::Setup::tpMaxEta ( ) const
inline

Definition at line 101 of file Setup.h.

References tpMaxEta_.

101 { return tpMaxEta_; }
double tpMaxEta_
Definition: Setup.h:546

◆ tpMaxVertR()

double trackerDTC::Setup::tpMaxVertR ( ) const
inline

Definition at line 103 of file Setup.h.

References tpMaxVertR_.

103 { return tpMaxVertR_; }
double tpMaxVertR_
Definition: Setup.h:548

◆ tpMaxVertZ()

double trackerDTC::Setup::tpMaxVertZ ( ) const
inline

Definition at line 105 of file Setup.h.

References tpMaxVertZ_.

105 { return tpMaxVertZ_; }
double tpMaxVertZ_
Definition: Setup.h:550

◆ tpMinLayers()

int trackerDTC::Setup::tpMinLayers ( ) const
inline

Definition at line 109 of file Setup.h.

References tpMinLayers_.

109 { return tpMinLayers_; }
int tpMinLayers_
Definition: Setup.h:554

◆ tpMinLayersPS()

int trackerDTC::Setup::tpMinLayersPS ( ) const
inline

Definition at line 111 of file Setup.h.

References tpMinLayersPS_.

111 { return tpMinLayersPS_; }
int tpMinLayersPS_
Definition: Setup.h:556

◆ trackerGeometry()

const TrackerGeometry* trackerDTC::Setup::trackerGeometry ( ) const
inline

Definition at line 76 of file Setup.h.

References trackerGeometry_.

76 { return trackerGeometry_; }
const TrackerGeometry * trackerGeometry_
Definition: Setup.h:441

◆ trackerTopology()

const TrackerTopology* trackerDTC::Setup::trackerTopology ( ) const
inline

Definition at line 78 of file Setup.h.

References trackerTopology_.

78 { return trackerTopology_; }
const TrackerTopology * trackerTopology_
Definition: Setup.h:443

◆ ttDTC()

TTDTC trackerDTC::Setup::ttDTC ( ) const
inline

Definition at line 84 of file Setup.h.

References numDTCsPerRegion_, numOverlappingRegions_, and numRegions_.

Referenced by trackerDTC::ProducerED::produce().

int numDTCsPerRegion_
Definition: Setup.h:613
int numOverlappingRegions_
Definition: Setup.h:609
Class to store hardware like structured TTStub Collection used by Track Trigger emulators.
Definition: TTDTC.h:17

◆ widthBend()

int trackerDTC::Setup::widthBend ( ) const
inline

Definition at line 203 of file Setup.h.

References widthBend_.

Referenced by stubPos().

203 { return widthBend_; }

◆ widthChiPhi()

int trackerDTC::Setup::widthChiPhi ( ) const
inline

Definition at line 304 of file Setup.h.

References widthChiPhi_.

304 { return widthChiPhi_; }
int widthChiPhi_
Definition: Setup.h:860

◆ widthChiZ()

int trackerDTC::Setup::widthChiZ ( ) const
inline

Definition at line 287 of file Setup.h.

References widthChiZ_.

287 { return widthChiZ_; }

◆ widthCol()

int trackerDTC::Setup::widthCol ( ) const
inline

Definition at line 205 of file Setup.h.

References widthCol_.

205 { return widthCol_; }

◆ widthLayer()

int trackerDTC::Setup::widthLayer ( ) const
inline

Definition at line 130 of file Setup.h.

References widthLayer_.

Referenced by trackerDTC::Stub::formatTMTT().

130 { return widthLayer_; }

◆ widthPhi()

int trackerDTC::Setup::widthPhi ( ) const
inline

Definition at line 126 of file Setup.h.

References widthPhi_.

Referenced by stubPos().

126 { return widthPhi_; }

◆ widthPhiDTC()

int trackerDTC::Setup::widthPhiDTC ( ) const
inline

Definition at line 260 of file Setup.h.

References widthPhiDTC_.

Referenced by trackerDTC::Stub::formatTMTT().

260 { return widthPhiDTC_; }
int widthPhiDTC_
Definition: Setup.h:826

◆ widthR()

int trackerDTC::Setup::widthR ( ) const
inline

Definition at line 124 of file Setup.h.

References widthR_.

Referenced by trackerDTC::Stub::formatTMTT(), and stubPos().

124 { return widthR_; }

◆ widthRow()

int trackerDTC::Setup::widthRow ( ) const
inline

Definition at line 207 of file Setup.h.

References widthRow_.

207 { return widthRow_; }

◆ widthSectorEta()

int trackerDTC::Setup::widthSectorEta ( ) const
inline

Definition at line 285 of file Setup.h.

References widthSectorEta_.

Referenced by trackerDTC::Stub::formatTMTT().

285 { return widthSectorEta_; }
int widthSectorEta_
Definition: Setup.h:849

◆ widthZ()

int trackerDTC::Setup::widthZ ( ) const
inline

Definition at line 128 of file Setup.h.

References widthZ_.

Referenced by trackerDTC::Stub::formatTMTT(), and stubPos().

128 { return widthZ_; }

◆ windowSizeBarrelLayer()

double trackerDTC::Setup::windowSizeBarrelLayer ( int  layerId) const
inline

Definition at line 186 of file Setup.h.

References windowSizeBarrelLayers_.

186 { return windowSizeBarrelLayers_.at(layerId); };
std::vector< double > windowSizeBarrelLayers_
Definition: Setup.h:748

◆ windowSizeEndcapDisksRing()

double trackerDTC::Setup::windowSizeEndcapDisksRing ( int  layerId,
int  ring 
) const
inline

Definition at line 192 of file Setup.h.

References relativeConstraints::ring, and windowSizeEndcapDisksRings_.

192  {
193  return windowSizeEndcapDisksRings_.at(layerId).at(ring);
194  };
std::vector< std::vector< double > > windowSizeEndcapDisksRings_
Definition: Setup.h:752

◆ windowSizeTiltedLayerRing()

double trackerDTC::Setup::windowSizeTiltedLayerRing ( int  layerId,
int  ring 
) const
inline

Definition at line 188 of file Setup.h.

References relativeConstraints::ring, and windowSizeTiltedLayerRings_.

188  {
189  return windowSizeTiltedLayerRings_.at(layerId).at(ring);
190  };
std::vector< std::vector< double > > windowSizeTiltedLayerRings_
Definition: Setup.h:750

Member Data Documentation

◆ baseBend_

double trackerDTC::Setup::baseBend_
private

Definition at line 594 of file Setup.h.

Referenced by baseBend().

◆ baseCol_

double trackerDTC::Setup::baseCol_
private

Definition at line 596 of file Setup.h.

Referenced by baseCol().

◆ basePhi_

double trackerDTC::Setup::basePhi_
private

Definition at line 778 of file Setup.h.

Referenced by basePhi(), calculateConstants(), and stubPos().

◆ baseR_

double trackerDTC::Setup::baseR_
private

Definition at line 774 of file Setup.h.

Referenced by baseR(), calculateConstants(), and stubPos().

◆ baseRegion_

double trackerDTC::Setup::baseRegion_
private

Definition at line 767 of file Setup.h.

Referenced by baseRegion(), calculateConstants(), and stubPos().

◆ baseRow_

double trackerDTC::Setup::baseRow_
private

Definition at line 598 of file Setup.h.

Referenced by baseRow(), and calculateConstants().

◆ baseSector_

double trackerDTC::Setup::baseSector_
private

Definition at line 843 of file Setup.h.

Referenced by baseSector(), and calculateConstants().

◆ baseWindowSize_

double trackerDTC::Setup::baseWindowSize_
private

Definition at line 600 of file Setup.h.

Referenced by baseWindowSize(), and consumeStubAlgorithm().

◆ baseZ_

double trackerDTC::Setup::baseZ_
private

Definition at line 776 of file Setup.h.

Referenced by baseZ(), calculateConstants(), and stubPos().

◆ beamWindowZ_

double trackerDTC::Setup::beamWindowZ_
private

Definition at line 481 of file Setup.h.

Referenced by beamWindowZ(), and calculateConstants().

◆ bendCut_

double trackerDTC::Setup::bendCut_
private

Definition at line 602 of file Setup.h.

Referenced by bendCut().

◆ bField_

double trackerDTC::Setup::bField_
private

Definition at line 573 of file Setup.h.

Referenced by calculateConstants(), and checkMagneticField().

◆ bFieldError_

double trackerDTC::Setup::bFieldError_
private

Definition at line 575 of file Setup.h.

Referenced by checkMagneticField().

◆ boundariesEta_

std::vector<double> trackerDTC::Setup::boundariesEta_
private

Definition at line 646 of file Setup.h.

Referenced by boundarieEta(), and calculateConstants().

◆ cablingMap_

const TrackerDetToDTCELinkCablingMap* trackerDTC::Setup::cablingMap_
private

Definition at line 445 of file Setup.h.

Referenced by encodeLayerId(), and produceSensorModules().

◆ chosenRofPhi_

double trackerDTC::Setup::chosenRofPhi_
private

Definition at line 498 of file Setup.h.

Referenced by calculateConstants(), chosenRofPhi(), and stubPos().

◆ chosenRofZ_

double trackerDTC::Setup::chosenRofZ_
private

Definition at line 640 of file Setup.h.

Referenced by calculateConstants(), and chosenRofZ().

◆ configurationSupported_

bool trackerDTC::Setup::configurationSupported_
private

Definition at line 741 of file Setup.h.

Referenced by checkGeometry(), checkMagneticField(), configurationSupported(), and Setup().

◆ detIdToSensorModule_

std::unordered_map<DetId, SensorModule*> trackerDTC::Setup::detIdToSensorModule_
private

Definition at line 838 of file Setup.h.

Referenced by produceSensorModules(), and sensorModule().

◆ disk2SRs_

std::vector<std::vector<double> > trackerDTC::Setup::disk2SRs_
private

Definition at line 805 of file Setup.h.

Referenced by calculateConstants(), and stubPos().

◆ drBaseCot_

double trackerDTC::Setup::drBaseCot_
private

Definition at line 935 of file Setup.h.

Referenced by calculateConstants(), and drBaseCot().

◆ drBasePhi0_

double trackerDTC::Setup::drBasePhi0_
private

Definition at line 934 of file Setup.h.

Referenced by calculateConstants(), and drBasePhi0().

◆ drBaseQoverPt_

double trackerDTC::Setup::drBaseQoverPt_
private

Definition at line 933 of file Setup.h.

Referenced by calculateConstants(), and drBaseQoverPt().

◆ drBaseZ0_

double trackerDTC::Setup::drBaseZ0_
private

Definition at line 936 of file Setup.h.

Referenced by calculateConstants(), and drBaseZ0().

◆ drDepthMemory_

int trackerDTC::Setup::drDepthMemory_
private

Definition at line 726 of file Setup.h.

Referenced by drDepthMemory().

◆ drWidthCot_

int trackerDTC::Setup::drWidthCot_
private

Definition at line 732 of file Setup.h.

Referenced by calculateConstants(), and drWidthCot().

◆ drWidthPhi0_

int trackerDTC::Setup::drWidthPhi0_
private

Definition at line 728 of file Setup.h.

Referenced by calculateConstants(), and drWidthPhi0().

◆ drWidthQoverPt_

int trackerDTC::Setup::drWidthQoverPt_
private

Definition at line 730 of file Setup.h.

Referenced by calculateConstants(), and drWidthQoverPt().

◆ drWidthZ0_

int trackerDTC::Setup::drWidthZ0_
private

Definition at line 734 of file Setup.h.

Referenced by calculateConstants(), and drWidthZ0().

◆ dtcBaseM_

double trackerDTC::Setup::dtcBaseM_
private

Definition at line 824 of file Setup.h.

Referenced by calculateConstants(), and dtcBaseM().

◆ dtcBaseQoverPt_

double trackerDTC::Setup::dtcBaseQoverPt_
private

Definition at line 822 of file Setup.h.

Referenced by calculateConstants(), and dtcBaseQoverPt().

◆ dtcDepthMemory_

int trackerDTC::Setup::dtcDepthMemory_
private

Definition at line 619 of file Setup.h.

Referenced by dtcDepthMemory().

◆ dtcModules_

std::vector<std::vector<SensorModule*> > trackerDTC::Setup::dtcModules_
private

Definition at line 836 of file Setup.h.

Referenced by dtcModules(), and produceSensorModules().

◆ dtcNumMergedRows_

int trackerDTC::Setup::dtcNumMergedRows_
private

Definition at line 818 of file Setup.h.

Referenced by calculateConstants(), and dtcNumMergedRows().

◆ dtcNumModulesPerRoutingBlock_

int trackerDTC::Setup::dtcNumModulesPerRoutingBlock_
private

Definition at line 816 of file Setup.h.

Referenced by calculateConstants(), and dtcNumModulesPerRoutingBlock().

◆ dtcNumRoutingBlocks_

int trackerDTC::Setup::dtcNumRoutingBlocks_
private

Definition at line 617 of file Setup.h.

Referenced by calculateConstants(), and dtcNumRoutingBlocks().

◆ dtcNumUnusedBits_

int trackerDTC::Setup::dtcNumUnusedBits_
private

Definition at line 780 of file Setup.h.

Referenced by calculateConstants(), and dtcNumUnusedBits().

◆ dtcWidthM_

int trackerDTC::Setup::dtcWidthM_
private

Definition at line 820 of file Setup.h.

Referenced by calculateConstants(), and dtcWidthM().

◆ dtcWidthQoverPt_

int trackerDTC::Setup::dtcWidthQoverPt_
private

Definition at line 623 of file Setup.h.

Referenced by calculateConstants(), and dtcWidthQoverPt().

◆ dtcWidthRowLUT_

int trackerDTC::Setup::dtcWidthRowLUT_
private

Definition at line 621 of file Setup.h.

Referenced by calculateConstants(), and dtcWidthRowLUT().

◆ encodingsBend2S_

std::vector<std::vector<double> > trackerDTC::Setup::encodingsBend2S_
private

Definition at line 830 of file Setup.h.

Referenced by encodingBend(), and Setup().

◆ encodingsBendPS_

std::vector<std::vector<double> > trackerDTC::Setup::encodingsBendPS_
private

Definition at line 828 of file Setup.h.

Referenced by encodingBend(), and Setup().

◆ encodingsLayerId_

std::vector<std::vector<int> > trackerDTC::Setup::encodingsLayerId_
private

Definition at line 832 of file Setup.h.

Referenced by encodeLayerId(), encodingLayerId(), and Setup().

◆ freqBE_

double trackerDTC::Setup::freqBE_
private

Definition at line 565 of file Setup.h.

Referenced by calculateConstants().

◆ freqLHC_

double trackerDTC::Setup::freqLHC_
private

Definition at line 563 of file Setup.h.

Referenced by calculateConstants().

◆ fromDD4hep_

bool trackerDTC::Setup::fromDD4hep_
private

Definition at line 458 of file Setup.h.

Referenced by checkGeometry().

◆ gpDepthMemory_

int trackerDTC::Setup::gpDepthMemory_
private

Definition at line 644 of file Setup.h.

Referenced by gpDepthMemory().

◆ halfLength_

double trackerDTC::Setup::halfLength_
private

Definition at line 581 of file Setup.h.

Referenced by calculateConstants().

◆ htBasePhiT_

double trackerDTC::Setup::htBasePhiT_
private

Definition at line 864 of file Setup.h.

Referenced by calculateConstants(), and htBasePhiT().

◆ htBaseQoverPt_

double trackerDTC::Setup::htBaseQoverPt_
private

Definition at line 862 of file Setup.h.

Referenced by calculateConstants(), and htBaseQoverPt().

◆ htDepthMemory_

int trackerDTC::Setup::htDepthMemory_
private

Definition at line 657 of file Setup.h.

Referenced by htDepthMemory().

◆ htMinLayers_

int trackerDTC::Setup::htMinLayers_
private

Definition at line 655 of file Setup.h.

Referenced by htMinLayers().

◆ htNumBinsPhiT_

int trackerDTC::Setup::htNumBinsPhiT_
private

Definition at line 653 of file Setup.h.

Referenced by calculateConstants(), and htNumBinsPhiT().

◆ htNumBinsQoverPt_

int trackerDTC::Setup::htNumBinsQoverPt_
private

Definition at line 651 of file Setup.h.

Referenced by calculateConstants(), and htNumBinsQoverPt().

◆ htWidthPhiT_

int trackerDTC::Setup::htWidthPhiT_
private

Definition at line 858 of file Setup.h.

Referenced by calculateConstants(), and htWidthPhiT().

◆ htWidthQoverPt_

int trackerDTC::Setup::htWidthQoverPt_
private

Definition at line 856 of file Setup.h.

Referenced by calculateConstants(), htWidthQoverPt(), and stubPos().

◆ hybridBasePhi_

double trackerDTC::Setup::hybridBasePhi_
private

Definition at line 799 of file Setup.h.

◆ hybridBaseR_

double trackerDTC::Setup::hybridBaseR_
private

Definition at line 797 of file Setup.h.

◆ hybridBasesAlpha_

std::vector<double> trackerDTC::Setup::hybridBasesAlpha_
private

Definition at line 793 of file Setup.h.

Referenced by calculateConstants(), and hybridBaseAlpha().

◆ hybridBasesPhi_

std::vector<double> trackerDTC::Setup::hybridBasesPhi_
private

Definition at line 789 of file Setup.h.

Referenced by calculateConstants(), hybridBasePhi(), and stubPos().

◆ hybridBasesR_

std::vector<double> trackerDTC::Setup::hybridBasesR_
private

Definition at line 787 of file Setup.h.

Referenced by calculateConstants(), hybridBaseR(), and stubPos().

◆ hybridBasesZ_

std::vector<double> trackerDTC::Setup::hybridBasesZ_
private

Definition at line 791 of file Setup.h.

Referenced by calculateConstants(), hybridBaseZ(), and stubPos().

◆ hybridBaseZ_

double trackerDTC::Setup::hybridBaseZ_
private

Definition at line 795 of file Setup.h.

◆ hybridChosenRofPhi_

double trackerDTC::Setup::hybridChosenRofPhi_
private

Definition at line 515 of file Setup.h.

Referenced by calculateConstants(), and hybridChosenRofPhi().

◆ hybridDisk2SRsSet_

std::vector<edm::ParameterSet> trackerDTC::Setup::hybridDisk2SRsSet_
private

Definition at line 541 of file Setup.h.

Referenced by calculateConstants().

◆ hybridDiskZs_

std::vector<double> trackerDTC::Setup::hybridDiskZs_
private

Definition at line 539 of file Setup.h.

Referenced by hybridDiskZ(), and stubPos().

◆ hybridLayerRs_

std::vector<double> trackerDTC::Setup::hybridLayerRs_
private

Definition at line 537 of file Setup.h.

Referenced by hybridLayerR(), and stubPos().

◆ hybridMaxCot_

double trackerDTC::Setup::hybridMaxCot_
private

Definition at line 801 of file Setup.h.

Referenced by calculateConstants(), and hybridMaxCot().

◆ hybridMaxEta_

double trackerDTC::Setup::hybridMaxEta_
private

Definition at line 513 of file Setup.h.

Referenced by calculateConstants(), and hybridMaxEta().

◆ hybridMinPt_

double trackerDTC::Setup::hybridMinPt_
private

Definition at line 511 of file Setup.h.

Referenced by calculateConstants(), and hybridMinPt().

◆ hybridNumLayers_

int trackerDTC::Setup::hybridNumLayers_
private

Definition at line 517 of file Setup.h.

Referenced by calculateConstants(), encodeLayerId(), and hybridNumLayers().

◆ hybridNumRingsPS_

std::vector<int> trackerDTC::Setup::hybridNumRingsPS_
private

Definition at line 519 of file Setup.h.

Referenced by hybridNumRingsPS().

◆ hybridNumsUnusedBits_

std::vector<int> trackerDTC::Setup::hybridNumsUnusedBits_
private

Definition at line 803 of file Setup.h.

Referenced by calculateConstants(), and hybridNumUnusedBits().

◆ hybridRangesAlpha_

std::vector<double> trackerDTC::Setup::hybridRangesAlpha_
private

Definition at line 535 of file Setup.h.

Referenced by calculateConstants().

◆ hybridRangesR_

std::vector<double> trackerDTC::Setup::hybridRangesR_
private

Definition at line 531 of file Setup.h.

Referenced by calculateConstants().

◆ hybridRangesZ_

std::vector<double> trackerDTC::Setup::hybridRangesZ_
private

Definition at line 533 of file Setup.h.

Referenced by calculateConstants().

◆ hybridWidthLayer_

int trackerDTC::Setup::hybridWidthLayer_
private

Definition at line 785 of file Setup.h.

Referenced by calculateConstants(), hybridWidthLayer(), and stubPos().

◆ hybridWidthsAlpha_

std::vector<int> trackerDTC::Setup::hybridWidthsAlpha_
private

Definition at line 527 of file Setup.h.

Referenced by calculateConstants(), hybridWidthAlpha(), and stubPos().

◆ hybridWidthsBend_

std::vector<int> trackerDTC::Setup::hybridWidthsBend_
private

Definition at line 529 of file Setup.h.

Referenced by calculateConstants(), hybridWidthBend(), and stubPos().

◆ hybridWidthsPhi_

std::vector<int> trackerDTC::Setup::hybridWidthsPhi_
private

Definition at line 525 of file Setup.h.

Referenced by calculateConstants(), hybridWidthPhi(), and stubPos().

◆ hybridWidthsR_

std::vector<int> trackerDTC::Setup::hybridWidthsR_
private

Definition at line 521 of file Setup.h.

Referenced by calculateConstants(), hybridWidthR(), and stubPos().

◆ hybridWidthsZ_

std::vector<int> trackerDTC::Setup::hybridWidthsZ_
private

Definition at line 523 of file Setup.h.

Referenced by calculateConstants(), hybridWidthZ(), and stubPos().

◆ innerRadius_

double trackerDTC::Setup::innerRadius_
private

Definition at line 579 of file Setup.h.

Referenced by calculateConstants().

◆ invPtToDphi_

double trackerDTC::Setup::invPtToDphi_
private

Definition at line 765 of file Setup.h.

Referenced by calculateConstants(), and invPtToDphi().

◆ kfBaseC00_

double trackerDTC::Setup::kfBaseC00_
private

Definition at line 918 of file Setup.h.

Referenced by calculateConstants(), and kfBaseC00().

◆ kfBaseC01_

double trackerDTC::Setup::kfBaseC01_
private

Definition at line 919 of file Setup.h.

Referenced by calculateConstants(), and kfBaseC01().

◆ kfBaseC04_

double trackerDTC::Setup::kfBaseC04_
private

Definition at line 920 of file Setup.h.

◆ kfBaseC11_

double trackerDTC::Setup::kfBaseC11_
private

Definition at line 921 of file Setup.h.

Referenced by calculateConstants(), and kfBaseC11().

◆ kfBaseC14_

double trackerDTC::Setup::kfBaseC14_
private

Definition at line 922 of file Setup.h.

◆ kfBaseC22_

double trackerDTC::Setup::kfBaseC22_
private

Definition at line 924 of file Setup.h.

Referenced by calculateConstants(), and kfBaseC22().

◆ kfBaseC23_

double trackerDTC::Setup::kfBaseC23_
private

Definition at line 925 of file Setup.h.

Referenced by calculateConstants(), and kfBaseC23().

◆ kfBaseC33_

double trackerDTC::Setup::kfBaseC33_
private

Definition at line 926 of file Setup.h.

Referenced by calculateConstants(), and kfBaseC33().

◆ kfBaseC44_

double trackerDTC::Setup::kfBaseC44_
private

Definition at line 923 of file Setup.h.

◆ kfBaseChi20_

double trackerDTC::Setup::kfBaseChi20_
private

Definition at line 927 of file Setup.h.

Referenced by calculateConstants(), and kfBaseChi20().

◆ kfBaseChi21_

double trackerDTC::Setup::kfBaseChi21_
private

Definition at line 928 of file Setup.h.

Referenced by calculateConstants(), and kfBaseChi21().

◆ kfBaseChi2_

double trackerDTC::Setup::kfBaseChi2_
private

Definition at line 929 of file Setup.h.

Referenced by calculateConstants(), and kfBaseChi2().

◆ kfBaseH00_

double trackerDTC::Setup::kfBaseH00_
private

Definition at line 897 of file Setup.h.

Referenced by calculateConstants(), and kfBaseH00().

◆ kfBaseH04_

double trackerDTC::Setup::kfBaseH04_
private

Definition at line 898 of file Setup.h.

◆ kfBaseH12_

double trackerDTC::Setup::kfBaseH12_
private

Definition at line 899 of file Setup.h.

Referenced by calculateConstants(), and kfBaseH12().

◆ kfBaseInvR00_

double trackerDTC::Setup::kfBaseInvR00_
private

Definition at line 911 of file Setup.h.

Referenced by calculateConstants(), and kfBaseInvR00().

◆ kfBaseInvR11_

double trackerDTC::Setup::kfBaseInvR11_
private

Definition at line 912 of file Setup.h.

Referenced by calculateConstants(), and kfBaseInvR11().

◆ kfBaseK00_

double trackerDTC::Setup::kfBaseK00_
private

Definition at line 913 of file Setup.h.

Referenced by calculateConstants(), and kfBaseK00().

◆ kfBaseK10_

double trackerDTC::Setup::kfBaseK10_
private

Definition at line 914 of file Setup.h.

Referenced by calculateConstants(), and kfBaseK10().

◆ kfBaseK21_

double trackerDTC::Setup::kfBaseK21_
private

Definition at line 915 of file Setup.h.

Referenced by calculateConstants(), and kfBaseK21().

◆ kfBaseK31_

double trackerDTC::Setup::kfBaseK31_
private

Definition at line 916 of file Setup.h.

Referenced by calculateConstants(), and kfBaseK31().

◆ kfBaseK40_

double trackerDTC::Setup::kfBaseK40_
private

Definition at line 917 of file Setup.h.

◆ kfBasem0_

double trackerDTC::Setup::kfBasem0_
private

Definition at line 888 of file Setup.h.

Referenced by calculateConstants(), and kfBasem0().

◆ kfBasem1_

double trackerDTC::Setup::kfBasem1_
private

Definition at line 889 of file Setup.h.

Referenced by calculateConstants(), and kfBasem1().

◆ kfBaseR00_

double trackerDTC::Setup::kfBaseR00_
private

Definition at line 909 of file Setup.h.

Referenced by calculateConstants(), and kfBaseR00().

◆ kfBaser02_

double trackerDTC::Setup::kfBaser02_
private

Definition at line 902 of file Setup.h.

Referenced by calculateConstants(), and kfBaser02().

◆ kfBaser0_

double trackerDTC::Setup::kfBaser0_
private

Definition at line 900 of file Setup.h.

Referenced by calculateConstants(), and kfBaser0().

◆ kfBaseR11_

double trackerDTC::Setup::kfBaseR11_
private

Definition at line 910 of file Setup.h.

Referenced by calculateConstants(), and kfBaseR11().

◆ kfBaser12_

double trackerDTC::Setup::kfBaser12_
private

Definition at line 903 of file Setup.h.

Referenced by calculateConstants(), and kfBaser12().

◆ kfBaser1_

double trackerDTC::Setup::kfBaser1_
private

Definition at line 901 of file Setup.h.

Referenced by calculateConstants(), and kfBaser1().

◆ kfBaseS00_

double trackerDTC::Setup::kfBaseS00_
private

Definition at line 904 of file Setup.h.

Referenced by calculateConstants(), and kfBaseS00().

◆ kfBaseS01_

double trackerDTC::Setup::kfBaseS01_
private

Definition at line 905 of file Setup.h.

Referenced by calculateConstants(), and kfBaseS01().

◆ kfBaseS04_

double trackerDTC::Setup::kfBaseS04_
private

Definition at line 906 of file Setup.h.

◆ kfBaseS12_

double trackerDTC::Setup::kfBaseS12_
private

Definition at line 907 of file Setup.h.

Referenced by calculateConstants(), and kfBaseS12().

◆ kfBaseS13_

double trackerDTC::Setup::kfBaseS13_
private

Definition at line 908 of file Setup.h.

Referenced by calculateConstants(), and kfBaseS13().

◆ kfBaseShiftC00_

int trackerDTC::Setup::kfBaseShiftC00_
private

Definition at line 705 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftC01_

int trackerDTC::Setup::kfBaseShiftC01_
private

Definition at line 706 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftC11_

int trackerDTC::Setup::kfBaseShiftC11_
private

Definition at line 707 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftC22_

int trackerDTC::Setup::kfBaseShiftC22_
private

Definition at line 718 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftC23_

int trackerDTC::Setup::kfBaseShiftC23_
private

Definition at line 719 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftC33_

int trackerDTC::Setup::kfBaseShiftC33_
private

Definition at line 720 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftChi20_

int trackerDTC::Setup::kfBaseShiftChi20_
private

Definition at line 704 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftChi21_

int trackerDTC::Setup::kfBaseShiftChi21_
private

Definition at line 717 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftChi2_

int trackerDTC::Setup::kfBaseShiftChi2_
private

Definition at line 721 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftInvR00_

int trackerDTC::Setup::kfBaseShiftInvR00_
private

Definition at line 703 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftInvR11_

int trackerDTC::Setup::kfBaseShiftInvR11_
private

Definition at line 716 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftK00_

int trackerDTC::Setup::kfBaseShiftK00_
private

Definition at line 700 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftK10_

int trackerDTC::Setup::kfBaseShiftK10_
private

Definition at line 701 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftK21_

int trackerDTC::Setup::kfBaseShiftK21_
private

Definition at line 713 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftK31_

int trackerDTC::Setup::kfBaseShiftK31_
private

Definition at line 714 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftR00_

int trackerDTC::Setup::kfBaseShiftR00_
private

Definition at line 702 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftr02_

int trackerDTC::Setup::kfBaseShiftr02_
private

Definition at line 696 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftr0_

int trackerDTC::Setup::kfBaseShiftr0_
private

Definition at line 695 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftR11_

int trackerDTC::Setup::kfBaseShiftR11_
private

Definition at line 715 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftr12_

int trackerDTC::Setup::kfBaseShiftr12_
private

Definition at line 709 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftr1_

int trackerDTC::Setup::kfBaseShiftr1_
private

Definition at line 708 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftS00_

int trackerDTC::Setup::kfBaseShiftS00_
private

Definition at line 698 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftS01_

int trackerDTC::Setup::kfBaseShiftS01_
private

Definition at line 699 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftS12_

int trackerDTC::Setup::kfBaseShiftS12_
private

Definition at line 711 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftS13_

int trackerDTC::Setup::kfBaseShiftS13_
private

Definition at line 712 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftv0_

int trackerDTC::Setup::kfBaseShiftv0_
private

Definition at line 697 of file Setup.h.

Referenced by calculateConstants().

◆ kfBaseShiftv1_

int trackerDTC::Setup::kfBaseShiftv1_
private

Definition at line 710 of file Setup.h.

Referenced by calculateConstants().

◆ kfBasev0_

double trackerDTC::Setup::kfBasev0_
private

Definition at line 890 of file Setup.h.

Referenced by calculateConstants(), and kfBasev0().

◆ kfBasev1_

double trackerDTC::Setup::kfBasev1_
private

Definition at line 891 of file Setup.h.

Referenced by calculateConstants(), and kfBasev1().

◆ kfBasex0_

double trackerDTC::Setup::kfBasex0_
private

Definition at line 892 of file Setup.h.

Referenced by calculateConstants(), and kfBasex0().

◆ kfBasex1_

double trackerDTC::Setup::kfBasex1_
private

Definition at line 893 of file Setup.h.

Referenced by calculateConstants(), and kfBasex1().

◆ kfBasex2_

double trackerDTC::Setup::kfBasex2_
private

Definition at line 894 of file Setup.h.

Referenced by calculateConstants(), and kfBasex2().

◆ kfBasex3_

double trackerDTC::Setup::kfBasex3_
private

Definition at line 895 of file Setup.h.

Referenced by calculateConstants(), and kfBasex3().

◆ kfBasex4_

double trackerDTC::Setup::kfBasex4_
private

Definition at line 896 of file Setup.h.

◆ kfMaxLayers_

int trackerDTC::Setup::kfMaxLayers_
private

Definition at line 690 of file Setup.h.

Referenced by kfMaxLayers().

◆ kfMaxSkippedLayers_

int trackerDTC::Setup::kfMaxSkippedLayers_
private

Definition at line 694 of file Setup.h.

Referenced by kfMaxSkippedLayers().

◆ kfMaxStubsPerLayer_

int trackerDTC::Setup::kfMaxStubsPerLayer_
private

Definition at line 692 of file Setup.h.

Referenced by kfMaxStubsPerLayer().

◆ kfMinLayers_

int trackerDTC::Setup::kfMinLayers_
private

Definition at line 688 of file Setup.h.

Referenced by kfMinLayers().

◆ kfNumTracks_

int trackerDTC::Setup::kfNumTracks_
private

Definition at line 686 of file Setup.h.

Referenced by kfNumTracks().

◆ kfWidthLutInvPhi_

int trackerDTC::Setup::kfWidthLutInvPhi_
private

Definition at line 682 of file Setup.h.

Referenced by kfWidthLutInvPhi().

◆ kfWidthLutInvZ_

int trackerDTC::Setup::kfWidthLutInvZ_
private

Definition at line 684 of file Setup.h.

Referenced by kfWidthLutInvZ().

◆ magneticField_

const MagneticField* trackerDTC::Setup::magneticField_
private

Definition at line 439 of file Setup.h.

Referenced by checkMagneticField().

◆ matchedLayers_

int trackerDTC::Setup::matchedLayers_
private

Definition at line 483 of file Setup.h.

◆ matchedLayersPS_

int trackerDTC::Setup::matchedLayersPS_
private

Definition at line 485 of file Setup.h.

◆ maxCot_

double trackerDTC::Setup::maxCot_
private

Definition at line 847 of file Setup.h.

Referenced by calculateConstants(), and maxCot().

◆ maxEta_

double trackerDTC::Setup::maxEta_
private

Definition at line 496 of file Setup.h.

Referenced by calculateConstants(), and maxEta().

◆ maxPitch_

double trackerDTC::Setup::maxPitch_
private

Definition at line 583 of file Setup.h.

Referenced by calculateConstants().

◆ maxWindowSize_

int trackerDTC::Setup::maxWindowSize_
private

Definition at line 754 of file Setup.h.

Referenced by consumeStubAlgorithm(), encodeBend(), and Setup().

◆ maxZT_

double trackerDTC::Setup::maxZT_
private

Definition at line 845 of file Setup.h.

Referenced by calculateConstants(), and maxZT().

◆ mhtBasePhiT_

double trackerDTC::Setup::mhtBasePhiT_
private

Definition at line 877 of file Setup.h.

Referenced by calculateConstants(), and mhtBasePhiT().

◆ mhtBaseQoverPt_

double trackerDTC::Setup::mhtBaseQoverPt_
private

Definition at line 875 of file Setup.h.

Referenced by calculateConstants(), and mhtBaseQoverPt().

◆ mhtMinLayers_

int trackerDTC::Setup::mhtMinLayers_
private

Definition at line 668 of file Setup.h.

Referenced by mhtMinLayers().

◆ mhtNumBinsPhiT_

int trackerDTC::Setup::mhtNumBinsPhiT_
private

Definition at line 664 of file Setup.h.

Referenced by calculateConstants(), and mhtNumBinsPhiT().

◆ mhtNumBinsQoverPt_

int trackerDTC::Setup::mhtNumBinsQoverPt_
private

Definition at line 662 of file Setup.h.

Referenced by calculateConstants(), and mhtNumBinsQoverPt().

◆ mhtNumCells_

int trackerDTC::Setup::mhtNumCells_
private

Definition at line 869 of file Setup.h.

Referenced by calculateConstants(), and mhtNumCells().

◆ mhtNumDLB_

int trackerDTC::Setup::mhtNumDLB_
private

Definition at line 666 of file Setup.h.

Referenced by mhtNumDLB().

◆ mhtWidthPhiT_

int trackerDTC::Setup::mhtWidthPhiT_
private

Definition at line 873 of file Setup.h.

Referenced by calculateConstants(), and mhtWidthPhiT().

◆ mhtWidthQoverPt_

int trackerDTC::Setup::mhtWidthQoverPt_
private

Definition at line 871 of file Setup.h.

Referenced by calculateConstants(), and mhtWidthQoverPt().

◆ minPt_

double trackerDTC::Setup::minPt_
private

Definition at line 494 of file Setup.h.

Referenced by calculateConstants(), and minPt().

◆ neededRangeChiZ_

double trackerDTC::Setup::neededRangeChiZ_
private

Definition at line 642 of file Setup.h.

Referenced by calculateConstants().

◆ numATCASlots_

int trackerDTC::Setup::numATCASlots_
private

Definition at line 611 of file Setup.h.

Referenced by dtcId(), psModule(), side(), slot(), and tkLayoutId().

◆ numDTCs_

int trackerDTC::Setup::numDTCs_
private

Definition at line 810 of file Setup.h.

Referenced by calculateConstants(), encodeLayerId(), numDTCs(), and produceSensorModules().

◆ numDTCsPerRegion_

int trackerDTC::Setup::numDTCsPerRegion_
private

◆ numDTCsPerTFP_

int trackerDTC::Setup::numDTCsPerTFP_
private

Definition at line 812 of file Setup.h.

Referenced by calculateConstants(), checkTFPIdentifier(), and numDTCsPerTFP().

◆ numFrames_

int trackerDTC::Setup::numFrames_
private

Definition at line 759 of file Setup.h.

Referenced by calculateConstants(), and numFrames().

◆ numFramesFE_

int trackerDTC::Setup::numFramesFE_
private

Definition at line 763 of file Setup.h.

Referenced by calculateConstants(), and numFramesFE().

◆ numFramesInfra_

int trackerDTC::Setup::numFramesInfra_
private

Definition at line 561 of file Setup.h.

Referenced by calculateConstants().

◆ numFramesIO_

int trackerDTC::Setup::numFramesIO_
private

Definition at line 761 of file Setup.h.

Referenced by calculateConstants(), and numFramesIO().

◆ numLayers_

int trackerDTC::Setup::numLayers_
private

Definition at line 500 of file Setup.h.

Referenced by calculateConstants(), and numLayers().

◆ numModules_

int trackerDTC::Setup::numModules_
private

Definition at line 814 of file Setup.h.

Referenced by calculateConstants(), numModules(), and produceSensorModules().

◆ numModulesPerDTC_

int trackerDTC::Setup::numModulesPerDTC_
private

Definition at line 615 of file Setup.h.

Referenced by calculateConstants(), encodeLayerId(), numModulesPerDTC(), and produceSensorModules().

◆ numOverlappingRegions_

int trackerDTC::Setup::numOverlappingRegions_
private

Definition at line 609 of file Setup.h.

Referenced by calculateConstants(), dtcId(), numOverlappingRegions(), and ttDTC().

◆ numRegions_

int trackerDTC::Setup::numRegions_
private

◆ numSectorsEta_

int trackerDTC::Setup::numSectorsEta_
private

Definition at line 638 of file Setup.h.

Referenced by calculateConstants(), and numSectorsEta().

◆ numSectorsPhi_

int trackerDTC::Setup::numSectorsPhi_
private

Definition at line 636 of file Setup.h.

Referenced by calculateConstants(), numSectorsPhi(), and stubPos().

◆ numTiltedLayerRings_

std::vector<double> trackerDTC::Setup::numTiltedLayerRings_
private

Definition at line 746 of file Setup.h.

Referenced by consumeStubAlgorithm(), and numTiltedLayerRing().

◆ offsetDetIdDSV_

int trackerDTC::Setup::offsetDetIdDSV_
private

Definition at line 625 of file Setup.h.

Referenced by offsetDetIdDSV(), and stubPos().

◆ offsetDetIdTP_

int trackerDTC::Setup::offsetDetIdTP_
private

Definition at line 627 of file Setup.h.

Referenced by offsetDetIdTP(), and produceSensorModules().

◆ offsetLayerDisks_

int trackerDTC::Setup::offsetLayerDisks_
private

Definition at line 629 of file Setup.h.

Referenced by encodeLayerId(), and offsetLayerDisks().

◆ offsetLayerId_

int trackerDTC::Setup::offsetLayerId_
private

Definition at line 631 of file Setup.h.

Referenced by offsetLayerId(), and stubPos().

◆ outerRadius_

double trackerDTC::Setup::outerRadius_
private

Definition at line 577 of file Setup.h.

Referenced by calculateConstants().

◆ phGeometryConfiguration_

std::string trackerDTC::Setup::phGeometryConfiguration_
private

Definition at line 474 of file Setup.h.

Referenced by checkHistory().

◆ phTTStubAlgorithm_

std::string trackerDTC::Setup::phTTStubAlgorithm_
private

Definition at line 476 of file Setup.h.

Referenced by checkHistory().

◆ pSetDR_

edm::ParameterSet trackerDTC::Setup::pSetDR_
private

Definition at line 724 of file Setup.h.

◆ pSetDTC_

edm::ParameterSet trackerDTC::Setup::pSetDTC_
private

Definition at line 605 of file Setup.h.

◆ pSetFE_

edm::ParameterSet trackerDTC::Setup::pSetFE_
private

Definition at line 586 of file Setup.h.

◆ pSetFW_

edm::ParameterSet trackerDTC::Setup::pSetFW_
private

Definition at line 559 of file Setup.h.

◆ pSetGC_

const edm::ParameterSet* trackerDTC::Setup::pSetGC_
private

Definition at line 451 of file Setup.h.

Referenced by checkGeometry().

◆ pSetGP_

edm::ParameterSet trackerDTC::Setup::pSetGP_
private

Definition at line 634 of file Setup.h.

◆ pSetHT_

edm::ParameterSet trackerDTC::Setup::pSetHT_
private

Definition at line 649 of file Setup.h.

◆ pSetHybrid_

edm::ParameterSet trackerDTC::Setup::pSetHybrid_
private

Definition at line 509 of file Setup.h.

◆ pSetIdGeometryConfiguration_

edm::ParameterSetID trackerDTC::Setup::pSetIdGeometryConfiguration_
private

Definition at line 455 of file Setup.h.

Referenced by checkHistory().

◆ pSetIdTTStubAlgorithm_

edm::ParameterSetID trackerDTC::Setup::pSetIdTTStubAlgorithm_
private

Definition at line 453 of file Setup.h.

Referenced by checkHistory().

◆ pSetKF_

edm::ParameterSet trackerDTC::Setup::pSetKF_
private

Definition at line 680 of file Setup.h.

◆ pSetMHT_

edm::ParameterSet trackerDTC::Setup::pSetMHT_
private

Definition at line 660 of file Setup.h.

◆ pSetPH_

edm::ParameterSet trackerDTC::Setup::pSetPH_
private

Definition at line 472 of file Setup.h.

◆ pSetSA_

const edm::ParameterSet* trackerDTC::Setup::pSetSA_
private

Definition at line 449 of file Setup.h.

Referenced by consumeStubAlgorithm().

◆ pSetSF_

edm::ParameterSet trackerDTC::Setup::pSetSF_
private

Definition at line 671 of file Setup.h.

◆ pSetSG_

edm::ParameterSet trackerDTC::Setup::pSetSG_
private

Definition at line 461 of file Setup.h.

◆ pSetTF_

edm::ParameterSet trackerDTC::Setup::pSetTF_
private

Definition at line 479 of file Setup.h.

◆ pSetTMTT_

edm::ParameterSet trackerDTC::Setup::pSetTMTT_
private

Definition at line 492 of file Setup.h.

◆ pSetTP_

edm::ParameterSet trackerDTC::Setup::pSetTP_
private

Definition at line 544 of file Setup.h.

◆ sensorModules_

std::vector<SensorModule> trackerDTC::Setup::sensorModules_
private

Definition at line 834 of file Setup.h.

Referenced by produceSensorModules().

◆ sfBaseCot_

double trackerDTC::Setup::sfBaseCot_
private

Definition at line 882 of file Setup.h.

Referenced by calculateConstants(), and sfBaseCot().

◆ sfBaseDiffZ_

int trackerDTC::Setup::sfBaseDiffZ_
private

Definition at line 675 of file Setup.h.

Referenced by calculateConstants().

◆ sfBaseZT_

double trackerDTC::Setup::sfBaseZT_
private

Definition at line 884 of file Setup.h.

Referenced by calculateConstants(), and sfBaseZT().

◆ sfMinLayers_

int trackerDTC::Setup::sfMinLayers_
private

Definition at line 677 of file Setup.h.

Referenced by sfMinLayers().

◆ sfPowerBaseCot_

int trackerDTC::Setup::sfPowerBaseCot_
private

Definition at line 673 of file Setup.h.

Referenced by calculateConstants().

◆ sgXMLFile_

std::string trackerDTC::Setup::sgXMLFile_
private

Definition at line 467 of file Setup.h.

Referenced by checkGeometry().

◆ sgXMLLabel_

std::string trackerDTC::Setup::sgXMLLabel_
private

Definition at line 463 of file Setup.h.

Referenced by checkGeometry().

◆ sgXMLPath_

std::string trackerDTC::Setup::sgXMLPath_
private

Definition at line 465 of file Setup.h.

Referenced by checkGeometry().

◆ sgXMLVersions_

std::vector<std::string> trackerDTC::Setup::sgXMLVersions_
private

Definition at line 469 of file Setup.h.

Referenced by checkGeometry().

◆ speedOfLight_

double trackerDTC::Setup::speedOfLight_
private

Definition at line 571 of file Setup.h.

Referenced by calculateConstants().

◆ stubAlgorithm_

const StubAlgorithmOfficial* trackerDTC::Setup::stubAlgorithm_
private

Definition at line 447 of file Setup.h.

Referenced by encodeBend().

◆ tmpFE_

int trackerDTC::Setup::tmpFE_
private

Definition at line 567 of file Setup.h.

Referenced by calculateConstants().

◆ tmpTFP_

int trackerDTC::Setup::tmpTFP_
private

Definition at line 569 of file Setup.h.

Referenced by calculateConstants().

◆ tpMaxD0_

double trackerDTC::Setup::tpMaxD0_
private

Definition at line 552 of file Setup.h.

Referenced by tpMaxD0().

◆ tpMaxEta_

double trackerDTC::Setup::tpMaxEta_
private

Definition at line 546 of file Setup.h.

Referenced by tpMaxEta().

◆ tpMaxVertR_

double trackerDTC::Setup::tpMaxVertR_
private

Definition at line 548 of file Setup.h.

Referenced by tpMaxVertR().

◆ tpMaxVertZ_

double trackerDTC::Setup::tpMaxVertZ_
private

Definition at line 550 of file Setup.h.

Referenced by tpMaxVertZ().

◆ tpMinLayers_

int trackerDTC::Setup::tpMinLayers_
private

Definition at line 554 of file Setup.h.

Referenced by tpMinLayers().

◆ tpMinLayersPS_

int trackerDTC::Setup::tpMinLayersPS_
private

Definition at line 556 of file Setup.h.

Referenced by tpMinLayersPS().

◆ trackerGeometry_

const TrackerGeometry* trackerDTC::Setup::trackerGeometry_
private

Definition at line 441 of file Setup.h.

Referenced by produceSensorModules(), stubPos(), and trackerGeometry().

◆ trackerTopology_

const TrackerTopology* trackerDTC::Setup::trackerTopology_
private

Definition at line 443 of file Setup.h.

Referenced by encodeLayerId(), produceSensorModules(), stubPos(), and trackerTopology().

◆ unMatchedStubs_

int trackerDTC::Setup::unMatchedStubs_
private

Definition at line 487 of file Setup.h.

◆ unMatchedStubsPS_

int trackerDTC::Setup::unMatchedStubsPS_
private

Definition at line 489 of file Setup.h.

◆ widthBend_

int trackerDTC::Setup::widthBend_
private

Definition at line 588 of file Setup.h.

Referenced by widthBend().

◆ widthChiPhi_

int trackerDTC::Setup::widthChiPhi_
private

Definition at line 860 of file Setup.h.

Referenced by calculateConstants(), and widthChiPhi().

◆ widthChiZ_

int trackerDTC::Setup::widthChiZ_
private

Definition at line 851 of file Setup.h.

Referenced by calculateConstants(), and widthChiZ().

◆ widthCol_

int trackerDTC::Setup::widthCol_
private

Definition at line 590 of file Setup.h.

Referenced by widthCol().

◆ widthLayer_

int trackerDTC::Setup::widthLayer_
private

Definition at line 772 of file Setup.h.

Referenced by calculateConstants(), stubPos(), and widthLayer().

◆ widthPhi_

int trackerDTC::Setup::widthPhi_
private

Definition at line 504 of file Setup.h.

Referenced by calculateConstants(), and widthPhi().

◆ widthPhiDTC_

int trackerDTC::Setup::widthPhiDTC_
private

Definition at line 826 of file Setup.h.

Referenced by calculateConstants(), stubPos(), and widthPhiDTC().

◆ widthR_

int trackerDTC::Setup::widthR_
private

Definition at line 502 of file Setup.h.

Referenced by calculateConstants(), stubPos(), and widthR().

◆ widthRow_

int trackerDTC::Setup::widthRow_
private

Definition at line 592 of file Setup.h.

Referenced by calculateConstants(), and widthRow().

◆ widthSectorEta_

int trackerDTC::Setup::widthSectorEta_
private

Definition at line 849 of file Setup.h.

Referenced by calculateConstants(), stubPos(), and widthSectorEta().

◆ widthZ_

int trackerDTC::Setup::widthZ_
private

Definition at line 506 of file Setup.h.

Referenced by calculateConstants(), stubPos(), and widthZ().

◆ windowSizeBarrelLayers_

std::vector<double> trackerDTC::Setup::windowSizeBarrelLayers_
private

Definition at line 748 of file Setup.h.

Referenced by consumeStubAlgorithm(), and windowSizeBarrelLayer().

◆ windowSizeEndcapDisksRings_

std::vector<std::vector<double> > trackerDTC::Setup::windowSizeEndcapDisksRings_
private

Definition at line 752 of file Setup.h.

Referenced by consumeStubAlgorithm(), and windowSizeEndcapDisksRing().

◆ windowSizeTiltedLayerRings_

std::vector<std::vector<double> > trackerDTC::Setup::windowSizeTiltedLayerRings_
private

Definition at line 750 of file Setup.h.

Referenced by consumeStubAlgorithm(), and windowSizeTiltedLayerRing().