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
 
const StubAlgorithmOfficialstubAlgorithm () 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),
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:790
int offsetLayerDisks_
Definition: Setup.h:802
edm::ParameterSet pSetGP_
Definition: Setup.h:828
std::string phTTStubAlgorithm_
Definition: Setup.h:585
double baseRow_
Definition: Setup.h:771
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
int kfoutchi2rphiConv_
Definition: Setup.h:916
int weightBinFraction_
Definition: Setup.h:922
edm::ParameterSetID pSetIdGeometryConfiguration_
Definition: Setup.h:564
int numLayers_
Definition: Setup.h:611
int dtcWidthInv2R_
Definition: Setup.h:796
int numBarrelLayer_
Definition: Setup.h:806
double tpMaxEta_
Definition: Setup.h:665
void calculateConstants()
Definition: Setup.cc:654
edm::ParameterSet pSetSG_
Definition: Setup.h:570
int tpMinLayers_
Definition: Setup.h:673
int unMatchedStubs_
Definition: Setup.h:596
int zhtMaxTracks_
Definition: Setup.h:879
double lengthPS_
Definition: Setup.h:752
int tmttWidthPhi_
Definition: Setup.h:615
edm::ParameterSet pSetDR_
Definition: Setup.h:925
int dtcDepthMemory_
Definition: Setup.h:792
double hybridMinPtCand_
Definition: Setup.h:624
double halfLength_
Definition: Setup.h:726
double hybridMaxEta_
Definition: Setup.h:626
std::vector< double > tiltedLayerLimitsZ_
Definition: Setup.h:754
std::vector< double > boundariesEta_
Definition: Setup.h:840
double freqLHC_
Definition: Setup.h:708
std::string phGeometryConfiguration_
Definition: Setup.h:583
edm::ParameterSet pSetHybrid_
Definition: Setup.h:620
int offsetLayerId_
Definition: Setup.h:804
int tfpWidthZ0_
Definition: Setup.h:823
edm::ParameterSet pSetTMTT_
Definition: Setup.h:603
std::string sgXMLPath_
Definition: Setup.h:574
edm::ParameterSet pSetTP_
Definition: Setup.h:661
int widthBend_
Definition: Setup.h:761
int kfinShiftRangePhi_
Definition: Setup.h:886
double mindZ_
Definition: Setup.h:742
const TrackerDetToDTCELinkCablingMap * cablingMap_
Definition: Setup.h:554
edm::ParameterSet pSetDTC_
Definition: Setup.h:778
int widthCol_
Definition: Setup.h:763
int tpMaxBadStubs2S_
Definition: Setup.h:677
int slotLimit10gbps_
Definition: Setup.h:812
int mhtNumBinsPhiT_
Definition: Setup.h:858
double bendCut_
Definition: Setup.h:775
int tmttWidthZ_
Definition: Setup.h:617
int htMinLayers_
Definition: Setup.h:849
std::vector< double > hybridRangesAlpha_
Definition: Setup.h:648
double kfRangeFactor_
Definition: Setup.h:899
edm::ParameterSet pSetKFOut_
Definition: Setup.h:902
int tfpWidthInv2R_
Definition: Setup.h:819
int htNumBinsPhiT_
Definition: Setup.h:847
void checkGeometry()
Definition: Setup.cc:390
int widthAddrBRAM36_
Definition: Setup.h:702
int mhtNumDLBs_
Definition: Setup.h:860
int zhtMinLayers_
Definition: Setup.h:877
edm::ParameterSetID pSetIdTTStubAlgorithm_
Definition: Setup.h:562
std::vector< int > hybridWidthsR_
Definition: Setup.h:634
int htNumBinsInv2R_
Definition: Setup.h:845
void produceSensorModules()
Definition: Setup.cc:445
double bField_
Definition: Setup.h:718
int kfNumWorker_
Definition: Setup.h:893
double hybridChosenRofPhi_
Definition: Setup.h:628
int kfMaxLayers_
Definition: Setup.h:897
double tiltApproxIntercept_
Definition: Setup.h:734
std::vector< double > hybridRangesR_
Definition: Setup.h:644
std::vector< double > hybridDiskZs_
Definition: Setup.h:652
int htDepthMemory_
Definition: Setup.h:851
double neededRangeChiZ_
Definition: Setup.h:836
std::vector< double > hybridLayerRs_
Definition: Setup.h:650
const TrackerGeometry * trackerGeometry_
Definition: Setup.h:550
double tpMaxVertZ_
Definition: Setup.h:669
std::string sgXMLLabel_
Definition: Setup.h:572
double baseBend_
Definition: Setup.h:767
edm::ParameterSet pSetMHT_
Definition: Setup.h:854
std::vector< std::vector< double > > encodingsBendPS_
Definition: Setup.h:1035
int numFramesInfra_
Definition: Setup.h:706
int zhtNumBinsCot_
Definition: Setup.h:873
int tpMaxBadStubsPS_
Definition: Setup.h:679
std::vector< int > hybridNumRingsPS_
Definition: Setup.h:632
int matchedLayers_
Definition: Setup.h:592
std::vector< double > hybridRangesZ_
Definition: Setup.h:646
int zhtNumStages_
Definition: Setup.h:875
std::vector< std::string > sgXMLVersions_
Definition: Setup.h:578
int tttrackBits_
Definition: Setup.h:920
double bFieldError_
Definition: Setup.h:720
int widthDSPb_
Definition: Setup.h:690
int tfpWidthPhi0_
Definition: Setup.h:817
double baseCol_
Definition: Setup.h:769
void encodeBend(std::vector< std::vector< double >> &, bool) const
Definition: Setup.cc:435
double tiltUncertaintyR_
Definition: Setup.h:736
double scattering_
Definition: Setup.h:600
double beamWindowZ_
Definition: Setup.h:590
edm::ParameterSet pSetFE_
Definition: Setup.h:759
double maxdPhi_
Definition: Setup.h:740
std::vector< std::vector< double > > encodingsBend2S_
Definition: Setup.h:1037
int numATCASlots_
Definition: Setup.h:784
edm::ParameterSet pSetKFin_
Definition: Setup.h:884
int offsetDetIdDSV_
Definition: Setup.h:798
double length2S_
Definition: Setup.h:750
std::vector< double > kfoutchi2rphiBins_
Definition: Setup.h:912
int widthDSPc_
Definition: Setup.h:696
std::vector< double > psDiskLimitsR_
Definition: Setup.h:756
bool fromDD4hep_
Definition: Setup.h:567
double pitchPS_
Definition: Setup.h:748
double chosenRofZ_
Definition: Setup.h:834
int kfoutchi2rzConv_
Definition: Setup.h:918
int drDepthMemory_
Definition: Setup.h:927
const edm::ParameterSet * pSetGC_
Definition: Setup.h:560
int slotLimitPS_
Definition: Setup.h:810
void consumeStubAlgorithm()
Definition: Setup.cc:416
edm::ParameterSet pSetTF_
Definition: Setup.h:588
double maxEta_
Definition: Setup.h:607
int tmpFE_
Definition: Setup.h:712
int tmttWidthR_
Definition: Setup.h:613
int hybridNumLayers_
Definition: Setup.h:630
int numOverlappingRegions_
Definition: Setup.h:782
std::vector< int > hybridWidthsAlpha_
Definition: Setup.h:640
double speedOfLight_
Definition: Setup.h:716
int tpMinLayersPS_
Definition: Setup.h:675
double maxdZ_
Definition: Setup.h:744
edm::ParameterSet pSetKF_
Definition: Setup.h:891
int widthDSPa_
Definition: Setup.h:684
double outerRadius_
Definition: Setup.h:722
double innerRadius_
Definition: Setup.h:724
double tiltApproxSlope_
Definition: Setup.h:732
std::vector< edm::ParameterSet > hybridDisk2SRsSet_
Definition: Setup.h:654
edm::ParameterSet pSetFW_
Definition: Setup.h:682
const StubAlgorithmOfficial * stubAlgorithm() const
Definition: Setup.h:516
int widthAddrBRAM18_
Definition: Setup.h:704
std::vector< int > hybridWidthsZ_
Definition: Setup.h:636
double pitch2S_
Definition: Setup.h:746
int dtcWidthRowLUT_
Definition: Setup.h:794
edm::ParameterSet pSetHT_
Definition: Setup.h:843
edm::ParameterSet pSetTFP_
Definition: Setup.h:815
double freqBE_
Definition: Setup.h:710
int kfinShiftRangeZ_
Definition: Setup.h:888
void checkMagneticField()
Definition: Setup.cc:379
double minPt_
Definition: Setup.h:605
int mhtNumBinsInv2R_
Definition: Setup.h:856
int mhtNumDLBNodes_
Definition: Setup.h:862
int mhtMinLayers_
Definition: Setup.h:866
std::vector< double > kfoutchi2rzBins_
Definition: Setup.h:914
int tmpTFP_
Definition: Setup.h:714
double tpMaxD0_
Definition: Setup.h:671
double baseWindowSize_
Definition: Setup.h:773
int mhtNumDLBChannel_
Definition: Setup.h:864
int zhtMaxStubsPerLayer_
Definition: Setup.h:881
double chosenRofPhi_
Definition: Setup.h:609
int numSectorsPhi_
Definition: Setup.h:830
const StubAlgorithmOfficial * stubAlgorithm_
Definition: Setup.h:556
int tfpNumChannel_
Definition: Setup.h:825
const TrackerTopology * trackerTopology() const
Definition: Setup.h:82
double tpMaxVertR_
Definition: Setup.h:667
int numRegions_
Definition: Setup.h:780
edm::ParameterSet pSetZHT_
Definition: Setup.h:869
int maxWindowSize_
Definition: Setup.h:951
int tfpWidthCot_
Definition: Setup.h:821
int numModulesPerDTC_
Definition: Setup.h:788
int zhtNumBinsZT_
Definition: Setup.h:871
int numDTCsPerRegion_
Definition: Setup.h:786
double mindPhi_
Definition: Setup.h:738
const MagneticField * magneticField_
Definition: Setup.h:548
int unMatchedStubsPS_
Definition: Setup.h:598
edm::ParameterSet pSetPH_
Definition: Setup.h:581
double hybridMinPtStub_
Definition: Setup.h:622
int widthRow_
Definition: Setup.h:765
std::vector< int > hybridWidthsPhi_
Definition: Setup.h:638
const edm::ParameterSet * pSetSA_
Definition: Setup.h:558
int kfMinLayers_
Definition: Setup.h:895
void configureTPSelector()
Definition: Setup.cc:488
double tpMinPt_
Definition: Setup.h:663
const TrackerGeometry * trackerGeometry() const
Definition: Setup.h:80
int gpDepthMemory_
Definition: Setup.h:838
int offsetDetIdTP_
Definition: Setup.h:800
int matchedLayersPS_
Definition: Setup.h:594
const TrackerTopology * trackerTopology_
Definition: Setup.h:552
double tbInnerRadius_
Definition: Setup.h:658
std::string sgXMLFile_
Definition: Setup.h:576
bool configurationSupported_
Definition: Setup.h:934
std::vector< int > hybridWidthsBend_
Definition: Setup.h:642

◆ ~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 hcalRecHitTable_cff::detId, 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  }
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:767

◆ 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:769

◆ 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:771

◆ 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:773

◆ 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:590

◆ 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:775

◆ 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:718

◆ boundarieEta() [1/2]

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

Definition at line 417 of file Setup.h.

References boundariesEta_, and PVValHelper::eta.

Referenced by trackerDTC::Stub::formatTMTT(), trackerTFP::LayerEncoding::LayerEncoding(), and trklet::KFin::produce().

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

◆ 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:840

◆ 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_, conifer::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:1068
int dtcNumRoutingBlocks_
Definition: Setup.h:790
constexpr int32_t ceil(float num)
double baseRow_
Definition: Setup.h:771
int tmttWidthInv2R_
Definition: Setup.h:987
int numFramesIO_
Definition: Setup.h:958
int numLayers_
Definition: Setup.h:611
int dtcWidthInv2R_
Definition: Setup.h:796
int tmttWidthLayer_
Definition: Setup.h:983
double maxZT_
Definition: Setup.h:1050
double lengthPS_
Definition: Setup.h:752
int tmttWidthPhi_
Definition: Setup.h:615
double halfLength_
Definition: Setup.h:726
double hybridMaxEta_
Definition: Setup.h:626
int numFrames_
Definition: Setup.h:956
std::vector< double > boundariesEta_
Definition: Setup.h:840
double freqLHC_
Definition: Setup.h:708
std::vector< double > hybridBasesZ_
Definition: Setup.h:1000
int widthDSPau_
Definition: Setup.h:688
int tmttWidthSectorEta_
Definition: Setup.h:985
int numDTCs_
Definition: Setup.h:1019
constexpr int pow(int x)
Definition: conifer.h:24
int kfWidthLayerCount_
Definition: Setup.h:1072
int numSectors_
Definition: Setup.h:1054
int mhtNumBinsPhiT_
Definition: Setup.h:858
double dtcBaseM_
Definition: Setup.h:1033
int tmttWidthZ_
Definition: Setup.h:617
std::vector< double > hybridBasesAlpha_
Definition: Setup.h:1002
std::vector< double > hybridRangesAlpha_
Definition: Setup.h:648
int mhtNumCells_
Definition: Setup.h:1063
int htNumBinsPhiT_
Definition: Setup.h:847
double tmttBasePhiT_
Definition: Setup.h:979
int numModules_
Definition: Setup.h:1023
std::vector< int > hybridWidthsR_
Definition: Setup.h:634
double baseSector_
Definition: Setup.h:1048
int htNumBinsInv2R_
Definition: Setup.h:845
double bField_
Definition: Setup.h:718
double hybridChosenRofPhi_
Definition: Setup.h:628
std::vector< double > hybridRangesR_
Definition: Setup.h:644
int widthDSPbu_
Definition: Setup.h:694
double tmttBaseR_
Definition: Setup.h:971
std::vector< double > hybridBasesPhi_
Definition: Setup.h:998
int numFramesInfra_
Definition: Setup.h:706
int zhtNumBinsCot_
Definition: Setup.h:873
std::vector< double > hybridRangesZ_
Definition: Setup.h:646
double baseRegion_
Definition: Setup.h:964
int dtcNumStreams_
Definition: Setup.h:808
int widthDSPab_
Definition: Setup.h:686
int dtcWidthM_
Definition: Setup.h:1029
int widthDSPb_
Definition: Setup.h:690
int widthDSPbb_
Definition: Setup.h:692
double maxPitch_
Definition: Setup.h:728
std::vector< double > hybridBasesR_
Definition: Setup.h:996
int widthDSPcb_
Definition: Setup.h:698
std::vector< int > hybridNumsUnusedBits_
Definition: Setup.h:1012
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
double length2S_
Definition: Setup.h:750
int widthDSPc_
Definition: Setup.h:696
double tmttBaseZ_
Definition: Setup.h:973
double pitchPS_
Definition: Setup.h:748
double chosenRofZ_
Definition: Setup.h:834
double hybridRangeR() const
Definition: Setup.h:302
std::vector< double > sectorCots_
Definition: Setup.h:1058
int numFramesFE_
Definition: Setup.h:960
double maxEta_
Definition: Setup.h:607
double maxCot_
Definition: Setup.h:1052
int tmpFE_
Definition: Setup.h:712
int tmttWidthR_
Definition: Setup.h:613
double maxLength_
Definition: Setup.h:730
#define M_PI
int dtcNumMergedRows_
Definition: Setup.h:1027
int hybridNumLayers_
Definition: Setup.h:630
int numOverlappingRegions_
Definition: Setup.h:782
std::vector< int > hybridWidthsAlpha_
Definition: Setup.h:640
int widthDSPcu_
Definition: Setup.h:700
double speedOfLight_
Definition: Setup.h:716
int widthDSPa_
Definition: Setup.h:684
double tmttBaseInv2R_
Definition: Setup.h:977
double outerRadius_
Definition: Setup.h:722
double innerRadius_
Definition: Setup.h:724
std::vector< edm::ParameterSet > hybridDisk2SRsSet_
Definition: Setup.h:654
std::vector< int > hybridWidthsZ_
Definition: Setup.h:636
double dtcBaseInv2R_
Definition: Setup.h:1031
double pitch2S_
Definition: Setup.h:746
int numDTCsPerTFP_
Definition: Setup.h:1021
int dtcWidthRowLUT_
Definition: Setup.h:794
double freqBE_
Definition: Setup.h:710
int dtcNumModulesPerRoutingBlock_
Definition: Setup.h:1025
double minPt_
Definition: Setup.h:605
int mhtNumBinsInv2R_
Definition: Setup.h:856
int tmpTFP_
Definition: Setup.h:714
int zhtMaxStubsPerLayer_
Definition: Setup.h:881
double chosenRofPhi_
Definition: Setup.h:609
int hybridWidthLayerId_
Definition: Setup.h:994
int numSectorsPhi_
Definition: Setup.h:830
int tmttNumUnusedBits_
Definition: Setup.h:989
int numRegions_
Definition: Setup.h:780
int numModulesPerDTC_
Definition: Setup.h:788
double hybridRangePhi_
Definition: Setup.h:656
int zhtNumBinsZT_
Definition: Setup.h:871
double invPtToDphi_
Definition: Setup.h:962
int numDTCsPerRegion_
Definition: Setup.h:786
static constexpr int S_
Definition: TTBV.h:22
int numSectorsEta_
Definition: Setup.h:832
double hybridMinPtStub_
Definition: Setup.h:622
int widthRow_
Definition: Setup.h:765
std::vector< int > hybridWidthsPhi_
Definition: Setup.h:638
double tmttBasePhi_
Definition: Setup.h:975
double hybridMaxCot_
Definition: Setup.h:1010
std::vector< int > hybridWidthsBend_
Definition: Setup.h:642
std::vector< std::vector< double > > disk2SRs_
Definition: Setup.h:1014

◆ 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:780
int numDTCsPerRegion_
Definition: Setup.h:786
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:307
std::string sgXMLPath_
Definition: Setup.h:574
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:572
std::vector< std::string > sgXMLVersions_
Definition: Setup.h:578
bool fromDD4hep_
Definition: Setup.h:567
const edm::ParameterSet * pSetGC_
Definition: Setup.h:560
Log< level::Warning, false > LogWarning
std::string sgXMLFile_
Definition: Setup.h:576
bool configurationSupported_
Definition: Setup.h:934

◆ 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:585
edm::ParameterSetID pSetIdGeometryConfiguration_
Definition: Setup.h:564
static PFTauRenderPlugin instance
std::string phGeometryConfiguration_
Definition: Setup.h:583
edm::ParameterSetID pSetIdTTStubAlgorithm_
Definition: Setup.h:562
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:718
double bFieldError_
Definition: Setup.h:720
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
Log< level::Warning, false > LogWarning
const MagneticField * magneticField_
Definition: Setup.h:548
bool configurationSupported_
Definition: Setup.h:934

◆ 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:1021
int numRegions_
Definition: Setup.h:780

◆ 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:780
int numDTCsPerRegion_
Definition: Setup.h:786

◆ 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:609

◆ 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:665
TrackingParticleSelector tpSelector_
Definition: Setup.h:936
constexpr float ptMin
TrackingParticleSelector tpSelectorLoose_
Definition: Setup.h:938
double tpMaxVertZ_
Definition: Setup.h:669
double tpMaxVertR_
Definition: Setup.h:667
SingleObjectSelector< TrackingParticleCollection, ::TrackingParticleSelector > TrackingParticleSelector
double tpMinPt_
Definition: Setup.h:663

◆ 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:307
std::vector< double > numTiltedLayerRings_
Definition: Setup.h:943
std::vector< std::vector< double > > windowSizeTiltedLayerRings_
Definition: Setup.h:947
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:949
std::vector< double > windowSizeBarrelLayers_
Definition: Setup.h:945
double baseWindowSize_
Definition: Setup.h:773
int maxWindowSize_
Definition: Setup.h:951
const edm::ParameterSet * pSetSA_
Definition: Setup.h:558

◆ 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(), hcalRecHitTable_cff::detId, 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:600
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
double maxdPhi_
Definition: Setup.h:740
Definition: DetId.h:17
double mindPhi_
Definition: Setup.h:738
SensorModule * sensorModule(const DetId &detId) const
Definition: Setup.cc:361
double tmttBasePhi_
Definition: Setup.h:975

◆ 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:927

◆ 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:1031

◆ 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:1033

◆ 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:792

◆ dtcId() [1/2]

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

Definition at line 290 of file Setup.cc.

References checkTKLayoutId(), numATCASlots_, numDTCsPerRegion_, numRegions_, nano_mu_digi_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:784
bool side(int dtcId) const
Definition: Setup.cc:347
int numRegions_
Definition: Setup.h:780
int numDTCsPerRegion_
Definition: Setup.h:786

◆ 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:782
int numRegions_
Definition: Setup.h:780
int numDTCsPerRegion_
Definition: Setup.h:786

◆ 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:1041
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:1027

◆ dtcNumModulesPerRoutingBlock()

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

Definition at line 379 of file Setup.h.

References dtcNumModulesPerRoutingBlock_.

int dtcNumModulesPerRoutingBlock_
Definition: Setup.h:1025

◆ 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:790

◆ 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:808

◆ 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:796

◆ 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:1029

◆ 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:794

◆ 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 hcalRecHitTable_cff::detId, 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:742
double tmttBaseZ_
Definition: Setup.h:973
double maxdZ_
Definition: Setup.h:744
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:556
int maxWindowSize_
Definition: Setup.h:951

◆ 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().

Referenced by trklet::TrackletLUT::getBendCut().

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:1035
std::vector< std::vector< double > > encodingsBend2S_
Definition: Setup.h:1037
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:812
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:838

◆ 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:726

◆ 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:851

◆ 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:849

◆ 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:845

◆ 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:847

◆ 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:1002

◆ 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:998

◆ 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:996

◆ 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:1000

◆ 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:652
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:650
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:1010

◆ 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:626

◆ 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:624

◆ 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:622

◆ 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:630

◆ 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:632
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:1012

◆ 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:656

◆ 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:644

◆ 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:640

◆ 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:642

◆ 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:994

◆ 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:638

◆ 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:634

◆ 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:636

◆ 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:802
int offsetLayerId_
Definition: Setup.h:804
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:724

◆ 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:962

◆ 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:886

◆ 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:888

◆ kfMaxLayers()

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

Definition at line 491 of file Setup.h.

References kfMaxLayers_.

Referenced by trackerTFP::KalmanFilter::comb(), and trackerTFP::State::State().

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

◆ 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:893

◆ 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:912

◆ 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:916

◆ 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:914

◆ 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:918

◆ 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:899

◆ layerId()

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

◆ 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:611
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:1072
ROOT::VecOps::RVec< int > ints
Definition: Resolutions.cc:4

◆ 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:611
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:1072
ROOT::VecOps::RVec< int > ints
Definition: Resolutions.cc:4

◆ 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:611
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:1072
ROOT::VecOps::RVec< int > ints
Definition: Resolutions.cc:4

◆ 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:611
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:1072
ROOT::VecOps::RVec< int > ints
Definition: Resolutions.cc:4

◆ 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:750

◆ 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:752

◆ 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:1052

◆ 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:740

◆ 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:744

◆ 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:607

◆ 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:730

◆ 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:1050

◆ 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:866

◆ 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:856

◆ 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:858

◆ 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:1063

◆ 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:864

◆ 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:862

◆ 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:860

◆ 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:605

◆ 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:836

◆ 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:784

◆ 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:806

◆ 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:1019

◆ 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:786

◆ 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:1021

◆ 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:960

◆ 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:706

◆ 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:958

◆ 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:1023

◆ 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:788

◆ 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:782

◆ 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:1054

◆ 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:943
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:798

◆ 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:800

◆ 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:802

◆ 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:804

◆ 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:722

◆ 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:746

◆ 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:748

◆ produceSensorModules()

void tt::Setup::produceSensorModules ( )
private

Definition at line 445 of file Setup.cc.

References cablingMap_, hcalRecHitTable_cff::detId, 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
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
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:554
int numDTCs_
Definition: Setup.h:1019
int numModules_
Definition: Setup.h:1023
std::unordered_map< DetId, SensorModule * > detIdToSensorModule_
Definition: Setup.h:1043
const TrackerGeometry * trackerGeometry_
Definition: Setup.h:550
std::vector< SensorModule > sensorModules_
Definition: Setup.h:1039
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:1041
int numModulesPerDTC_
Definition: Setup.h:788
int dtcId(int tklId) const
Definition: Setup.cc:290
SensorModule * sensorModule(const DetId &detId) const
Definition: Setup.cc:361
int offsetDetIdTP_
Definition: Setup.h:800
const TrackerTopology * trackerTopology_
Definition: Setup.h:552

◆ psDiskLimitR()

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

Definition at line 167 of file Setup.h.

References psDiskLimitsR_.

167 { return psDiskLimitsR_.at(layer); }
std::vector< double > psDiskLimitsR_
Definition: Setup.h:756

◆ 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:810
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 hcalRecHitTable_cff::detId, TrackerGeometry::getDetectorType(), TrackerGeometry::Ph2PSP, and trackerGeometry_.

530  {
531  const DetId& detId = ttStubRef->getDetId();
533  }
const TrackerGeometry * trackerGeometry_
Definition: Setup.h:550
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:673
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:600

◆ 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 hcalRecHitTable_cff::detId, 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:1043

◆ sensorModules()

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

Definition at line 126 of file Setup.h.

References sensorModules_.

Referenced by trklet::TrackletLUT::getSensorModules(), and trackerTFP::LayerEncoding::LayerEncoding().

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

◆ 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:784
bool side(int dtcId) const
Definition: Setup.cc:347
int numDTCsPerRegion_
Definition: Setup.h:786
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:784
int dtcId(int tklId) const
Definition: Setup.cc:290

◆ stubAlgorithm()

const StubAlgorithmOfficial* tt::Setup::stubAlgorithm ( ) const
inline

Definition at line 516 of file Setup.h.

References stubAlgorithm_.

Referenced by trklet::TrackletLUT::getBendCut().

516 { return stubAlgorithm_; }
const StubAlgorithmOfficial * stubAlgorithm_
Definition: Setup.h:556

◆ stubPos() [1/2]

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

Definition at line 820 of file Setup.cc.

References hcalRecHitTable_cff::detId, 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_;
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:550
int offsetDetIdDSV_
Definition: Setup.h:798
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, nano_mu_digi_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:987
int tmttWidthLayer_
Definition: Setup.h:983
int tmttWidthPhi_
Definition: Setup.h:615
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:1000
int tmttWidthSectorEta_
Definition: Setup.h:985
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
int tmttWidthZ_
Definition: Setup.h:617
SensorModule::Type type(const TTStubRef &ttStubRef) const
Definition: Setup.cc:325
std::vector< int > hybridWidthsR_
Definition: Setup.h:634
double tmttBaseR_
Definition: Setup.h:971
std::vector< double > hybridDiskZs_
Definition: Setup.h:652
std::vector< double > hybridLayerRs_
Definition: Setup.h:650
std::vector< double > hybridBasesPhi_
Definition: Setup.h:998
GlobalPoint stubPos(const TTStubRef &ttStubRef) const
Definition: Setup.cc:820
double baseRegion_
Definition: Setup.h:964
std::vector< double > hybridBasesR_
Definition: Setup.h:996
int layerId(const TTStubRef &ttStubRef) const
Definition: Setup.cc:507
double tmttBaseZ_
Definition: Setup.h:973
int tmttWidthR_
Definition: Setup.h:613
std::vector< int > hybridWidthsAlpha_
Definition: Setup.h:640
std::vector< int > hybridWidthsZ_
Definition: Setup.h:636
int widthBend() const
Definition: Setup.h:328
double chosenRofPhi_
Definition: Setup.h:609
int hybridWidthLayerId_
Definition: Setup.h:994
int numSectorsPhi_
Definition: Setup.h:830
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:656
std::vector< int > hybridWidthsPhi_
Definition: Setup.h:638
bool barrel(const TTStubRef &ttStubRef) const
Definition: Setup.cc:524
double tmttBasePhi_
Definition: Setup.h:975
std::vector< int > hybridWidthsBend_
Definition: Setup.h:642
std::vector< std::vector< double > > disk2SRs_
Definition: Setup.h:1014

◆ 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:634
std::vector< double > hybridLayerRs_
Definition: Setup.h:650
std::vector< double > hybridBasesR_
Definition: Setup.h:996
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:1014

◆ 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:658

◆ 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:825

◆ 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:821

◆ 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:819

◆ 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:817

◆ 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:823

◆ 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:734

◆ 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:732

◆ 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:754

◆ 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:736

◆ tkLayoutId()

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

Definition at line 300 of file Setup.cc.

References checkDTCId(), dtcId(), numATCASlots_, numDTCsPerRegion_, numRegions_, nano_mu_digi_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:784
bool side(int dtcId) const
Definition: Setup.cc:347
int numRegions_
Definition: Setup.h:780
int numDTCsPerRegion_
Definition: Setup.h:786
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:977

◆ 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:975

◆ 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:979

◆ 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:971

◆ 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:973

◆ 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:989

◆ 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:987

◆ 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:983

◆ 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:615

◆ 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:613

◆ 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:985

◆ 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:617

◆ 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:677

◆ 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:679

◆ 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:671

◆ 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:665

◆ 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:667

◆ 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:669

◆ 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:673

◆ 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:675

◆ 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:663

◆ 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:550

◆ 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:552

◆ 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:806
int offsetLayerId_
Definition: Setup.h:804
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:782
Class to store hardware like structured TTStub Collection used by Track Trigger emulators.
Definition: TTDTC.h:17
int numRegions_
Definition: Setup.h:780
int numDTCsPerRegion_
Definition: Setup.h:786

◆ 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:920

◆ 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:936
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
math::XYZPointD Point
point in the space
double tpMaxVertZ_
Definition: Setup.h:669
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:671

◆ 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:938

◆ v0()

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

Definition at line 613 of file Setup.cc.

References tt::SensorModule::barrel(), hcalRecHitTable_cff::detId, PV3DBase< T, PVType, FrameType >::perp(), tt::SensorModule::pitchCol(), tt::SensorModule::pitchRow(), conifer::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
constexpr int pow(int x)
Definition: conifer.h:24
GlobalPoint stubPos(const TTStubRef &ttStubRef) const
Definition: Setup.cc:820
double scattering_
Definition: Setup.h:600
Definition: DetId.h:17
SensorModule * sensorModule(const DetId &detId) const
Definition: Setup.cc:361
double tmttBasePhi_
Definition: Setup.h:975

◆ v1()

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

Definition at line 625 of file Setup.cc.

References hcalRecHitTable_cff::detId, tt::SensorModule::pitchCol(), conifer::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  }
constexpr int pow(int x)
Definition: conifer.h:24
double tmttBaseZ_
Definition: Setup.h:973
Definition: DetId.h:17
SensorModule * sensorModule(const DetId &detId) const
Definition: Setup.cc:361

◆ 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:922

◆ 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:704

◆ 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:702

◆ 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:761

◆ 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:763

◆ 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:684

◆ 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:686

◆ 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:688

◆ 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:690

◆ 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:692

◆ 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:694

◆ 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:696

◆ 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:698

◆ 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:700

◆ 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:765

◆ 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:945

◆ 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:949

◆ 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:947
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:881

◆ 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:879

◆ 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:877

◆ 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:873

◆ 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:871

◆ 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 767 of file Setup.h.

Referenced by baseBend().

◆ baseCol_

double tt::Setup::baseCol_
private

Definition at line 769 of file Setup.h.

Referenced by baseCol().

◆ baseRegion_

double tt::Setup::baseRegion_
private

Definition at line 964 of file Setup.h.

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

◆ baseRow_

double tt::Setup::baseRow_
private

Definition at line 771 of file Setup.h.

Referenced by baseRow(), and calculateConstants().

◆ baseSector_

double tt::Setup::baseSector_
private

Definition at line 1048 of file Setup.h.

Referenced by baseSector(), and calculateConstants().

◆ baseWindowSize_

double tt::Setup::baseWindowSize_
private

Definition at line 773 of file Setup.h.

Referenced by baseWindowSize(), and consumeStubAlgorithm().

◆ beamWindowZ_

double tt::Setup::beamWindowZ_
private

Definition at line 590 of file Setup.h.

Referenced by beamWindowZ().

◆ bendCut_

double tt::Setup::bendCut_
private

Definition at line 775 of file Setup.h.

Referenced by bendCut().

◆ bField_

double tt::Setup::bField_
private

Definition at line 718 of file Setup.h.

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

◆ bFieldError_

double tt::Setup::bFieldError_
private

Definition at line 720 of file Setup.h.

Referenced by checkMagneticField().

◆ boundariesEta_

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

Definition at line 840 of file Setup.h.

Referenced by boundarieEta(), and calculateConstants().

◆ cablingMap_

const TrackerDetToDTCELinkCablingMap* tt::Setup::cablingMap_
private

Definition at line 554 of file Setup.h.

Referenced by produceSensorModules().

◆ chosenRofPhi_

double tt::Setup::chosenRofPhi_
private

Definition at line 609 of file Setup.h.

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

◆ chosenRofZ_

double tt::Setup::chosenRofZ_
private

Definition at line 834 of file Setup.h.

Referenced by calculateConstants(), and chosenRofZ().

◆ configurationSupported_

bool tt::Setup::configurationSupported_
private

Definition at line 934 of file Setup.h.

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

◆ detIdToSensorModule_

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

Definition at line 1043 of file Setup.h.

Referenced by produceSensorModules(), and sensorModule().

◆ disk2SRs_

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

Definition at line 1014 of file Setup.h.

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

◆ drDepthMemory_

int tt::Setup::drDepthMemory_
private

Definition at line 927 of file Setup.h.

Referenced by drDepthMemory().

◆ dtcBaseInv2R_

double tt::Setup::dtcBaseInv2R_
private

Definition at line 1031 of file Setup.h.

Referenced by calculateConstants(), and dtcBaseInv2R().

◆ dtcBaseM_

double tt::Setup::dtcBaseM_
private

Definition at line 1033 of file Setup.h.

Referenced by calculateConstants(), and dtcBaseM().

◆ dtcDepthMemory_

int tt::Setup::dtcDepthMemory_
private

Definition at line 792 of file Setup.h.

Referenced by dtcDepthMemory().

◆ dtcModules_

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

Definition at line 1041 of file Setup.h.

Referenced by dtcModules(), and produceSensorModules().

◆ dtcNumMergedRows_

int tt::Setup::dtcNumMergedRows_
private

Definition at line 1027 of file Setup.h.

Referenced by calculateConstants(), and dtcNumMergedRows().

◆ dtcNumModulesPerRoutingBlock_

int tt::Setup::dtcNumModulesPerRoutingBlock_
private

Definition at line 1025 of file Setup.h.

Referenced by calculateConstants(), and dtcNumModulesPerRoutingBlock().

◆ dtcNumRoutingBlocks_

int tt::Setup::dtcNumRoutingBlocks_
private

Definition at line 790 of file Setup.h.

Referenced by calculateConstants(), and dtcNumRoutingBlocks().

◆ dtcNumStreams_

int tt::Setup::dtcNumStreams_
private

Definition at line 808 of file Setup.h.

Referenced by calculateConstants(), and dtcNumStreams().

◆ dtcNumUnusedBits_

int tt::Setup::dtcNumUnusedBits_
private

Definition at line 981 of file Setup.h.

◆ dtcWidthInv2R_

int tt::Setup::dtcWidthInv2R_
private

Definition at line 796 of file Setup.h.

Referenced by calculateConstants(), and dtcWidthInv2R().

◆ dtcWidthM_

int tt::Setup::dtcWidthM_
private

Definition at line 1029 of file Setup.h.

Referenced by calculateConstants(), and dtcWidthM().

◆ dtcWidthRowLUT_

int tt::Setup::dtcWidthRowLUT_
private

Definition at line 794 of file Setup.h.

Referenced by calculateConstants(), and dtcWidthRowLUT().

◆ encodingsBend2S_

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

Definition at line 1037 of file Setup.h.

Referenced by encodingBend(), and Setup().

◆ encodingsBendPS_

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

Definition at line 1035 of file Setup.h.

Referenced by encodingBend(), and Setup().

◆ freqBE_

double tt::Setup::freqBE_
private

Definition at line 710 of file Setup.h.

Referenced by calculateConstants().

◆ freqLHC_

double tt::Setup::freqLHC_
private

Definition at line 708 of file Setup.h.

Referenced by calculateConstants().

◆ fromDD4hep_

bool tt::Setup::fromDD4hep_
private

Definition at line 567 of file Setup.h.

Referenced by checkGeometry().

◆ gpDepthMemory_

int tt::Setup::gpDepthMemory_
private

Definition at line 838 of file Setup.h.

Referenced by gpDepthMemory().

◆ gpNumUnusedBits_

int tt::Setup::gpNumUnusedBits_
private

Definition at line 1056 of file Setup.h.

◆ halfLength_

double tt::Setup::halfLength_
private

Definition at line 726 of file Setup.h.

Referenced by calculateConstants(), and halfLength().

◆ htDepthMemory_

int tt::Setup::htDepthMemory_
private

Definition at line 851 of file Setup.h.

Referenced by htDepthMemory().

◆ htMinLayers_

int tt::Setup::htMinLayers_
private

Definition at line 849 of file Setup.h.

Referenced by htMinLayers().

◆ htNumBinsInv2R_

int tt::Setup::htNumBinsInv2R_
private

Definition at line 845 of file Setup.h.

Referenced by calculateConstants(), and htNumBinsInv2R().

◆ htNumBinsPhiT_

int tt::Setup::htNumBinsPhiT_
private

Definition at line 847 of file Setup.h.

Referenced by calculateConstants(), and htNumBinsPhiT().

◆ hybridBasePhi_

double tt::Setup::hybridBasePhi_
private

Definition at line 1008 of file Setup.h.

◆ hybridBaseR_

double tt::Setup::hybridBaseR_
private

Definition at line 1006 of file Setup.h.

◆ hybridBasesAlpha_

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

Definition at line 1002 of file Setup.h.

Referenced by calculateConstants(), and hybridBaseAlpha().

◆ hybridBasesPhi_

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

Definition at line 998 of file Setup.h.

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

◆ hybridBasesR_

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

Definition at line 996 of file Setup.h.

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

◆ hybridBasesZ_

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

Definition at line 1000 of file Setup.h.

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

◆ hybridBaseZ_

double tt::Setup::hybridBaseZ_
private

Definition at line 1004 of file Setup.h.

◆ hybridChosenRofPhi_

double tt::Setup::hybridChosenRofPhi_
private

Definition at line 628 of file Setup.h.

Referenced by calculateConstants(), and hybridChosenRofPhi().

◆ hybridDisk2SRsSet_

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

Definition at line 654 of file Setup.h.

Referenced by calculateConstants().

◆ hybridDiskZs_

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

Definition at line 652 of file Setup.h.

Referenced by hybridDiskZ(), and stubPos().

◆ hybridLayerRs_

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

Definition at line 650 of file Setup.h.

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

◆ hybridMaxCot_

double tt::Setup::hybridMaxCot_
private

Definition at line 1010 of file Setup.h.

Referenced by calculateConstants(), and hybridMaxCot().

◆ hybridMaxEta_

double tt::Setup::hybridMaxEta_
private

Definition at line 626 of file Setup.h.

Referenced by calculateConstants(), and hybridMaxEta().

◆ hybridMinPtCand_

double tt::Setup::hybridMinPtCand_
private

Definition at line 624 of file Setup.h.

Referenced by hybridMinPtCand().

◆ hybridMinPtStub_

double tt::Setup::hybridMinPtStub_
private

Definition at line 622 of file Setup.h.

Referenced by calculateConstants(), and hybridMinPtStub().

◆ hybridNumLayers_

int tt::Setup::hybridNumLayers_
private

Definition at line 630 of file Setup.h.

Referenced by calculateConstants(), and hybridNumLayers().

◆ hybridNumRingsPS_

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

Definition at line 632 of file Setup.h.

Referenced by hybridNumRingsPS().

◆ hybridNumsUnusedBits_

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

Definition at line 1012 of file Setup.h.

Referenced by calculateConstants(), and hybridNumUnusedBits().

◆ hybridRangePhi_

double tt::Setup::hybridRangePhi_
private

Definition at line 656 of file Setup.h.

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

◆ hybridRangesAlpha_

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

Definition at line 648 of file Setup.h.

Referenced by calculateConstants().

◆ hybridRangesR_

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

Definition at line 644 of file Setup.h.

Referenced by calculateConstants(), and hybridRangeR().

◆ hybridRangesZ_

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

Definition at line 646 of file Setup.h.

Referenced by calculateConstants().

◆ hybridWidthLayerId_

int tt::Setup::hybridWidthLayerId_
private

Definition at line 994 of file Setup.h.

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

◆ hybridWidthsAlpha_

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

Definition at line 640 of file Setup.h.

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

◆ hybridWidthsBend_

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

Definition at line 642 of file Setup.h.

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

◆ hybridWidthsPhi_

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

Definition at line 638 of file Setup.h.

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

◆ hybridWidthsR_

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

Definition at line 634 of file Setup.h.

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

◆ hybridWidthsZ_

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

Definition at line 636 of file Setup.h.

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

◆ innerRadius_

double tt::Setup::innerRadius_
private

Definition at line 724 of file Setup.h.

Referenced by calculateConstants(), and innerRadius().

◆ invPtToDphi_

double tt::Setup::invPtToDphi_
private

Definition at line 962 of file Setup.h.

Referenced by calculateConstants(), and invPtToDphi().

◆ kfinShiftRangePhi_

int tt::Setup::kfinShiftRangePhi_
private

Definition at line 886 of file Setup.h.

Referenced by kfinShiftRangePhi().

◆ kfinShiftRangeZ_

int tt::Setup::kfinShiftRangeZ_
private

Definition at line 888 of file Setup.h.

Referenced by kfinShiftRangeZ().

◆ kfMaxLayers_

int tt::Setup::kfMaxLayers_
private

Definition at line 897 of file Setup.h.

Referenced by kfMaxLayers().

◆ kfMinLayers_

int tt::Setup::kfMinLayers_
private

Definition at line 895 of file Setup.h.

Referenced by kfMinLayers().

◆ kfNumWorker_

int tt::Setup::kfNumWorker_
private

Definition at line 893 of file Setup.h.

Referenced by kfNumWorker().

◆ kfoutchi2rphiBins_

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

Definition at line 912 of file Setup.h.

Referenced by kfoutchi2rphiBins().

◆ kfoutchi2rphiConv_

int tt::Setup::kfoutchi2rphiConv_
private

Definition at line 916 of file Setup.h.

Referenced by kfoutchi2rphiConv().

◆ kfoutchi2rzBins_

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

Definition at line 914 of file Setup.h.

Referenced by kfoutchi2rzBins().

◆ kfoutchi2rzConv_

int tt::Setup::kfoutchi2rzConv_
private

Definition at line 918 of file Setup.h.

Referenced by kfoutchi2rzConv().

◆ kfoutdPhiBins_

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

Definition at line 904 of file Setup.h.

◆ kfoutdZBins_

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

Definition at line 906 of file Setup.h.

◆ kfoutv0Bins_

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

Definition at line 908 of file Setup.h.

◆ kfoutv1Bins_

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

Definition at line 910 of file Setup.h.

◆ kfRangeFactor_

double tt::Setup::kfRangeFactor_
private

Definition at line 899 of file Setup.h.

Referenced by kfRangeFactor().

◆ kfWidthLayerCount_

int tt::Setup::kfWidthLayerCount_
private

Definition at line 1072 of file Setup.h.

Referenced by calculateConstants(), and layerMap().

◆ length2S_

double tt::Setup::length2S_
private

Definition at line 750 of file Setup.h.

Referenced by calculateConstants(), and length2S().

◆ lengthPS_

double tt::Setup::lengthPS_
private

Definition at line 752 of file Setup.h.

Referenced by calculateConstants(), and lengthPS().

◆ magneticField_

const MagneticField* tt::Setup::magneticField_
private

Definition at line 548 of file Setup.h.

Referenced by checkMagneticField().

◆ matchedLayers_

int tt::Setup::matchedLayers_
private

Definition at line 592 of file Setup.h.

◆ matchedLayersPS_

int tt::Setup::matchedLayersPS_
private

Definition at line 594 of file Setup.h.

◆ maxCot_

double tt::Setup::maxCot_
private

Definition at line 1052 of file Setup.h.

Referenced by calculateConstants(), and maxCot().

◆ maxdPhi_

double tt::Setup::maxdPhi_
private

Definition at line 740 of file Setup.h.

Referenced by dPhi(), and maxdPhi().

◆ maxdZ_

double tt::Setup::maxdZ_
private

Definition at line 744 of file Setup.h.

Referenced by dZ(), and maxdZ().

◆ maxEta_

double tt::Setup::maxEta_
private

Definition at line 607 of file Setup.h.

Referenced by calculateConstants(), and maxEta().

◆ maxLength_

double tt::Setup::maxLength_
private

Definition at line 730 of file Setup.h.

Referenced by calculateConstants(), and maxLength().

◆ maxPitch_

double tt::Setup::maxPitch_
private

Definition at line 728 of file Setup.h.

Referenced by calculateConstants().

◆ maxWindowSize_

int tt::Setup::maxWindowSize_
private

Definition at line 951 of file Setup.h.

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

◆ maxZT_

double tt::Setup::maxZT_
private

Definition at line 1050 of file Setup.h.

Referenced by calculateConstants(), and maxZT().

◆ mhtMinLayers_

int tt::Setup::mhtMinLayers_
private

Definition at line 866 of file Setup.h.

Referenced by mhtMinLayers().

◆ mhtNumBinsInv2R_

int tt::Setup::mhtNumBinsInv2R_
private

Definition at line 856 of file Setup.h.

Referenced by calculateConstants(), and mhtNumBinsInv2R().

◆ mhtNumBinsPhiT_

int tt::Setup::mhtNumBinsPhiT_
private

Definition at line 858 of file Setup.h.

Referenced by calculateConstants(), and mhtNumBinsPhiT().

◆ mhtNumCells_

int tt::Setup::mhtNumCells_
private

Definition at line 1063 of file Setup.h.

Referenced by calculateConstants(), and mhtNumCells().

◆ mhtNumDLBChannel_

int tt::Setup::mhtNumDLBChannel_
private

Definition at line 864 of file Setup.h.

Referenced by mhtNumDLBChannel().

◆ mhtNumDLBNodes_

int tt::Setup::mhtNumDLBNodes_
private

Definition at line 862 of file Setup.h.

Referenced by mhtNumDLBNodes().

◆ mhtNumDLBs_

int tt::Setup::mhtNumDLBs_
private

Definition at line 860 of file Setup.h.

Referenced by mhtNumDLBs().

◆ mindPhi_

double tt::Setup::mindPhi_
private

Definition at line 738 of file Setup.h.

Referenced by dPhi().

◆ mindZ_

double tt::Setup::mindZ_
private

Definition at line 742 of file Setup.h.

Referenced by dZ().

◆ minPt_

double tt::Setup::minPt_
private

Definition at line 605 of file Setup.h.

Referenced by calculateConstants(), and minPt().

◆ neededRangeChiZ_

double tt::Setup::neededRangeChiZ_
private

Definition at line 836 of file Setup.h.

Referenced by neededRangeChiZ().

◆ numATCASlots_

int tt::Setup::numATCASlots_
private

Definition at line 784 of file Setup.h.

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

◆ numBarrelLayer_

int tt::Setup::numBarrelLayer_
private

Definition at line 806 of file Setup.h.

Referenced by numBarrelLayer(), and trackletLayerId().

◆ numDTCs_

int tt::Setup::numDTCs_
private

Definition at line 1019 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 1021 of file Setup.h.

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

◆ numFrames_

int tt::Setup::numFrames_
private

Definition at line 956 of file Setup.h.

Referenced by calculateConstants(), and numFrames().

◆ numFramesFE_

int tt::Setup::numFramesFE_
private

Definition at line 960 of file Setup.h.

Referenced by calculateConstants(), and numFramesFE().

◆ numFramesInfra_

int tt::Setup::numFramesInfra_
private

Definition at line 706 of file Setup.h.

Referenced by calculateConstants(), and numFramesInfra().

◆ numFramesIO_

int tt::Setup::numFramesIO_
private

Definition at line 958 of file Setup.h.

Referenced by calculateConstants(), and numFramesIO().

◆ numLayers_

int tt::Setup::numLayers_
private

Definition at line 611 of file Setup.h.

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

◆ numModules_

int tt::Setup::numModules_
private

Definition at line 1023 of file Setup.h.

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

◆ numModulesPerDTC_

int tt::Setup::numModulesPerDTC_
private

Definition at line 788 of file Setup.h.

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

◆ numOverlappingRegions_

int tt::Setup::numOverlappingRegions_
private

Definition at line 782 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 1054 of file Setup.h.

Referenced by calculateConstants(), and numSectors().

◆ numSectorsEta_

int tt::Setup::numSectorsEta_
private

Definition at line 832 of file Setup.h.

Referenced by calculateConstants(), and numSectorsEta().

◆ numSectorsPhi_

int tt::Setup::numSectorsPhi_
private

Definition at line 830 of file Setup.h.

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

◆ numTiltedLayerRings_

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

Definition at line 943 of file Setup.h.

Referenced by consumeStubAlgorithm(), and numTiltedLayerRing().

◆ offsetDetIdDSV_

int tt::Setup::offsetDetIdDSV_
private

Definition at line 798 of file Setup.h.

Referenced by offsetDetIdDSV(), and stubPos().

◆ offsetDetIdTP_

int tt::Setup::offsetDetIdTP_
private

Definition at line 800 of file Setup.h.

Referenced by offsetDetIdTP(), and produceSensorModules().

◆ offsetLayerDisks_

int tt::Setup::offsetLayerDisks_
private

Definition at line 802 of file Setup.h.

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

◆ offsetLayerId_

int tt::Setup::offsetLayerId_
private

Definition at line 804 of file Setup.h.

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

◆ outerRadius_

double tt::Setup::outerRadius_
private

Definition at line 722 of file Setup.h.

Referenced by calculateConstants(), and outerRadius().

◆ phGeometryConfiguration_

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

Definition at line 583 of file Setup.h.

Referenced by checkHistory().

◆ phTTStubAlgorithm_

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

Definition at line 585 of file Setup.h.

Referenced by checkHistory().

◆ pitch2S_

double tt::Setup::pitch2S_
private

Definition at line 746 of file Setup.h.

Referenced by calculateConstants(), and pitch2S().

◆ pitchPS_

double tt::Setup::pitchPS_
private

Definition at line 748 of file Setup.h.

Referenced by calculateConstants(), and pitchPS().

◆ psDiskLimitsR_

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

Definition at line 756 of file Setup.h.

Referenced by psDiskLimitR().

◆ pSetDR_

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

Definition at line 925 of file Setup.h.

◆ pSetDTC_

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

Definition at line 778 of file Setup.h.

◆ pSetFE_

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

Definition at line 759 of file Setup.h.

◆ pSetFW_

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

Definition at line 682 of file Setup.h.

◆ pSetGC_

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

Definition at line 560 of file Setup.h.

Referenced by checkGeometry().

◆ pSetGP_

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

Definition at line 828 of file Setup.h.

◆ pSetHT_

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

Definition at line 843 of file Setup.h.

◆ pSetHybrid_

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

Definition at line 620 of file Setup.h.

◆ pSetIdGeometryConfiguration_

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

Definition at line 564 of file Setup.h.

Referenced by checkHistory().

◆ pSetIdTTStubAlgorithm_

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

Definition at line 562 of file Setup.h.

Referenced by checkHistory().

◆ pSetKF_

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

Definition at line 891 of file Setup.h.

◆ pSetKFin_

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

Definition at line 884 of file Setup.h.

◆ pSetKFOut_

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

Definition at line 902 of file Setup.h.

◆ pSetMHT_

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

Definition at line 854 of file Setup.h.

◆ pSetPH_

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

Definition at line 581 of file Setup.h.

◆ pSetSA_

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

Definition at line 558 of file Setup.h.

Referenced by consumeStubAlgorithm().

◆ pSetSG_

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

Definition at line 570 of file Setup.h.

◆ pSetTF_

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

Definition at line 588 of file Setup.h.

◆ pSetTFP_

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

Definition at line 815 of file Setup.h.

◆ pSetTMTT_

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

Definition at line 603 of file Setup.h.

◆ pSetTP_

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

Definition at line 661 of file Setup.h.

◆ pSetZHT_

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

Definition at line 869 of file Setup.h.

◆ scattering_

double tt::Setup::scattering_
private

Definition at line 600 of file Setup.h.

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

◆ sectorCots_

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

Definition at line 1058 of file Setup.h.

Referenced by calculateConstants(), and sectorCot().

◆ sensorModules_

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

Definition at line 1039 of file Setup.h.

Referenced by produceSensorModules(), and sensorModules().

◆ sgXMLFile_

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

Definition at line 576 of file Setup.h.

Referenced by checkGeometry().

◆ sgXMLLabel_

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

Definition at line 572 of file Setup.h.

Referenced by checkGeometry().

◆ sgXMLPath_

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

Definition at line 574 of file Setup.h.

Referenced by checkGeometry().

◆ sgXMLVersions_

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

Definition at line 578 of file Setup.h.

Referenced by checkGeometry().

◆ slotLimit10gbps_

int tt::Setup::slotLimit10gbps_
private

Definition at line 812 of file Setup.h.

Referenced by gbps10().

◆ slotLimitPS_

int tt::Setup::slotLimitPS_
private

Definition at line 810 of file Setup.h.

Referenced by psModule().

◆ speedOfLight_

double tt::Setup::speedOfLight_
private

Definition at line 716 of file Setup.h.

Referenced by calculateConstants().

◆ stubAlgorithm_

const StubAlgorithmOfficial* tt::Setup::stubAlgorithm_
private

Definition at line 556 of file Setup.h.

Referenced by encodeBend(), and stubAlgorithm().

◆ tbInnerRadius_

double tt::Setup::tbInnerRadius_
private

Definition at line 658 of file Setup.h.

Referenced by tbInnerRadius().

◆ tfpNumChannel_

int tt::Setup::tfpNumChannel_
private

Definition at line 825 of file Setup.h.

Referenced by tfpNumChannel().

◆ tfpWidthCot_

int tt::Setup::tfpWidthCot_
private

Definition at line 821 of file Setup.h.

Referenced by tfpWidthCot().

◆ tfpWidthInv2R_

int tt::Setup::tfpWidthInv2R_
private

Definition at line 819 of file Setup.h.

Referenced by tfpWidthInv2R().

◆ tfpWidthPhi0_

int tt::Setup::tfpWidthPhi0_
private

Definition at line 817 of file Setup.h.

Referenced by tfpWidthPhi0().

◆ tfpWidthZ0_

int tt::Setup::tfpWidthZ0_
private

Definition at line 823 of file Setup.h.

Referenced by tfpWidthZ0().

◆ tiltApproxIntercept_

double tt::Setup::tiltApproxIntercept_
private

Definition at line 734 of file Setup.h.

Referenced by tiltApproxIntercept().

◆ tiltApproxSlope_

double tt::Setup::tiltApproxSlope_
private

Definition at line 732 of file Setup.h.

Referenced by tiltApproxSlope().

◆ tiltedLayerLimitsZ_

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

Definition at line 754 of file Setup.h.

Referenced by tiltedLayerLimitZ().

◆ tiltUncertaintyR_

double tt::Setup::tiltUncertaintyR_
private

Definition at line 736 of file Setup.h.

Referenced by tiltUncertaintyR().

◆ tmpFE_

int tt::Setup::tmpFE_
private

Definition at line 712 of file Setup.h.

Referenced by calculateConstants().

◆ tmpTFP_

int tt::Setup::tmpTFP_
private

Definition at line 714 of file Setup.h.

Referenced by calculateConstants().

◆ tmttBaseInv2R_

double tt::Setup::tmttBaseInv2R_
private

Definition at line 977 of file Setup.h.

Referenced by calculateConstants(), and tmttBaseInv2R().

◆ tmttBasePhi_

double tt::Setup::tmttBasePhi_
private

Definition at line 975 of file Setup.h.

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

◆ tmttBasePhiT_

double tt::Setup::tmttBasePhiT_
private

Definition at line 979 of file Setup.h.

Referenced by calculateConstants(), and tmttBasePhiT().

◆ tmttBaseR_

double tt::Setup::tmttBaseR_
private

Definition at line 971 of file Setup.h.

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

◆ tmttBaseZ_

double tt::Setup::tmttBaseZ_
private

Definition at line 973 of file Setup.h.

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

◆ tmttNumUnusedBits_

int tt::Setup::tmttNumUnusedBits_
private

Definition at line 989 of file Setup.h.

Referenced by calculateConstants(), and tmttNumUnusedBits().

◆ tmttWidthInv2R_

int tt::Setup::tmttWidthInv2R_
private

Definition at line 987 of file Setup.h.

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

◆ tmttWidthLayer_

int tt::Setup::tmttWidthLayer_
private

Definition at line 983 of file Setup.h.

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

◆ tmttWidthPhi_

int tt::Setup::tmttWidthPhi_
private

Definition at line 615 of file Setup.h.

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

◆ tmttWidthR_

int tt::Setup::tmttWidthR_
private

Definition at line 613 of file Setup.h.

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

◆ tmttWidthSectorEta_

int tt::Setup::tmttWidthSectorEta_
private

Definition at line 985 of file Setup.h.

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

◆ tmttWidthZ_

int tt::Setup::tmttWidthZ_
private

Definition at line 617 of file Setup.h.

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

◆ tpMaxBadStubs2S_

int tt::Setup::tpMaxBadStubs2S_
private

Definition at line 677 of file Setup.h.

Referenced by tpMaxBadStubs2S().

◆ tpMaxBadStubsPS_

int tt::Setup::tpMaxBadStubsPS_
private

Definition at line 679 of file Setup.h.

Referenced by tpMaxBadStubsPS().

◆ tpMaxD0_

double tt::Setup::tpMaxD0_
private

Definition at line 671 of file Setup.h.

Referenced by tpMaxD0(), and useForAlgEff().

◆ tpMaxEta_

double tt::Setup::tpMaxEta_
private

Definition at line 665 of file Setup.h.

Referenced by configureTPSelector(), and tpMaxEta().

◆ tpMaxVertR_

double tt::Setup::tpMaxVertR_
private

Definition at line 667 of file Setup.h.

Referenced by configureTPSelector(), and tpMaxVertR().

◆ tpMaxVertZ_

double tt::Setup::tpMaxVertZ_
private

Definition at line 669 of file Setup.h.

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

◆ tpMinLayers_

int tt::Setup::tpMinLayers_
private

Definition at line 673 of file Setup.h.

Referenced by reconstructable(), and tpMinLayers().

◆ tpMinLayersPS_

int tt::Setup::tpMinLayersPS_
private

Definition at line 675 of file Setup.h.

Referenced by tpMinLayersPS().

◆ tpMinPt_

double tt::Setup::tpMinPt_
private

Definition at line 663 of file Setup.h.

Referenced by configureTPSelector(), and tpMinPt().

◆ tpSelector_

TrackingParticleSelector tt::Setup::tpSelector_
private

Definition at line 936 of file Setup.h.

Referenced by configureTPSelector(), and useForAlgEff().

◆ tpSelectorLoose_

TrackingParticleSelector tt::Setup::tpSelectorLoose_
private

Definition at line 938 of file Setup.h.

Referenced by configureTPSelector(), and useForReconstructable().

◆ trackerGeometry_

const TrackerGeometry* tt::Setup::trackerGeometry_
private

Definition at line 550 of file Setup.h.

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

◆ trackerTopology_

const TrackerTopology* tt::Setup::trackerTopology_
private

Definition at line 552 of file Setup.h.

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

◆ tttrackBits_

int tt::Setup::tttrackBits_
private

Definition at line 920 of file Setup.h.

Referenced by tttrackBits().

◆ unMatchedStubs_

int tt::Setup::unMatchedStubs_
private

Definition at line 596 of file Setup.h.

◆ unMatchedStubsPS_

int tt::Setup::unMatchedStubsPS_
private

Definition at line 598 of file Setup.h.

◆ weightBinFraction_

int tt::Setup::weightBinFraction_
private

Definition at line 922 of file Setup.h.

Referenced by weightBinFraction().

◆ widthAddrBRAM18_

int tt::Setup::widthAddrBRAM18_
private

Definition at line 704 of file Setup.h.

Referenced by widthAddrBRAM18().

◆ widthAddrBRAM36_

int tt::Setup::widthAddrBRAM36_
private

Definition at line 702 of file Setup.h.

Referenced by widthAddrBRAM36().

◆ widthBend_

int tt::Setup::widthBend_
private

Definition at line 761 of file Setup.h.

Referenced by widthBend().

◆ widthCol_

int tt::Setup::widthCol_
private

Definition at line 763 of file Setup.h.

Referenced by widthCol().

◆ widthDSPa_

int tt::Setup::widthDSPa_
private

Definition at line 684 of file Setup.h.

Referenced by calculateConstants(), and widthDSPa().

◆ widthDSPab_

int tt::Setup::widthDSPab_
private

Definition at line 686 of file Setup.h.

Referenced by calculateConstants(), and widthDSPab().

◆ widthDSPau_

int tt::Setup::widthDSPau_
private

Definition at line 688 of file Setup.h.

Referenced by calculateConstants(), and widthDSPau().

◆ widthDSPb_

int tt::Setup::widthDSPb_
private

Definition at line 690 of file Setup.h.

Referenced by calculateConstants(), and widthDSPb().

◆ widthDSPbb_

int tt::Setup::widthDSPbb_
private

Definition at line 692 of file Setup.h.

Referenced by calculateConstants(), and widthDSPbb().

◆ widthDSPbu_

int tt::Setup::widthDSPbu_
private

Definition at line 694 of file Setup.h.

Referenced by calculateConstants(), and widthDSPbu().

◆ widthDSPc_

int tt::Setup::widthDSPc_
private

Definition at line 696 of file Setup.h.

Referenced by calculateConstants(), and widthDSPc().

◆ widthDSPcb_

int tt::Setup::widthDSPcb_
private

Definition at line 698 of file Setup.h.

Referenced by calculateConstants(), and widthDSPcb().

◆ widthDSPcu_

int tt::Setup::widthDSPcu_
private

Definition at line 700 of file Setup.h.

Referenced by calculateConstants(), and widthDSPcu().

◆ widthLayerId_

int tt::Setup::widthLayerId_
private

Definition at line 969 of file Setup.h.

◆ widthRow_

int tt::Setup::widthRow_
private

Definition at line 765 of file Setup.h.

Referenced by calculateConstants(), and widthRow().

◆ windowSizeBarrelLayers_

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

Definition at line 945 of file Setup.h.

Referenced by consumeStubAlgorithm(), and windowSizeBarrelLayer().

◆ windowSizeEndcapDisksRings_

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

Definition at line 949 of file Setup.h.

Referenced by consumeStubAlgorithm(), and windowSizeEndcapDisksRing().

◆ windowSizeTiltedLayerRings_

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

Definition at line 947 of file Setup.h.

Referenced by consumeStubAlgorithm(), and windowSizeTiltedLayerRing().

◆ zhtMaxStubsPerLayer_

int tt::Setup::zhtMaxStubsPerLayer_
private

Definition at line 881 of file Setup.h.

Referenced by calculateConstants(), and zhtMaxStubsPerLayer().

◆ zhtMaxTracks_

int tt::Setup::zhtMaxTracks_
private

Definition at line 879 of file Setup.h.

Referenced by zhtMaxTracks().

◆ zhtMinLayers_

int tt::Setup::zhtMinLayers_
private

Definition at line 877 of file Setup.h.

Referenced by zhtMinLayers().

◆ zhtNumBinsCot_

int tt::Setup::zhtNumBinsCot_
private

Definition at line 873 of file Setup.h.

Referenced by calculateConstants(), and zhtNumBinsCot().

◆ zhtNumBinsZT_

int tt::Setup::zhtNumBinsZT_
private

Definition at line 871 of file Setup.h.

Referenced by calculateConstants(), and zhtNumBinsZT().

◆ zhtNumCells_

int tt::Setup::zhtNumCells_
private

Definition at line 1068 of file Setup.h.

Referenced by calculateConstants(), and zhtNumCells().

◆ zhtNumStages_

int tt::Setup::zhtNumStages_
private

Definition at line 875 of file Setup.h.

Referenced by zhtNumStages().