CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
trklet::Stub Class Reference

#include <Stub.h>

Public Member Functions

const FPGAWordalphanew () const
 
const FPGAWordbend () const
 
const FPGAWorddisk () const
 
FPGAWord iphivmFineBins (int VMbits, int finebits) const
 
bool isBarrel () const
 
bool isDisk () const
 
bool isPSmodule () const
 
L1TStubl1tstub ()
 
const L1TStubl1tstub () const
 
const FPGAWordlayer () const
 
unsigned int layerdisk () const
 
const FPGAWordphi () const
 
double phiapprox (double phimin, double) const
 
const FPGAWordphicorr () const
 
unsigned int phiregionaddress () const
 
std::string phiregionaddressstr () const
 
const FPGAWordr () const
 
double rapprox () const
 
void setAllStubIndex (int nstub)
 
void setl1tstub (L1TStub *l1tstub)
 
void setPhiCorr (int phiCorr)
 
std::string str () const
 
std::string strbare () const
 
 Stub (L1TStub &stub, Settings const &settings, double phiminsec, double phimaxsec)
 
 Stub (Settings const &settings)
 
const FPGAWordstubindex () const
 
const FPGAWordz () const
 
double zapprox () const
 
 ~Stub ()=default
 

Private Attributes

FPGAWord alphanew_
 
FPGAWord bend_
 
FPGAWord disk_
 
L1TStubl1tstub_
 
FPGAWord layer_
 
FPGAWord phi_
 
FPGAWord phicorr_
 
FPGAWord r_
 
Settings const & settings_
 
FPGAWord stubindex_
 
FPGAWord z_
 

Detailed Description

Definition at line 16 of file Stub.h.

Constructor & Destructor Documentation

◆ Stub() [1/2]

Stub::Stub ( Settings const &  settings)

Definition at line 12 of file Stub.cc.

12 : settings_(settings) {}

◆ Stub() [2/2]

Stub::Stub ( L1TStub stub,
Settings const &  settings,
double  phiminsec,
double  phimaxsec 
)

Definition at line 14 of file Stub.cc.

14  : settings_(settings) {
15  double r = stub.r();
16  double z = stub.z();
17  double sbend = stub.bend();
18 
19  l1tstub_ = &stub;
20 
21  int bendbits = 4;
22  if (stub.isPSmodule())
23  bendbits = 3;
24 
25  int ibend = bendencode(sbend, stub.isPSmodule());
26 
27  bend_.set(ibend, bendbits, true, __LINE__, __FILE__);
28 
29  int layer = stub.layer() + 1;
30 
31  // hold the real values from L1Stub
32  double stubphi = stub.phi();
33 
34  if (layer < 999) {
35  disk_.set(0, 4, false, __LINE__, __FILE__);
36 
37  assert(layer > 0 && layer <= N_LAYER);
38  double rmin = settings_.rmean(layer - 1) - settings_.drmax();
39  double rmax = settings_.rmean(layer - 1) + settings_.drmax();
40 
41  if (r < rmin || r > rmax) {
42  edm::LogProblem("Tracklet") << "Error r, rmin, rmeas, rmax :" << r << " " << rmin << " " << 0.5 * (rmin + rmax)
43  << " " << rmax;
44  }
45 
46  int irbits = settings_.nrbitsstub(layer - 1);
47 
48  int ir = lround((1 << irbits) * ((r - settings_.rmean(layer - 1)) / (rmax - rmin)));
49 
50  double zmin = -settings_.zlength();
51  double zmax = settings_.zlength();
52 
53  if (z < zmin || z > zmax) {
54  edm::LogProblem("Tracklet") << "Error z, zmin, zmax :" << z << " " << zmin << " " << zmax;
55  }
56 
57  int izbits = settings_.nzbitsstub(layer - 1);
58 
59  int iz = lround((1 << izbits) * z / (zmax - zmin));
60 
61  if (z < zmin || z > zmax) {
62  edm::LogProblem("Tracklet") << "Error z, zmin, zmax :" << z << " " << zmin << " " << zmax;
63  }
64 
65  assert(phimaxsec - phiminsec > 0.0);
66 
67  if (stubphi < phiminsec - (phimaxsec - phiminsec) / 6.0) {
68  stubphi += 2 * M_PI;
69  }
70  assert((phimaxsec - phiminsec) > 0.0);
71 
72  int iphibits = settings_.nphibitsstub(layer - 1);
73 
74  double deltaphi = reco::reduceRange(stubphi - phiminsec);
75 
76  int iphi = (1 << iphibits) * deltaphi / (phimaxsec - phiminsec);
77 
78  layer_.set(layer - 1, 3, true, __LINE__, __FILE__);
79  r_.set(ir, irbits, false, __LINE__, __FILE__);
80  z_.set(iz, izbits, false, __LINE__, __FILE__);
81  phi_.set(iphi, iphibits, true, __LINE__, __FILE__);
82 
83  phicorr_.set(iphi, iphibits, true, __LINE__, __FILE__);
84 
85  } else {
86  // Here we handle the hits on disks.
87 
88  int disk = stub.module();
89  assert(disk > 0 && disk <= N_DISK);
90  int sign = 1;
91  if (z < 0.0)
92  sign = -1;
93 
94  double zmin = sign * (settings_.zmean(disk - 1) - sign * settings_.dzmax());
95  double zmax = sign * (settings_.zmean(disk - 1) + sign * settings_.dzmax());
96 
97  if ((z > zmax) || (z < zmin)) {
98  edm::LogProblem("Tracklet") << "Error disk z, zmax, zmin: " << z << " " << zmax << " " << zmin;
99  }
100 
101  int iz =
102  (1 << settings.nzbitsstub(disk + N_DISK)) * ((z - sign * settings_.zmean(disk - 1)) / std::abs(zmax - zmin));
103 
104  assert(phimaxsec - phiminsec > 0.0);
105  if (stubphi < phiminsec - (phimaxsec - phiminsec) / 6.0) {
106  stubphi += 2 * M_PI;
107  }
108 
109  assert(phimaxsec - phiminsec > 0.0);
110  if (stubphi < phiminsec - (phimaxsec - phiminsec) / 6.0) {
111  stubphi += 2 * M_PI;
112  }
113 
114  int iphibits = settings_.nphibitsstub(disk + 5);
115 
116  double deltaphi = reco::reduceRange(stubphi - phiminsec);
117 
118  int iphi = (1 << iphibits) * deltaphi / (phimaxsec - phiminsec);
119 
120  double rmin = 0;
121  double rmax = settings_.rmaxdisk();
122 
123  if (r < rmin || r > rmax) {
124  edm::LogProblem("Tracklet") << "Error disk r, rmin, rmax :" << r << " " << rmin << " " << rmax;
125  }
126 
127  int ir = (1 << settings_.nrbitsstub(disk + 5)) * (r - rmin) / (rmax - rmin);
128 
129  int irSS = -1;
130  if (!stub.isPSmodule()) {
131  for (unsigned int i = 0; i < N_DSS_MOD * 2; ++i) {
132  if (disk <= 2) {
133  if (std::abs(r - settings_.rDSSinner(i)) < 0.2) {
134  irSS = i;
135  break;
136  }
137  } else {
138  if (std::abs(r - settings_.rDSSouter(i)) < 0.2) {
139  irSS = i;
140  break;
141  }
142  }
143  }
144  if (irSS < 0) {
145  throw cms::Exception("BadConfig") << __FILE__ << " " << __LINE__ << " didn't find rDSS value! r = " << r
146  << " Check that correct geometry is used!";
147  }
148  }
149  if (irSS < 0) {
150  //PS modules
151  r_.set(ir, settings_.nrbitsstub(disk + N_DISK), true, __LINE__, __FILE__);
152  } else {
153  //SS modules
154  r_.set(irSS, 4, true, __LINE__, __FILE__); // in case of SS modules, store index, not r itself
155  }
156 
157  z_.set(iz, settings.nzbitsstub(disk + 5), false, __LINE__, __FILE__);
158  phi_.set(iphi, iphibits, true, __LINE__, __FILE__);
159  phicorr_.set(iphi, iphibits, true, __LINE__, __FILE__);
160 
161  disk_.set(sign * disk, 4, false, __LINE__, __FILE__);
162 
163  double alphanorm = stub.alphanorm();
164  assert(std::abs(alphanorm) < 1.0);
165  int ialphanew = alphanorm * (1 << (settings.nbitsalpha() - 1));
166  assert(ialphanew < (1 << (settings.nbitsalpha() - 1)));
167  assert(ialphanew >= -(1 << (settings.nbitsalpha() - 1)));
168  alphanew_.set(ialphanew, settings.nbitsalpha(), false, __LINE__, __FILE__);
169  }
170 }

References funct::abs(), alphanew_, trklet::L1TStub::alphanorm(), cms::cuda::assert(), trklet::L1TStub::bend(), bend_, trklet::bendencode(), disk(), disk_, trklet::Settings::drmax(), trklet::Settings::dzmax(), Exception, mps_fire::i, LEDCalibrationChannels::iphi, trklet::L1TStub::isPSmodule(), l1tstub_, trklet::L1TStub::layer(), layer(), layer_, M_PI, trklet::L1TStub::module(), trklet::N_DISK, trklet::N_DSS_MOD, trklet::N_LAYER, trklet::Settings::nbitsalpha(), trklet::Settings::nphibitsstub(), trklet::Settings::nrbitsstub(), trklet::Settings::nzbitsstub(), trklet::L1TStub::phi(), phi_, phicorr_, r(), trklet::L1TStub::r(), r_, trklet::Settings::rDSSinner(), trklet::Settings::rDSSouter(), reco::reduceRange(), trklet::Settings::rmaxdisk(), trklet::Settings::rmean(), trklet::FPGAWord::set(), settings_, Validation_hcalonly_cfi::sign, z(), trklet::L1TStub::z(), z_, trklet::Settings::zlength(), SiStripMonitorCluster_cfi::zmax, trklet::Settings::zmean(), and SiStripMonitorCluster_cfi::zmin.

◆ ~Stub()

trklet::Stub::~Stub ( )
default

Member Function Documentation

◆ alphanew()

const FPGAWord& trklet::Stub::alphanew ( ) const
inline

◆ bend()

const FPGAWord& trklet::Stub::bend ( ) const
inline

Definition at line 47 of file Stub.h.

47 { return bend_; }

References bend_.

Referenced by trklet::InputLinkMemory::addStub(), and trklet::VMRouter::execute().

◆ disk()

const FPGAWord& trklet::Stub::disk ( ) const
inline

◆ iphivmFineBins()

FPGAWord Stub::iphivmFineBins ( int  VMbits,
int  finebits 
) const

Definition at line 172 of file Stub.cc.

172  {
173  unsigned int finephi = (phicorr_.value() >> (phicorr_.nbits() - VMbits - finebits)) & ((1 << finebits) - 1);
174  return FPGAWord(finephi, finebits, true, __LINE__, __FILE__);
175 }

References trklet::FPGAWord::nbits(), phicorr_, and trklet::FPGAWord::value().

Referenced by trklet::VMRouter::execute().

◆ isBarrel()

bool trklet::Stub::isBarrel ( ) const
inline

◆ isDisk()

bool trklet::Stub::isDisk ( ) const
inline

◆ isPSmodule()

bool trklet::Stub::isPSmodule ( ) const
inline

◆ l1tstub() [1/2]

L1TStub* trklet::Stub::l1tstub ( )
inline

◆ l1tstub() [2/2]

const L1TStub* trklet::Stub::l1tstub ( ) const
inline

Definition at line 70 of file Stub.h.

70 { return l1tstub_; }

References l1tstub_.

◆ layer()

const FPGAWord& trklet::Stub::layer ( ) const
inline

◆ layerdisk()

unsigned int Stub::layerdisk ( ) const

Definition at line 244 of file Stub.cc.

244  {
245  if (layer_.value() == -1)
246  return 5 + abs(disk_.value());
247  return layer_.value();
248 }

References funct::abs(), disk_, layer_, and trklet::FPGAWord::value().

Referenced by trklet::InputLinkMemory::addStub(), phiregionaddress(), and phiregionaddressstr().

◆ phi()

const FPGAWord& trklet::Stub::phi ( void  ) const
inline

◆ phiapprox()

double Stub::phiapprox ( double  phimin,
double   
) const

◆ phicorr()

const FPGAWord& trklet::Stub::phicorr ( ) const
inline

Definition at line 52 of file Stub.h.

52 { return phicorr_; }

References phicorr_.

Referenced by trklet::InputLinkMemory::addStub(), and trklet::VMRouter::execute().

◆ phiregionaddress()

unsigned int Stub::phiregionaddress ( ) const

◆ phiregionaddressstr()

std::string Stub::phiregionaddressstr ( ) const

Definition at line 182 of file Stub.cc.

182  {
184  FPGAWord phiregion(iphi, 3, true, __LINE__, __FILE__);
185  return phiregion.str() + stubindex_.str();
186 }

References LEDCalibrationChannels::iphi, layerdisk(), trklet::FPGAWord::nbits(), trklet::Settings::nbitsallstubs(), phicorr_, settings_, trklet::FPGAWord::str(), stubindex_, and trklet::FPGAWord::value().

Referenced by trklet::Tracklet::addressstr(), and trklet::Tracklet::trackfitstr().

◆ r()

const FPGAWord& trklet::Stub::r ( ) const
inline

◆ rapprox()

double Stub::rapprox ( ) const

◆ setAllStubIndex()

void Stub::setAllStubIndex ( int  nstub)

Definition at line 188 of file Stub.cc.

188  {
189  if (nstub >= (1 << 7)) {
190  if (settings_.debugTracklet())
191  edm::LogPrint("Tracklet") << "Warning too large stubindex!";
192  nstub = (1 << 7) - 1;
193  }
194 
195  stubindex_.set(nstub, 7);
196 }

References trklet::Settings::debugTracklet(), trklet::FPGAWord::set(), settings_, and stubindex_.

Referenced by trklet::VMRouter::execute().

◆ setl1tstub()

void trklet::Stub::setl1tstub ( L1TStub l1tstub)
inline

Definition at line 71 of file Stub.h.

71 { l1tstub_ = l1tstub; }

References l1tstub(), and l1tstub_.

Referenced by trklet::InputLinkMemory::addStub().

◆ setPhiCorr()

void Stub::setPhiCorr ( int  phiCorr)

Definition at line 198 of file Stub.cc.

198  {
199  int iphicorr = phi_.value() - phiCorr;
200 
201  if (iphicorr < 0)
202  iphicorr = 0;
203  if (iphicorr >= (1 << phi_.nbits()))
204  iphicorr = (1 << phi_.nbits()) - 1;
205 
206  phicorr_.set(iphicorr, phi_.nbits(), true, __LINE__, __FILE__);
207 }

References trklet::FPGAWord::nbits(), phi_, phicorr_, trklet::FPGAWord::set(), and trklet::FPGAWord::value().

Referenced by trklet::InputLinkMemory::addStub().

◆ str()

std::string trklet::Stub::str ( ) const
inline

Definition at line 26 of file Stub.h.

26  {
27  if (layer_.value() != -1) {
28  return r_.str() + "|" + z_.str() + "|" + phi_.str() + "|" + bend_.str();
29  } else {
30  if (isPSmodule()) {
31  return r_.str() + "|" + z_.str() + "|" + phi_.str() + "|" + bend_.str();
32  } else {
33  return "000" + r_.str() + "|" + z_.str() + "|" + phi_.str() + "|" + alphanew_.str() + "|" + bend_.str();
34  }
35  }
36  }

References alphanew_, bend_, isPSmodule(), layer_, phi_, r_, trklet::FPGAWord::str(), trklet::FPGAWord::value(), and z_.

Referenced by trklet::TrackletEventProcessor::event().

◆ strbare()

std::string trklet::Stub::strbare ( ) const
inline

Definition at line 38 of file Stub.h.

38 { return bend_.str() + r_.str() + z_.str() + phi_.str(); }

References bend_, phi_, r_, trklet::FPGAWord::str(), and z_.

◆ stubindex()

const FPGAWord& trklet::Stub::stubindex ( ) const
inline

◆ z()

const FPGAWord& trklet::Stub::z ( ) const
inline

◆ zapprox()

double Stub::zapprox ( ) const

Definition at line 217 of file Stub.cc.

217  {
218  if (disk_.value() == 0) {
219  int lz = 1;
220  if (layer_.value() >= 3) {
221  lz = 16;
222  }
223  return z_.value() * settings_.kz() * lz;
224  }
225  int sign = 1;
226  if (disk_.value() < 0)
227  sign = -1;
228  if (sign < 0) {
229  //Should understand why this is needed to get agreement with integer calculations
230  return (z_.value() + 1) * settings_.kz() + sign * settings_.zmean(abs(disk_.value()) - 1);
231  } else {
232  return z_.value() * settings_.kz() + sign * settings_.zmean(abs(disk_.value()) - 1);
233  }
234 }

References funct::abs(), disk_, trklet::Settings::kz(), layer_, settings_, Validation_hcalonly_cfi::sign, trklet::FPGAWord::value(), z_, and trklet::Settings::zmean().

Referenced by trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::MatchCalculator::execute(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), trklet::MatchProcessor::matchCalculator(), and trklet::TrackletCalculatorBase::overlapSeeding().

Member Data Documentation

◆ alphanew_

FPGAWord trklet::Stub::alphanew_
private

Definition at line 79 of file Stub.h.

Referenced by alphanew(), str(), and Stub().

◆ bend_

FPGAWord trklet::Stub::bend_
private

Definition at line 81 of file Stub.h.

Referenced by bend(), str(), strbare(), and Stub().

◆ disk_

FPGAWord trklet::Stub::disk_
private

Definition at line 75 of file Stub.h.

Referenced by disk(), isDisk(), layerdisk(), rapprox(), Stub(), and zapprox().

◆ l1tstub_

L1TStub* trklet::Stub::l1tstub_
private

Definition at line 87 of file Stub.h.

Referenced by l1tstub(), setl1tstub(), and Stub().

◆ layer_

FPGAWord trklet::Stub::layer_
private

Definition at line 74 of file Stub.h.

Referenced by isBarrel(), isPSmodule(), layer(), layerdisk(), phiapprox(), rapprox(), str(), Stub(), and zapprox().

◆ phi_

FPGAWord trklet::Stub::phi_
private

Definition at line 78 of file Stub.h.

Referenced by phi(), phiapprox(), setPhiCorr(), str(), strbare(), and Stub().

◆ phicorr_

FPGAWord trklet::Stub::phicorr_
private

Definition at line 83 of file Stub.h.

Referenced by iphivmFineBins(), phicorr(), phiregionaddress(), phiregionaddressstr(), setPhiCorr(), and Stub().

◆ r_

FPGAWord trklet::Stub::r_
private

Definition at line 76 of file Stub.h.

Referenced by isPSmodule(), r(), rapprox(), str(), strbare(), and Stub().

◆ settings_

Settings const& trklet::Stub::settings_
private

◆ stubindex_

FPGAWord trklet::Stub::stubindex_
private

Definition at line 85 of file Stub.h.

Referenced by phiregionaddress(), phiregionaddressstr(), setAllStubIndex(), and stubindex().

◆ z_

FPGAWord trklet::Stub::z_
private

Definition at line 77 of file Stub.h.

Referenced by str(), strbare(), Stub(), z(), and zapprox().

trklet::Stub::phi_
FPGAWord phi_
Definition: Stub.h:78
trklet::N_PSLAYER
constexpr unsigned int N_PSLAYER
Definition: Settings.h:21
mps_fire.i
i
Definition: mps_fire.py:355
trklet::Stub::alphanew_
FPGAWord alphanew_
Definition: Stub.h:79
trklet::FPGAWord::str
std::string str() const
Definition: FPGAWord.cc:54
trklet::L1TStub::layer
unsigned int layer() const
Definition: L1TStub.h:44
trklet::Settings::dzmax
double dzmax() const
Definition: Settings.h:106
phimin
float phimin
Definition: ReggeGribovPartonMCHadronizer.h:107
trklet::Stub::r_
FPGAWord r_
Definition: Stub.h:76
trklet::Stub::layer_
FPGAWord layer_
Definition: Stub.h:74
trklet::bendencode
int bendencode(double bend, bool isPS)
Definition: Util.h:33
trklet::L1TStub::bend
double bend() const
Definition: L1TStub.h:60
trklet::L1TStub::z
double z() const
Definition: L1TStub.h:56
trklet::Settings::nbitsallstubs
unsigned int nbitsallstubs(unsigned int layerdisk) const
Definition: Settings.h:83
cms::cuda::assert
assert(be >=bs)
trklet::FPGAWord::set
void set(int value, int nbits, bool positive=true, int line=-1, const char *file=nullptr)
Definition: FPGAWord.cc:14
Validation_hcalonly_cfi.sign
sign
Definition: Validation_hcalonly_cfi.py:32
trklet::Settings::rmean
double rmean(unsigned int iLayer) const
Definition: Settings.h:128
trklet::N_DISK
constexpr int N_DISK
Definition: Settings.h:20
trklet::FPGAWord::nbits
int nbits() const
Definition: FPGAWord.h:25
trklet::Stub::bend_
FPGAWord bend_
Definition: Stub.h:81
trklet::Settings::rDSSinner
double rDSSinner(unsigned int iBin) const
Definition: Settings.h:135
trklet::Stub::phicorr_
FPGAWord phicorr_
Definition: Stub.h:83
SiStripMonitorCluster_cfi.zmin
zmin
Definition: SiStripMonitorCluster_cfi.py:200
trklet::Stub::isBarrel
bool isBarrel() const
Definition: Stub.h:60
trklet::Stub::r
const FPGAWord & r() const
Definition: Stub.h:49
trklet::Settings::nrbitsstub
unsigned int nrbitsstub(unsigned int layerdisk) const
Definition: Settings.h:66
trklet::Stub::disk_
FPGAWord disk_
Definition: Stub.h:75
trklet::Settings::rDSSouter
double rDSSouter(unsigned int iBin) const
Definition: Settings.h:138
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
trklet::Stub::z_
FPGAWord z_
Definition: Stub.h:77
trklet::Stub::disk
const FPGAWord & disk() const
Definition: Stub.h:57
trklet::Stub::z
const FPGAWord & z() const
Definition: Stub.h:50
SiStripMonitorCluster_cfi.zmax
zmax
Definition: SiStripMonitorCluster_cfi.py:201
trklet::L1TStub::isPSmodule
unsigned int isPSmodule() const
Definition: L1TStub.h:93
trklet::N_LAYER
constexpr int N_LAYER
Definition: Settings.h:19
trklet::Settings::zmean
double zmean(unsigned int iDisk) const
Definition: Settings.h:131
trklet::L1TStub::module
unsigned int module() const
Definition: L1TStub.h:52
trklet::Stub::layerdisk
unsigned int layerdisk() const
Definition: Stub.cc:244
trklet::FPGAWord
Definition: FPGAWord.h:9
trklet::Settings::kr
double kr() const
Definition: Settings.h:250
trklet::Settings::drmax
double drmax() const
Definition: Settings.h:105
trklet::Settings::rmaxdisk
double rmaxdisk() const
Definition: Settings.h:102
trklet::N_DSS_MOD
constexpr unsigned int N_DSS_MOD
Definition: Settings.h:24
trklet::Settings::nzbitsstub
unsigned int nzbitsstub(unsigned int layerdisk) const
Definition: Settings.h:64
edm::LogProblem
Definition: MessageLogger.h:387
createfilelist.int
int
Definition: createfilelist.py:10
trklet::L1TStub::alphanorm
double alphanorm() const
Definition: L1TStub.cc:91
trklet::Settings::nphibitsstub
unsigned int nphibitsstub(unsigned int layerdisk) const
Definition: Settings.h:65
M_PI
#define M_PI
Definition: BXVectorInputProducer.cc:50
edm::LogPrint
Definition: MessageLogger.h:342
trklet::FPGAWord::value
int value() const
Definition: FPGAWord.h:24
trklet::Settings::kphi
double kphi() const
Definition: Settings.h:246
trklet::Stub::l1tstub
L1TStub * l1tstub()
Definition: Stub.h:69
Exception
Definition: hltDiff.cc:246
trklet::Settings::kz
double kz() const
Definition: Settings.h:249
trklet::Settings::debugTracklet
bool debugTracklet() const
Definition: Settings.h:146
trklet::Stub::isPSmodule
bool isPSmodule() const
Definition: Stub.h:63
trklet::L1TStub::r
double r() const
Definition: L1TStub.h:57
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
trklet::Stub::layer
const FPGAWord & layer() const
Definition: Stub.h:56
trklet::Stub::settings_
Settings const & settings_
Definition: Stub.h:88
trklet::Stub::stubindex_
FPGAWord stubindex_
Definition: Stub.h:85
trklet::L1TStub::phi
double phi() const
Definition: L1TStub.h:62
trklet::Stub::l1tstub_
L1TStub * l1tstub_
Definition: Stub.h:87
reco::reduceRange
constexpr T reduceRange(T x)
Definition: deltaPhi.h:18
trklet::Settings::zlength
double zlength() const
Definition: Settings.h:101