CMS 3D CMS Logo

Classes | Functions | Variables
trklet Namespace Reference

Classes

class  AllProjectionsMemory
 
class  AllStubsMemory
 
class  Cabling
 
class  CandidateMatchMemory
 
class  CircularBuffer
 
class  CleanTrackMemory
 
class  DiskProjection
 
class  DiskResidual
 
class  DTC
 
class  DTCLink
 
class  FitTrack
 
class  FPGAWord
 
class  FullMatchMemory
 
class  Globals
 
class  HistBase
 
class  HybridFit
 
class  IMATH_TrackletCalculator
 
class  IMATH_TrackletCalculatorDisk
 
class  IMATH_TrackletCalculatorOverlap
 
struct  imathGlobals
 
class  InputLinkMemory
 
class  L1SimTrack
 
class  L1TStub
 
class  LayerProjection
 
class  LayerResidual
 
class  MatchCalculator
 
class  MatchEngine
 
class  MatchEngineUnit
 
class  MatchProcessor
 
class  MemoryBase
 
class  ProcessBase
 
class  ProjectionRouter
 
class  ProjectionRouterBendTable
 
class  ProjectionTemp
 
class  PurgeDuplicate
 
class  Sector
 
class  Settings
 
class  SLHCEvent
 
class  Stub
 
class  StubPairsMemory
 
class  StubTripletsMemory
 
class  TETableBase
 
class  Timer
 
class  Track
 
class  TrackDer
 
class  TrackDerTable
 
class  TrackFitMemory
 
class  Tracklet
 
class  TrackletCalculator
 
class  TrackletCalculatorBase
 
class  TrackletCalculatorDisplaced
 
class  TrackletEngine
 
class  TrackletEngineDisplaced
 
class  TrackletEventProcessor
 
class  TrackletParametersMemory
 
class  TrackletProcessor
 
class  TrackletProjectionsMemory
 
class  TrackPars
 
class  TripletEngine
 
class  VarAdd
 
class  VarAdjustK
 
class  VarAdjustKR
 
class  VarBase
 
class  VarCut
 
class  VarDef
 
class  VarDSPPostadd
 
class  VarFlag
 
class  VarInv
 
class  VarMult
 
class  VarNeg
 
class  VarNounits
 
class  VarParam
 
class  VarShift
 
class  VarShiftround
 
class  VarSubtract
 
class  VarTimesC
 
class  VMProjectionsMemory
 
class  VMRouter
 
class  VMRouterPhiCorrTable
 
class  VMRouterTable
 
class  VMStubME
 
class  VMStubsMEMemory
 
class  VMStubsTEMemory
 
struct  VMStubsTEPHI
 
class  VMStubTE
 

Functions

double bend (double r, double rinv, double stripPitch)
 
double benddecode (int ibend, bool isPS)
 
int bendencode (double bend, bool isPS)
 
std::string hexFormat (const std::string &binary)
 
double rinv (double phi1, double phi2, double r1, double r2)
 

Variables

constexpr int N_DISK = 5
 
constexpr unsigned int N_DSS_MOD = 5
 
constexpr unsigned int N_FITPARAM = 4
 
constexpr unsigned int N_FITSTUB = 6
 
constexpr int N_LAYER = 6
 
constexpr std::array< unsigned int, N_PSLAYERN_MOD_PLANK = {{7, 11, 15}}
 
constexpr unsigned int N_PROJ = 4
 
constexpr unsigned int N_PSLAYER = 3
 
constexpr unsigned int N_SECTOR = 9
 
constexpr unsigned int N_SEED = 12
 
constexpr unsigned int N_TILTED_RINGS = 12
 
constexpr unsigned int N_TRACKDER_INDEX = 1000
 
constexpr unsigned int N_TRACKDER_PTBIN = 4
 
constexpr unsigned int N_TRKLSEED = 7
 

Function Documentation

◆ bend()

double trklet::bend ( double  r,
double  rinv,
double  stripPitch 
)
inline

Definition at line 160 of file Util.h.

160  {
161  constexpr double dr = 0.18;
162  double delta = r * dr * 0.5 * rinv;
163  double bend = -delta / stripPitch;
164  return bend;
165  }

References dumpMFGeometry_cfg::delta, flavorHistoryFilter_cfi::dr, alignCSCRings::r, and rinv().

Referenced by CSCTMBHeader2006::addCLCT0(), CSCTMBHeader2007::addCLCT0(), CSCTMBHeader2006::addCLCT1(), CSCTMBHeader2007::addCLCT1(), trklet::SLHCEvent::addStub(), CSCDigiToPattern::analyze(), bendencode(), PtAssignmentEngineAux2017::calcBendFromPattern(), L1TMuon::GeometryTranslator::calcDTSpecificBend(), CSCSectorReceiverMiniLUT::calcGlobalEtaMEMini(), CSCTMBHeader2007::CLCTDigis(), CSCTMBHeader2007_rev0x50c3::CLCTDigis(), CSCTMBHeader2013::CLCTDigis(), CSCTMBHeader2006::CLCTDigis(), CSCGEMMotherboard::constructLCTsGEM(), TTStubAlgorithm_official< T >::degradeBend(), egammaTools::ecalPhi(), trackerDTC::Setup::encodeBend(), trklet::VMRouterPhiCorrTable::getphiCorrValue(), trklet::ProjectionRouterBendTable::init(), trklet::L1TStub::L1TStub(), EMTFSubsystemCollector::make_copad_gem(), trklet::MatchEngine::MatchEngine(), trklet::MatchProcessor::MatchProcessor(), CSCUpgradeCathodeLCTProcessor::preTrigger(), CSCCathodeLCTProcessor::preTrigger(), CSCCLCTPreTriggerDigi::print(), CSCCLCTDigi::print(), ME0TriggerPseudoBuilder::segmentConversion(), CSCCLCTDigi::setBend(), trklet::TrackletEngine::setVMPhiBin(), trklet::TrackletProcessor::setVMPhiBin(), Fit::startFit(), trklet::VMStubME::VMStubME(), trklet::VMStubTE::VMStubTE(), and tmtt::DegradeBend::work().

◆ benddecode()

double trklet::benddecode ( int  ibend,
bool  isPS 
)
inline

Definition at line 100 of file Util.h.

100  {
101  if (isPS) {
102  if (ibend == 0)
103  return 0.25;
104  if (ibend == 1)
105  return 1.25;
106  if (ibend == 2)
107  return 2.25;
108  if (ibend == 3)
109  return 3.25;
110  if (ibend == 4)
111  return -0.75;
112  if (ibend == 5)
113  return -1.75;
114  if (ibend == 6)
115  return -2.75;
116  if (ibend == 7)
117  return -3.75;
118 
119  throw cms::Exception("BadConfig") << __FILE__ << " " << __LINE__
120  << " Unknown benddecode for PS module for ibend = " << ibend;
121  }
122 
123  if (ibend == 0)
124  return 0.25;
125  if (ibend == 1)
126  return 1.25;
127  if (ibend == 2)
128  return 2.25;
129  if (ibend == 3)
130  return 3.25;
131  if (ibend == 4)
132  return 4.25;
133  if (ibend == 5)
134  return 5.25;
135  if (ibend == 6)
136  return 6.25;
137  if (ibend == 7)
138  return 7.25;
139  if (ibend == 8)
140  return -0.75;
141  if (ibend == 9)
142  return -1.75;
143  if (ibend == 10)
144  return -2.75;
145  if (ibend == 11)
146  return -3.75;
147  if (ibend == 12)
148  return -4.75;
149  if (ibend == 13)
150  return -5.75;
151  if (ibend == 14)
152  return -6.75;
153  if (ibend == 15)
154  return -7.75;
155 
156  throw cms::Exception("BadConfig") << __FILE__ << " " << __LINE__
157  << " Unknown benddecode for 2S module for ibend = " << ibend;
158  }

References Exception.

Referenced by trklet::VMStubsTEMemory::addVMStub(), trklet::TrackletEngine::execute(), trklet::TripletEngine::execute(), trklet::TrackletEngineDisplaced::execute(), trklet::TrackletProcessor::execute(), trklet::VMRouterPhiCorrTable::getphiCorrValue(), trklet::MatchEngine::MatchEngine(), trklet::MatchProcessor::MatchProcessor(), trklet::TrackletEngine::setVMPhiBin(), and trklet::TrackletProcessor::setVMPhiBin().

◆ bendencode()

int trklet::bendencode ( double  bend,
bool  isPS 
)
inline

Definition at line 33 of file Util.h.

33  {
34  int ibend = 2.0 * bend;
35 
36  assert(std::abs(ibend - 2.0 * bend) < 0.1);
37 
38  if (isPS) {
39  if (ibend == 0 || ibend == 1)
40  return 0;
41  if (ibend == 2 || ibend == 3)
42  return 1;
43  if (ibend == 4 || ibend == 5)
44  return 2;
45  if (ibend >= 6)
46  return 3;
47  if (ibend == -1 || ibend == -2)
48  return 4;
49  if (ibend == -3 || ibend == -4)
50  return 5;
51  if (ibend == -5 || ibend == -6)
52  return 6;
53  if (ibend <= -7)
54  return 7;
55 
56  throw cms::Exception("BadConfig") << __FILE__ << " " << __LINE__
57  << " Unknown bendencode for PS module for bend = " << bend
58  << " ibend = " << ibend;
59  }
60 
61  if (ibend == 0 || ibend == 1)
62  return 0;
63  if (ibend == 2 || ibend == 3)
64  return 1;
65  if (ibend == 4 || ibend == 5)
66  return 2;
67  if (ibend == 6 || ibend == 7)
68  return 3;
69  if (ibend == 8 || ibend == 9)
70  return 4;
71  if (ibend == 10 || ibend == 11)
72  return 5;
73  if (ibend == 12 || ibend == 13)
74  return 6;
75  if (ibend >= 14)
76  return 7;
77  if (ibend == -1 || ibend == -2)
78  return 8;
79  if (ibend == -3 || ibend == -4)
80  return 9;
81  if (ibend == -5 || ibend == -6)
82  return 10;
83  if (ibend == -7 || ibend == -8)
84  return 11;
85  if (ibend == -9 || ibend == -10)
86  return 12;
87  if (ibend == -11 || ibend == -12)
88  return 13;
89  if (ibend == -13 || ibend == -14)
90  return 14;
91  if (ibend <= -15)
92  return 15;
93 
94  throw cms::Exception("BadConfig") << __FILE__ << " " << __LINE__
95  << " Unknown bendencode for 2S module for bend = " << bend
96  << " ibend = " << ibend;
97  }

References funct::abs(), cms::cuda::assert(), bend(), and Exception.

Referenced by trklet::Stub::Stub().

◆ hexFormat()

std::string trklet::hexFormat ( const std::string &  binary)
inline

◆ rinv()

double trklet::rinv ( double  phi1,
double  phi2,
double  r1,
double  r2 
)
inline

Definition at line 167 of file Util.h.

167  {
168  if (r2 <= r1) { //can not form tracklet
169  return 20.0;
170  }
171 
172  double dphi = phi2 - phi1;
173  double dr = r2 - r1;
174 
175  return 2.0 * sin(dphi) / dr / sqrt(1.0 + 2 * r1 * r2 * (1.0 - cos(dphi)) / (dr * dr));
176  }

References funct::cos(), flavorHistoryFilter_cfi::dr, diffTwoXMLs::r1, diffTwoXMLs::r2, funct::sin(), and mathSSE::sqrt().

Referenced by fastmath::atan2r(), trklet::TrackletCalculatorBase::barrelSeeding(), bend(), trklet::TrackDerTable::calculateDerivatives(), trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::TrackletCalculatorDisplaced::exactproj(), trklet::TrackletCalculatorBase::exactproj(), trklet::TrackletCalculatorDisplaced::exactprojdisk(), trklet::TrackletCalculatorBase::exactprojdisk(), trklet::TrackletCalculatorBase::exacttracklet(), trklet::TrackletCalculatorDisplaced::exacttracklet(), trklet::TrackletCalculatorBase::exacttrackletdisk(), trklet::TrackletCalculatorBase::exacttrackletOverlap(), trklet::TrackDerTable::fillTable(), trklet::ProjectionRouterBendTable::init(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), tmtt::ConverterToTTTrack::makeTTTrack(), trklet::MatchEngine::MatchEngine(), trklet::MatchProcessor::MatchProcessor(), trklet::TrackletCalculatorBase::overlapSeeding(), pTFrom2Stubs::pTFrom2(), trklet::TrackletEngine::setVMPhiBin(), trklet::TrackletProcessor::setVMPhiBin(), and trklet::FitTrack::trackFitChisq().

Variable Documentation

◆ N_DISK

constexpr int trklet::N_DISK = 5
constexpr

Definition at line 20 of file Settings.h.

Referenced by trklet::TrackletCalculatorDisplaced::addDiskProj(), trklet::TrackletCalculatorBase::addDiskProj(), trklet::Tracklet::addMatchDisk(), trklet::TrackletCalculator::addOutput(), trklet::TrackletCalculatorDisplaced::addOutput(), trklet::TrackletProcessor::addOutput(), trklet::DTC::addphi(), trklet::Cabling::addphi(), trklet::Tracklet::alphadisk(), trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::TrackletCalculatorBase::exacttracklet(), trklet::TrackletCalculatorBase::exacttrackletdisk(), trklet::TrackDerTable::fillTable(), trklet::Tracklet::finervm(), trklet::Tracklet::fpgaphiprojderdisk(), trklet::Tracklet::fpgaphiprojdisk(), trklet::Tracklet::fpgaphiresiddisk(), trklet::Tracklet::fpgarprojderdisk(), trklet::Tracklet::fpgarprojdisk(), trklet::Tracklet::fpgarresiddisk(), trklet::Tracklet::fullmatchdiskstr(), trklet::Tracklet::getBendIndex(), trklet::VMStubsTEMemory::getPhiRange(), trklet::Tracklet::getStubIDs(), trklet::Tracklet::ialphadisk(), trklet::DiskProjection::init(), trklet::DiskResidual::init(), trklet::ProjectionRouterBendTable::init(), trklet::MemoryBase::initLayerDisk(), trklet::ProcessBase::initLayerDisk(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), trklet::Tracklet::matchdisk(), trklet::TrackletCalculatorBase::overlapSeeding(), trklet::Tracklet::phiprojapproxdisk(), trklet::Tracklet::phiprojderapproxdisk(), trklet::Tracklet::phiprojderdisk(), trklet::Tracklet::phiprojdisk(), trklet::Tracklet::phiresidapproxdisk(), trklet::Tracklet::phiresiddisk(), trklet::Tracklet::rbin1projvm(), trklet::Tracklet::rbin2projvm(), trklet::Tracklet::rprojapproxdisk(), trklet::Tracklet::rprojderapproxdisk(), trklet::Tracklet::rprojderdisk(), trklet::Tracklet::rprojdisk(), trklet::Tracklet::rresidapproxdisk(), trklet::Tracklet::rresiddisk(), trklet::Tracklet::setBendIndex(), trklet::Stub::Stub(), trklet::TrackDerTable::tpar(), trklet::TrackDerTable::TrackDerTable(), trklet::FitTrack::trackFitChisq(), trklet::Tracklet::Tracklet(), trklet::TrackletCalculator::TrackletCalculator(), trklet::TrackletCalculatorDisplaced::TrackletCalculatorDisplaced(), trklet::TrackletProcessor::TrackletProcessor(), trklet::Tracklet::trackletprojstrD(), trklet::Tracklet::validProjDisk(), trklet::Cabling::writephirange(), and trklet::Tracklet::zstubdisk().

◆ N_DSS_MOD

constexpr unsigned int trklet::N_DSS_MOD = 5
constexpr

◆ N_FITPARAM

constexpr unsigned int trklet::N_FITPARAM = 4
constexpr

◆ N_FITSTUB

constexpr unsigned int trklet::N_FITSTUB = 6
constexpr

◆ N_LAYER

constexpr int trklet::N_LAYER = 6
constexpr

Definition at line 19 of file Settings.h.

Referenced by trklet::Tracklet::addMatch(), trklet::TrackletCalculator::addOutput(), trklet::TrackletCalculatorDisplaced::addOutput(), trklet::TrackletProcessor::addOutput(), trklet::DTC::addphi(), trklet::Cabling::addphi(), trklet::InputLinkMemory::addStub(), trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::TrackletCalculatorBase::exacttracklet(), trklet::ProjectionRouter::execute(), trklet::MatchCalculator::execute(), trklet::VMRouter::execute(), trklet::TrackDerTable::fillTable(), trklet::Tracklet::finezvm(), trklet::Tracklet::fpgaphiproj(), trklet::Tracklet::fpgaphiprojder(), trklet::Tracklet::fpgaphiresid(), trklet::Tracklet::fpgazproj(), trklet::Tracklet::fpgazprojder(), trklet::Tracklet::fpgazresid(), trklet::Tracklet::fullmatchstr(), trklet::VMRouterTable::getLookup(), trklet::Tracklet::getStubIDs(), trklet::LayerProjection::init(), trklet::LayerResidual::init(), trklet::ProjectionRouterBendTable::init(), trklet::VMRouterTable::init(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), trklet::Tracklet::match(), trklet::MatchCalculator::MatchCalculator(), trklet::MatchCalculator::mergeMatches(), trklet::TrackletCalculatorBase::overlapSeeding(), trklet::Tracklet::phiproj(), trklet::Tracklet::phiprojapprox(), trklet::Tracklet::phiprojder(), trklet::Tracklet::phiprojderapprox(), trklet::Tracklet::phiprojvm(), trklet::Tracklet::phiresid(), trklet::Tracklet::phiresidapprox(), trklet::Tracklet::rproj(), trklet::Tracklet::rstub(), trklet::TrackletEngine::setVMPhiBin(), trklet::Stub::Stub(), trklet::Tracklet::stubptr(), trklet::TrackDerTable::tpar(), trklet::TrackDerTable::TrackDerTable(), trklet::FitTrack::trackFitChisq(), trklet::Tracklet::Tracklet(), trklet::TrackletCalculator::TrackletCalculator(), trklet::TrackletCalculatorDisplaced::TrackletCalculatorDisplaced(), trklet::TrackletProcessor::TrackletProcessor(), trklet::Tracklet::trackletprojstr(), trklet::Tracklet::validProj(), trklet::Tracklet::validResid(), trklet::VMStubsMEMemory::VMStubsMEMemory(), trklet::Cabling::writephirange(), trklet::Tracklet::zbin1projvm(), trklet::Tracklet::zbin2projvm(), trklet::Tracklet::zproj(), trklet::Tracklet::zprojapprox(), trklet::Tracklet::zprojder(), trklet::Tracklet::zprojderapprox(), trklet::Tracklet::zprojvm(), trklet::Tracklet::zresid(), and trklet::Tracklet::zresidapprox().

◆ N_MOD_PLANK

constexpr std::array<unsigned int, N_PSLAYER> trklet::N_MOD_PLANK = {{7, 11, 15}}
constexpr

◆ N_PROJ

constexpr unsigned int trklet::N_PROJ = 4
constexpr

Definition at line 731 of file Settings.h.

Referenced by trklet::TrackDerTable::fillTable().

◆ N_PSLAYER

constexpr unsigned int trklet::N_PSLAYER = 3
constexpr

◆ N_SECTOR

constexpr unsigned int trklet::N_SECTOR = 9
constexpr

◆ N_SEED

constexpr unsigned int trklet::N_SEED = 12
constexpr

◆ N_TILTED_RINGS

constexpr unsigned int trklet::N_TILTED_RINGS = 12
constexpr

◆ N_TRACKDER_INDEX

constexpr unsigned int trklet::N_TRACKDER_INDEX = 1000
constexpr

Definition at line 738 of file Settings.h.

◆ N_TRACKDER_PTBIN

constexpr unsigned int trklet::N_TRACKDER_PTBIN = 4
constexpr

Definition at line 737 of file Settings.h.

◆ N_TRKLSEED

constexpr unsigned int trklet::N_TRKLSEED = 7
constexpr

Definition at line 730 of file Settings.h.

Referenced by trklet::TrackDerTable::fillTable().

mps_fire.i
i
Definition: mps_fire.py:355
cms::cuda::assert
assert(be >=bs)
createJobs.tmp
tmp
align.sh
Definition: createJobs.py:716
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
trklet::rinv
double rinv(double phi1, double phi2, double r1, double r2)
Definition: Util.h:167
dumpMFGeometry_cfg.delta
delta
Definition: dumpMFGeometry_cfg.py:25
diffTwoXMLs.r2
r2
Definition: diffTwoXMLs.py:73
value
Definition: value.py:1
alignCSCRings.r
r
Definition: alignCSCRings.py:93
diffTwoXMLs.r1
r1
Definition: diffTwoXMLs.py:53
trklet::bend
double bend(double r, double rinv, double stripPitch)
Definition: Util.h:160
relativeConstraints.value
value
Definition: relativeConstraints.py:53
flavorHistoryFilter_cfi.dr
dr
Definition: flavorHistoryFilter_cfi.py:37
Exception
Definition: hltDiff.cc:246
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22