CMS 3D CMS Logo

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

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

#include <Setup.h>

Public Member Functions

bool barrel (const TTStubRef &ttStubRef) const
 
double baseBend () const
 
double baseCol () const
 
double baseRegion () const
 
double baseRow () const
 
double baseSector () const
 
double baseWindowSize () const
 
double beamWindowZ () const
 
double bendCut () const
 
double bField () const
 
double boundarieEta (int eta) const
 
std::vector< double > boundarieEta () const
 
void checkHistory (const edm::ProcessHistory &processHistory) const
 
double chosenRofPhi () const
 
double chosenRofZ () const
 
bool configurationSupported () const
 
double dPhi (const TTStubRef &ttStubRef, double inv2R) const
 
int drDepthMemory () const
 
double dtcBaseInv2R () const
 
double dtcBaseM () 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 dtcNumStreams () const
 
int dtcWidthInv2R () const
 
int dtcWidthM () const
 
int dtcWidthRowLUT () const
 
double dZ (const TTStubRef &ttStubRef, double cot) const
 
const std::vector< double > & encodingBend (int windowSize, bool psModule) const
 
bool gbps10 (int dtcId) const
 
int gpDepthMemory () const
 
double halfLength () const
 
int htDepthMemory () const
 
int htMinLayers () const
 
int htNumBinsInv2R () const
 
int htNumBinsPhiT () 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 hybridMinPtCand () const
 
double hybridMinPtStub () const
 
int hybridNumLayers () const
 
int hybridNumRingsPS (int layerId) const
 
int hybridNumUnusedBits (SensorModule::Type type) const
 
double hybridRangePhi () const
 
double hybridRangeR () const
 
int hybridWidthAlpha (SensorModule::Type type) const
 
int hybridWidthBend (SensorModule::Type type) const
 
int hybridWidthLayerId () const
 
int hybridWidthPhi (SensorModule::Type type) const
 
int hybridWidthR (SensorModule::Type type) const
 
int hybridWidthZ (SensorModule::Type type) const
 
int indexLayerId (const TTStubRef &ttStubRef) const
 
double innerRadius () const
 
double invPtToDphi () const
 
int kfinShiftRangePhi () const
 
int kfinShiftRangeZ () const
 
int kfMaxLayers () const
 
int kfMinLayers () const
 
int kfNumWorker () const
 
std::vector< double > kfoutchi2rphiBins () const
 
int kfoutchi2rphiConv () const
 
std::vector< double > kfoutchi2rzBins () const
 
int kfoutchi2rzConv () const
 
double kfRangeFactor () const
 
int layerId (const TTStubRef &ttStubRef) const
 
TTBV layerMap (const std::vector< int > &ints) const
 
TTBV layerMap (const TTBV &hitPattern, const std::vector< int > &ints) const
 
std::vector< int > layerMap (const TTBV &hitPattern, const TTBV &ttBV) const
 
std::vector< int > layerMap (const TTBV &ttBV) const
 
double length2S () const
 
double lengthPS () const
 
double maxCot () const
 
double maxdPhi () const
 
double maxdZ () const
 
double maxEta () const
 
double maxLength () const
 
double maxZT () const
 
int mhtMinLayers () const
 
int mhtNumBinsInv2R () const
 
int mhtNumBinsPhiT () const
 
int mhtNumCells () const
 
int mhtNumDLBChannel () const
 
int mhtNumDLBNodes () const
 
int mhtNumDLBs () const
 
double minPt () const
 
double neededRangeChiZ () const
 
int numATCASlots () const
 
int numBarrelLayer () const
 
int numDTCs () const
 
int numDTCsPerRegion () const
 
int numDTCsPerTFP () const
 
int numFrames () const
 
int numFramesFE () const
 
int numFramesInfra () const
 
int numFramesIO () const
 
int numLayers () const
 
int numModules () const
 
int numModulesPerDTC () const
 
int numOverlappingRegions () const
 
int numRegions () const
 
int numSectors () const
 
int numSectorsEta () const
 
int numSectorsPhi () const
 
double numTiltedLayerRing (int layerId) const
 
int offsetDetIdDSV () const
 
int offsetDetIdTP () const
 
int offsetLayerDisks () const
 
int offsetLayerId () const
 
double outerRadius () const
 
double pitch2S () const
 
double pitchPS () const
 
double psDiskLimitR (int layer) const
 
bool psModule (int dtcId) const
 
bool psModule (const TTStubRef &ttStubRef) const
 
bool reconstructable (const std::vector< TTStubRef > &ttStubRefs) const
 
double scattering () const
 
double sectorCot (int eta) const
 
SensorModulesensorModule (const DetId &detId) const
 
const std::vector< SensorModule > & sensorModules () 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)
 
bool side (int dtcId) const
 
int slot (int dtcId) const
 
GlobalPoint stubPos (const TTStubRef &ttStubRef) const
 
GlobalPoint stubPos (bool hybrid, const tt::FrameStub &frame, int region) const
 
double stubR (const TTBV &hw, const TTStubRef &ttStubRef) const
 
double tbInnerRadius () const
 
int tfpNumChannel () const
 
int tfpWidthCot () const
 
int tfpWidthInv2R () const
 
int tfpWidthPhi0 () const
 
int tfpWidthZ0 () const
 
double tiltApproxIntercept () const
 
double tiltApproxSlope () const
 
double tiltedLayerLimitZ (int layer) const
 
double tiltUncertaintyR () const
 
int tkLayoutId (int dtcId) const
 
double tmttBaseInv2R () const
 
double tmttBasePhi () const
 
double tmttBasePhiT () const
 
double tmttBaseR () const
 
double tmttBaseZ () const
 
int tmttNumUnusedBits () const
 
int tmttWidthInv2R () const
 
int tmttWidthLayer () const
 
int tmttWidthPhi () const
 
int tmttWidthR () const
 
int tmttWidthSectorEta () const
 
int tmttWidthZ () const
 
int tpMaxBadStubs2S () const
 
int tpMaxBadStubsPS () const
 
double tpMaxD0 () const
 
double tpMaxEta () const
 
double tpMaxVertR () const
 
double tpMaxVertZ () const
 
int tpMinLayers () const
 
int tpMinLayersPS () const
 
double tpMinPt () const
 
const TrackerGeometrytrackerGeometry () const
 
const TrackerTopologytrackerTopology () const
 
int trackletLayerId (const TTStubRef &ttStubRef) const
 
TTDTC ttDTC () const
 
int tttrackBits () const
 
SensorModule::Type type (const TTStubRef &ttStubRef) const
 
bool useForAlgEff (const TrackingParticle &tp) const
 
bool useForReconstructable (const TrackingParticle &tp) const
 
double v0 (const TTStubRef &ttStubRef, double inv2R) const
 
double v1 (const TTStubRef &ttStubRef, double cot) const
 
int weightBinFraction () const
 
int widthAddrBRAM18 () const
 
int widthAddrBRAM36 () const
 
int widthBend () const
 
int widthCol () const
 
int widthDSPa () const
 
int widthDSPab () const
 
int widthDSPau () const
 
int widthDSPb () const
 
int widthDSPbb () const
 
int widthDSPbu () const
 
int widthDSPc () const
 
int widthDSPcb () const
 
int widthDSPcu () const
 
int widthRow () const
 
double windowSizeBarrelLayer (int layerId) const
 
double windowSizeEndcapDisksRing (int layerId, int ring) const
 
double windowSizeTiltedLayerRing (int layerId, int ring) const
 
int zhtMaxStubsPerLayer () const
 
int zhtMaxTracks () const
 
int zhtMinLayers () const
 
int zhtNumBinsCot () const
 
int zhtNumBinsZT () const
 
int zhtNumCells () const
 
int zhtNumStages () 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 configureTPSelector ()
 
void consumeStubAlgorithm ()
 
std::string dumpDiff (const edm::ParameterSet &pSetHistory, const edm::ParameterSet &pSetProcess) const
 
void encodeBend (std::vector< std::vector< double >> &, bool) const
 
void produceSensorModules ()
 

Private Attributes

double baseBend_
 
double baseCol_
 
double baseRegion_
 
double baseRow_
 
double baseSector_
 
double baseWindowSize_
 
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_
 
int drDepthMemory_
 
double dtcBaseInv2R_
 
double dtcBaseM_
 
int dtcDepthMemory_
 
std::vector< std::vector< SensorModule * > > dtcModules_
 
int dtcNumMergedRows_
 
int dtcNumModulesPerRoutingBlock_
 
int dtcNumRoutingBlocks_
 
int dtcNumStreams_
 
int dtcNumUnusedBits_
 
int dtcWidthInv2R_
 
int dtcWidthM_
 
int dtcWidthRowLUT_
 
std::vector< std::vector< double > > encodingsBend2S_
 
std::vector< std::vector< double > > encodingsBendPS_
 
double freqBE_
 
double freqLHC_
 
bool fromDD4hep_
 
int gpDepthMemory_
 
int gpNumUnusedBits_
 
double halfLength_
 
int htDepthMemory_
 
int htMinLayers_
 
int htNumBinsInv2R_
 
int htNumBinsPhiT_
 
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 hybridMinPtCand_
 
double hybridMinPtStub_
 
int hybridNumLayers_
 
std::vector< int > hybridNumRingsPS_
 
std::vector< int > hybridNumsUnusedBits_
 
double hybridRangePhi_
 
std::vector< double > hybridRangesAlpha_
 
std::vector< double > hybridRangesR_
 
std::vector< double > hybridRangesZ_
 
int hybridWidthLayerId_
 
std::vector< int > hybridWidthsAlpha_
 
std::vector< int > hybridWidthsBend_
 
std::vector< int > hybridWidthsPhi_
 
std::vector< int > hybridWidthsR_
 
std::vector< int > hybridWidthsZ_
 
double innerRadius_
 
double invPtToDphi_
 
int kfinShiftRangePhi_
 
int kfinShiftRangeZ_
 
int kfMaxLayers_
 
int kfMinLayers_
 
int kfNumWorker_
 
std::vector< double > kfoutchi2rphiBins_
 
int kfoutchi2rphiConv_
 
std::vector< double > kfoutchi2rzBins_
 
int kfoutchi2rzConv_
 
std::vector< int > kfoutdPhiBins_
 
std::vector< int > kfoutdZBins_
 
std::vector< int > kfoutv0Bins_
 
std::vector< int > kfoutv1Bins_
 
double kfRangeFactor_
 
int kfWidthLayerCount_
 
double length2S_
 
double lengthPS_
 
const MagneticFieldmagneticField_
 
int matchedLayers_
 
int matchedLayersPS_
 
double maxCot_
 
double maxdPhi_
 
double maxdZ_
 
double maxEta_
 
double maxLength_
 
double maxPitch_
 
int maxWindowSize_
 
double maxZT_
 
int mhtMinLayers_
 
int mhtNumBinsInv2R_
 
int mhtNumBinsPhiT_
 
int mhtNumCells_
 
int mhtNumDLBChannel_
 
int mhtNumDLBNodes_
 
int mhtNumDLBs_
 
double mindPhi_
 
double mindZ_
 
double minPt_
 
double neededRangeChiZ_
 
int numATCASlots_
 
int numBarrelLayer_
 
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 numSectors_
 
int numSectorsEta_
 
int numSectorsPhi_
 
std::vector< double > numTiltedLayerRings_
 
int offsetDetIdDSV_
 
int offsetDetIdTP_
 
int offsetLayerDisks_
 
int offsetLayerId_
 
double outerRadius_
 
std::string phGeometryConfiguration_
 
std::string phTTStubAlgorithm_
 
double pitch2S_
 
double pitchPS_
 
std::vector< double > psDiskLimitsR_
 
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 pSetKFin_
 
edm::ParameterSet pSetKFOut_
 
edm::ParameterSet pSetMHT_
 
edm::ParameterSet pSetPH_
 
const edm::ParameterSetpSetSA_
 
edm::ParameterSet pSetSG_
 
edm::ParameterSet pSetTF_
 
edm::ParameterSet pSetTFP_
 
edm::ParameterSet pSetTMTT_
 
edm::ParameterSet pSetTP_
 
edm::ParameterSet pSetZHT_
 
double scattering_
 
std::vector< double > sectorCots_
 
std::vector< SensorModulesensorModules_
 
std::string sgXMLFile_
 
std::string sgXMLLabel_
 
std::string sgXMLPath_
 
std::vector< std::string > sgXMLVersions_
 
int slotLimit10gbps_
 
int slotLimitPS_
 
double speedOfLight_
 
const StubAlgorithmOfficialstubAlgorithm_
 
double tbInnerRadius_
 
int tfpNumChannel_
 
int tfpWidthCot_
 
int tfpWidthInv2R_
 
int tfpWidthPhi0_
 
int tfpWidthZ0_
 
double tiltApproxIntercept_
 
double tiltApproxSlope_
 
std::vector< double > tiltedLayerLimitsZ_
 
double tiltUncertaintyR_
 
int tmpFE_
 
int tmpTFP_
 
double tmttBaseInv2R_
 
double tmttBasePhi_
 
double tmttBasePhiT_
 
double tmttBaseR_
 
double tmttBaseZ_
 
int tmttNumUnusedBits_
 
int tmttWidthInv2R_
 
int tmttWidthLayer_
 
int tmttWidthPhi_
 
int tmttWidthR_
 
int tmttWidthSectorEta_
 
int tmttWidthZ_
 
int tpMaxBadStubs2S_
 
int tpMaxBadStubsPS_
 
double tpMaxD0_
 
double tpMaxEta_
 
double tpMaxVertR_
 
double tpMaxVertZ_
 
int tpMinLayers_
 
int tpMinLayersPS_
 
double tpMinPt_
 
TrackingParticleSelector tpSelector_
 
TrackingParticleSelector tpSelectorLoose_
 
const TrackerGeometrytrackerGeometry_
 
const TrackerTopologytrackerTopology_
 
int tttrackBits_
 
int unMatchedStubs_
 
int unMatchedStubsPS_
 
int weightBinFraction_
 
int widthAddrBRAM18_
 
int widthAddrBRAM36_
 
int widthBend_
 
int widthCol_
 
int widthDSPa_
 
int widthDSPab_
 
int widthDSPau_
 
int widthDSPb_
 
int widthDSPbb_
 
int widthDSPbu_
 
int widthDSPc_
 
int widthDSPcb_
 
int widthDSPcu_
 
int widthLayerId_
 
int widthRow_
 
std::vector< double > windowSizeBarrelLayers_
 
std::vector< std::vector< double > > windowSizeEndcapDisksRings_
 
std::vector< std::vector< double > > windowSizeTiltedLayerRings_
 
int zhtMaxStubsPerLayer_
 
int zhtMaxTracks_
 
int zhtMinLayers_
 
int zhtNumBinsCot_
 
int zhtNumBinsZT_
 
int zhtNumCells_
 
int zhtNumStages_
 

Detailed Description

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

Author
Thomas Schuh
Date
2020, Apr

Definition at line 44 of file Setup.h.

Constructor & Destructor Documentation

◆ Setup() [1/2]

tt::Setup::Setup ( )
inline

Definition at line 46 of file Setup.h.

46 {}

◆ Setup() [2/2]

tt::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 20 of file Setup.cc.

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

33  cablingMap_(&cablingMap),
34  stubAlgorithm_(&stubAlgorithm),
35  pSetSA_(&pSetStubAlgorithm),
36  pSetGC_(&pSetGeometryConfiguration),
37  pSetIdTTStubAlgorithm_(pSetIdTTStubAlgorithm),
38  pSetIdGeometryConfiguration_(pSetIdGeometryConfiguration),
39  // DD4hep
40  fromDD4hep_(iConfig.getParameter<bool>("fromDD4hep")),
41  // Parameter to check if configured Tracker Geometry is supported
42  pSetSG_(iConfig.getParameter<ParameterSet>("UnSupportedGeometry")),
43  sgXMLLabel_(pSetSG_.getParameter<string>("XMLLabel")),
44  sgXMLPath_(pSetSG_.getParameter<string>("XMLPath")),
45  sgXMLFile_(pSetSG_.getParameter<string>("XMLFile")),
46  sgXMLVersions_(pSetSG_.getParameter<vector<string>>("XMLVersions")),
47  // Parameter to check if Process History is consistent with process configuration
48  pSetPH_(iConfig.getParameter<ParameterSet>("ProcessHistory")),
49  phGeometryConfiguration_(pSetPH_.getParameter<string>("GeometryConfiguration")),
50  phTTStubAlgorithm_(pSetPH_.getParameter<string>("TTStubAlgorithm")),
51  // Common track finding parameter
52  pSetTF_(iConfig.getParameter<ParameterSet>("TrackFinding")),
53  beamWindowZ_(pSetTF_.getParameter<double>("BeamWindowZ")),
54  matchedLayers_(pSetTF_.getParameter<int>("MatchedLayers")),
55  matchedLayersPS_(pSetTF_.getParameter<int>("MatchedLayersPS")),
56  unMatchedStubs_(pSetTF_.getParameter<int>("UnMatchedStubs")),
57  unMatchedStubsPS_(pSetTF_.getParameter<int>("UnMatchedStubsPS")),
58  scattering_(pSetTF_.getParameter<double>("Scattering")),
59  // TMTT specific parameter
60  pSetTMTT_(iConfig.getParameter<ParameterSet>("TMTT")),
61  minPt_(pSetTMTT_.getParameter<double>("MinPt")),
62  maxEta_(pSetTMTT_.getParameter<double>("MaxEta")),
63  chosenRofPhi_(pSetTMTT_.getParameter<double>("ChosenRofPhi")),
64  numLayers_(pSetTMTT_.getParameter<int>("NumLayers")),
65  tmttWidthR_(pSetTMTT_.getParameter<int>("WidthR")),
66  tmttWidthPhi_(pSetTMTT_.getParameter<int>("WidthPhi")),
67  tmttWidthZ_(pSetTMTT_.getParameter<int>("WidthZ")),
68  // Hybrid specific parameter
69  pSetHybrid_(iConfig.getParameter<ParameterSet>("Hybrid")),
70  hybridMinPtStub_(pSetHybrid_.getParameter<double>("MinPtStub")),
71  hybridMinPtCand_(pSetHybrid_.getParameter<double>("MinPtCand")),
72  hybridMaxEta_(pSetHybrid_.getParameter<double>("MaxEta")),
73  hybridChosenRofPhi_(pSetHybrid_.getParameter<double>("ChosenRofPhi")),
74  hybridNumLayers_(pSetHybrid_.getParameter<int>("NumLayers")),
75  hybridNumRingsPS_(pSetHybrid_.getParameter<vector<int>>("NumRingsPS")),
76  hybridWidthsR_(pSetHybrid_.getParameter<vector<int>>("WidthsR")),
77  hybridWidthsZ_(pSetHybrid_.getParameter<vector<int>>("WidthsZ")),
78  hybridWidthsPhi_(pSetHybrid_.getParameter<vector<int>>("WidthsPhi")),
79  hybridWidthsAlpha_(pSetHybrid_.getParameter<vector<int>>("WidthsAlpha")),
80  hybridWidthsBend_(pSetHybrid_.getParameter<vector<int>>("WidthsBend")),
81  hybridRangesR_(pSetHybrid_.getParameter<vector<double>>("RangesR")),
82  hybridRangesZ_(pSetHybrid_.getParameter<vector<double>>("RangesZ")),
83  hybridRangesAlpha_(pSetHybrid_.getParameter<vector<double>>("RangesAlpha")),
84  hybridLayerRs_(pSetHybrid_.getParameter<vector<double>>("LayerRs")),
85  hybridDiskZs_(pSetHybrid_.getParameter<vector<double>>("DiskZs")),
86  hybridDisk2SRsSet_(pSetHybrid_.getParameter<vector<ParameterSet>>("Disk2SRsSet")),
87  tbInnerRadius_(pSetHybrid_.getParameter<double>("InnerRadius")),
88  // Parameter specifying TrackingParticle used for Efficiency measurements
89  pSetTP_(iConfig.getParameter<ParameterSet>("TrackingParticle")),
90  tpMinPt_(pSetTP_.getParameter<double>("MinPt")),
91  tpMaxEta_(pSetTP_.getParameter<double>("MaxEta")),
92  tpMaxVertR_(pSetTP_.getParameter<double>("MaxVertR")),
93  tpMaxVertZ_(pSetTP_.getParameter<double>("MaxVertZ")),
94  tpMaxD0_(pSetTP_.getParameter<double>("MaxD0")),
95  tpMinLayers_(pSetTP_.getParameter<int>("MinLayers")),
96  tpMinLayersPS_(pSetTP_.getParameter<int>("MinLayersPS")),
97  tpMaxBadStubs2S_(pSetTP_.getParameter<int>("MaxBadStubs2S")),
98  tpMaxBadStubsPS_(pSetTP_.getParameter<int>("MaxBadStubsPS")),
99  // Fimrware specific Parameter
100  pSetFW_(iConfig.getParameter<ParameterSet>("Firmware")),
101  widthDSPa_(pSetFW_.getParameter<int>("WidthDSPa")),
102  widthDSPb_(pSetFW_.getParameter<int>("WidthDSPb")),
103  widthDSPc_(pSetFW_.getParameter<int>("WidthDSPc")),
104  widthAddrBRAM36_(pSetFW_.getParameter<int>("WidthAddrBRAM36")),
105  widthAddrBRAM18_(pSetFW_.getParameter<int>("WidthAddrBRAM18")),
106  numFramesInfra_(pSetFW_.getParameter<int>("NumFramesInfra")),
107  freqLHC_(pSetFW_.getParameter<double>("FreqLHC")),
108  freqBE_(pSetFW_.getParameter<double>("FreqBE")),
109  tmpFE_(pSetFW_.getParameter<int>("TMP_FE")),
110  tmpTFP_(pSetFW_.getParameter<int>("TMP_TFP")),
111  speedOfLight_(pSetFW_.getParameter<double>("SpeedOfLight")),
112  bField_(pSetFW_.getParameter<double>("BField")),
113  bFieldError_(pSetFW_.getParameter<double>("BFieldError")),
114  outerRadius_(pSetFW_.getParameter<double>("OuterRadius")),
115  innerRadius_(pSetFW_.getParameter<double>("InnerRadius")),
116  halfLength_(pSetFW_.getParameter<double>("HalfLength")),
117  tiltApproxSlope_(pSetFW_.getParameter<double>("TiltApproxSlope")),
118  tiltApproxIntercept_(pSetFW_.getParameter<double>("TiltApproxIntercept")),
119  tiltUncertaintyR_(pSetFW_.getParameter<double>("TiltUncertaintyR")),
120  mindPhi_(pSetFW_.getParameter<double>("MindPhi")),
121  maxdPhi_(pSetFW_.getParameter<double>("MaxdPhi")),
122  mindZ_(pSetFW_.getParameter<double>("MindZ")),
123  maxdZ_(pSetFW_.getParameter<double>("MaxdZ")),
124  pitch2S_(pSetFW_.getParameter<double>("Pitch2S")),
125  pitchPS_(pSetFW_.getParameter<double>("PitchPS")),
126  length2S_(pSetFW_.getParameter<double>("Length2S")),
127  lengthPS_(pSetFW_.getParameter<double>("LengthPS")),
128  tiltedLayerLimitsZ_(pSetFW_.getParameter<vector<double>>("TiltedLayerLimitsZ")),
129  psDiskLimitsR_(pSetFW_.getParameter<vector<double>>("PSDiskLimitsR")),
130  // Parmeter specifying front-end
131  pSetFE_(iConfig.getParameter<ParameterSet>("FrontEnd")),
132  widthBend_(pSetFE_.getParameter<int>("WidthBend")),
133  widthCol_(pSetFE_.getParameter<int>("WidthCol")),
134  widthRow_(pSetFE_.getParameter<int>("WidthRow")),
135  baseBend_(pSetFE_.getParameter<double>("BaseBend")),
136  baseCol_(pSetFE_.getParameter<double>("BaseCol")),
137  baseRow_(pSetFE_.getParameter<double>("BaseRow")),
138  baseWindowSize_(pSetFE_.getParameter<double>("BaseWindowSize")),
139  bendCut_(pSetFE_.getParameter<double>("BendCut")),
140  // Parmeter specifying DTC
141  pSetDTC_(iConfig.getParameter<ParameterSet>("DTC")),
142  numRegions_(pSetDTC_.getParameter<int>("NumRegions")),
143  numOverlappingRegions_(pSetDTC_.getParameter<int>("NumOverlappingRegions")),
144  numATCASlots_(pSetDTC_.getParameter<int>("NumATCASlots")),
145  numDTCsPerRegion_(pSetDTC_.getParameter<int>("NumDTCsPerRegion")),
146  numModulesPerDTC_(pSetDTC_.getParameter<int>("NumModulesPerDTC")),
147  dtcNumRoutingBlocks_(pSetDTC_.getParameter<int>("NumRoutingBlocks")),
148  dtcDepthMemory_(pSetDTC_.getParameter<int>("DepthMemory")),
149  dtcWidthRowLUT_(pSetDTC_.getParameter<int>("WidthRowLUT")),
150  dtcWidthInv2R_(pSetDTC_.getParameter<int>("WidthInv2R")),
151  offsetDetIdDSV_(pSetDTC_.getParameter<int>("OffsetDetIdDSV")),
152  offsetDetIdTP_(pSetDTC_.getParameter<int>("OffsetDetIdTP")),
153  offsetLayerDisks_(pSetDTC_.getParameter<int>("OffsetLayerDisks")),
154  offsetLayerId_(pSetDTC_.getParameter<int>("OffsetLayerId")),
155  numBarrelLayer_(pSetDTC_.getParameter<int>("NumBarrelLayer")),
156  slotLimitPS_(pSetDTC_.getParameter<int>("SlotLimitPS")),
157  slotLimit10gbps_(pSetDTC_.getParameter<int>("SlotLimit10gbps")),
158  // Parmeter specifying TFP
159  pSetTFP_(iConfig.getParameter<ParameterSet>("TFP")),
160  tfpWidthPhi0_(pSetTFP_.getParameter<int>("WidthPhi0")),
161  tfpWidthInv2R_(pSetTFP_.getParameter<int>("WidthInv2R")),
162  tfpWidthCot_(pSetTFP_.getParameter<int>("WidthCot")),
163  tfpWidthZ0_(pSetTFP_.getParameter<int>("WidthZ0")),
164  tfpNumChannel_(pSetTFP_.getParameter<int>("NumChannel")),
165  // Parmeter specifying GeometricProcessor
166  pSetGP_(iConfig.getParameter<ParameterSet>("GeometricProcessor")),
167  numSectorsPhi_(pSetGP_.getParameter<int>("NumSectorsPhi")),
168  chosenRofZ_(pSetGP_.getParameter<double>("ChosenRofZ")),
169  neededRangeChiZ_(pSetGP_.getParameter<double>("RangeChiZ")),
170  gpDepthMemory_(pSetGP_.getParameter<int>("DepthMemory")),
171  boundariesEta_(pSetGP_.getParameter<vector<double>>("BoundariesEta")),
172  // Parmeter specifying HoughTransform
173  pSetHT_(iConfig.getParameter<ParameterSet>("HoughTransform")),
174  htNumBinsInv2R_(pSetHT_.getParameter<int>("NumBinsInv2R")),
175  htNumBinsPhiT_(pSetHT_.getParameter<int>("NumBinsPhiT")),
176  htMinLayers_(pSetHT_.getParameter<int>("MinLayers")),
177  htDepthMemory_(pSetHT_.getParameter<int>("DepthMemory")),
178  // Parmeter specifying MiniHoughTransform
179  pSetMHT_(iConfig.getParameter<ParameterSet>("MiniHoughTransform")),
180  mhtNumBinsInv2R_(pSetMHT_.getParameter<int>("NumBinsInv2R")),
181  mhtNumBinsPhiT_(pSetMHT_.getParameter<int>("NumBinsPhiT")),
182  mhtNumDLBs_(pSetMHT_.getParameter<int>("NumDLBs")),
183  mhtNumDLBNodes_(pSetMHT_.getParameter<int>("NumDLBNodes")),
184  mhtNumDLBChannel_(pSetMHT_.getParameter<int>("NumDLBChannel")),
185  mhtMinLayers_(pSetMHT_.getParameter<int>("MinLayers")),
186  // Parmeter specifying ZHoughTransform
187  pSetZHT_(iConfig.getParameter<ParameterSet>("ZHoughTransform")),
188  zhtNumBinsZT_(pSetZHT_.getParameter<int>("NumBinsZT")),
189  zhtNumBinsCot_(pSetZHT_.getParameter<int>("NumBinsCot")),
190  zhtNumStages_(pSetZHT_.getParameter<int>("NumStages")),
191  zhtMinLayers_(pSetZHT_.getParameter<int>("MinLayers")),
192  zhtMaxTracks_(pSetZHT_.getParameter<int>("MaxTracks")),
193  zhtMaxStubsPerLayer_(pSetZHT_.getParameter<int>("MaxStubsPerLayer")),
194  // Parameter specifying KalmanFilter Input Formatter
195  pSetKFin_(iConfig.getParameter<ParameterSet>("KalmanFilterIn")),
196  kfinShiftRangePhi_(pSetKFin_.getParameter<int>("ShiftRangePhi")),
197  kfinShiftRangeZ_(pSetKFin_.getParameter<int>("ShiftRangeZ")),
198  // Parmeter specifying KalmanFilter
199  pSetKF_(iConfig.getParameter<ParameterSet>("KalmanFilter")),
200  kfNumWorker_(pSetKF_.getParameter<int>("NumWorker")),
201  kfMinLayers_(pSetKF_.getParameter<int>("MinLayers")),
202  kfMaxLayers_(pSetKF_.getParameter<int>("MaxLayers")),
203  kfRangeFactor_(pSetKF_.getParameter<double>("RangeFactor")),
204  // Parmeter specifying KalmanFilter Output Formatter
205  pSetKFOut_(iConfig.getParameter<ParameterSet>("KalmanFilterOut")),
206  kfoutchi2rphiBins_(pSetKFOut_.getParameter<vector<double>>("chi2rphiBins")),
207  kfoutchi2rzBins_(pSetKFOut_.getParameter<vector<double>>("chi2rzBins")),
208  kfoutchi2rphiConv_(pSetKFOut_.getParameter<int>("chi2rphiConv")),
209  kfoutchi2rzConv_(pSetKFOut_.getParameter<int>("chi2rzConv")),
210  tttrackBits_(pSetKFOut_.getParameter<int>("TTTrackBits")),
211  weightBinFraction_(pSetKFOut_.getParameter<int>("WeightBinFraction")),
212  // Parmeter specifying DuplicateRemoval
213  pSetDR_(iConfig.getParameter<ParameterSet>("DuplicateRemoval")),
214  drDepthMemory_(pSetDR_.getParameter<int>("DepthMemory")) {
216  // check if bField is supported
218  // check if geometry is supported
219  checkGeometry();
221  return;
222  // derive constants
224  // convert configuration of TTStubAlgorithm
226  // create all possible encodingsBend
227  encodingsBendPS_.reserve(maxWindowSize_ + 1);
228  encodingsBend2S_.reserve(maxWindowSize_ + 1);
231  // create sensor modules
233  // configure TPSelector
235  }
int dtcNumRoutingBlocks_
Definition: Setup.h:787
int offsetLayerDisks_
Definition: Setup.h:799
edm::ParameterSet pSetGP_
Definition: Setup.h:825
std::string phTTStubAlgorithm_
Definition: Setup.h:582
double baseRow_
Definition: Setup.h:768
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
int kfoutchi2rphiConv_
Definition: Setup.h:913
int weightBinFraction_
Definition: Setup.h:919
edm::ParameterSetID pSetIdGeometryConfiguration_
Definition: Setup.h:561
int numLayers_
Definition: Setup.h:608
int dtcWidthInv2R_
Definition: Setup.h:793
int numBarrelLayer_
Definition: Setup.h:803
double tpMaxEta_
Definition: Setup.h:662
void calculateConstants()
Definition: Setup.cc:654
edm::ParameterSet pSetSG_
Definition: Setup.h:567
int tpMinLayers_
Definition: Setup.h:670
int unMatchedStubs_
Definition: Setup.h:593
int zhtMaxTracks_
Definition: Setup.h:876
double lengthPS_
Definition: Setup.h:749
int tmttWidthPhi_
Definition: Setup.h:612
edm::ParameterSet pSetDR_
Definition: Setup.h:922
int dtcDepthMemory_
Definition: Setup.h:789
double hybridMinPtCand_
Definition: Setup.h:621
double halfLength_
Definition: Setup.h:723
double hybridMaxEta_
Definition: Setup.h:623
std::vector< double > tiltedLayerLimitsZ_
Definition: Setup.h:751
std::vector< double > boundariesEta_
Definition: Setup.h:837
double freqLHC_
Definition: Setup.h:705
std::string phGeometryConfiguration_
Definition: Setup.h:580
edm::ParameterSet pSetHybrid_
Definition: Setup.h:617
int offsetLayerId_
Definition: Setup.h:801
int tfpWidthZ0_
Definition: Setup.h:820
edm::ParameterSet pSetTMTT_
Definition: Setup.h:600
std::string sgXMLPath_
Definition: Setup.h:571
edm::ParameterSet pSetTP_
Definition: Setup.h:658
int widthBend_
Definition: Setup.h:758
int kfinShiftRangePhi_
Definition: Setup.h:883
double mindZ_
Definition: Setup.h:739
const TrackerDetToDTCELinkCablingMap * cablingMap_
Definition: Setup.h:551
edm::ParameterSet pSetDTC_
Definition: Setup.h:775
int widthCol_
Definition: Setup.h:760
int tpMaxBadStubs2S_
Definition: Setup.h:674
int slotLimit10gbps_
Definition: Setup.h:809
int mhtNumBinsPhiT_
Definition: Setup.h:855
double bendCut_
Definition: Setup.h:772
int tmttWidthZ_
Definition: Setup.h:614
int htMinLayers_
Definition: Setup.h:846
std::vector< double > hybridRangesAlpha_
Definition: Setup.h:645
double kfRangeFactor_
Definition: Setup.h:896
edm::ParameterSet pSetKFOut_
Definition: Setup.h:899
int tfpWidthInv2R_
Definition: Setup.h:816
int htNumBinsPhiT_
Definition: Setup.h:844
void checkGeometry()
Definition: Setup.cc:390
int widthAddrBRAM36_
Definition: Setup.h:699
int mhtNumDLBs_
Definition: Setup.h:857
int zhtMinLayers_
Definition: Setup.h:874
edm::ParameterSetID pSetIdTTStubAlgorithm_
Definition: Setup.h:559
std::vector< int > hybridWidthsR_
Definition: Setup.h:631
int htNumBinsInv2R_
Definition: Setup.h:842
void produceSensorModules()
Definition: Setup.cc:445
double bField_
Definition: Setup.h:715
int kfNumWorker_
Definition: Setup.h:890
double hybridChosenRofPhi_
Definition: Setup.h:625
int kfMaxLayers_
Definition: Setup.h:894
double tiltApproxIntercept_
Definition: Setup.h:731
std::vector< double > hybridRangesR_
Definition: Setup.h:641
std::vector< double > hybridDiskZs_
Definition: Setup.h:649
int htDepthMemory_
Definition: Setup.h:848
double neededRangeChiZ_
Definition: Setup.h:833
std::vector< double > hybridLayerRs_
Definition: Setup.h:647
const TrackerGeometry * trackerGeometry_
Definition: Setup.h:547
double tpMaxVertZ_
Definition: Setup.h:666
std::string sgXMLLabel_
Definition: Setup.h:569
double baseBend_
Definition: Setup.h:764
edm::ParameterSet pSetMHT_
Definition: Setup.h:851
std::vector< std::vector< double > > encodingsBendPS_
Definition: Setup.h:1032
int numFramesInfra_
Definition: Setup.h:703
int zhtNumBinsCot_
Definition: Setup.h:870
int tpMaxBadStubsPS_
Definition: Setup.h:676
std::vector< int > hybridNumRingsPS_
Definition: Setup.h:629
int matchedLayers_
Definition: Setup.h:589
std::vector< double > hybridRangesZ_
Definition: Setup.h:643
int zhtNumStages_
Definition: Setup.h:872
std::vector< std::string > sgXMLVersions_
Definition: Setup.h:575
int tttrackBits_
Definition: Setup.h:917
double bFieldError_
Definition: Setup.h:717
int widthDSPb_
Definition: Setup.h:687
int tfpWidthPhi0_
Definition: Setup.h:814
double baseCol_
Definition: Setup.h:766
void encodeBend(std::vector< std::vector< double >> &, bool) const
Definition: Setup.cc:435
double tiltUncertaintyR_
Definition: Setup.h:733
double scattering_
Definition: Setup.h:597
double beamWindowZ_
Definition: Setup.h:587
edm::ParameterSet pSetFE_
Definition: Setup.h:756
double maxdPhi_
Definition: Setup.h:737
std::vector< std::vector< double > > encodingsBend2S_
Definition: Setup.h:1034
int numATCASlots_
Definition: Setup.h:781
edm::ParameterSet pSetKFin_
Definition: Setup.h:881
int offsetDetIdDSV_
Definition: Setup.h:795
double length2S_
Definition: Setup.h:747
std::vector< double > kfoutchi2rphiBins_
Definition: Setup.h:909
int widthDSPc_
Definition: Setup.h:693
std::vector< double > psDiskLimitsR_
Definition: Setup.h:753
bool fromDD4hep_
Definition: Setup.h:564
double pitchPS_
Definition: Setup.h:745
double chosenRofZ_
Definition: Setup.h:831
int kfoutchi2rzConv_
Definition: Setup.h:915
int drDepthMemory_
Definition: Setup.h:924
const edm::ParameterSet * pSetGC_
Definition: Setup.h:557
int slotLimitPS_
Definition: Setup.h:807
void consumeStubAlgorithm()
Definition: Setup.cc:416
edm::ParameterSet pSetTF_
Definition: Setup.h:585
double maxEta_
Definition: Setup.h:604
int tmpFE_
Definition: Setup.h:709
int tmttWidthR_
Definition: Setup.h:610
int hybridNumLayers_
Definition: Setup.h:627
int numOverlappingRegions_
Definition: Setup.h:779
std::vector< int > hybridWidthsAlpha_
Definition: Setup.h:637
double speedOfLight_
Definition: Setup.h:713
int tpMinLayersPS_
Definition: Setup.h:672
double maxdZ_
Definition: Setup.h:741
edm::ParameterSet pSetKF_
Definition: Setup.h:888
int widthDSPa_
Definition: Setup.h:681
double outerRadius_
Definition: Setup.h:719
double innerRadius_
Definition: Setup.h:721
double tiltApproxSlope_
Definition: Setup.h:729
std::vector< edm::ParameterSet > hybridDisk2SRsSet_
Definition: Setup.h:651
edm::ParameterSet pSetFW_
Definition: Setup.h:679
int widthAddrBRAM18_
Definition: Setup.h:701
std::vector< int > hybridWidthsZ_
Definition: Setup.h:633
double pitch2S_
Definition: Setup.h:743
int dtcWidthRowLUT_
Definition: Setup.h:791
edm::ParameterSet pSetHT_
Definition: Setup.h:840
edm::ParameterSet pSetTFP_
Definition: Setup.h:812
double freqBE_
Definition: Setup.h:707
int kfinShiftRangeZ_
Definition: Setup.h:885
void checkMagneticField()
Definition: Setup.cc:379
double minPt_
Definition: Setup.h:602
int mhtNumBinsInv2R_
Definition: Setup.h:853
int mhtNumDLBNodes_
Definition: Setup.h:859
int mhtMinLayers_
Definition: Setup.h:863
std::vector< double > kfoutchi2rzBins_
Definition: Setup.h:911
int tmpTFP_
Definition: Setup.h:711
double tpMaxD0_
Definition: Setup.h:668
double baseWindowSize_
Definition: Setup.h:770
int mhtNumDLBChannel_
Definition: Setup.h:861
int zhtMaxStubsPerLayer_
Definition: Setup.h:878
double chosenRofPhi_
Definition: Setup.h:606
int numSectorsPhi_
Definition: Setup.h:827
const StubAlgorithmOfficial * stubAlgorithm_
Definition: Setup.h:553
int tfpNumChannel_
Definition: Setup.h:822
const TrackerTopology * trackerTopology() const
Definition: Setup.h:82
double tpMaxVertR_
Definition: Setup.h:664
int numRegions_
Definition: Setup.h:777
edm::ParameterSet pSetZHT_
Definition: Setup.h:866
int maxWindowSize_
Definition: Setup.h:948
int tfpWidthCot_
Definition: Setup.h:818
int numModulesPerDTC_
Definition: Setup.h:785
int zhtNumBinsZT_
Definition: Setup.h:868
int numDTCsPerRegion_
Definition: Setup.h:783
double mindPhi_
Definition: Setup.h:735
const MagneticField * magneticField_
Definition: Setup.h:545
int unMatchedStubsPS_
Definition: Setup.h:595
edm::ParameterSet pSetPH_
Definition: Setup.h:578
double hybridMinPtStub_
Definition: Setup.h:619
int widthRow_
Definition: Setup.h:762
std::vector< int > hybridWidthsPhi_
Definition: Setup.h:635
const edm::ParameterSet * pSetSA_
Definition: Setup.h:555
int kfMinLayers_
Definition: Setup.h:892
void configureTPSelector()
Definition: Setup.cc:488
double tpMinPt_
Definition: Setup.h:660
const TrackerGeometry * trackerGeometry() const
Definition: Setup.h:80
int gpDepthMemory_
Definition: Setup.h:835
int offsetDetIdTP_
Definition: Setup.h:797
int matchedLayersPS_
Definition: Setup.h:591
const TrackerTopology * trackerTopology_
Definition: Setup.h:549
double tbInnerRadius_
Definition: Setup.h:655
std::string sgXMLFile_
Definition: Setup.h:573
bool configurationSupported_
Definition: Setup.h:931
std::vector< int > hybridWidthsBend_
Definition: Setup.h:639

◆ ~Setup()

tt::Setup::~Setup ( )
inline

Definition at line 57 of file Setup.h.

57 {}

Member Function Documentation

◆ barrel()

bool tt::Setup::barrel ( const TTStubRef ttStubRef) const

Definition at line 524 of file Setup.cc.

References DetId::subdetId(), and StripSubdetector::TOB.

Referenced by trklet::KFin::consume(), indexLayerId(), trklet::KFin::produce(), stubPos(), stubR(), trackletLayerId(), and type().

524  {
525  const DetId& detId = ttStubRef->getDetId();
526  return detId.subdetId() == StripSubdetector::TOB;
527  }
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
Definition: DetId.h:17

◆ baseBend()

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

Definition at line 334 of file Setup.h.

References baseBend_.

334 { return baseBend_; }
double baseBend_
Definition: Setup.h:764

◆ baseCol()

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

Definition at line 336 of file Setup.h.

References baseCol_.

336 { return baseCol_; }
double baseCol_
Definition: Setup.h:766

◆ baseRegion()

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

◆ baseRow()

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

Definition at line 338 of file Setup.h.

References baseRow_.

338 { return baseRow_; }
double baseRow_
Definition: Setup.h:768

◆ baseSector()

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

◆ baseWindowSize()

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

Definition at line 321 of file Setup.h.

References baseWindowSize_.

321 { return baseWindowSize_; }
double baseWindowSize_
Definition: Setup.h:770

◆ beamWindowZ()

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

Definition at line 180 of file Setup.h.

References beamWindowZ_.

Referenced by trklet::KFin::consume(), and trklet::KFin::produce().

180 { return beamWindowZ_; }
double beamWindowZ_
Definition: Setup.h:587

◆ bendCut()

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

Definition at line 340 of file Setup.h.

References bendCut_.

340 { return bendCut_; }
double bendCut_
Definition: Setup.h:772

◆ bField()

double tt::Setup::bField ( ) const
inline

Definition at line 204 of file Setup.h.

References bField_.

Referenced by trackerTFP::TrackKF::ttTrack().

204 { return bField_; }
double bField_
Definition: Setup.h:715

◆ boundarieEta() [1/2]

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

◆ boundarieEta() [2/2]

std::vector<double> tt::Setup::boundarieEta ( ) const
inline

Definition at line 418 of file Setup.h.

References boundariesEta_.

418 { return boundariesEta_; }
std::vector< double > boundariesEta_
Definition: Setup.h:837

◆ calculateConstants()

void tt::Setup::calculateConstants ( )
private

Definition at line 654 of file Setup.cc.

References funct::abs(), baseRegion_, baseRow_, baseSector_, bField_, boundariesEta_, reco::ceil(), chosenRofPhi_, chosenRofZ_, tt::SensorModule::Disk2S, disk2SRs_, dtcBaseInv2R_, dtcBaseM_, dtcNumMergedRows_, dtcNumModulesPerRoutingBlock_, dtcNumRoutingBlocks_, dtcNumStreams_, dtcWidthInv2R_, dtcWidthM_, dtcWidthRowLUT_, PVValHelper::eta, freqBE_, freqLHC_, edm::ParameterSet::getParameter(), halfLength_, htNumBinsInv2R_, htNumBinsPhiT_, hybridBasesAlpha_, hybridBasesPhi_, hybridBasesR_, hybridBasesZ_, hybridChosenRofPhi_, hybridDisk2SRsSet_, hybridMaxCot_, hybridMaxEta_, hybridMinPtStub_, hybridNumLayers_, hybridNumsUnusedBits_, hybridRangePhi_, hybridRangeR(), hybridRangesAlpha_, hybridRangesR_, hybridRangesZ_, hybridWidthLayerId_, hybridWidthsAlpha_, hybridWidthsBend_, hybridWidthsPhi_, hybridWidthsR_, hybridWidthsZ_, innerRadius_, invPtToDphi_, kfWidthLayerCount_, length2S_, lengthPS_, M_PI, SiStripPI::max, maxCot_, maxEta_, maxLength_, maxPitch_, maxZT_, mhtNumBinsInv2R_, mhtNumBinsPhiT_, mhtNumCells_, minPt_, numDTCs_, numDTCsPerRegion_, numDTCsPerTFP_, numFrames_, numFramesFE_, numFramesInfra_, numFramesIO_, numLayers_, numModules_, numModulesPerDTC_, numOverlappingRegions_, numRegions_, numSectors_, numSectorsEta_, numSectorsPhi_, tt::SensorModule::NumTypes, outerRadius_, pitch2S_, pitchPS_, funct::pow(), TTBV::S_, sectorCots_, speedOfLight_, tmpFE_, tmpTFP_, tmttBaseInv2R_, tmttBasePhi_, tmttBasePhiT_, tmttBaseR_, tmttBaseZ_, tmttNumUnusedBits_, tmttWidthInv2R_, tmttWidthLayer_, tmttWidthPhi_, tmttWidthR_, tmttWidthSectorEta_, tmttWidthZ_, widthDSPa_, widthDSPab_, widthDSPau_, widthDSPb_, widthDSPbb_, widthDSPbu_, widthDSPc_, widthDSPcb_, widthDSPcu_, widthRow_, zhtMaxStubsPerLayer_, zhtNumBinsCot_, zhtNumBinsZT_, and zhtNumCells_.

Referenced by Setup().

654  {
655  // emp
656  const int numFramesPerBX = freqBE_ / freqLHC_;
657  numFrames_ = numFramesPerBX * tmpTFP_ - 1;
658  numFramesIO_ = numFramesPerBX * tmpTFP_ - numFramesInfra_;
659  numFramesFE_ = numFramesPerBX * tmpFE_ - numFramesInfra_;
660  // dsp
661  widthDSPab_ = widthDSPa_ - 1;
662  widthDSPau_ = widthDSPab_ - 1;
663  widthDSPbb_ = widthDSPb_ - 1;
664  widthDSPbu_ = widthDSPbb_ - 1;
665  widthDSPcb_ = widthDSPc_ - 1;
666  widthDSPcu_ = widthDSPcb_ - 1;
667  // firmware
670  // common track finding
671  invPtToDphi_ = speedOfLight_ * bField_ / 2000.;
672  baseRegion_ = 2. * M_PI / numRegions_;
673  // gp
675  maxCot_ = sinh(maxEta_);
677  numSectorsEta_ = boundariesEta_.size() - 1;
679  sectorCots_.reserve(numSectorsEta_);
680  for (int eta = 0; eta < numSectorsEta_; eta++)
681  sectorCots_.emplace_back((sinh(boundariesEta_.at(eta)) + sinh(boundariesEta_.at(eta + 1))) / 2.);
682  // tmtt
683  const double rangeInv2R = 2. * invPtToDphi_ / minPt_;
684  tmttBaseInv2R_ = rangeInv2R / htNumBinsInv2R_;
686  const double baseRgen = tmttBasePhiT_ / tmttBaseInv2R_;
687  const double rangeR = 2. * max(abs(outerRadius_ - chosenRofPhi_), abs(innerRadius_ - chosenRofPhi_));
688  const int baseShiftR = ceil(log2(rangeR / baseRgen / pow(2., tmttWidthR_)));
689  tmttBaseR_ = baseRgen * pow(2., baseShiftR);
690  const double rangeZ = 2. * halfLength_;
691  const int baseShiftZ = ceil(log2(rangeZ / tmttBaseR_ / pow(2., tmttWidthZ_)));
692  tmttBaseZ_ = tmttBaseR_ * pow(2., baseShiftZ);
693  const double rangePhi = baseRegion_ + rangeInv2R * rangeR / 2.;
694  const int baseShiftPhi = ceil(log2(rangePhi / tmttBasePhiT_ / pow(2., tmttWidthPhi_)));
695  tmttBasePhi_ = tmttBasePhiT_ * pow(2., baseShiftPhi);
701  // hybrid
702  const double hybridRangeInv2R = 2. * invPtToDphi_ / hybridMinPtStub_;
703  const double hybridRangeR =
705  hybridRangePhi_ = baseRegion_ + (hybridRangeR * hybridRangeInv2R) / 2.;
708  for (int type = 0; type < SensorModule::NumTypes; type++)
709  hybridBasesZ_.emplace_back(hybridRangesZ_.at(type) / pow(2., hybridWidthsZ_.at(type)));
711  for (int type = 0; type < SensorModule::NumTypes; type++)
712  hybridBasesR_.emplace_back(hybridRangesR_.at(type) / pow(2., hybridWidthsR_.at(type)));
715  for (int type = 0; type < SensorModule::NumTypes; type++)
716  hybridBasesPhi_.emplace_back(hybridRangePhi_ / pow(2., hybridWidthsPhi_.at(type)));
718  for (int type = 0; type < SensorModule::NumTypes; type++)
721  for (int type = 0; type < SensorModule::NumTypes; type++)
726  disk2SRs_.reserve(hybridDisk2SRsSet_.size());
727  for (const auto& pSet : hybridDisk2SRsSet_)
728  disk2SRs_.emplace_back(pSet.getParameter<vector<double>>("Disk2SRs"));
729  // dtc
735  const double maxRangeInv2R = max(rangeInv2R, hybridRangeInv2R);
736  const int baseShiftInv2R = ceil(log2(htNumBinsInv2R_)) - dtcWidthInv2R_ + ceil(log2(maxRangeInv2R / rangeInv2R));
737  dtcBaseInv2R_ = tmttBaseInv2R_ * pow(2., baseShiftInv2R);
738  const int baseDiffM = dtcWidthRowLUT_ - widthRow_;
739  dtcBaseM_ = tmttBasePhi_ * pow(2., baseDiffM);
740  const double x1 = pow(2, widthRow_) * baseRow_ * maxPitch_ / 2.;
741  const double x0 = x1 - pow(2, dtcWidthRowLUT_) * baseRow_ * maxPitch_;
742  const double maxM = atan2(x1, innerRadius_) - atan2(x0, innerRadius_);
743  dtcWidthM_ = ceil(log2(maxM / dtcBaseM_));
745  // mht
747  // zht
749  //
751  }
int zhtNumCells_
Definition: Setup.h:1065
int dtcNumRoutingBlocks_
Definition: Setup.h:787
constexpr int32_t ceil(float num)
double baseRow_
Definition: Setup.h:768
int tmttWidthInv2R_
Definition: Setup.h:984
int numFramesIO_
Definition: Setup.h:955
int numLayers_
Definition: Setup.h:608
int dtcWidthInv2R_
Definition: Setup.h:793
int tmttWidthLayer_
Definition: Setup.h:980
double maxZT_
Definition: Setup.h:1047
double lengthPS_
Definition: Setup.h:749
int tmttWidthPhi_
Definition: Setup.h:612
double halfLength_
Definition: Setup.h:723
double hybridMaxEta_
Definition: Setup.h:623
int numFrames_
Definition: Setup.h:953
std::vector< double > boundariesEta_
Definition: Setup.h:837
double freqLHC_
Definition: Setup.h:705
std::vector< double > hybridBasesZ_
Definition: Setup.h:997
int widthDSPau_
Definition: Setup.h:685
int tmttWidthSectorEta_
Definition: Setup.h:982
int numDTCs_
Definition: Setup.h:1016
int kfWidthLayerCount_
Definition: Setup.h:1069
int numSectors_
Definition: Setup.h:1051
int mhtNumBinsPhiT_
Definition: Setup.h:855
double dtcBaseM_
Definition: Setup.h:1030
int tmttWidthZ_
Definition: Setup.h:614
std::vector< double > hybridBasesAlpha_
Definition: Setup.h:999
std::vector< double > hybridRangesAlpha_
Definition: Setup.h:645
int mhtNumCells_
Definition: Setup.h:1060
int htNumBinsPhiT_
Definition: Setup.h:844
double tmttBasePhiT_
Definition: Setup.h:976
int numModules_
Definition: Setup.h:1020
std::vector< int > hybridWidthsR_
Definition: Setup.h:631
double baseSector_
Definition: Setup.h:1045
int htNumBinsInv2R_
Definition: Setup.h:842
double bField_
Definition: Setup.h:715
double hybridChosenRofPhi_
Definition: Setup.h:625
std::vector< double > hybridRangesR_
Definition: Setup.h:641
int widthDSPbu_
Definition: Setup.h:691
double tmttBaseR_
Definition: Setup.h:968
std::vector< double > hybridBasesPhi_
Definition: Setup.h:995
int numFramesInfra_
Definition: Setup.h:703
int zhtNumBinsCot_
Definition: Setup.h:870
std::vector< double > hybridRangesZ_
Definition: Setup.h:643
double baseRegion_
Definition: Setup.h:961
int dtcNumStreams_
Definition: Setup.h:805
int widthDSPab_
Definition: Setup.h:683
int dtcWidthM_
Definition: Setup.h:1026
int widthDSPb_
Definition: Setup.h:687
int widthDSPbb_
Definition: Setup.h:689
double maxPitch_
Definition: Setup.h:725
std::vector< double > hybridBasesR_
Definition: Setup.h:993
int widthDSPcb_
Definition: Setup.h:695
std::vector< int > hybridNumsUnusedBits_
Definition: Setup.h:1009
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
double length2S_
Definition: Setup.h:747
int widthDSPc_
Definition: Setup.h:693
double tmttBaseZ_
Definition: Setup.h:970
double pitchPS_
Definition: Setup.h:745
double chosenRofZ_
Definition: Setup.h:831
double hybridRangeR() const
Definition: Setup.h:302
std::vector< double > sectorCots_
Definition: Setup.h:1055
int numFramesFE_
Definition: Setup.h:957
double maxEta_
Definition: Setup.h:604
double maxCot_
Definition: Setup.h:1049
int tmpFE_
Definition: Setup.h:709
int tmttWidthR_
Definition: Setup.h:610
double maxLength_
Definition: Setup.h:727
#define M_PI
int dtcNumMergedRows_
Definition: Setup.h:1024
int hybridNumLayers_
Definition: Setup.h:627
int numOverlappingRegions_
Definition: Setup.h:779
std::vector< int > hybridWidthsAlpha_
Definition: Setup.h:637
int widthDSPcu_
Definition: Setup.h:697
double speedOfLight_
Definition: Setup.h:713
int widthDSPa_
Definition: Setup.h:681
double tmttBaseInv2R_
Definition: Setup.h:974
double outerRadius_
Definition: Setup.h:719
double innerRadius_
Definition: Setup.h:721
std::vector< edm::ParameterSet > hybridDisk2SRsSet_
Definition: Setup.h:651
std::vector< int > hybridWidthsZ_
Definition: Setup.h:633
double dtcBaseInv2R_
Definition: Setup.h:1028
double pitch2S_
Definition: Setup.h:743
int numDTCsPerTFP_
Definition: Setup.h:1018
int dtcWidthRowLUT_
Definition: Setup.h:791
double freqBE_
Definition: Setup.h:707
int dtcNumModulesPerRoutingBlock_
Definition: Setup.h:1022
double minPt_
Definition: Setup.h:602
int mhtNumBinsInv2R_
Definition: Setup.h:853
int tmpTFP_
Definition: Setup.h:711
int zhtMaxStubsPerLayer_
Definition: Setup.h:878
double chosenRofPhi_
Definition: Setup.h:606
int hybridWidthLayerId_
Definition: Setup.h:991
int numSectorsPhi_
Definition: Setup.h:827
int tmttNumUnusedBits_
Definition: Setup.h:986
int numRegions_
Definition: Setup.h:777
int numModulesPerDTC_
Definition: Setup.h:785
double hybridRangePhi_
Definition: Setup.h:653
int zhtNumBinsZT_
Definition: Setup.h:868
double invPtToDphi_
Definition: Setup.h:959
int numDTCsPerRegion_
Definition: Setup.h:783
static constexpr int S_
Definition: TTBV.h:22
int numSectorsEta_
Definition: Setup.h:829
double hybridMinPtStub_
Definition: Setup.h:619
int widthRow_
Definition: Setup.h:762
std::vector< int > hybridWidthsPhi_
Definition: Setup.h:635
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
double tmttBasePhi_
Definition: Setup.h:972
double hybridMaxCot_
Definition: Setup.h:1007
std::vector< int > hybridWidthsBend_
Definition: Setup.h:639
std::vector< std::vector< double > > disk2SRs_
Definition: Setup.h:1011

◆ checkDTCId()

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

Definition at line 831 of file Setup.cc.

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

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

831  {
832  if (dtcId < 0 || dtcId >= numDTCsPerRegion_ * numRegions_) {
833  cms::Exception exception("out_of_range");
834  exception.addContext("tt::Setup::checkDTCId");
835  exception << "Used DTC Id (" << dtcId << ") "
836  << "is out of range 0 to " << numDTCsPerRegion_ * numRegions_ - 1 << ".";
837  throw exception;
838  }
839  }
int numRegions_
Definition: Setup.h:777
int numDTCsPerRegion_
Definition: Setup.h:783
int dtcId(int tklId) const
Definition: Setup.cc:290

◆ checkGeometry()

void tt::Setup::checkGeometry ( )
private

Definition at line 390 of file Setup.cc.

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

Referenced by Setup().

390  {
391  //FIX ME: Can we assume that geometry used in dd4hep wf supports L1Track?
392  if (!fromDD4hep_) {
393  const vector<string>& geomXMLFiles = pSetGC_->getParameter<vector<string>>(sgXMLLabel_);
394  string version;
395  for (const string& geomXMLFile : geomXMLFiles) {
396  const auto begin = geomXMLFile.find(sgXMLPath_) + sgXMLPath_.size();
397  const auto end = geomXMLFile.find(sgXMLFile_);
398  if (begin != string::npos && end != string::npos)
399  version = geomXMLFile.substr(begin, end - begin - 1);
400  }
401  if (version.empty()) {
402  cms::Exception exception("LogicError");
403  exception << "No " << sgXMLPath_ << "*/" << sgXMLFile_ << " found in GeometryConfiguration";
404  exception.addContext("tt::Setup::checkGeometry");
405  throw exception;
406  }
407  if (find(sgXMLVersions_.begin(), sgXMLVersions_.end(), version) != sgXMLVersions_.end()) {
408  configurationSupported_ = false;
409  LogWarning("ConfigurationNotSupported")
410  << "Geometry Configuration " << sgXMLPath_ << version << "/" << sgXMLFile_ << " is not supported. ";
411  }
412  }
413  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::string sgXMLPath_
Definition: Setup.h:571
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
std::string sgXMLLabel_
Definition: Setup.h:569
std::vector< std::string > sgXMLVersions_
Definition: Setup.h:575
bool fromDD4hep_
Definition: Setup.h:564
const edm::ParameterSet * pSetGC_
Definition: Setup.h:557
Log< level::Warning, false > LogWarning
std::string sgXMLFile_
Definition: Setup.h:573
bool configurationSupported_
Definition: Setup.h:931

◆ checkHistory() [1/2]

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

Definition at line 238 of file Setup.cc.

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

Referenced by trklet::ProducerAS::beginRun(), trklet::ProducerTT::beginRun(), trackerTFP::ProducerTT::beginRun(), trackerTFP::ProducerHT::beginRun(), trackerTFP::ProducerZHT::beginRun(), trackerTFP::ProducerZHTout::beginRun(), trackerTFP::ProducerMHT::beginRun(), trackerTFP::ProducerKF::beginRun(), trackerTFP::ProducerGP::beginRun(), trklet::ProducerKFout::beginRun(), trackerTFP::ProducerKFin::beginRun(), trackerDTC::ProducerED::beginRun(), trklet::ProducerTBout::beginRun(), and trklet::ProducerKFin::beginRun().

238  {
239  const pset::Registry* psetRegistry = pset::Registry::instance();
240  // check used TTStubAlgorithm in input producer
241  checkHistory(processHistory, psetRegistry, phTTStubAlgorithm_, pSetIdTTStubAlgorithm_);
242  // check used GeometryConfiguration in input producer
244  }
std::string phTTStubAlgorithm_
Definition: Setup.h:582
edm::ParameterSetID pSetIdGeometryConfiguration_
Definition: Setup.h:561
static PFTauRenderPlugin instance
std::string phGeometryConfiguration_
Definition: Setup.h:580
edm::ParameterSetID pSetIdTTStubAlgorithm_
Definition: Setup.h:559
void checkHistory(const edm::ProcessHistory &processHistory) const
Definition: Setup.cc:238

◆ checkHistory() [2/2]

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

◆ checkMagneticField()

void tt::Setup::checkMagneticField ( )
private

Definition at line 379 of file Setup.cc.

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

Referenced by Setup().

379  {
380  const double bFieldES = magneticField_->inTesla(GlobalPoint(0., 0., 0.)).z();
381  if (abs(bField_ - bFieldES) > bFieldError_) {
382  configurationSupported_ = false;
383  LogWarning("ConfigurationNotSupported")
384  << "Magnetic Field from EventSetup (" << bFieldES << ") differs more then " << bFieldError_
385  << " from supported value (" << bField_ << "). ";
386  }
387  }
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
double bField_
Definition: Setup.h:715
double bFieldError_
Definition: Setup.h:717
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
Log< level::Warning, false > LogWarning
const MagneticField * magneticField_
Definition: Setup.h:545
bool configurationSupported_
Definition: Setup.h:931

◆ checkTFPIdentifier()

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

Definition at line 853 of file Setup.cc.

References cppFunctionSkipper::exception, numDTCsPerTFP_, and numRegions_.

Referenced by dtcId().

853  {
854  const bool oorRegion = tfpRegion >= numRegions_ || tfpRegion < 0;
855  const bool oorChannel = tfpChannel >= numDTCsPerTFP_ || tfpChannel < 0;
856  if (oorRegion || oorChannel) {
857  cms::Exception exception("out_of_range");
858  exception.addContext("tt::Setup::checkTFPIdentifier");
859  if (oorRegion)
860  exception << "Requested Processing Region "
861  << "(" << tfpRegion << ") "
862  << "is out of range 0 to " << numRegions_ - 1 << ".";
863  if (oorChannel)
864  exception << "Requested TFP Channel "
865  << "(" << tfpChannel << ") "
866  << "is out of range 0 to " << numDTCsPerTFP_ - 1 << ".";
867  throw exception;
868  }
869  }
int numDTCsPerTFP_
Definition: Setup.h:1018
int numRegions_
Definition: Setup.h:777

◆ checkTKLayoutId()

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

Definition at line 842 of file Setup.cc.

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

Referenced by dtcId().

842  {
843  if (tkLayoutId <= 0 || tkLayoutId > numDTCsPerRegion_ * numRegions_) {
844  cms::Exception exception("out_of_range");
845  exception.addContext("tt::Setup::checkTKLayoutId");
846  exception << "Used TKLayout Id (" << tkLayoutId << ") "
847  << "is out of range 1 to " << numDTCsPerRegion_ * numRegions_ << ".";
848  throw exception;
849  }
850  }
int tkLayoutId(int dtcId) const
Definition: Setup.cc:300
int numRegions_
Definition: Setup.h:777
int numDTCsPerRegion_
Definition: Setup.h:783

◆ chosenRofPhi()

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

Definition at line 213 of file Setup.h.

References chosenRofPhi_.

Referenced by trackerTFP::DataFormats::chosenRofPhi(), and trackerTFP::ZHoughTransform::fill().

213 { return chosenRofPhi_; }
double chosenRofPhi_
Definition: Setup.h:606

◆ chosenRofZ()

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

◆ configurationSupported()

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

◆ configureTPSelector()

void tt::Setup::configureTPSelector ( )
private

Definition at line 488 of file Setup.cc.

References cosmictrackingParticleSelector_cfi::chargedOnly, ALCARECOTkAlBeamHalo_cff::etaMax, trackingParticleSelector_cfi::intimeOnly, qcdUeDQM_cfi::lip, qcdUeDQM_cfi::minHit, AlignmentTrackSelector_cfi::ptMax, ptMin, trackingParticleSelector_cfi::signalOnly, genCandidates_cfi::stableOnly, qcdUeDQM_cfi::tip, tpMaxEta_, tpMaxVertR_, tpMaxVertZ_, tpMinPt_, tpSelector_, and tpSelectorLoose_.

Referenced by Setup().

488  {
489  // configure TrackingParticleSelector
490  const double ptMin = tpMinPt_;
491  constexpr double ptMax = 9.e9;
492  const double etaMax = tpMaxEta_;
493  const double tip = tpMaxVertR_;
494  const double lip = tpMaxVertZ_;
495  constexpr int minHit = 0;
496  constexpr bool signalOnly = true;
497  constexpr bool intimeOnly = true;
498  constexpr bool chargedOnly = true;
499  constexpr bool stableOnly = false;
503  TrackingParticleSelector(ptMin, ptMax, -etaMax, etaMax, tip, lip, minHit, false, false, false, stableOnly);
504  }
double tpMaxEta_
Definition: Setup.h:662
TrackingParticleSelector tpSelector_
Definition: Setup.h:933
constexpr float ptMin
TrackingParticleSelector tpSelectorLoose_
Definition: Setup.h:935
double tpMaxVertZ_
Definition: Setup.h:666
double tpMaxVertR_
Definition: Setup.h:664
SingleObjectSelector< TrackingParticleCollection, ::TrackingParticleSelector > TrackingParticleSelector
double tpMinPt_
Definition: Setup.h:660

◆ consumeStubAlgorithm()

void tt::Setup::consumeStubAlgorithm ( )
private

Definition at line 416 of file Setup.cc.

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

Referenced by Setup().

416  {
417  numTiltedLayerRings_ = pSetSA_->getParameter<vector<double>>("NTiltedRings");
418  windowSizeBarrelLayers_ = pSetSA_->getParameter<vector<double>>("BarrelCut");
419  const auto& pSetsTiltedLayer = pSetSA_->getParameter<vector<ParameterSet>>("TiltedBarrelCutSet");
420  const auto& pSetsEncapDisks = pSetSA_->getParameter<vector<ParameterSet>>("EndcapCutSet");
421  windowSizeTiltedLayerRings_.reserve(pSetsTiltedLayer.size());
422  for (const auto& pSet : pSetsTiltedLayer)
423  windowSizeTiltedLayerRings_.emplace_back(pSet.getParameter<vector<double>>("TiltedCut"));
424  windowSizeEndcapDisksRings_.reserve(pSetsEncapDisks.size());
425  for (const auto& pSet : pSetsEncapDisks)
426  windowSizeEndcapDisksRings_.emplace_back(pSet.getParameter<vector<double>>("EndcapCut"));
427  maxWindowSize_ = -1;
429  for (const auto& windows : windowss)
430  for (const auto& window : windows)
432  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
std::vector< double > numTiltedLayerRings_
Definition: Setup.h:940
std::vector< std::vector< double > > windowSizeTiltedLayerRings_
Definition: Setup.h:944
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< std::vector< double > > windowSizeEndcapDisksRings_
Definition: Setup.h:946
std::vector< double > windowSizeBarrelLayers_
Definition: Setup.h:942
double baseWindowSize_
Definition: Setup.h:770
int maxWindowSize_
Definition: Setup.h:948
const edm::ParameterSet * pSetSA_
Definition: Setup.h:555

◆ dPhi()

double tt::Setup::dPhi ( const TTStubRef ttStubRef,
double  inv2R 
) const

Definition at line 576 of file Setup.cc.

References funct::abs(), tt::SensorModule::barrel(), cppFunctionSkipper::exception, maxdPhi_, mindPhi_, PV3DBase< T, PVType, FrameType >::perp(), tt::SensorModule::pitchCol(), tt::SensorModule::pitchRow(), scattering_, sensorModule(), stubPos(), and tmttBasePhi_.

Referenced by trackerTFP::ProducerKFin::produce().

576  {
577  const DetId& detId = ttStubRef->getDetId();
578  SensorModule* sm = sensorModule(detId + 1);
579  const double r = stubPos(ttStubRef).perp();
580  const double sigma = sm->pitchRow() / r;
581  const double scat = scattering_ * abs(inv2R);
582  const double extra = sm->barrel() ? 0. : sm->pitchCol() * abs(inv2R);
583  const double digi = tmttBasePhi_;
584  const double dPhi = sigma + scat + extra + digi;
585  if (dPhi >= maxdPhi_ || dPhi < mindPhi_) {
586  cms::Exception exception("out_of_range");
587  exception.addContext("tt::Setup::dPhi");
588  exception << "Stub phi uncertainty " << dPhi << " "
589  << "is out of range " << mindPhi_ << " to " << maxdPhi_ << ".";
590  throw exception;
591  }
592  return dPhi;
593  }
T perp() const
Definition: PV3DBase.h:69
double dPhi(const TTStubRef &ttStubRef, double inv2R) const
Definition: Setup.cc:576
GlobalPoint stubPos(const TTStubRef &ttStubRef) const
Definition: Setup.cc:820
double scattering_
Definition: Setup.h:597
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
double maxdPhi_
Definition: Setup.h:737
Definition: DetId.h:17
double mindPhi_
Definition: Setup.h:735
SensorModule * sensorModule(const DetId &detId) const
Definition: Setup.cc:361
double tmttBasePhi_
Definition: Setup.h:972

◆ drDepthMemory()

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

Definition at line 513 of file Setup.h.

References drDepthMemory_.

513 { return drDepthMemory_; }
int drDepthMemory_
Definition: Setup.h:924

◆ dtcBaseInv2R()

double tt::Setup::dtcBaseInv2R ( ) const
inline

Definition at line 385 of file Setup.h.

References dtcBaseInv2R_.

385 { return dtcBaseInv2R_; }
double dtcBaseInv2R_
Definition: Setup.h:1028

◆ dtcBaseM()

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

Definition at line 387 of file Setup.h.

References dtcBaseM_.

387 { return dtcBaseM_; }
double dtcBaseM_
Definition: Setup.h:1030

◆ dtcDepthMemory()

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

Definition at line 357 of file Setup.h.

References dtcDepthMemory_.

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

357 { return dtcDepthMemory_; }
int dtcDepthMemory_
Definition: Setup.h:789

◆ dtcId() [1/2]

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

Definition at line 290 of file Setup.cc.

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

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

290  {
292  const int tkId = tkLayoutId - 1;
293  const int side = tkId / (numRegions_ * numATCASlots_);
294  const int region = (tkId % (numRegions_ * numATCASlots_)) / numATCASlots_;
295  const int slot = tkId % numATCASlots_;
297  }
void checkTKLayoutId(int tkLayoutId) const
Definition: Setup.cc:842
int tkLayoutId(int dtcId) const
Definition: Setup.cc:300
int slot(int dtcId) const
Definition: Setup.cc:355
int numATCASlots_
Definition: Setup.h:781
bool side(int dtcId) const
Definition: Setup.cc:347
int numRegions_
Definition: Setup.h:777
int numDTCsPerRegion_
Definition: Setup.h:783

◆ dtcId() [2/2]

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

Definition at line 309 of file Setup.cc.

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

309  {
310  checkTFPIdentifier(tfpRegion, tfpChannel);
311  const int dtcChannel = numOverlappingRegions_ - (tfpChannel / numDTCsPerRegion_) - 1;
312  const int dtcBoard = tfpChannel % numDTCsPerRegion_;
313  const int dtcRegion = tfpRegion - dtcChannel >= 0 ? tfpRegion - dtcChannel : tfpRegion - dtcChannel + numRegions_;
314  return dtcRegion * numDTCsPerRegion_ + dtcBoard;
315  }
void checkTFPIdentifier(int tfpRegion, int tfpChannel) const
Definition: Setup.cc:853
int numOverlappingRegions_
Definition: Setup.h:779
int numRegions_
Definition: Setup.h:777
int numDTCsPerRegion_
Definition: Setup.h:783

◆ dtcModules()

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

Definition at line 389 of file Setup.h.

References dtcId(), and dtcModules_.

Referenced by produceSensorModules().

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

◆ dtcNumMergedRows()

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

Definition at line 381 of file Setup.h.

References dtcNumMergedRows_.

381 { return dtcNumMergedRows_; }
int dtcNumMergedRows_
Definition: Setup.h:1024

◆ dtcNumModulesPerRoutingBlock()

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

Definition at line 379 of file Setup.h.

References dtcNumModulesPerRoutingBlock_.

int dtcNumModulesPerRoutingBlock_
Definition: Setup.h:1022

◆ dtcNumRoutingBlocks()

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

Definition at line 355 of file Setup.h.

References dtcNumRoutingBlocks_.

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

355 { return dtcNumRoutingBlocks_; }
int dtcNumRoutingBlocks_
Definition: Setup.h:787

◆ dtcNumStreams()

int tt::Setup::dtcNumStreams ( ) const
inline

Definition at line 391 of file Setup.h.

References dtcNumStreams_.

391 { return dtcNumStreams_; }
int dtcNumStreams_
Definition: Setup.h:805

◆ dtcWidthInv2R()

int tt::Setup::dtcWidthInv2R ( ) const
inline

Definition at line 361 of file Setup.h.

References dtcWidthInv2R_.

361 { return dtcWidthInv2R_; }
int dtcWidthInv2R_
Definition: Setup.h:793

◆ dtcWidthM()

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

Definition at line 383 of file Setup.h.

References dtcWidthM_.

383 { return dtcWidthM_; }
int dtcWidthM_
Definition: Setup.h:1026

◆ dtcWidthRowLUT()

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

Definition at line 359 of file Setup.h.

References dtcWidthRowLUT_.

359 { return dtcWidthRowLUT_; }
int dtcWidthRowLUT_
Definition: Setup.h:791

◆ dumpDiff()

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

Definition at line 279 of file Setup.cc.

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

279  {
280  stringstream ssHistory, ssProcess, ss;
281  ssHistory << pSetHistory.dump();
282  ssProcess << pSetProcess.dump();
283  string lineHistory, lineProcess;
284  for (; getline(ssHistory, lineHistory) && getline(ssProcess, lineProcess);)
285  ss << (lineHistory != lineProcess ? "\033[1;31m" : "") << lineHistory << "\033[0m" << endl;
286  return ss.str();
287  }
std::string dump(unsigned int indent=0) const

◆ dZ()

double tt::Setup::dZ ( const TTStubRef ttStubRef,
double  cot 
) const

Definition at line 596 of file Setup.cc.

References cppFunctionSkipper::exception, maxdZ_, mindZ_, tt::SensorModule::pitchCol(), sensorModule(), tt::SensorModule::tiltCorrection(), and tmttBaseZ_.

Referenced by trackerTFP::ZHoughTransform::fill(), and trackerTFP::ProducerKFin::produce().

596  {
597  const DetId& detId = ttStubRef->getDetId();
598  SensorModule* sm = sensorModule(detId + 1);
599  const double sigma = sm->pitchCol() * sm->tiltCorrection(cot);
600  const double digi = tmttBaseZ_;
601  const double dZ = sigma + digi;
602  if (dZ >= maxdZ_ || dZ < mindZ_) {
603  cms::Exception exception("out_of_range");
604  exception.addContext("tt::Setup::dZ");
605  exception << "Stub z uncertainty " << dZ << " "
606  << "is out of range " << mindZ_ << " to " << maxdZ_ << ".";
607  throw exception;
608  }
609  return dZ;
610  }
double dZ(const TTStubRef &ttStubRef, double cot) const
Definition: Setup.cc:596
double mindZ_
Definition: Setup.h:739
double tmttBaseZ_
Definition: Setup.h:970
double maxdZ_
Definition: Setup.h:741
Definition: DetId.h:17
SensorModule * sensorModule(const DetId &detId) const
Definition: Setup.cc:361

◆ encodeBend()

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

Definition at line 435 of file Setup.cc.

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

Referenced by Setup().

435  {
436  for (int window = 0; window < maxWindowSize_ + 1; window++) {
437  set<double> encoding;
438  for (int bend = 0; bend < window + 1; bend++)
439  encoding.insert(stubAlgorithm_->degradeBend(ps, window, bend));
440  encodings.emplace_back(encoding.begin(), encoding.end());
441  }
442  }
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
const StubAlgorithmOfficial * stubAlgorithm_
Definition: Setup.h:553
int maxWindowSize_
Definition: Setup.h:948

◆ encodingBend()

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

Definition at line 373 of file Setup.cc.

References encodingsBend2S_, encodingsBendPS_, and psModule().

373  {
374  const vector<vector<double>>& encodingsBend = psModule ? encodingsBendPS_ : encodingsBend2S_;
375  return encodingsBend.at(windowSize);
376  }
std::vector< std::vector< double > > encodingsBendPS_
Definition: Setup.h:1032
std::vector< std::vector< double > > encodingsBend2S_
Definition: Setup.h:1034
bool psModule(int dtcId) const
Definition: Setup.cc:318

◆ gbps10()

bool tt::Setup::gbps10 ( int  dtcId) const

Definition at line 341 of file Setup.cc.

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

341  {
342  checkDTCId(dtcId);
343  return slot(dtcId) < slotLimit10gbps_;
344  }
int slotLimit10gbps_
Definition: Setup.h:809
void checkDTCId(int dtcId) const
Definition: Setup.cc:831
int slot(int dtcId) const
Definition: Setup.cc:355
int dtcId(int tklId) const
Definition: Setup.cc:290

◆ gpDepthMemory()

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

Definition at line 415 of file Setup.h.

References gpDepthMemory_.

Referenced by trackerTFP::GeometricProcessor::produce().

415 { return gpDepthMemory_; }
int gpDepthMemory_
Definition: Setup.h:835

◆ halfLength()

double tt::Setup::halfLength ( ) const
inline

Definition at line 245 of file Setup.h.

References halfLength_.

245 { return halfLength_; }
double halfLength_
Definition: Setup.h:723

◆ htDepthMemory()

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

Definition at line 441 of file Setup.h.

References htDepthMemory_.

Referenced by trackerTFP::HoughTransform::fillIn().

441 { return htDepthMemory_; }
int htDepthMemory_
Definition: Setup.h:848

◆ htMinLayers()

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

Definition at line 439 of file Setup.h.

References htMinLayers_.

Referenced by trackerTFP::HoughTransform::readOut().

439 { return htMinLayers_; }
int htMinLayers_
Definition: Setup.h:846

◆ htNumBinsInv2R()

int tt::Setup::htNumBinsInv2R ( ) const
inline

Definition at line 435 of file Setup.h.

References htNumBinsInv2R_.

Referenced by trackerTFP::DataFormats::DataFormats().

435 { return htNumBinsInv2R_; }
int htNumBinsInv2R_
Definition: Setup.h:842

◆ htNumBinsPhiT()

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

Definition at line 437 of file Setup.h.

References htNumBinsPhiT_.

Referenced by trackerTFP::HoughTransform::readOut().

437 { return htNumBinsPhiT_; }
int htNumBinsPhiT_
Definition: Setup.h:844

◆ hybridBaseAlpha()

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

Definition at line 288 of file Setup.h.

References hybridBasesAlpha_.

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

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

◆ hybridBasePhi()

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

Definition at line 284 of file Setup.h.

References hybridBasesPhi_.

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

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

◆ hybridBaseR()

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

Definition at line 282 of file Setup.h.

References hybridBasesR_.

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

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

◆ hybridBaseZ()

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

Definition at line 286 of file Setup.h.

References hybridBasesZ_.

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

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

◆ hybridChosenRofPhi()

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

◆ hybridDiskZ()

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

Definition at line 298 of file Setup.h.

References hybridDiskZs_, and layerId().

Referenced by trklet::KFin::consume().

298 { return hybridDiskZs_.at(layerId); }
std::vector< double > hybridDiskZs_
Definition: Setup.h:649
int layerId(const TTStubRef &ttStubRef) const
Definition: Setup.cc:507

◆ hybridLayerR()

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

Definition at line 296 of file Setup.h.

References hybridLayerRs_, and layerId().

Referenced by trklet::KFin::consume().

296 { return hybridLayerRs_.at(layerId); }
std::vector< double > hybridLayerRs_
Definition: Setup.h:647
int layerId(const TTStubRef &ttStubRef) const
Definition: Setup.cc:507

◆ hybridMaxCot()

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

Definition at line 292 of file Setup.h.

References hybridMaxCot_.

Referenced by trklet::KFin::consume().

292 { return hybridMaxCot_; }
double hybridMaxCot_
Definition: Setup.h:1007

◆ hybridMaxEta()

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

Definition at line 264 of file Setup.h.

References hybridMaxEta_.

264 { return hybridMaxEta_; }
double hybridMaxEta_
Definition: Setup.h:623

◆ hybridMinPtCand()

double tt::Setup::hybridMinPtCand ( ) const
inline

Definition at line 262 of file Setup.h.

References hybridMinPtCand_.

262 { return hybridMinPtCand_; }
double hybridMinPtCand_
Definition: Setup.h:621

◆ hybridMinPtStub()

double tt::Setup::hybridMinPtStub ( ) const
inline

Definition at line 260 of file Setup.h.

References hybridMinPtStub_.

260 { return hybridMinPtStub_; }
double hybridMinPtStub_
Definition: Setup.h:619

◆ hybridNumLayers()

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

Definition at line 268 of file Setup.h.

References hybridNumLayers_.

268 { return hybridNumLayers_; }
int hybridNumLayers_
Definition: Setup.h:627

◆ hybridNumRingsPS()

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

Definition at line 294 of file Setup.h.

References hybridNumRingsPS_, and layerId().

294 { return hybridNumRingsPS_.at(layerId); }
std::vector< int > hybridNumRingsPS_
Definition: Setup.h:629
int layerId(const TTStubRef &ttStubRef) const
Definition: Setup.cc:507

◆ hybridNumUnusedBits()

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

Definition at line 290 of file Setup.h.

References hybridNumsUnusedBits_.

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

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

◆ hybridRangePhi()

double tt::Setup::hybridRangePhi ( ) const
inline

Definition at line 300 of file Setup.h.

References hybridRangePhi_.

Referenced by trklet::KFin::consume(), and trackerDTC::Stub::formatHybrid().

300 { return hybridRangePhi_; }
double hybridRangePhi_
Definition: Setup.h:653

◆ hybridRangeR()

double tt::Setup::hybridRangeR ( ) const
inline

Definition at line 302 of file Setup.h.

References tt::SensorModule::DiskPS, and hybridRangesR_.

Referenced by calculateConstants(), and trklet::KFin::KFin().

std::vector< double > hybridRangesR_
Definition: Setup.h:641

◆ hybridWidthAlpha()

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

Definition at line 276 of file Setup.h.

References hybridWidthsAlpha_.

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

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

◆ hybridWidthBend()

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

Definition at line 278 of file Setup.h.

References hybridWidthsBend_.

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

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

◆ hybridWidthLayerId()

int tt::Setup::hybridWidthLayerId ( ) const
inline

Definition at line 280 of file Setup.h.

References hybridWidthLayerId_.

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

280 { return hybridWidthLayerId_; }
int hybridWidthLayerId_
Definition: Setup.h:991

◆ hybridWidthPhi()

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

Definition at line 274 of file Setup.h.

References hybridWidthsPhi_.

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

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

◆ hybridWidthR()

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

Definition at line 270 of file Setup.h.

References hybridWidthsR_.

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

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

◆ hybridWidthZ()

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

Definition at line 272 of file Setup.h.

References hybridWidthsZ_.

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

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

◆ indexLayerId()

int tt::Setup::indexLayerId ( const TTStubRef ttStubRef) const

Definition at line 519 of file Setup.cc.

References barrel(), layerId(), offsetLayerDisks_, and offsetLayerId_.

Referenced by trklet::KFin::consume(), stubPos(), and stubR().

519  {
520  return this->layerId(ttStubRef) - (this->barrel(ttStubRef) ? offsetLayerId_ : offsetLayerId_ + offsetLayerDisks_);
521  }
int offsetLayerDisks_
Definition: Setup.h:799
int offsetLayerId_
Definition: Setup.h:801
int layerId(const TTStubRef &ttStubRef) const
Definition: Setup.cc:507
bool barrel(const TTStubRef &ttStubRef) const
Definition: Setup.cc:524

◆ innerRadius()

double tt::Setup::innerRadius ( void  ) const
inline

Definition at line 243 of file Setup.h.

References innerRadius_.

243 { return innerRadius_; }
double innerRadius_
Definition: Setup.h:721

◆ invPtToDphi()

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

Definition at line 182 of file Setup.h.

References invPtToDphi_.

182 { return invPtToDphi_; }
double invPtToDphi_
Definition: Setup.h:959

◆ kfinShiftRangePhi()

int tt::Setup::kfinShiftRangePhi ( ) const
inline

Definition at line 480 of file Setup.h.

References kfinShiftRangePhi_.

480 { return kfinShiftRangePhi_; }
int kfinShiftRangePhi_
Definition: Setup.h:883

◆ kfinShiftRangeZ()

int tt::Setup::kfinShiftRangeZ ( ) const
inline

Definition at line 482 of file Setup.h.

References kfinShiftRangeZ_.

482 { return kfinShiftRangeZ_; }
int kfinShiftRangeZ_
Definition: Setup.h:885

◆ kfMaxLayers()

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

Definition at line 491 of file Setup.h.

References kfMaxLayers_.

Referenced by trackerTFP::KalmanFilter::comb().

491 { return kfMaxLayers_; }
int kfMaxLayers_
Definition: Setup.h:894

◆ kfMinLayers()

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

◆ kfNumWorker()

int tt::Setup::kfNumWorker ( ) const
inline

Definition at line 487 of file Setup.h.

References kfNumWorker_.

Referenced by trklet::ProducerKFout::beginRun(), and trackerTFP::DataFormats::DataFormats().

487 { return kfNumWorker_; }
int kfNumWorker_
Definition: Setup.h:890

◆ kfoutchi2rphiBins()

std::vector<double> tt::Setup::kfoutchi2rphiBins ( ) const
inline

Definition at line 498 of file Setup.h.

References kfoutchi2rphiBins_.

Referenced by trklet::ProducerKFout::produce().

498 { return kfoutchi2rphiBins_; }
std::vector< double > kfoutchi2rphiBins_
Definition: Setup.h:909

◆ kfoutchi2rphiConv()

int tt::Setup::kfoutchi2rphiConv ( ) const
inline

Definition at line 502 of file Setup.h.

References kfoutchi2rphiConv_.

Referenced by trklet::ProducerKFout::produce().

502 { return kfoutchi2rphiConv_; }
int kfoutchi2rphiConv_
Definition: Setup.h:913

◆ kfoutchi2rzBins()

std::vector<double> tt::Setup::kfoutchi2rzBins ( ) const
inline

Definition at line 500 of file Setup.h.

References kfoutchi2rzBins_.

Referenced by trklet::ProducerKFout::produce().

500 { return kfoutchi2rzBins_; }
std::vector< double > kfoutchi2rzBins_
Definition: Setup.h:911

◆ kfoutchi2rzConv()

int tt::Setup::kfoutchi2rzConv ( ) const
inline

Definition at line 504 of file Setup.h.

References kfoutchi2rzConv_.

Referenced by trklet::ProducerKFout::produce().

504 { return kfoutchi2rzConv_; }
int kfoutchi2rzConv_
Definition: Setup.h:915

◆ kfRangeFactor()

double tt::Setup::kfRangeFactor ( ) const
inline

Definition at line 493 of file Setup.h.

References kfRangeFactor_.

493 { return kfRangeFactor_; }
double kfRangeFactor_
Definition: Setup.h:896

◆ layerId()

int tt::Setup::layerId ( const TTStubRef ttStubRef) const

Definition at line 507 of file Setup.cc.

References TrackerTopology::layer(), offsetLayerDisks_, DetId::subdetId(), TrackerTopology::tidWheel(), StripSubdetector::TOB, and trackerTopology_.

Referenced by trklet::KFin::consume(), hybridDiskZ(), hybridLayerR(), hybridNumRingsPS(), indexLayerId(), trklet::ChannelAssignment::layerId(), numTiltedLayerRing(), trackerTFP::ProducerKFin::produce(), reconstructable(), stubPos(), stubR(), trackletLayerId(), windowSizeBarrelLayer(), windowSizeEndcapDisksRing(), and windowSizeTiltedLayerRing().

507  {
508  const DetId& detId = ttStubRef->getDetId();
509  return detId.subdetId() == StripSubdetector::TOB ? trackerTopology_->layer(detId)
511  }
int offsetLayerDisks_
Definition: Setup.h:799
unsigned int tidWheel(const DetId &id) const
unsigned int layer(const DetId &id) const
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
Definition: DetId.h:17
const TrackerTopology * trackerTopology_
Definition: Setup.h:549

◆ layerMap() [1/4]

TTBV tt::Setup::layerMap ( const std::vector< int > &  ints) const

Definition at line 536 of file Setup.cc.

References mps_fire::i, kfWidthLayerCount_, and numLayers_.

536  {
537  TTBV ttBV;
538  for (int layer = numLayers_ - 1; layer >= 0; layer--) {
539  const int i = ints[layer];
540  ttBV += TTBV(i, kfWidthLayerCount_);
541  }
542  return ttBV;
543  }
int numLayers_
Definition: Setup.h:608
Bit vector used by Track Trigger emulators. Mainly used to convert integers into arbitrary (within ma...
Definition: TTBV.h:20
int kfWidthLayerCount_
Definition: Setup.h:1069
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer

◆ layerMap() [2/4]

TTBV tt::Setup::layerMap ( const TTBV hitPattern,
const std::vector< int > &  ints 
) const

Definition at line 546 of file Setup.cc.

References mps_fire::i, kfWidthLayerCount_, and numLayers_.

546  {
547  TTBV ttBV;
548  for (int layer = numLayers_ - 1; layer >= 0; layer--) {
549  const int i = ints[layer];
550  ttBV += TTBV((hitPattern[layer] ? i - 1 : 0), kfWidthLayerCount_);
551  }
552  return ttBV;
553  }
int numLayers_
Definition: Setup.h:608
Bit vector used by Track Trigger emulators. Mainly used to convert integers into arbitrary (within ma...
Definition: TTBV.h:20
int kfWidthLayerCount_
Definition: Setup.h:1069
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer

◆ layerMap() [3/4]

vector< int > tt::Setup::layerMap ( const TTBV hitPattern,
const TTBV ttBV 
) const

Definition at line 556 of file Setup.cc.

References TTBV::extract(), mps_fire::i, kfWidthLayerCount_, and numLayers_.

556  {
557  TTBV bv(ttBV);
558  vector<int> ints(numLayers_, 0);
559  for (int layer = 0; layer < numLayers_; layer++) {
560  const int i = bv.extract(kfWidthLayerCount_);
561  ints[layer] = i + (hitPattern[layer] ? 1 : 0);
562  }
563  return ints;
564  }
int numLayers_
Definition: Setup.h:608
Bit vector used by Track Trigger emulators. Mainly used to convert integers into arbitrary (within ma...
Definition: TTBV.h:20
int kfWidthLayerCount_
Definition: Setup.h:1069
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer

◆ layerMap() [4/4]

vector< int > tt::Setup::layerMap ( const TTBV ttBV) const

Definition at line 567 of file Setup.cc.

References TTBV::extract(), kfWidthLayerCount_, and numLayers_.

567  {
568  TTBV bv(ttBV);
569  vector<int> ints(numLayers_, 0);
570  for (int layer = 0; layer < numLayers_; layer++)
571  ints[layer] = bv.extract(kfWidthLayerCount_);
572  return ints;
573  }
int numLayers_
Definition: Setup.h:608
Bit vector used by Track Trigger emulators. Mainly used to convert integers into arbitrary (within ma...
Definition: TTBV.h:20
int kfWidthLayerCount_
Definition: Setup.h:1069
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer

◆ length2S()

double tt::Setup::length2S ( ) const
inline

Definition at line 173 of file Setup.h.

References length2S_.

Referenced by trklet::KFin::produce().

173 { return length2S_; }
double length2S_
Definition: Setup.h:747

◆ lengthPS()

double tt::Setup::lengthPS ( ) const
inline

Definition at line 175 of file Setup.h.

References lengthPS_.

Referenced by trklet::KFin::produce().

175 { return lengthPS_; }
double lengthPS_
Definition: Setup.h:749

◆ maxCot()

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

Definition at line 424 of file Setup.h.

References maxCot_.

424 { return maxCot_; }
double maxCot_
Definition: Setup.h:1049

◆ maxdPhi()

double tt::Setup::maxdPhi ( ) const
inline

Definition at line 161 of file Setup.h.

References maxdPhi_.

161 { return maxdPhi_; }
double maxdPhi_
Definition: Setup.h:737

◆ maxdZ()

double tt::Setup::maxdZ ( ) const
inline

Definition at line 163 of file Setup.h.

References maxdZ_.

163 { return maxdZ_; }
double maxdZ_
Definition: Setup.h:741

◆ maxEta()

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

Definition at line 211 of file Setup.h.

References maxEta_.

Referenced by trklet::KFin::consume(), and trklet::KFin::produce().

211 { return maxEta_; }
double maxEta_
Definition: Setup.h:604

◆ maxLength()

double tt::Setup::maxLength ( ) const
inline

Definition at line 247 of file Setup.h.

References maxLength_.

247 { return maxLength_; }
double maxLength_
Definition: Setup.h:727

◆ maxZT()

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

Definition at line 422 of file Setup.h.

References maxZT_.

422 { return maxZT_; }
double maxZT_
Definition: Setup.h:1047

◆ mhtMinLayers()

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

Definition at line 456 of file Setup.h.

References mhtMinLayers_.

Referenced by trackerTFP::ZHoughTransform::fill(), and trackerTFP::MiniHoughTransform::fill().

456 { return mhtMinLayers_; }
int mhtMinLayers_
Definition: Setup.h:863

◆ mhtNumBinsInv2R()

int tt::Setup::mhtNumBinsInv2R ( ) const
inline

Definition at line 446 of file Setup.h.

References mhtNumBinsInv2R_.

Referenced by trackerTFP::StubMHT::StubMHT().

446 { return mhtNumBinsInv2R_; }
int mhtNumBinsInv2R_
Definition: Setup.h:853

◆ mhtNumBinsPhiT()

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

Definition at line 448 of file Setup.h.

References mhtNumBinsPhiT_.

Referenced by trackerTFP::MiniHoughTransform::fill(), and trackerTFP::StubMHT::StubMHT().

448 { return mhtNumBinsPhiT_; }
int mhtNumBinsPhiT_
Definition: Setup.h:855

◆ mhtNumCells()

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

Definition at line 458 of file Setup.h.

References mhtNumCells_.

458 { return mhtNumCells_; }
int mhtNumCells_
Definition: Setup.h:1060

◆ mhtNumDLBChannel()

int tt::Setup::mhtNumDLBChannel ( ) const
inline

Definition at line 454 of file Setup.h.

References mhtNumDLBChannel_.

454 { return mhtNumDLBChannel_; }
int mhtNumDLBChannel_
Definition: Setup.h:861

◆ mhtNumDLBNodes()

int tt::Setup::mhtNumDLBNodes ( ) const
inline

Definition at line 452 of file Setup.h.

References mhtNumDLBNodes_.

452 { return mhtNumDLBNodes_; }
int mhtNumDLBNodes_
Definition: Setup.h:859

◆ mhtNumDLBs()

int tt::Setup::mhtNumDLBs ( ) const
inline

Definition at line 450 of file Setup.h.

References mhtNumDLBs_.

450 { return mhtNumDLBs_; }
int mhtNumDLBs_
Definition: Setup.h:857

◆ minPt()

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

Definition at line 209 of file Setup.h.

References minPt_.

209 { return minPt_; }
double minPt_
Definition: Setup.h:602

◆ neededRangeChiZ()

double tt::Setup::neededRangeChiZ ( ) const
inline

Definition at line 430 of file Setup.h.

References neededRangeChiZ_.

430 { return neededRangeChiZ_; }
double neededRangeChiZ_
Definition: Setup.h:833

◆ numATCASlots()

int tt::Setup::numATCASlots ( ) const
inline

Definition at line 349 of file Setup.h.

References numATCASlots_.

349 { return numATCASlots_; }
int numATCASlots_
Definition: Setup.h:781

◆ numBarrelLayer()

int tt::Setup::numBarrelLayer ( ) const
inline

Definition at line 371 of file Setup.h.

References numBarrelLayer_.

Referenced by trklet::ChannelAssignment::ChannelAssignment().

371 { return numBarrelLayer_; }
int numBarrelLayer_
Definition: Setup.h:803

◆ numDTCs()

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

Definition at line 373 of file Setup.h.

References numDTCs_.

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

373 { return numDTCs_; }
int numDTCs_
Definition: Setup.h:1016

◆ numDTCsPerRegion()

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

Definition at line 351 of file Setup.h.

References numDTCsPerRegion_.

Referenced by trackerTFP::DataFormats::DataFormats(), and trackerDTC::LayerEncoding::decode().

351 { return numDTCsPerRegion_; }
int numDTCsPerRegion_
Definition: Setup.h:783

◆ numDTCsPerTFP()

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

Definition at line 375 of file Setup.h.

References numDTCsPerTFP_.

Referenced by trackerTFP::DataFormats::DataFormats().

375 { return numDTCsPerTFP_; }
int numDTCsPerTFP_
Definition: Setup.h:1018

◆ numFrames()

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

◆ numFramesFE()

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

Definition at line 159 of file Setup.h.

References numFramesFE_.

159 { return numFramesFE_; }
int numFramesFE_
Definition: Setup.h:957

◆ numFramesInfra()

int tt::Setup::numFramesInfra ( ) const
inline

Definition at line 155 of file Setup.h.

References numFramesInfra_.

155 { return numFramesInfra_; }
int numFramesInfra_
Definition: Setup.h:703

◆ numFramesIO()

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

Definition at line 157 of file Setup.h.

References numFramesIO_.

Referenced by trackerDTC::DTC::merge(), and trklet::ProducerKFout::produce().

157 { return numFramesIO_; }
int numFramesIO_
Definition: Setup.h:955

◆ numLayers()

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

◆ numModules()

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

Definition at line 377 of file Setup.h.

References numModules_.

377 { return numModules_; }
int numModules_
Definition: Setup.h:1020

◆ numModulesPerDTC()

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

Definition at line 353 of file Setup.h.

References numModulesPerDTC_.

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

353 { return numModulesPerDTC_; }
int numModulesPerDTC_
Definition: Setup.h:785

◆ numOverlappingRegions()

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

Definition at line 347 of file Setup.h.

References numOverlappingRegions_.

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

347 { return numOverlappingRegions_; }
int numOverlappingRegions_
Definition: Setup.h:779

◆ numRegions()

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

◆ numSectors()

int tt::Setup::numSectors ( ) const
inline

Definition at line 426 of file Setup.h.

References numSectors_.

Referenced by trackerTFP::DataFormats::DataFormats().

426 { return numSectors_; }
int numSectors_
Definition: Setup.h:1051

◆ numSectorsEta()

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

◆ numSectorsPhi()

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

◆ numTiltedLayerRing()

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

Definition at line 309 of file Setup.h.

References layerId(), and numTiltedLayerRings_.

Referenced by L1FPGATrackProducer::produce().

309 { return numTiltedLayerRings_.at(layerId); };
std::vector< double > numTiltedLayerRings_
Definition: Setup.h:940
int layerId(const TTStubRef &ttStubRef) const
Definition: Setup.cc:507

◆ offsetDetIdDSV()

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

Definition at line 363 of file Setup.h.

References offsetDetIdDSV_.

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

363 { return offsetDetIdDSV_; }
int offsetDetIdDSV_
Definition: Setup.h:795

◆ offsetDetIdTP()

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

Definition at line 365 of file Setup.h.

References offsetDetIdTP_.

365 { return offsetDetIdTP_; }
int offsetDetIdTP_
Definition: Setup.h:797

◆ offsetLayerDisks()

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

Definition at line 367 of file Setup.h.

References offsetLayerDisks_.

Referenced by trklet::ChannelAssignment::ChannelAssignment(), and trklet::KFin::consume().

367 { return offsetLayerDisks_; }
int offsetLayerDisks_
Definition: Setup.h:799

◆ offsetLayerId()

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

Definition at line 369 of file Setup.h.

References offsetLayerId_.

Referenced by trklet::ChannelAssignment::ChannelAssignment(), and trklet::KFin::consume().

369 { return offsetLayerId_; }
int offsetLayerId_
Definition: Setup.h:801

◆ outerRadius()

double tt::Setup::outerRadius ( void  ) const
inline

Definition at line 241 of file Setup.h.

References outerRadius_.

Referenced by trklet::KFin::KFin().

241 { return outerRadius_; }
double outerRadius_
Definition: Setup.h:719

◆ pitch2S()

double tt::Setup::pitch2S ( ) const
inline

Definition at line 169 of file Setup.h.

References pitch2S_.

Referenced by trklet::KFin::produce().

169 { return pitch2S_; }
double pitch2S_
Definition: Setup.h:743

◆ pitchPS()

double tt::Setup::pitchPS ( ) const
inline

Definition at line 171 of file Setup.h.

References pitchPS_.

Referenced by trklet::KFin::produce().

171 { return pitchPS_; }
double pitchPS_
Definition: Setup.h:745

◆ produceSensorModules()

void tt::Setup::produceSensorModules ( )
private

Definition at line 445 of file Setup.cc.

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

Referenced by Setup().

445  {
446  sensorModules_.reserve(numModules_);
447  dtcModules_ = vector<vector<SensorModule*>>(numDTCs_);
448  for (vector<SensorModule*>& dtcModules : dtcModules_)
449  dtcModules.reserve(numModulesPerDTC_);
450  enum SubDetId { pixelBarrel = 1, pixelDisks = 2 };
451  // loop over all tracker modules
452  for (const DetId& detId : trackerGeometry_->detIds()) {
453  // skip pixel detector
454  if (detId.subdetId() == pixelBarrel || detId.subdetId() == pixelDisks)
455  continue;
456  // skip multiple detIds per module
457  if (!trackerTopology_->isLower(detId))
458  continue;
459  // lowerDetId - 1 = tk layout det id
460  const DetId detIdTkLayout = detId + offsetDetIdTP_;
461  // tk layout dtc id, lowerDetId - 1 = tk lyout det id
462  const int tklId = cablingMap_->detIdToDTCELinkId(detIdTkLayout).first->second.dtc_id();
463  // track trigger dtc id [0-215]
464  const int dtcId = Setup::dtcId(tklId);
465  // collection of so far connected modules to this dtc
466  vector<SensorModule*>& dtcModules = dtcModules_[dtcId];
467  // construct sendor module
468  sensorModules_.emplace_back(this, detId, dtcId, dtcModules.size());
469  SensorModule* sensorModule = &sensorModules_.back();
470  // store connection between detId and sensor module
471  detIdToSensorModule_.emplace(detId, sensorModule);
472  // store connection between dtcId and sensor module
473  dtcModules.push_back(sensorModule);
474  }
475  for (vector<SensorModule*>& dtcModules : dtcModules_) {
476  dtcModules.shrink_to_fit();
477  // check configuration
478  if ((int)dtcModules.size() > numModulesPerDTC_) {
479  cms::Exception exception("overflow");
480  exception << "Cabling map connects more than " << numModulesPerDTC_ << " modules to a DTC.";
481  exception.addContext("tt::Setup::Setup");
482  throw exception;
483  }
484  }
485  }
const std::vector< SensorModule * > & dtcModules(int dtcId) const
Definition: Setup.h:389
const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
const TrackerDetToDTCELinkCablingMap * cablingMap_
Definition: Setup.h:551
int numDTCs_
Definition: Setup.h:1016
int numModules_
Definition: Setup.h:1020
std::unordered_map< DetId, SensorModule * > detIdToSensorModule_
Definition: Setup.h:1040
const TrackerGeometry * trackerGeometry_
Definition: Setup.h:547
std::vector< SensorModule > sensorModules_
Definition: Setup.h:1036
Definition: DetId.h:17
bool isLower(const DetId &id) const
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...
std::vector< std::vector< SensorModule * > > dtcModules_
Definition: Setup.h:1038
int numModulesPerDTC_
Definition: Setup.h:785
int dtcId(int tklId) const
Definition: Setup.cc:290
SensorModule * sensorModule(const DetId &detId) const
Definition: Setup.cc:361
int offsetDetIdTP_
Definition: Setup.h:797
const TrackerTopology * trackerTopology_
Definition: Setup.h:549

◆ psDiskLimitR()

double tt::Setup::psDiskLimitR ( int  layer) const
inline

Definition at line 167 of file Setup.h.

References psDiskLimitsR_.

167 { return psDiskLimitsR_.at(layer); }
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
std::vector< double > psDiskLimitsR_
Definition: Setup.h:753

◆ psModule() [1/2]

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

Definition at line 318 of file Setup.cc.

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

Referenced by trklet::KFin::consume(), encodingBend(), trklet::KFin::produce(), L1FPGATrackProducer::produce(), and type().

318  {
319  checkDTCId(dtcId);
320  // from tklayout: first 3 are 10 gbps PS, next 3 are 5 gbps PS and residual 6 are 5 gbps 2S modules
321  return slot(dtcId) < slotLimitPS_;
322  }
void checkDTCId(int dtcId) const
Definition: Setup.cc:831
int slot(int dtcId) const
Definition: Setup.cc:355
int slotLimitPS_
Definition: Setup.h:807
int dtcId(int tklId) const
Definition: Setup.cc:290

◆ psModule() [2/2]

bool tt::Setup::psModule ( const TTStubRef ttStubRef) const

Definition at line 530 of file Setup.cc.

References TrackerGeometry::getDetectorType(), TrackerGeometry::Ph2PSP, and trackerGeometry_.

530  {
531  const DetId& detId = ttStubRef->getDetId();
533  }
const TrackerGeometry * trackerGeometry_
Definition: Setup.h:547
ModuleType getDetectorType(DetId) const
Definition: DetId.h:17

◆ reconstructable()

bool tt::Setup::reconstructable ( const std::vector< TTStubRef > &  ttStubRefs) const

Definition at line 634 of file Setup.cc.

References layerId(), and tpMinLayers_.

634  {
635  set<int> hitPattern;
636  for (const TTStubRef& ttStubRef : ttStubRefs)
637  hitPattern.insert(layerId(ttStubRef));
638  return (int)hitPattern.size() >= tpMinLayers_;
639  }
int tpMinLayers_
Definition: Setup.h:670
int layerId(const TTStubRef &ttStubRef) const
Definition: Setup.cc:507

◆ scattering()

double tt::Setup::scattering ( ) const
inline

Definition at line 255 of file Setup.h.

References scattering_.

Referenced by trklet::KFin::produce().

255 { return scattering_; }
double scattering_
Definition: Setup.h:597

◆ sectorCot()

double tt::Setup::sectorCot ( int  eta) const
inline

◆ sensorModule()

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

Definition at line 361 of file Setup.cc.

References detIdToSensorModule_, and cppFunctionSkipper::exception.

Referenced by dPhi(), dZ(), trackerDTC::ProducerED::produce(), produceSensorModules(), v0(), and v1().

361  {
362  const auto it = detIdToSensorModule_.find(detId);
363  if (it == detIdToSensorModule_.end()) {
364  cms::Exception exception("NullPtr");
365  exception << "Unknown DetId used.";
366  exception.addContext("tt::Setup::sensorModule");
367  throw exception;
368  }
369  return it->second;
370  }
std::unordered_map< DetId, SensorModule * > detIdToSensorModule_
Definition: Setup.h:1040

◆ sensorModules()

const std::vector<SensorModule>& tt::Setup::sensorModules ( ) const
inline

Definition at line 126 of file Setup.h.

References sensorModules_.

Referenced by trackerTFP::LayerEncoding::LayerEncoding(), hph::Setup::sensorModules(), and hph::Setup::Setup().

126 { return sensorModules_; }
std::vector< SensorModule > sensorModules_
Definition: Setup.h:1036

◆ side()

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

Definition at line 347 of file Setup.cc.

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

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

347  {
348  checkDTCId(dtcId);
349  const int side = (dtcId % numDTCsPerRegion_) / numATCASlots_;
350  // from tkLayout: first 12 +z, next 12 -z
351  return side == 0;
352  }
void checkDTCId(int dtcId) const
Definition: Setup.cc:831
int numATCASlots_
Definition: Setup.h:781
bool side(int dtcId) const
Definition: Setup.cc:347
int numDTCsPerRegion_
Definition: Setup.h:783
int dtcId(int tklId) const
Definition: Setup.cc:290

◆ slot()

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

Definition at line 355 of file Setup.cc.

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

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

355  {
356  checkDTCId(dtcId);
357  return dtcId % numATCASlots_;
358  }
void checkDTCId(int dtcId) const
Definition: Setup.cc:831
int numATCASlots_
Definition: Setup.h:781
int dtcId(int tklId) const
Definition: Setup.cc:290

◆ stubPos() [1/2]

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

Definition at line 820 of file Setup.cc.

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

Referenced by trklet::KFin::consume(), dPhi(), L1FPGATrackProducer::produce(), stubPos(), and v0().

820  {
821  const DetId detId = ttStubRef->getDetId() + offsetDetIdDSV_;
822  const GeomDetUnit* det = trackerGeometry_->idToDetUnit(detId);
823  const PixelTopology* topol =
824  dynamic_cast<const PixelTopology*>(&(dynamic_cast<const PixelGeomDetUnit*>(det)->specificTopology()));
825  const Plane& plane = dynamic_cast<const PixelGeomDetUnit*>(det)->surface();
826  const MeasurementPoint& mp = ttStubRef->clusterRef(0)->findAverageLocalCoordinatesCentered();
827  return plane.toGlobal(topol->localPosition(mp));
828  }
const TrackerGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
virtual LocalPoint localPosition(const MeasurementPoint &) const =0
Definition: Plane.h:16
const TrackerGeometry * trackerGeometry_
Definition: Setup.h:547
int offsetDetIdDSV_
Definition: Setup.h:795
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:79
Definition: DetId.h:17

◆ stubPos() [2/2]

GlobalPoint tt::Setup::stubPos ( bool  hybrid,
const tt::FrameStub frame,
int  region 
) const

Definition at line 768 of file Setup.cc.

References barrel(), baseRegion_, chosenRofPhi_, tt::deltaPhi(), tt::SensorModule::Disk2S, disk2SRs_, KalmanFilterFormats_cfi::hybrid, hybridBasesPhi_, hybridBasesR_, hybridBasesZ_, hybridDiskZs_, hybridLayerRs_, hybridRangePhi_, hybridWidthLayerId_, hybridWidthsAlpha_, hybridWidthsBend_, hybridWidthsPhi_, hybridWidthsR_, hybridWidthsZ_, indexLayerId(), layerId(), numSectorsPhi_, AlCaHLTBitMon_ParallelJobs::p, HLT_2023v12_cff::region, side(), stubPos(), tmttBasePhi_, tmttBaseR_, tmttBaseZ_, tmttWidthInv2R_, tmttWidthLayer_, tmttWidthPhi_, tmttWidthR_, tmttWidthSectorEta_, tmttWidthZ_, type(), TTBV::val(), and widthBend().

768  {
769  GlobalPoint p;
770  if (frame.first.isNull())
771  return p;
772  TTBV bv(frame.second);
773  if (hybrid) {
774  const bool barrel = this->barrel(frame.first);
775  const int layerId = this->indexLayerId(frame.first);
776  const GlobalPoint gp = this->stubPos(frame.first);
777  const bool side = gp.z() > 0.;
778  const SensorModule::Type type = this->type(frame.first);
779  const int widthBend = hybridWidthsBend_.at(type);
780  const int widthAlpha = hybridWidthsAlpha_.at(type);
781  const int widthPhi = hybridWidthsPhi_.at(type);
782  const int widthZ = hybridWidthsZ_.at(type);
783  const int widthR = hybridWidthsR_.at(type);
784  const double basePhi = hybridBasesPhi_.at(type);
785  const double baseZ = hybridBasesZ_.at(type);
786  const double baseR = hybridBasesR_.at(type);
787  // parse bit vector
788  bv >>= 1 + hybridWidthLayerId_ + widthBend + widthAlpha;
789  double phi = bv.val(basePhi, widthPhi) - hybridRangePhi_ / 2.;
790  bv >>= widthPhi;
791  double z = bv.val(baseZ, widthZ, 0, true);
792  bv >>= widthZ;
793  double r = bv.val(baseR, widthR, 0, barrel);
794  if (barrel)
795  r += hybridLayerRs_.at(layerId);
796  else
797  z += hybridDiskZs_.at(layerId) * (side ? 1. : -1.);
799  if (type == SensorModule::Disk2S) {
800  r = bv.val(widthR);
801  r = disk2SRs_.at(layerId).at((int)r);
802  }
804  } else {
806  double z = (bv.val(tmttWidthZ_, 0, true) + .5) * tmttBaseZ_;
807  bv >>= tmttWidthZ_;
808  double phi = (bv.val(tmttWidthPhi_, 0, true) + .5) * tmttBasePhi_;
809  bv >>= tmttWidthPhi_;
810  double r = (bv.val(tmttWidthR_, 0, true) + .5) * tmttBaseR_;
811  bv >>= tmttWidthR_;
812  r = r + chosenRofPhi_;
815  }
816  return p;
817  }
int tmttWidthInv2R_
Definition: Setup.h:984
int tmttWidthLayer_
Definition: Setup.h:980
int tmttWidthPhi_
Definition: Setup.h:612
Bit vector used by Track Trigger emulators. Mainly used to convert integers into arbitrary (within ma...
Definition: TTBV.h:20
std::vector< double > hybridBasesZ_
Definition: Setup.h:997
int tmttWidthSectorEta_
Definition: Setup.h:982
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
int tmttWidthZ_
Definition: Setup.h:614
SensorModule::Type type(const TTStubRef &ttStubRef) const
Definition: Setup.cc:325
std::vector< int > hybridWidthsR_
Definition: Setup.h:631
double tmttBaseR_
Definition: Setup.h:968
std::vector< double > hybridDiskZs_
Definition: Setup.h:649
std::vector< double > hybridLayerRs_
Definition: Setup.h:647
std::vector< double > hybridBasesPhi_
Definition: Setup.h:995
GlobalPoint stubPos(const TTStubRef &ttStubRef) const
Definition: Setup.cc:820
double baseRegion_
Definition: Setup.h:961
std::vector< double > hybridBasesR_
Definition: Setup.h:993
int layerId(const TTStubRef &ttStubRef) const
Definition: Setup.cc:507
double tmttBaseZ_
Definition: Setup.h:970
int tmttWidthR_
Definition: Setup.h:610
std::vector< int > hybridWidthsAlpha_
Definition: Setup.h:637
std::vector< int > hybridWidthsZ_
Definition: Setup.h:633
int widthBend() const
Definition: Setup.h:328
double chosenRofPhi_
Definition: Setup.h:606
int hybridWidthLayerId_
Definition: Setup.h:991
int numSectorsPhi_
Definition: Setup.h:827
bool side(int dtcId) const
Definition: Setup.cc:347
double deltaPhi(double lhs, double rhs=0.)
Definition: Setup.h:37
int indexLayerId(const TTStubRef &ttStubRef) const
Definition: Setup.cc:519
double hybridRangePhi_
Definition: Setup.h:653
std::vector< int > hybridWidthsPhi_
Definition: Setup.h:635
bool barrel(const TTStubRef &ttStubRef) const
Definition: Setup.cc:524
double tmttBasePhi_
Definition: Setup.h:972
std::vector< int > hybridWidthsBend_
Definition: Setup.h:639
std::vector< std::vector< double > > disk2SRs_
Definition: Setup.h:1011

◆ stubR()

double tt::Setup::stubR ( const TTBV hw,
const TTStubRef ttStubRef 
) const

Definition at line 754 of file Setup.cc.

References barrel(), tt::SensorModule::Disk2S, disk2SRs_, hybridBasesR_, hybridLayerRs_, hybridWidthsR_, indexLayerId(), layerId(), type(), and TTBV::val().

Referenced by trklet::KFin::consume().

754  {
755  const bool barrel = this->barrel(ttStubRef);
756  const int layerId = this->indexLayerId(ttStubRef);
757  const SensorModule::Type type = this->type(ttStubRef);
758  const int widthR = hybridWidthsR_.at(type);
759  const double baseR = hybridBasesR_.at(type);
760  const TTBV hwR(hw, widthR, 0, barrel);
761  double r = hwR.val(baseR) + (barrel ? hybridLayerRs_.at(layerId) : 0.);
762  if (type == SensorModule::Disk2S)
763  r = disk2SRs_.at(layerId).at((int)r);
764  return r;
765  }
Bit vector used by Track Trigger emulators. Mainly used to convert integers into arbitrary (within ma...
Definition: TTBV.h:20
SensorModule::Type type(const TTStubRef &ttStubRef) const
Definition: Setup.cc:325
std::vector< int > hybridWidthsR_
Definition: Setup.h:631
std::vector< double > hybridLayerRs_
Definition: Setup.h:647
std::vector< double > hybridBasesR_
Definition: Setup.h:993
int layerId(const TTStubRef &ttStubRef) const
Definition: Setup.cc:507
int indexLayerId(const TTStubRef &ttStubRef) const
Definition: Setup.cc:519
bool barrel(const TTStubRef &ttStubRef) const
Definition: Setup.cc:524
std::vector< std::vector< double > > disk2SRs_
Definition: Setup.h:1011

◆ tbInnerRadius()

double tt::Setup::tbInnerRadius ( ) const
inline

Definition at line 304 of file Setup.h.

References tbInnerRadius_.

Referenced by trklet::KFin::produce().

304 { return tbInnerRadius_; }
double tbInnerRadius_
Definition: Setup.h:655

◆ tfpNumChannel()

int tt::Setup::tfpNumChannel ( ) const
inline

Definition at line 404 of file Setup.h.

References tfpNumChannel_.

Referenced by trklet::ProducerKFout::produce().

404 { return tfpNumChannel_; }
int tfpNumChannel_
Definition: Setup.h:822

◆ tfpWidthCot()

int tt::Setup::tfpWidthCot ( ) const
inline

Definition at line 400 of file Setup.h.

References tfpWidthCot_.

400 { return tfpWidthCot_; }
int tfpWidthCot_
Definition: Setup.h:818

◆ tfpWidthInv2R()

int tt::Setup::tfpWidthInv2R ( ) const
inline

Definition at line 398 of file Setup.h.

References tfpWidthInv2R_.

398 { return tfpWidthInv2R_; }
int tfpWidthInv2R_
Definition: Setup.h:816

◆ tfpWidthPhi0()

int tt::Setup::tfpWidthPhi0 ( ) const
inline

Definition at line 396 of file Setup.h.

References tfpWidthPhi0_.

396 { return tfpWidthPhi0_; }
int tfpWidthPhi0_
Definition: Setup.h:814

◆ tfpWidthZ0()

int tt::Setup::tfpWidthZ0 ( ) const
inline

Definition at line 402 of file Setup.h.

References tfpWidthZ0_.

402 { return tfpWidthZ0_; }
int tfpWidthZ0_
Definition: Setup.h:820

◆ tiltApproxIntercept()

double tt::Setup::tiltApproxIntercept ( ) const
inline

Definition at line 251 of file Setup.h.

References tiltApproxIntercept_.

Referenced by trklet::KFin::produce().

251 { return tiltApproxIntercept_; }
double tiltApproxIntercept_
Definition: Setup.h:731

◆ tiltApproxSlope()

double tt::Setup::tiltApproxSlope ( ) const
inline

Definition at line 249 of file Setup.h.

References tiltApproxSlope_.

Referenced by trklet::KFin::produce().

249 { return tiltApproxSlope_; }
double tiltApproxSlope_
Definition: Setup.h:729

◆ tiltedLayerLimitZ()

double tt::Setup::tiltedLayerLimitZ ( int  layer) const
inline

Definition at line 165 of file Setup.h.

References tiltedLayerLimitsZ_.

Referenced by trklet::KFin::consume().

165 { return tiltedLayerLimitsZ_.at(layer); }
std::vector< double > tiltedLayerLimitsZ_
Definition: Setup.h:751
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer

◆ tiltUncertaintyR()

double tt::Setup::tiltUncertaintyR ( ) const
inline

Definition at line 253 of file Setup.h.

References tiltUncertaintyR_.

Referenced by trklet::KFin::produce().

253 { return tiltUncertaintyR_; }
double tiltUncertaintyR_
Definition: Setup.h:733

◆ tkLayoutId()

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

Definition at line 300 of file Setup.cc.

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

Referenced by checkTKLayoutId(), and dtcId().

300  {
301  checkDTCId(dtcId);
302  const int slot = dtcId % numATCASlots_;
303  const int region = dtcId / numDTCsPerRegion_;
304  const int side = (dtcId % numDTCsPerRegion_) / numATCASlots_;
305  return (side * numRegions_ + region) * numATCASlots_ + slot + 1;
306  }
void checkDTCId(int dtcId) const
Definition: Setup.cc:831
int slot(int dtcId) const
Definition: Setup.cc:355
int numATCASlots_
Definition: Setup.h:781
bool side(int dtcId) const
Definition: Setup.cc:347
int numRegions_
Definition: Setup.h:777
int numDTCsPerRegion_
Definition: Setup.h:783
int dtcId(int tklId) const
Definition: Setup.cc:290

◆ tmttBaseInv2R()

double tt::Setup::tmttBaseInv2R ( ) const
inline

Definition at line 235 of file Setup.h.

References tmttBaseInv2R_.

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

235 { return tmttBaseInv2R_; }
double tmttBaseInv2R_
Definition: Setup.h:974

◆ tmttBasePhi()

double tt::Setup::tmttBasePhi ( ) const
inline

Definition at line 233 of file Setup.h.

References tmttBasePhi_.

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

233 { return tmttBasePhi_; }
double tmttBasePhi_
Definition: Setup.h:972

◆ tmttBasePhiT()

double tt::Setup::tmttBasePhiT ( ) const
inline

Definition at line 237 of file Setup.h.

References tmttBasePhiT_.

237 { return tmttBasePhiT_; }
double tmttBasePhiT_
Definition: Setup.h:976

◆ tmttBaseR()

double tt::Setup::tmttBaseR ( ) const
inline

Definition at line 229 of file Setup.h.

References tmttBaseR_.

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

229 { return tmttBaseR_; }
double tmttBaseR_
Definition: Setup.h:968

◆ tmttBaseZ()

double tt::Setup::tmttBaseZ ( ) const
inline

Definition at line 231 of file Setup.h.

References tmttBaseZ_.

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

231 { return tmttBaseZ_; }
double tmttBaseZ_
Definition: Setup.h:970

◆ tmttNumUnusedBits()

int tt::Setup::tmttNumUnusedBits ( ) const
inline

Definition at line 239 of file Setup.h.

References tmttNumUnusedBits_.

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

239 { return tmttNumUnusedBits_; }
int tmttNumUnusedBits_
Definition: Setup.h:986

◆ tmttWidthInv2R()

int tt::Setup::tmttWidthInv2R ( ) const
inline

Definition at line 227 of file Setup.h.

References tmttWidthInv2R_.

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

227 { return tmttWidthInv2R_; }
int tmttWidthInv2R_
Definition: Setup.h:984

◆ tmttWidthLayer()

int tt::Setup::tmttWidthLayer ( ) const
inline

Definition at line 223 of file Setup.h.

References tmttWidthLayer_.

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

223 { return tmttWidthLayer_; }
int tmttWidthLayer_
Definition: Setup.h:980

◆ tmttWidthPhi()

int tt::Setup::tmttWidthPhi ( ) const
inline

Definition at line 219 of file Setup.h.

References tmttWidthPhi_.

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

219 { return tmttWidthPhi_; }
int tmttWidthPhi_
Definition: Setup.h:612

◆ tmttWidthR()

int tt::Setup::tmttWidthR ( ) const
inline

Definition at line 217 of file Setup.h.

References tmttWidthR_.

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

217 { return tmttWidthR_; }
int tmttWidthR_
Definition: Setup.h:610

◆ tmttWidthSectorEta()

int tt::Setup::tmttWidthSectorEta ( ) const
inline

Definition at line 225 of file Setup.h.

References tmttWidthSectorEta_.

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

225 { return tmttWidthSectorEta_; }
int tmttWidthSectorEta_
Definition: Setup.h:982

◆ tmttWidthZ()

int tt::Setup::tmttWidthZ ( ) const
inline

Definition at line 221 of file Setup.h.

References tmttWidthZ_.

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

221 { return tmttWidthZ_; }
int tmttWidthZ_
Definition: Setup.h:614

◆ tpMaxBadStubs2S()

int tt::Setup::tpMaxBadStubs2S ( ) const
inline

Definition at line 200 of file Setup.h.

References tpMaxBadStubs2S_.

200 { return tpMaxBadStubs2S_; }
int tpMaxBadStubs2S_
Definition: Setup.h:674

◆ tpMaxBadStubsPS()

int tt::Setup::tpMaxBadStubsPS ( ) const
inline

Definition at line 202 of file Setup.h.

References tpMaxBadStubsPS_.

202 { return tpMaxBadStubsPS_; }
int tpMaxBadStubsPS_
Definition: Setup.h:676

◆ tpMaxD0()

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

Definition at line 194 of file Setup.h.

References tpMaxD0_.

194 { return tpMaxD0_; }
double tpMaxD0_
Definition: Setup.h:668

◆ tpMaxEta()

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

Definition at line 188 of file Setup.h.

References tpMaxEta_.

188 { return tpMaxEta_; }
double tpMaxEta_
Definition: Setup.h:662

◆ tpMaxVertR()

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

Definition at line 190 of file Setup.h.

References tpMaxVertR_.

190 { return tpMaxVertR_; }
double tpMaxVertR_
Definition: Setup.h:664

◆ tpMaxVertZ()

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

Definition at line 192 of file Setup.h.

References tpMaxVertZ_.

192 { return tpMaxVertZ_; }
double tpMaxVertZ_
Definition: Setup.h:666

◆ tpMinLayers()

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

Definition at line 196 of file Setup.h.

References tpMinLayers_.

196 { return tpMinLayers_; }
int tpMinLayers_
Definition: Setup.h:670

◆ tpMinLayersPS()

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

Definition at line 198 of file Setup.h.

References tpMinLayersPS_.

198 { return tpMinLayersPS_; }
int tpMinLayersPS_
Definition: Setup.h:672

◆ tpMinPt()

double tt::Setup::tpMinPt ( ) const
inline

Definition at line 186 of file Setup.h.

References tpMinPt_.

186 { return tpMinPt_; }
double tpMinPt_
Definition: Setup.h:660

◆ trackerGeometry()

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

Definition at line 80 of file Setup.h.

References trackerGeometry_.

80 { return trackerGeometry_; }
const TrackerGeometry * trackerGeometry_
Definition: Setup.h:547

◆ trackerTopology()

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

Definition at line 82 of file Setup.h.

References trackerTopology_.

82 { return trackerTopology_; }
const TrackerTopology * trackerTopology_
Definition: Setup.h:549

◆ trackletLayerId()

int tt::Setup::trackletLayerId ( const TTStubRef ttStubRef) const

Definition at line 514 of file Setup.cc.

References barrel(), layerId(), numBarrelLayer_, and offsetLayerId_.

Referenced by trklet::KFin::consume().

514  {
515  return this->layerId(ttStubRef) - (this->barrel(ttStubRef) ? offsetLayerId_ : numBarrelLayer_ - offsetLayerId_);
516  }
int numBarrelLayer_
Definition: Setup.h:803
int offsetLayerId_
Definition: Setup.h:801
int layerId(const TTStubRef &ttStubRef) const
Definition: Setup.cc:507
bool barrel(const TTStubRef &ttStubRef) const
Definition: Setup.cc:524

◆ ttDTC()

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

Definition at line 90 of file Setup.h.

References numDTCsPerRegion_, numOverlappingRegions_, and numRegions_.

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

int numOverlappingRegions_
Definition: Setup.h:779
Class to store hardware like structured TTStub Collection used by Track Trigger emulators.
Definition: TTDTC.h:17
int numRegions_
Definition: Setup.h:777
int numDTCsPerRegion_
Definition: Setup.h:783

◆ tttrackBits()

int tt::Setup::tttrackBits ( ) const
inline

Definition at line 506 of file Setup.h.

References tttrackBits_.

Referenced by trklet::ProducerKFout::produce().

506 { return tttrackBits_; }
int tttrackBits_
Definition: Setup.h:917

◆ type()

SensorModule::Type tt::Setup::type ( const TTStubRef ttStubRef) const

Definition at line 325 of file Setup.cc.

References barrel(), tt::SensorModule::Barrel2S, tt::SensorModule::BarrelPS, tt::SensorModule::Disk2S, tt::SensorModule::DiskPS, and psModule().

Referenced by stubPos(), stubR(), and trklet::ChannelAssignment::type().

325  {
326  const bool barrel = this->barrel(ttStubRef);
327  const bool psModule = this->psModule(ttStubRef);
329  if (barrel && psModule)
331  if (barrel && !psModule)
333  if (!barrel && psModule)
335  if (!barrel && !psModule)
337  return type;
338  }
SensorModule::Type type(const TTStubRef &ttStubRef) const
Definition: Setup.cc:325
bool psModule(int dtcId) const
Definition: Setup.cc:318
bool barrel(const TTStubRef &ttStubRef) const
Definition: Setup.cc:524

◆ useForAlgEff()

bool tt::Setup::useForAlgEff ( const TrackingParticle tp) const

Definition at line 642 of file Setup.cc.

References funct::abs(), HltBtagPostValidation_cff::c, funct::cos(), d0, alignCSCRings::s, funct::sin(), cmsswSequenceInfo::tp, tpMaxD0_, tpMaxVertZ_, tpSelector_, and findQualityFiles::v.

642  {
643  const bool selected = tpSelector_(tp);
644  const double cot = sinh(tp.eta());
645  const double s = sin(tp.phi());
646  const double c = cos(tp.phi());
647  const TrackingParticle::Point& v = tp.vertex();
648  const double z0 = v.z() - (v.x() * c + v.y() * s) * cot;
649  const double d0 = v.x() * s - v.y() * c;
650  return selected && (abs(d0) < tpMaxD0_) && (abs(z0) < tpMaxVertZ_);
651  }
TrackingParticleSelector tpSelector_
Definition: Setup.h:933
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
math::XYZPointD Point
point in the space
double tpMaxVertZ_
Definition: Setup.h:666
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
static constexpr float d0
double tpMaxD0_
Definition: Setup.h:668

◆ useForReconstructable()

bool tt::Setup::useForReconstructable ( const TrackingParticle tp) const
inline

Definition at line 96 of file Setup.h.

References cmsswSequenceInfo::tp, and tpSelectorLoose_.

96 { return tpSelectorLoose_(tp); }
TrackingParticleSelector tpSelectorLoose_
Definition: Setup.h:935

◆ v0()

double tt::Setup::v0 ( const TTStubRef ttStubRef,
double  inv2R 
) const

Definition at line 613 of file Setup.cc.

References tt::SensorModule::barrel(), PV3DBase< T, PVType, FrameType >::perp(), tt::SensorModule::pitchCol(), tt::SensorModule::pitchRow(), funct::pow(), scattering_, sensorModule(), stubPos(), and tmttBasePhi_.

Referenced by trackerTFP::TrackKF::ttTrack().

613  {
614  const DetId& detId = ttStubRef->getDetId();
615  SensorModule* sm = sensorModule(detId + 1);
616  const double r = stubPos(ttStubRef).perp();
617  const double sigma = pow(sm->pitchRow() / r, 2) / 12.;
618  const double scat = pow(scattering_ * inv2R, 2);
619  const double extra = sm->barrel() ? 0. : pow(sm->pitchCol() * inv2R, 2);
620  const double digi = pow(tmttBasePhi_ / 12., 2);
621  return sigma + scat + extra + digi;
622  }
T perp() const
Definition: PV3DBase.h:69
GlobalPoint stubPos(const TTStubRef &ttStubRef) const
Definition: Setup.cc:820
double scattering_
Definition: Setup.h:597
Definition: DetId.h:17
SensorModule * sensorModule(const DetId &detId) const
Definition: Setup.cc:361
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
double tmttBasePhi_
Definition: Setup.h:972

◆ v1()

double tt::Setup::v1 ( const TTStubRef ttStubRef,
double  cot 
) const

Definition at line 625 of file Setup.cc.

References tt::SensorModule::pitchCol(), funct::pow(), sensorModule(), tt::SensorModule::tiltCorrection(), and tmttBaseZ_.

Referenced by trackerTFP::TrackKF::ttTrack().

625  {
626  const DetId& detId = ttStubRef->getDetId();
627  SensorModule* sm = sensorModule(detId + 1);
628  const double sigma = pow(sm->pitchCol() * sm->tiltCorrection(cot), 2) / 12.;
629  const double digi = pow(tmttBaseZ_ / 12., 2);
630  return sigma + digi;
631  }
double tmttBaseZ_
Definition: Setup.h:970
Definition: DetId.h:17
SensorModule * sensorModule(const DetId &detId) const
Definition: Setup.cc:361
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ weightBinFraction()

int tt::Setup::weightBinFraction ( ) const
inline

Definition at line 508 of file Setup.h.

References weightBinFraction_.

Referenced by trklet::ProducerKFout::beginRun(), and trklet::ProducerKFout::produce().

508 { return weightBinFraction_; }
int weightBinFraction_
Definition: Setup.h:919

◆ widthAddrBRAM18()

int tt::Setup::widthAddrBRAM18 ( ) const
inline

Definition at line 151 of file Setup.h.

References widthAddrBRAM18_.

Referenced by trklet::KFin::consume(), trackerTFP::FormatKF< v >::FormatKF(), and trklet::KFin::produce().

151 { return widthAddrBRAM18_; }
int widthAddrBRAM18_
Definition: Setup.h:701

◆ widthAddrBRAM36()

int tt::Setup::widthAddrBRAM36 ( ) const
inline

Definition at line 149 of file Setup.h.

References widthAddrBRAM36_.

149 { return widthAddrBRAM36_; }
int widthAddrBRAM36_
Definition: Setup.h:699

◆ widthBend()

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

Definition at line 328 of file Setup.h.

References widthBend_.

Referenced by stubPos().

328 { return widthBend_; }
int widthBend_
Definition: Setup.h:758

◆ widthCol()

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

Definition at line 330 of file Setup.h.

References widthCol_.

330 { return widthCol_; }
int widthCol_
Definition: Setup.h:760

◆ widthDSPa()

int tt::Setup::widthDSPa ( ) const
inline

Definition at line 131 of file Setup.h.

References widthDSPa_.

131 { return widthDSPa_; }
int widthDSPa_
Definition: Setup.h:681

◆ widthDSPab()

int tt::Setup::widthDSPab ( ) const
inline

Definition at line 133 of file Setup.h.

References widthDSPab_.

Referenced by trackerTFP::FormatKF< v >::FormatKF().

133 { return widthDSPab_; }
int widthDSPab_
Definition: Setup.h:683

◆ widthDSPau()

int tt::Setup::widthDSPau ( ) const
inline

Definition at line 135 of file Setup.h.

References widthDSPau_.

Referenced by trackerTFP::FormatKF< v >::FormatKF().

135 { return widthDSPau_; }
int widthDSPau_
Definition: Setup.h:685

◆ widthDSPb()

int tt::Setup::widthDSPb ( ) const
inline

Definition at line 137 of file Setup.h.

References widthDSPb_.

137 { return widthDSPb_; }
int widthDSPb_
Definition: Setup.h:687

◆ widthDSPbb()

int tt::Setup::widthDSPbb ( ) const
inline

Definition at line 139 of file Setup.h.

References widthDSPbb_.

Referenced by trackerTFP::FormatKF< v >::FormatKF().

139 { return widthDSPbb_; }
int widthDSPbb_
Definition: Setup.h:689

◆ widthDSPbu()

int tt::Setup::widthDSPbu ( ) const
inline

Definition at line 141 of file Setup.h.

References widthDSPbu_.

Referenced by trackerTFP::FormatKF< v >::FormatKF(), trklet::KFin::KFin(), and trklet::KFin::produce().

141 { return widthDSPbu_; }
int widthDSPbu_
Definition: Setup.h:691

◆ widthDSPc()

int tt::Setup::widthDSPc ( ) const
inline

Definition at line 143 of file Setup.h.

References widthDSPc_.

143 { return widthDSPc_; }
int widthDSPc_
Definition: Setup.h:693

◆ widthDSPcb()

int tt::Setup::widthDSPcb ( ) const
inline

Definition at line 145 of file Setup.h.

References widthDSPcb_.

145 { return widthDSPcb_; }
int widthDSPcb_
Definition: Setup.h:695

◆ widthDSPcu()

int tt::Setup::widthDSPcu ( ) const
inline

Definition at line 147 of file Setup.h.

References widthDSPcu_.

147 { return widthDSPcu_; }
int widthDSPcu_
Definition: Setup.h:697

◆ widthRow()

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

Definition at line 332 of file Setup.h.

References widthRow_.

332 { return widthRow_; }
int widthRow_
Definition: Setup.h:762

◆ windowSizeBarrelLayer()

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

Definition at line 311 of file Setup.h.

References layerId(), and windowSizeBarrelLayers_.

311 { return windowSizeBarrelLayers_.at(layerId); };
int layerId(const TTStubRef &ttStubRef) const
Definition: Setup.cc:507
std::vector< double > windowSizeBarrelLayers_
Definition: Setup.h:942

◆ windowSizeEndcapDisksRing()

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

Definition at line 317 of file Setup.h.

References layerId(), relativeConstraints::ring, and windowSizeEndcapDisksRings_.

317  {
319  };
int layerId(const TTStubRef &ttStubRef) const
Definition: Setup.cc:507
std::vector< std::vector< double > > windowSizeEndcapDisksRings_
Definition: Setup.h:946

◆ windowSizeTiltedLayerRing()

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

Definition at line 313 of file Setup.h.

References layerId(), relativeConstraints::ring, and windowSizeTiltedLayerRings_.

313  {
315  };
std::vector< std::vector< double > > windowSizeTiltedLayerRings_
Definition: Setup.h:944
int layerId(const TTStubRef &ttStubRef) const
Definition: Setup.cc:507

◆ zhtMaxStubsPerLayer()

int tt::Setup::zhtMaxStubsPerLayer ( ) const
inline

Definition at line 473 of file Setup.h.

References zhtMaxStubsPerLayer_.

Referenced by trackerTFP::ProducerKFin::produce().

473 { return zhtMaxStubsPerLayer_; }
int zhtMaxStubsPerLayer_
Definition: Setup.h:878

◆ zhtMaxTracks()

int tt::Setup::zhtMaxTracks ( ) const
inline

Definition at line 471 of file Setup.h.

References zhtMaxTracks_.

Referenced by trackerTFP::ProducerZHTout::produce().

471 { return zhtMaxTracks_; }
int zhtMaxTracks_
Definition: Setup.h:876

◆ zhtMinLayers()

int tt::Setup::zhtMinLayers ( ) const
inline

Definition at line 469 of file Setup.h.

References zhtMinLayers_.

469 { return zhtMinLayers_; }
int zhtMinLayers_
Definition: Setup.h:874

◆ zhtNumBinsCot()

int tt::Setup::zhtNumBinsCot ( ) const
inline

Definition at line 465 of file Setup.h.

References zhtNumBinsCot_.

465 { return zhtNumBinsCot_; }
int zhtNumBinsCot_
Definition: Setup.h:870

◆ zhtNumBinsZT()

int tt::Setup::zhtNumBinsZT ( ) const
inline

Definition at line 463 of file Setup.h.

References zhtNumBinsZT_.

Referenced by trackerTFP::ZHoughTransform::fill().

463 { return zhtNumBinsZT_; }
int zhtNumBinsZT_
Definition: Setup.h:868

◆ zhtNumCells()

int tt::Setup::zhtNumCells ( ) const
inline

◆ zhtNumStages()

int tt::Setup::zhtNumStages ( ) const
inline

Member Data Documentation

◆ baseBend_

double tt::Setup::baseBend_
private

Definition at line 764 of file Setup.h.

Referenced by baseBend().

◆ baseCol_

double tt::Setup::baseCol_
private

Definition at line 766 of file Setup.h.

Referenced by baseCol().

◆ baseRegion_

double tt::Setup::baseRegion_
private

Definition at line 961 of file Setup.h.

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

◆ baseRow_

double tt::Setup::baseRow_
private

Definition at line 768 of file Setup.h.

Referenced by baseRow(), and calculateConstants().

◆ baseSector_

double tt::Setup::baseSector_
private

Definition at line 1045 of file Setup.h.

Referenced by baseSector(), and calculateConstants().

◆ baseWindowSize_

double tt::Setup::baseWindowSize_
private

Definition at line 770 of file Setup.h.

Referenced by baseWindowSize(), and consumeStubAlgorithm().

◆ beamWindowZ_

double tt::Setup::beamWindowZ_
private

Definition at line 587 of file Setup.h.

Referenced by beamWindowZ().

◆ bendCut_

double tt::Setup::bendCut_
private

Definition at line 772 of file Setup.h.

Referenced by bendCut().

◆ bField_

double tt::Setup::bField_
private

Definition at line 715 of file Setup.h.

Referenced by bField(), calculateConstants(), and checkMagneticField().

◆ bFieldError_

double tt::Setup::bFieldError_
private

Definition at line 717 of file Setup.h.

Referenced by checkMagneticField().

◆ boundariesEta_

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

Definition at line 837 of file Setup.h.

Referenced by boundarieEta(), and calculateConstants().

◆ cablingMap_

const TrackerDetToDTCELinkCablingMap* tt::Setup::cablingMap_
private

Definition at line 551 of file Setup.h.

Referenced by produceSensorModules().

◆ chosenRofPhi_

double tt::Setup::chosenRofPhi_
private

Definition at line 606 of file Setup.h.

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

◆ chosenRofZ_

double tt::Setup::chosenRofZ_
private

Definition at line 831 of file Setup.h.

Referenced by calculateConstants(), and chosenRofZ().

◆ configurationSupported_

bool tt::Setup::configurationSupported_
private

Definition at line 931 of file Setup.h.

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

◆ detIdToSensorModule_

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

Definition at line 1040 of file Setup.h.

Referenced by produceSensorModules(), and sensorModule().

◆ disk2SRs_

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

Definition at line 1011 of file Setup.h.

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

◆ drDepthMemory_

int tt::Setup::drDepthMemory_
private

Definition at line 924 of file Setup.h.

Referenced by drDepthMemory().

◆ dtcBaseInv2R_

double tt::Setup::dtcBaseInv2R_
private

Definition at line 1028 of file Setup.h.

Referenced by calculateConstants(), and dtcBaseInv2R().

◆ dtcBaseM_

double tt::Setup::dtcBaseM_
private

Definition at line 1030 of file Setup.h.

Referenced by calculateConstants(), and dtcBaseM().

◆ dtcDepthMemory_

int tt::Setup::dtcDepthMemory_
private

Definition at line 789 of file Setup.h.

Referenced by dtcDepthMemory().

◆ dtcModules_

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

Definition at line 1038 of file Setup.h.

Referenced by dtcModules(), and produceSensorModules().

◆ dtcNumMergedRows_

int tt::Setup::dtcNumMergedRows_
private

Definition at line 1024 of file Setup.h.

Referenced by calculateConstants(), and dtcNumMergedRows().

◆ dtcNumModulesPerRoutingBlock_

int tt::Setup::dtcNumModulesPerRoutingBlock_
private

Definition at line 1022 of file Setup.h.

Referenced by calculateConstants(), and dtcNumModulesPerRoutingBlock().

◆ dtcNumRoutingBlocks_

int tt::Setup::dtcNumRoutingBlocks_
private

Definition at line 787 of file Setup.h.

Referenced by calculateConstants(), and dtcNumRoutingBlocks().

◆ dtcNumStreams_

int tt::Setup::dtcNumStreams_
private

Definition at line 805 of file Setup.h.

Referenced by calculateConstants(), and dtcNumStreams().

◆ dtcNumUnusedBits_

int tt::Setup::dtcNumUnusedBits_
private

Definition at line 978 of file Setup.h.

◆ dtcWidthInv2R_

int tt::Setup::dtcWidthInv2R_
private

Definition at line 793 of file Setup.h.

Referenced by calculateConstants(), and dtcWidthInv2R().

◆ dtcWidthM_

int tt::Setup::dtcWidthM_
private

Definition at line 1026 of file Setup.h.

Referenced by calculateConstants(), and dtcWidthM().

◆ dtcWidthRowLUT_

int tt::Setup::dtcWidthRowLUT_
private

Definition at line 791 of file Setup.h.

Referenced by calculateConstants(), and dtcWidthRowLUT().

◆ encodingsBend2S_

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

Definition at line 1034 of file Setup.h.

Referenced by encodingBend(), and Setup().

◆ encodingsBendPS_

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

Definition at line 1032 of file Setup.h.

Referenced by encodingBend(), and Setup().

◆ freqBE_

double tt::Setup::freqBE_
private

Definition at line 707 of file Setup.h.

Referenced by calculateConstants().

◆ freqLHC_

double tt::Setup::freqLHC_
private

Definition at line 705 of file Setup.h.

Referenced by calculateConstants().

◆ fromDD4hep_

bool tt::Setup::fromDD4hep_
private

Definition at line 564 of file Setup.h.

Referenced by checkGeometry().

◆ gpDepthMemory_

int tt::Setup::gpDepthMemory_
private

Definition at line 835 of file Setup.h.

Referenced by gpDepthMemory().

◆ gpNumUnusedBits_

int tt::Setup::gpNumUnusedBits_
private

Definition at line 1053 of file Setup.h.

◆ halfLength_

double tt::Setup::halfLength_
private

Definition at line 723 of file Setup.h.

Referenced by calculateConstants(), and halfLength().

◆ htDepthMemory_

int tt::Setup::htDepthMemory_
private

Definition at line 848 of file Setup.h.

Referenced by htDepthMemory().

◆ htMinLayers_

int tt::Setup::htMinLayers_
private

Definition at line 846 of file Setup.h.

Referenced by htMinLayers().

◆ htNumBinsInv2R_

int tt::Setup::htNumBinsInv2R_
private

Definition at line 842 of file Setup.h.

Referenced by calculateConstants(), and htNumBinsInv2R().

◆ htNumBinsPhiT_

int tt::Setup::htNumBinsPhiT_
private

Definition at line 844 of file Setup.h.

Referenced by calculateConstants(), and htNumBinsPhiT().

◆ hybridBasePhi_

double tt::Setup::hybridBasePhi_
private

Definition at line 1005 of file Setup.h.

◆ hybridBaseR_

double tt::Setup::hybridBaseR_
private

Definition at line 1003 of file Setup.h.

◆ hybridBasesAlpha_

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

Definition at line 999 of file Setup.h.

Referenced by calculateConstants(), and hybridBaseAlpha().

◆ hybridBasesPhi_

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

Definition at line 995 of file Setup.h.

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

◆ hybridBasesR_

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

Definition at line 993 of file Setup.h.

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

◆ hybridBasesZ_

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

Definition at line 997 of file Setup.h.

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

◆ hybridBaseZ_

double tt::Setup::hybridBaseZ_
private

Definition at line 1001 of file Setup.h.

◆ hybridChosenRofPhi_

double tt::Setup::hybridChosenRofPhi_
private

Definition at line 625 of file Setup.h.

Referenced by calculateConstants(), and hybridChosenRofPhi().

◆ hybridDisk2SRsSet_

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

Definition at line 651 of file Setup.h.

Referenced by calculateConstants().

◆ hybridDiskZs_

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

Definition at line 649 of file Setup.h.

Referenced by hybridDiskZ(), and stubPos().

◆ hybridLayerRs_

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

Definition at line 647 of file Setup.h.

Referenced by hybridLayerR(), stubPos(), and stubR().

◆ hybridMaxCot_

double tt::Setup::hybridMaxCot_
private

Definition at line 1007 of file Setup.h.

Referenced by calculateConstants(), and hybridMaxCot().

◆ hybridMaxEta_

double tt::Setup::hybridMaxEta_
private

Definition at line 623 of file Setup.h.

Referenced by calculateConstants(), and hybridMaxEta().

◆ hybridMinPtCand_

double tt::Setup::hybridMinPtCand_
private

Definition at line 621 of file Setup.h.

Referenced by hybridMinPtCand().

◆ hybridMinPtStub_

double tt::Setup::hybridMinPtStub_
private

Definition at line 619 of file Setup.h.

Referenced by calculateConstants(), and hybridMinPtStub().

◆ hybridNumLayers_

int tt::Setup::hybridNumLayers_
private

Definition at line 627 of file Setup.h.

Referenced by calculateConstants(), and hybridNumLayers().

◆ hybridNumRingsPS_

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

Definition at line 629 of file Setup.h.

Referenced by hybridNumRingsPS().

◆ hybridNumsUnusedBits_

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

Definition at line 1009 of file Setup.h.

Referenced by calculateConstants(), and hybridNumUnusedBits().

◆ hybridRangePhi_

double tt::Setup::hybridRangePhi_
private

Definition at line 653 of file Setup.h.

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

◆ hybridRangesAlpha_

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

Definition at line 645 of file Setup.h.

Referenced by calculateConstants().

◆ hybridRangesR_

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

Definition at line 641 of file Setup.h.

Referenced by calculateConstants(), and hybridRangeR().

◆ hybridRangesZ_

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

Definition at line 643 of file Setup.h.

Referenced by calculateConstants().

◆ hybridWidthLayerId_

int tt::Setup::hybridWidthLayerId_
private

Definition at line 991 of file Setup.h.

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

◆ hybridWidthsAlpha_

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

Definition at line 637 of file Setup.h.

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

◆ hybridWidthsBend_

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

Definition at line 639 of file Setup.h.

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

◆ hybridWidthsPhi_

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

Definition at line 635 of file Setup.h.

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

◆ hybridWidthsR_

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

Definition at line 631 of file Setup.h.

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

◆ hybridWidthsZ_

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

Definition at line 633 of file Setup.h.

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

◆ innerRadius_

double tt::Setup::innerRadius_
private

Definition at line 721 of file Setup.h.

Referenced by calculateConstants(), and innerRadius().

◆ invPtToDphi_

double tt::Setup::invPtToDphi_
private

Definition at line 959 of file Setup.h.

Referenced by calculateConstants(), and invPtToDphi().

◆ kfinShiftRangePhi_

int tt::Setup::kfinShiftRangePhi_
private

Definition at line 883 of file Setup.h.

Referenced by kfinShiftRangePhi().

◆ kfinShiftRangeZ_

int tt::Setup::kfinShiftRangeZ_
private

Definition at line 885 of file Setup.h.

Referenced by kfinShiftRangeZ().

◆ kfMaxLayers_

int tt::Setup::kfMaxLayers_
private

Definition at line 894 of file Setup.h.

Referenced by kfMaxLayers().

◆ kfMinLayers_

int tt::Setup::kfMinLayers_
private

Definition at line 892 of file Setup.h.

Referenced by kfMinLayers().

◆ kfNumWorker_

int tt::Setup::kfNumWorker_
private

Definition at line 890 of file Setup.h.

Referenced by kfNumWorker().

◆ kfoutchi2rphiBins_

std::vector<double> tt::Setup::kfoutchi2rphiBins_
private

Definition at line 909 of file Setup.h.

Referenced by kfoutchi2rphiBins().

◆ kfoutchi2rphiConv_

int tt::Setup::kfoutchi2rphiConv_
private

Definition at line 913 of file Setup.h.

Referenced by kfoutchi2rphiConv().

◆ kfoutchi2rzBins_

std::vector<double> tt::Setup::kfoutchi2rzBins_
private

Definition at line 911 of file Setup.h.

Referenced by kfoutchi2rzBins().

◆ kfoutchi2rzConv_

int tt::Setup::kfoutchi2rzConv_
private

Definition at line 915 of file Setup.h.

Referenced by kfoutchi2rzConv().

◆ kfoutdPhiBins_

std::vector<int> tt::Setup::kfoutdPhiBins_
private

Definition at line 901 of file Setup.h.

◆ kfoutdZBins_

std::vector<int> tt::Setup::kfoutdZBins_
private

Definition at line 903 of file Setup.h.

◆ kfoutv0Bins_

std::vector<int> tt::Setup::kfoutv0Bins_
private

Definition at line 905 of file Setup.h.

◆ kfoutv1Bins_

std::vector<int> tt::Setup::kfoutv1Bins_
private

Definition at line 907 of file Setup.h.

◆ kfRangeFactor_

double tt::Setup::kfRangeFactor_
private

Definition at line 896 of file Setup.h.

Referenced by kfRangeFactor().

◆ kfWidthLayerCount_

int tt::Setup::kfWidthLayerCount_
private

Definition at line 1069 of file Setup.h.

Referenced by calculateConstants(), and layerMap().

◆ length2S_

double tt::Setup::length2S_
private

Definition at line 747 of file Setup.h.

Referenced by calculateConstants(), and length2S().

◆ lengthPS_

double tt::Setup::lengthPS_
private

Definition at line 749 of file Setup.h.

Referenced by calculateConstants(), and lengthPS().

◆ magneticField_

const MagneticField* tt::Setup::magneticField_
private

Definition at line 545 of file Setup.h.

Referenced by checkMagneticField().

◆ matchedLayers_

int tt::Setup::matchedLayers_
private

Definition at line 589 of file Setup.h.

◆ matchedLayersPS_

int tt::Setup::matchedLayersPS_
private

Definition at line 591 of file Setup.h.

◆ maxCot_

double tt::Setup::maxCot_
private

Definition at line 1049 of file Setup.h.

Referenced by calculateConstants(), and maxCot().

◆ maxdPhi_

double tt::Setup::maxdPhi_
private

Definition at line 737 of file Setup.h.

Referenced by dPhi(), and maxdPhi().

◆ maxdZ_

double tt::Setup::maxdZ_
private

Definition at line 741 of file Setup.h.

Referenced by dZ(), and maxdZ().

◆ maxEta_

double tt::Setup::maxEta_
private

Definition at line 604 of file Setup.h.

Referenced by calculateConstants(), and maxEta().

◆ maxLength_

double tt::Setup::maxLength_
private

Definition at line 727 of file Setup.h.

Referenced by calculateConstants(), and maxLength().

◆ maxPitch_

double tt::Setup::maxPitch_
private

Definition at line 725 of file Setup.h.

Referenced by calculateConstants().

◆ maxWindowSize_

int tt::Setup::maxWindowSize_
private

Definition at line 948 of file Setup.h.

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

◆ maxZT_

double tt::Setup::maxZT_
private

Definition at line 1047 of file Setup.h.

Referenced by calculateConstants(), and maxZT().

◆ mhtMinLayers_

int tt::Setup::mhtMinLayers_
private

Definition at line 863 of file Setup.h.

Referenced by mhtMinLayers().

◆ mhtNumBinsInv2R_

int tt::Setup::mhtNumBinsInv2R_
private

Definition at line 853 of file Setup.h.

Referenced by calculateConstants(), and mhtNumBinsInv2R().

◆ mhtNumBinsPhiT_

int tt::Setup::mhtNumBinsPhiT_
private

Definition at line 855 of file Setup.h.

Referenced by calculateConstants(), and mhtNumBinsPhiT().

◆ mhtNumCells_

int tt::Setup::mhtNumCells_
private

Definition at line 1060 of file Setup.h.

Referenced by calculateConstants(), and mhtNumCells().

◆ mhtNumDLBChannel_

int tt::Setup::mhtNumDLBChannel_
private

Definition at line 861 of file Setup.h.

Referenced by mhtNumDLBChannel().

◆ mhtNumDLBNodes_

int tt::Setup::mhtNumDLBNodes_
private

Definition at line 859 of file Setup.h.

Referenced by mhtNumDLBNodes().

◆ mhtNumDLBs_

int tt::Setup::mhtNumDLBs_
private

Definition at line 857 of file Setup.h.

Referenced by mhtNumDLBs().

◆ mindPhi_

double tt::Setup::mindPhi_
private

Definition at line 735 of file Setup.h.

Referenced by dPhi().

◆ mindZ_

double tt::Setup::mindZ_
private

Definition at line 739 of file Setup.h.

Referenced by dZ().

◆ minPt_

double tt::Setup::minPt_
private

Definition at line 602 of file Setup.h.

Referenced by calculateConstants(), and minPt().

◆ neededRangeChiZ_

double tt::Setup::neededRangeChiZ_
private

Definition at line 833 of file Setup.h.

Referenced by neededRangeChiZ().

◆ numATCASlots_

int tt::Setup::numATCASlots_
private

Definition at line 781 of file Setup.h.

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

◆ numBarrelLayer_

int tt::Setup::numBarrelLayer_
private

Definition at line 803 of file Setup.h.

Referenced by numBarrelLayer(), and trackletLayerId().

◆ numDTCs_

int tt::Setup::numDTCs_
private

Definition at line 1016 of file Setup.h.

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

◆ numDTCsPerRegion_

int tt::Setup::numDTCsPerRegion_
private

◆ numDTCsPerTFP_

int tt::Setup::numDTCsPerTFP_
private

Definition at line 1018 of file Setup.h.

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

◆ numFrames_

int tt::Setup::numFrames_
private

Definition at line 953 of file Setup.h.

Referenced by calculateConstants(), and numFrames().

◆ numFramesFE_

int tt::Setup::numFramesFE_
private

Definition at line 957 of file Setup.h.

Referenced by calculateConstants(), and numFramesFE().

◆ numFramesInfra_

int tt::Setup::numFramesInfra_
private

Definition at line 703 of file Setup.h.

Referenced by calculateConstants(), and numFramesInfra().

◆ numFramesIO_

int tt::Setup::numFramesIO_
private

Definition at line 955 of file Setup.h.

Referenced by calculateConstants(), and numFramesIO().

◆ numLayers_

int tt::Setup::numLayers_
private

Definition at line 608 of file Setup.h.

Referenced by calculateConstants(), layerMap(), and numLayers().

◆ numModules_

int tt::Setup::numModules_
private

Definition at line 1020 of file Setup.h.

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

◆ numModulesPerDTC_

int tt::Setup::numModulesPerDTC_
private

Definition at line 785 of file Setup.h.

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

◆ numOverlappingRegions_

int tt::Setup::numOverlappingRegions_
private

Definition at line 779 of file Setup.h.

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

◆ numRegions_

int tt::Setup::numRegions_
private

◆ numSectors_

int tt::Setup::numSectors_
private

Definition at line 1051 of file Setup.h.

Referenced by calculateConstants(), and numSectors().

◆ numSectorsEta_

int tt::Setup::numSectorsEta_
private

Definition at line 829 of file Setup.h.

Referenced by calculateConstants(), and numSectorsEta().

◆ numSectorsPhi_

int tt::Setup::numSectorsPhi_
private

Definition at line 827 of file Setup.h.

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

◆ numTiltedLayerRings_

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

Definition at line 940 of file Setup.h.

Referenced by consumeStubAlgorithm(), and numTiltedLayerRing().

◆ offsetDetIdDSV_

int tt::Setup::offsetDetIdDSV_
private

Definition at line 795 of file Setup.h.

Referenced by offsetDetIdDSV(), and stubPos().

◆ offsetDetIdTP_

int tt::Setup::offsetDetIdTP_
private

Definition at line 797 of file Setup.h.

Referenced by offsetDetIdTP(), and produceSensorModules().

◆ offsetLayerDisks_

int tt::Setup::offsetLayerDisks_
private

Definition at line 799 of file Setup.h.

Referenced by indexLayerId(), layerId(), and offsetLayerDisks().

◆ offsetLayerId_

int tt::Setup::offsetLayerId_
private

Definition at line 801 of file Setup.h.

Referenced by indexLayerId(), offsetLayerId(), and trackletLayerId().

◆ outerRadius_

double tt::Setup::outerRadius_
private

Definition at line 719 of file Setup.h.

Referenced by calculateConstants(), and outerRadius().

◆ phGeometryConfiguration_

std::string tt::Setup::phGeometryConfiguration_
private

Definition at line 580 of file Setup.h.

Referenced by checkHistory().

◆ phTTStubAlgorithm_

std::string tt::Setup::phTTStubAlgorithm_
private

Definition at line 582 of file Setup.h.

Referenced by checkHistory().

◆ pitch2S_

double tt::Setup::pitch2S_
private

Definition at line 743 of file Setup.h.

Referenced by calculateConstants(), and pitch2S().

◆ pitchPS_

double tt::Setup::pitchPS_
private

Definition at line 745 of file Setup.h.

Referenced by calculateConstants(), and pitchPS().

◆ psDiskLimitsR_

std::vector<double> tt::Setup::psDiskLimitsR_
private

Definition at line 753 of file Setup.h.

Referenced by psDiskLimitR().

◆ pSetDR_

edm::ParameterSet tt::Setup::pSetDR_
private

Definition at line 922 of file Setup.h.

◆ pSetDTC_

edm::ParameterSet tt::Setup::pSetDTC_
private

Definition at line 775 of file Setup.h.

◆ pSetFE_

edm::ParameterSet tt::Setup::pSetFE_
private

Definition at line 756 of file Setup.h.

◆ pSetFW_

edm::ParameterSet tt::Setup::pSetFW_
private

Definition at line 679 of file Setup.h.

◆ pSetGC_

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

Definition at line 557 of file Setup.h.

Referenced by checkGeometry().

◆ pSetGP_

edm::ParameterSet tt::Setup::pSetGP_
private

Definition at line 825 of file Setup.h.

◆ pSetHT_

edm::ParameterSet tt::Setup::pSetHT_
private

Definition at line 840 of file Setup.h.

◆ pSetHybrid_

edm::ParameterSet tt::Setup::pSetHybrid_
private

Definition at line 617 of file Setup.h.

◆ pSetIdGeometryConfiguration_

edm::ParameterSetID tt::Setup::pSetIdGeometryConfiguration_
private

Definition at line 561 of file Setup.h.

Referenced by checkHistory().

◆ pSetIdTTStubAlgorithm_

edm::ParameterSetID tt::Setup::pSetIdTTStubAlgorithm_
private

Definition at line 559 of file Setup.h.

Referenced by checkHistory().

◆ pSetKF_

edm::ParameterSet tt::Setup::pSetKF_
private

Definition at line 888 of file Setup.h.

◆ pSetKFin_

edm::ParameterSet tt::Setup::pSetKFin_
private

Definition at line 881 of file Setup.h.

◆ pSetKFOut_

edm::ParameterSet tt::Setup::pSetKFOut_
private

Definition at line 899 of file Setup.h.

◆ pSetMHT_

edm::ParameterSet tt::Setup::pSetMHT_
private

Definition at line 851 of file Setup.h.

◆ pSetPH_

edm::ParameterSet tt::Setup::pSetPH_
private

Definition at line 578 of file Setup.h.

◆ pSetSA_

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

Definition at line 555 of file Setup.h.

Referenced by consumeStubAlgorithm().

◆ pSetSG_

edm::ParameterSet tt::Setup::pSetSG_
private

Definition at line 567 of file Setup.h.

◆ pSetTF_

edm::ParameterSet tt::Setup::pSetTF_
private

Definition at line 585 of file Setup.h.

◆ pSetTFP_

edm::ParameterSet tt::Setup::pSetTFP_
private

Definition at line 812 of file Setup.h.

◆ pSetTMTT_

edm::ParameterSet tt::Setup::pSetTMTT_
private

Definition at line 600 of file Setup.h.

◆ pSetTP_

edm::ParameterSet tt::Setup::pSetTP_
private

Definition at line 658 of file Setup.h.

◆ pSetZHT_

edm::ParameterSet tt::Setup::pSetZHT_
private

Definition at line 866 of file Setup.h.

◆ scattering_

double tt::Setup::scattering_
private

Definition at line 597 of file Setup.h.

Referenced by dPhi(), scattering(), and v0().

◆ sectorCots_

std::vector<double> tt::Setup::sectorCots_
private

Definition at line 1055 of file Setup.h.

Referenced by calculateConstants(), and sectorCot().

◆ sensorModules_

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

Definition at line 1036 of file Setup.h.

Referenced by produceSensorModules(), and sensorModules().

◆ sgXMLFile_

std::string tt::Setup::sgXMLFile_
private

Definition at line 573 of file Setup.h.

Referenced by checkGeometry().

◆ sgXMLLabel_

std::string tt::Setup::sgXMLLabel_
private

Definition at line 569 of file Setup.h.

Referenced by checkGeometry().

◆ sgXMLPath_

std::string tt::Setup::sgXMLPath_
private

Definition at line 571 of file Setup.h.

Referenced by checkGeometry().

◆ sgXMLVersions_

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

Definition at line 575 of file Setup.h.

Referenced by checkGeometry().

◆ slotLimit10gbps_

int tt::Setup::slotLimit10gbps_
private

Definition at line 809 of file Setup.h.

Referenced by gbps10().

◆ slotLimitPS_

int tt::Setup::slotLimitPS_
private

Definition at line 807 of file Setup.h.

Referenced by psModule().

◆ speedOfLight_

double tt::Setup::speedOfLight_
private

Definition at line 713 of file Setup.h.

Referenced by calculateConstants().

◆ stubAlgorithm_

const StubAlgorithmOfficial* tt::Setup::stubAlgorithm_
private

Definition at line 553 of file Setup.h.

Referenced by encodeBend().

◆ tbInnerRadius_

double tt::Setup::tbInnerRadius_
private

Definition at line 655 of file Setup.h.

Referenced by tbInnerRadius().

◆ tfpNumChannel_

int tt::Setup::tfpNumChannel_
private

Definition at line 822 of file Setup.h.

Referenced by tfpNumChannel().

◆ tfpWidthCot_

int tt::Setup::tfpWidthCot_
private

Definition at line 818 of file Setup.h.

Referenced by tfpWidthCot().

◆ tfpWidthInv2R_

int tt::Setup::tfpWidthInv2R_
private

Definition at line 816 of file Setup.h.

Referenced by tfpWidthInv2R().

◆ tfpWidthPhi0_

int tt::Setup::tfpWidthPhi0_
private

Definition at line 814 of file Setup.h.

Referenced by tfpWidthPhi0().

◆ tfpWidthZ0_

int tt::Setup::tfpWidthZ0_
private

Definition at line 820 of file Setup.h.

Referenced by tfpWidthZ0().

◆ tiltApproxIntercept_

double tt::Setup::tiltApproxIntercept_
private

Definition at line 731 of file Setup.h.

Referenced by tiltApproxIntercept().

◆ tiltApproxSlope_

double tt::Setup::tiltApproxSlope_
private

Definition at line 729 of file Setup.h.

Referenced by tiltApproxSlope().

◆ tiltedLayerLimitsZ_

std::vector<double> tt::Setup::tiltedLayerLimitsZ_
private

Definition at line 751 of file Setup.h.

Referenced by tiltedLayerLimitZ().

◆ tiltUncertaintyR_

double tt::Setup::tiltUncertaintyR_
private

Definition at line 733 of file Setup.h.

Referenced by tiltUncertaintyR().

◆ tmpFE_

int tt::Setup::tmpFE_
private

Definition at line 709 of file Setup.h.

Referenced by calculateConstants().

◆ tmpTFP_

int tt::Setup::tmpTFP_
private

Definition at line 711 of file Setup.h.

Referenced by calculateConstants().

◆ tmttBaseInv2R_

double tt::Setup::tmttBaseInv2R_
private

Definition at line 974 of file Setup.h.

Referenced by calculateConstants(), and tmttBaseInv2R().

◆ tmttBasePhi_

double tt::Setup::tmttBasePhi_
private

Definition at line 972 of file Setup.h.

Referenced by calculateConstants(), dPhi(), stubPos(), tmttBasePhi(), and v0().

◆ tmttBasePhiT_

double tt::Setup::tmttBasePhiT_
private

Definition at line 976 of file Setup.h.

Referenced by calculateConstants(), and tmttBasePhiT().

◆ tmttBaseR_

double tt::Setup::tmttBaseR_
private

Definition at line 968 of file Setup.h.

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

◆ tmttBaseZ_

double tt::Setup::tmttBaseZ_
private

Definition at line 970 of file Setup.h.

Referenced by calculateConstants(), dZ(), stubPos(), tmttBaseZ(), and v1().

◆ tmttNumUnusedBits_

int tt::Setup::tmttNumUnusedBits_
private

Definition at line 986 of file Setup.h.

Referenced by calculateConstants(), and tmttNumUnusedBits().

◆ tmttWidthInv2R_

int tt::Setup::tmttWidthInv2R_
private

Definition at line 984 of file Setup.h.

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

◆ tmttWidthLayer_

int tt::Setup::tmttWidthLayer_
private

Definition at line 980 of file Setup.h.

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

◆ tmttWidthPhi_

int tt::Setup::tmttWidthPhi_
private

Definition at line 612 of file Setup.h.

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

◆ tmttWidthR_

int tt::Setup::tmttWidthR_
private

Definition at line 610 of file Setup.h.

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

◆ tmttWidthSectorEta_

int tt::Setup::tmttWidthSectorEta_
private

Definition at line 982 of file Setup.h.

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

◆ tmttWidthZ_

int tt::Setup::tmttWidthZ_
private

Definition at line 614 of file Setup.h.

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

◆ tpMaxBadStubs2S_

int tt::Setup::tpMaxBadStubs2S_
private

Definition at line 674 of file Setup.h.

Referenced by tpMaxBadStubs2S().

◆ tpMaxBadStubsPS_

int tt::Setup::tpMaxBadStubsPS_
private

Definition at line 676 of file Setup.h.

Referenced by tpMaxBadStubsPS().

◆ tpMaxD0_

double tt::Setup::tpMaxD0_
private

Definition at line 668 of file Setup.h.

Referenced by tpMaxD0(), and useForAlgEff().

◆ tpMaxEta_

double tt::Setup::tpMaxEta_
private

Definition at line 662 of file Setup.h.

Referenced by configureTPSelector(), and tpMaxEta().

◆ tpMaxVertR_

double tt::Setup::tpMaxVertR_
private

Definition at line 664 of file Setup.h.

Referenced by configureTPSelector(), and tpMaxVertR().

◆ tpMaxVertZ_

double tt::Setup::tpMaxVertZ_
private

Definition at line 666 of file Setup.h.

Referenced by configureTPSelector(), tpMaxVertZ(), and useForAlgEff().

◆ tpMinLayers_

int tt::Setup::tpMinLayers_
private

Definition at line 670 of file Setup.h.

Referenced by reconstructable(), and tpMinLayers().

◆ tpMinLayersPS_

int tt::Setup::tpMinLayersPS_
private

Definition at line 672 of file Setup.h.

Referenced by tpMinLayersPS().

◆ tpMinPt_

double tt::Setup::tpMinPt_
private

Definition at line 660 of file Setup.h.

Referenced by configureTPSelector(), and tpMinPt().

◆ tpSelector_

TrackingParticleSelector tt::Setup::tpSelector_
private

Definition at line 933 of file Setup.h.

Referenced by configureTPSelector(), and useForAlgEff().

◆ tpSelectorLoose_

TrackingParticleSelector tt::Setup::tpSelectorLoose_
private

Definition at line 935 of file Setup.h.

Referenced by configureTPSelector(), and useForReconstructable().

◆ trackerGeometry_

const TrackerGeometry* tt::Setup::trackerGeometry_
private

Definition at line 547 of file Setup.h.

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

◆ trackerTopology_

const TrackerTopology* tt::Setup::trackerTopology_
private

Definition at line 549 of file Setup.h.

Referenced by layerId(), produceSensorModules(), and trackerTopology().

◆ tttrackBits_

int tt::Setup::tttrackBits_
private

Definition at line 917 of file Setup.h.

Referenced by tttrackBits().

◆ unMatchedStubs_

int tt::Setup::unMatchedStubs_
private

Definition at line 593 of file Setup.h.

◆ unMatchedStubsPS_

int tt::Setup::unMatchedStubsPS_
private

Definition at line 595 of file Setup.h.

◆ weightBinFraction_

int tt::Setup::weightBinFraction_
private

Definition at line 919 of file Setup.h.

Referenced by weightBinFraction().

◆ widthAddrBRAM18_

int tt::Setup::widthAddrBRAM18_
private

Definition at line 701 of file Setup.h.

Referenced by widthAddrBRAM18().

◆ widthAddrBRAM36_

int tt::Setup::widthAddrBRAM36_
private

Definition at line 699 of file Setup.h.

Referenced by widthAddrBRAM36().

◆ widthBend_

int tt::Setup::widthBend_
private

Definition at line 758 of file Setup.h.

Referenced by widthBend().

◆ widthCol_

int tt::Setup::widthCol_
private

Definition at line 760 of file Setup.h.

Referenced by widthCol().

◆ widthDSPa_

int tt::Setup::widthDSPa_
private

Definition at line 681 of file Setup.h.

Referenced by calculateConstants(), and widthDSPa().

◆ widthDSPab_

int tt::Setup::widthDSPab_
private

Definition at line 683 of file Setup.h.

Referenced by calculateConstants(), and widthDSPab().

◆ widthDSPau_

int tt::Setup::widthDSPau_
private

Definition at line 685 of file Setup.h.

Referenced by calculateConstants(), and widthDSPau().

◆ widthDSPb_

int tt::Setup::widthDSPb_
private

Definition at line 687 of file Setup.h.

Referenced by calculateConstants(), and widthDSPb().

◆ widthDSPbb_

int tt::Setup::widthDSPbb_
private

Definition at line 689 of file Setup.h.

Referenced by calculateConstants(), and widthDSPbb().

◆ widthDSPbu_

int tt::Setup::widthDSPbu_
private

Definition at line 691 of file Setup.h.

Referenced by calculateConstants(), and widthDSPbu().

◆ widthDSPc_

int tt::Setup::widthDSPc_
private

Definition at line 693 of file Setup.h.

Referenced by calculateConstants(), and widthDSPc().

◆ widthDSPcb_

int tt::Setup::widthDSPcb_
private

Definition at line 695 of file Setup.h.

Referenced by calculateConstants(), and widthDSPcb().

◆ widthDSPcu_

int tt::Setup::widthDSPcu_
private

Definition at line 697 of file Setup.h.

Referenced by calculateConstants(), and widthDSPcu().

◆ widthLayerId_

int tt::Setup::widthLayerId_
private

Definition at line 966 of file Setup.h.

◆ widthRow_

int tt::Setup::widthRow_
private

Definition at line 762 of file Setup.h.

Referenced by calculateConstants(), and widthRow().

◆ windowSizeBarrelLayers_

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

Definition at line 942 of file Setup.h.

Referenced by consumeStubAlgorithm(), and windowSizeBarrelLayer().

◆ windowSizeEndcapDisksRings_

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

Definition at line 946 of file Setup.h.

Referenced by consumeStubAlgorithm(), and windowSizeEndcapDisksRing().

◆ windowSizeTiltedLayerRings_

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

Definition at line 944 of file Setup.h.

Referenced by consumeStubAlgorithm(), and windowSizeTiltedLayerRing().

◆ zhtMaxStubsPerLayer_

int tt::Setup::zhtMaxStubsPerLayer_
private

Definition at line 878 of file Setup.h.

Referenced by calculateConstants(), and zhtMaxStubsPerLayer().

◆ zhtMaxTracks_

int tt::Setup::zhtMaxTracks_
private

Definition at line 876 of file Setup.h.

Referenced by zhtMaxTracks().

◆ zhtMinLayers_

int tt::Setup::zhtMinLayers_
private

Definition at line 874 of file Setup.h.

Referenced by zhtMinLayers().

◆ zhtNumBinsCot_

int tt::Setup::zhtNumBinsCot_
private

Definition at line 870 of file Setup.h.

Referenced by calculateConstants(), and zhtNumBinsCot().

◆ zhtNumBinsZT_

int tt::Setup::zhtNumBinsZT_
private

Definition at line 868 of file Setup.h.

Referenced by calculateConstants(), and zhtNumBinsZT().

◆ zhtNumCells_

int tt::Setup::zhtNumCells_
private

Definition at line 1065 of file Setup.h.

Referenced by calculateConstants(), and zhtNumCells().

◆ zhtNumStages_

int tt::Setup::zhtNumStages_
private

Definition at line 872 of file Setup.h.

Referenced by zhtNumStages().