#include <TTTrack_TrackWord.h>
Public Member Functions | |
unsigned int | get_BendChi2Bits () |
unsigned int | get_chi2XYBits () |
unsigned int | get_chi2ZBits () |
unsigned int | get_d0Bits () |
unsigned int | get_hitPattern () |
float | get_iBendChi2 () |
float | get_ichi2XY () |
float | get_ichi2Z () |
float | get_id0 () |
float | get_iphi () |
float | get_iRinv () |
unsigned int | get_ispare () |
float | get_itanl () |
float | get_iz0 () |
unsigned int | get_phiBits () |
unsigned int | get_RinvBits () |
unsigned int | get_tanlBits () |
unsigned int | get_z0Bits () |
TTTrack_TrackWord & | operator= (const TTTrack_TrackWord &word) |
void | setTrackWord (const GlobalVector &Momentum, const GlobalPoint &POCA, double Rinv, double Chi2XY, double Chi2Z, double BendChi2, unsigned int HitPattern, unsigned int iSpare) |
void | setTrackWord (unsigned int Rinv, unsigned int phi0, unsigned int tanl, unsigned int z0, unsigned int d0, unsigned int Chi2XY, unsigned int Chi2Z, unsigned int BendChi2, unsigned int HitPattern, unsigned int iSpare) |
TTTrack_TrackWord () | |
TTTrack_TrackWord (const GlobalVector &Momentum, const GlobalPoint &POCA, double Rinv, double Chi2, double Chi2Z, double BendChi2, unsigned int HitPattern, unsigned int iSpare) | |
TTTrack_TrackWord (const TTTrack_TrackWord &word) | |
TTTrack_TrackWord (unsigned int Rinv, unsigned int phi0, unsigned int tanl, unsigned int z0, unsigned int d0, unsigned int Chi2XY, unsigned int Chi2Z, unsigned int BendChi2, unsigned int HitPattern, unsigned int iSpare) | |
unsigned int | unpack_hitPattern () |
float | unpack_iBendChi2 () |
float | unpack_ichi2XY () |
float | unpack_ichi2Z () |
float | unpack_id0 () |
float | unpack_iphi () |
float | unpack_iRinv () |
unsigned int | unpack_ispare () |
float | unpack_itanl () |
float | unpack_iz0 () |
Private Member Functions | |
unsigned int | digitize_Signed (float var, unsigned int maxBit, unsigned int minBit, float lsb) |
void | initialize () |
float | unpack_Signed (unsigned int bits, unsigned int nBits, float lsb) |
Private Attributes | |
float | Bchi2Bins [8] |
float | chi2Bins [16] |
float | chi2ZBins [16] |
unsigned int | iBendChi2 |
unsigned int | ichi2XY |
unsigned int | ichi2Z |
unsigned int | id0 |
unsigned int | iHitPattern |
unsigned int | iphi |
unsigned int | iRinv |
unsigned int | ispare |
unsigned int | itanl |
unsigned int | iz0 |
const unsigned int | maskBendChi2 = 0x0001C000 |
const unsigned int | maskChi2XY = 0x0000000F |
const unsigned int | maskChi2Z = 0x00003C00 |
const unsigned int | maskD0 = 0x000FFF80 |
const unsigned int | maskHitPat = 0x0000007F |
const unsigned int | maskPhi = 0xFFF00000 |
const unsigned int | maskRinv = 0xFFFE0000 |
const unsigned int | maskSpare = 0x000003FF |
const unsigned int | maskTanL = 0xFFFF0000 |
const unsigned int | maskZ0 = 0x0000FFF0 |
const float | maxCurv = 0.00855 |
const float | maxD0 = 15.4 |
const float | maxPhi = 1.026 |
const float | maxTanl = 8.0 |
const float | maxZ0 = 30. |
unsigned int | NBchi2 |
const unsigned int | NBChi2Bits = 3 |
unsigned int | Nchi2 |
const unsigned int | NChi2Bits = 4 |
const unsigned int | NCurvBits = 14 |
const unsigned int | ND0Bits = 12 |
const unsigned int | NHitsBits = 7 |
const unsigned int | NPhiBits = 11 |
const unsigned int | NSpareBits = 14 |
const unsigned int | NTanlBits = 15 |
const unsigned int | nWordBits = 32 |
const unsigned int | NZ0Bits = 11 |
unsigned int | TrackWord1 |
unsigned int | TrackWord2 |
unsigned int | TrackWord3 |
float | valLSBCurv |
float | valLSBD0 |
float | valLSBPhi |
float | valLSBTanl |
float | valLSBZ0 |
Definition at line 19 of file TTTrack_TrackWord.h.
|
inline |
Definition at line 23 of file TTTrack_TrackWord.h.
TTTrack_TrackWord::TTTrack_TrackWord | ( | const GlobalVector & | Momentum, |
const GlobalPoint & | POCA, | ||
double | Rinv, | ||
double | Chi2, | ||
double | Chi2Z, | ||
double | BendChi2, | ||
unsigned int | HitPattern, | ||
unsigned int | iSpare | ||
) |
TTTrack_TrackWord::TTTrack_TrackWord | ( | unsigned int | Rinv, |
unsigned int | phi0, | ||
unsigned int | tanl, | ||
unsigned int | z0, | ||
unsigned int | d0, | ||
unsigned int | Chi2XY, | ||
unsigned int | Chi2Z, | ||
unsigned int | BendChi2, | ||
unsigned int | HitPattern, | ||
unsigned int | iSpare | ||
) |
|
inline |
Definition at line 107 of file TTTrack_TrackWord.h.
References iBendChi2, ichi2XY, ichi2Z, id0, iHitPattern, initialize(), iphi, iRinv, ispare, itanl, iz0, TrackWord1, TrackWord2, and TrackWord3.
|
private |
Definition at line 335 of file TTTrack_TrackWord.cc.
References hgcalVFEProducer_cfi::lsb, and trigObjTnPSource_cfi::var.
Referenced by setTrackWord().
unsigned int TTTrack_TrackWord::get_BendChi2Bits | ( | ) |
Definition at line 312 of file TTTrack_TrackWord.cc.
References maskBendChi2, NBChi2Bits, NCurvBits, nWordBits, and TrackWord3.
unsigned int TTTrack_TrackWord::get_chi2XYBits | ( | ) |
Definition at line 246 of file TTTrack_TrackWord.cc.
References ichi2XY.
unsigned int TTTrack_TrackWord::get_chi2ZBits | ( | ) |
unsigned int TTTrack_TrackWord::get_d0Bits | ( | ) |
Definition at line 278 of file TTTrack_TrackWord.cc.
References id0.
unsigned int TTTrack_TrackWord::get_hitPattern | ( | ) |
float TTTrack_TrackWord::get_iBendChi2 | ( | ) |
float TTTrack_TrackWord::get_ichi2XY | ( | ) |
float TTTrack_TrackWord::get_ichi2Z | ( | ) |
float TTTrack_TrackWord::get_id0 | ( | ) |
Definition at line 273 of file TTTrack_TrackWord.cc.
References id0, ND0Bits, unpack_Signed(), and valLSBD0.
float TTTrack_TrackWord::get_iphi | ( | ) |
Definition at line 257 of file TTTrack_TrackWord.cc.
References iphi, NPhiBits, unpack_Signed(), and valLSBPhi.
float TTTrack_TrackWord::get_iRinv | ( | ) |
Definition at line 296 of file TTTrack_TrackWord.cc.
References iRinv, NCurvBits, unpack_Signed(), and valLSBCurv.
unsigned int TTTrack_TrackWord::get_ispare | ( | ) |
float TTTrack_TrackWord::get_itanl | ( | ) |
Definition at line 209 of file TTTrack_TrackWord.cc.
References itanl, NTanlBits, unpack_Signed(), and valLSBTanl.
float TTTrack_TrackWord::get_iz0 | ( | ) |
Definition at line 225 of file TTTrack_TrackWord.cc.
References iz0, NZ0Bits, unpack_Signed(), and valLSBZ0.
unsigned int TTTrack_TrackWord::get_phiBits | ( | ) |
Definition at line 262 of file TTTrack_TrackWord.cc.
References iphi.
unsigned int TTTrack_TrackWord::get_RinvBits | ( | ) |
unsigned int TTTrack_TrackWord::get_tanlBits | ( | ) |
Definition at line 214 of file TTTrack_TrackWord.cc.
References itanl.
unsigned int TTTrack_TrackWord::get_z0Bits | ( | ) |
Definition at line 230 of file TTTrack_TrackWord.cc.
References iz0.
|
private |
Definition at line 359 of file TTTrack_TrackWord.cc.
References Bchi2Bins, chi2Bins, chi2ZBins, dqmMemoryStats::float, maxCurv, maxD0, maxPhi, maxTanl, maxZ0, NBchi2, NBChi2Bits, Nchi2, NChi2Bits, NCurvBits, ND0Bits, NPhiBits, NTanlBits, NZ0Bits, valLSBCurv, valLSBD0, valLSBPhi, valLSBTanl, and valLSBZ0.
Referenced by operator=(), setTrackWord(), and TTTrack_TrackWord().
|
inline |
Definition at line 127 of file TTTrack_TrackWord.h.
References iBendChi2, ichi2XY, ichi2Z, id0, iHitPattern, initialize(), iphi, iRinv, ispare, itanl, iz0, TrackWord1, TrackWord2, and TrackWord3.
void TTTrack_TrackWord::setTrackWord | ( | const GlobalVector & | Momentum, |
const GlobalPoint & | POCA, | ||
double | Rinv, | ||
double | Chi2XY, | ||
double | Chi2Z, | ||
double | BendChi2, | ||
unsigned int | HitPattern, | ||
unsigned int | iSpare | ||
) |
Definition at line 79 of file TTTrack_TrackWord.cc.
References Bchi2Bins, chi2Bins, chi2ZBins, digitize_Signed(), iBendChi2, ichi2XY, ichi2Z, id0, iHitPattern, initialize(), iphi, iRinv, ispare, itanl, iz0, NBchi2, NBChi2Bits, Nchi2, NChi2Bits, NCurvBits, ND0Bits, NPhiBits, NTanlBits, nWordBits, NZ0Bits, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), TrackWord1, TrackWord2, TrackWord3, valLSBCurv, valLSBD0, valLSBPhi, valLSBTanl, valLSBZ0, and PV3DBase< T, PVType, FrameType >::z().
Referenced by TTTrack_TrackWord().
void TTTrack_TrackWord::setTrackWord | ( | unsigned int | Rinv, |
unsigned int | phi0, | ||
unsigned int | tanl, | ||
unsigned int | z0, | ||
unsigned int | d0, | ||
unsigned int | Chi2XY, | ||
unsigned int | Chi2Z, | ||
unsigned int | BendChi2, | ||
unsigned int | HitPattern, | ||
unsigned int | iSpare | ||
) |
Definition at line 54 of file TTTrack_TrackWord.cc.
References d0, iBendChi2, ichi2XY, ichi2Z, id0, iHitPattern, initialize(), iphi, iRinv, ispare, itanl, iz0, and HLTMuonOfflineAnalyzer_cfi::z0.
unsigned int TTTrack_TrackWord::unpack_hitPattern | ( | ) |
Definition at line 283 of file TTTrack_TrackWord.cc.
References maskHitPat, and TrackWord2.
float TTTrack_TrackWord::unpack_iBendChi2 | ( | ) |
Definition at line 301 of file TTTrack_TrackWord.cc.
References Bchi2Bins, maskBendChi2, NBChi2Bits, NCurvBits, nWordBits, and TrackWord3.
float TTTrack_TrackWord::unpack_ichi2XY | ( | ) |
Definition at line 235 of file TTTrack_TrackWord.cc.
References chi2Bins, maskChi2XY, and TrackWord1.
float TTTrack_TrackWord::unpack_ichi2Z | ( | ) |
Definition at line 317 of file TTTrack_TrackWord.cc.
References chi2ZBins, maskChi2Z, NBChi2Bits, NChi2Bits, NCurvBits, nWordBits, and TrackWord3.
float TTTrack_TrackWord::unpack_id0 | ( | ) |
Definition at line 267 of file TTTrack_TrackWord.cc.
References maskD0, ND0Bits, NPhiBits, nWordBits, TrackWord2, unpack_Signed(), and valLSBD0.
float TTTrack_TrackWord::unpack_iphi | ( | ) |
Definition at line 251 of file TTTrack_TrackWord.cc.
References maskPhi, NPhiBits, nWordBits, TrackWord2, unpack_Signed(), and valLSBPhi.
float TTTrack_TrackWord::unpack_iRinv | ( | ) |
Definition at line 290 of file TTTrack_TrackWord.cc.
References maskRinv, NCurvBits, nWordBits, TrackWord3, unpack_Signed(), and valLSBCurv.
unsigned int TTTrack_TrackWord::unpack_ispare | ( | ) |
Definition at line 328 of file TTTrack_TrackWord.cc.
References maskSpare, and TrackWord3.
float TTTrack_TrackWord::unpack_itanl | ( | ) |
Definition at line 203 of file TTTrack_TrackWord.cc.
References maskTanL, NTanlBits, nWordBits, TrackWord1, unpack_Signed(), and valLSBTanl.
float TTTrack_TrackWord::unpack_iz0 | ( | ) |
Definition at line 219 of file TTTrack_TrackWord.cc.
References maskZ0, NTanlBits, nWordBits, NZ0Bits, TrackWord1, unpack_Signed(), and valLSBZ0.
|
private |
Definition at line 347 of file TTTrack_TrackWord.cc.
References dqmMemoryStats::float, and hgcalVFEProducer_cfi::lsb.
Referenced by get_id0(), get_iphi(), get_iRinv(), get_itanl(), get_iz0(), unpack_id0(), unpack_iphi(), unpack_iRinv(), unpack_itanl(), and unpack_iz0().
|
private |
Definition at line 183 of file TTTrack_TrackWord.h.
Referenced by get_iBendChi2(), initialize(), setTrackWord(), and unpack_iBendChi2().
|
private |
Definition at line 181 of file TTTrack_TrackWord.h.
Referenced by get_ichi2XY(), initialize(), setTrackWord(), and unpack_ichi2XY().
|
private |
Definition at line 182 of file TTTrack_TrackWord.h.
Referenced by get_ichi2Z(), initialize(), setTrackWord(), and unpack_ichi2Z().
|
private |
Definition at line 163 of file TTTrack_TrackWord.h.
Referenced by get_iBendChi2(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 161 of file TTTrack_TrackWord.h.
Referenced by get_chi2XYBits(), get_ichi2XY(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 162 of file TTTrack_TrackWord.h.
Referenced by get_ichi2Z(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 160 of file TTTrack_TrackWord.h.
Referenced by get_d0Bits(), get_id0(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 165 of file TTTrack_TrackWord.h.
Referenced by get_hitPattern(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 157 of file TTTrack_TrackWord.h.
Referenced by get_iphi(), get_phiBits(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 156 of file TTTrack_TrackWord.h.
Referenced by get_iRinv(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 164 of file TTTrack_TrackWord.h.
Referenced by get_ispare(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 158 of file TTTrack_TrackWord.h.
Referenced by get_itanl(), get_tanlBits(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 159 of file TTTrack_TrackWord.h.
Referenced by get_iz0(), get_z0Bits(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 236 of file TTTrack_TrackWord.h.
Referenced by get_BendChi2Bits(), and unpack_iBendChi2().
|
private |
Definition at line 234 of file TTTrack_TrackWord.h.
Referenced by unpack_ichi2XY().
|
private |
Definition at line 235 of file TTTrack_TrackWord.h.
Referenced by unpack_ichi2Z().
|
private |
Definition at line 232 of file TTTrack_TrackWord.h.
Referenced by unpack_id0().
|
private |
Definition at line 237 of file TTTrack_TrackWord.h.
Referenced by unpack_hitPattern().
|
private |
Definition at line 230 of file TTTrack_TrackWord.h.
Referenced by unpack_iphi().
|
private |
Definition at line 229 of file TTTrack_TrackWord.h.
Referenced by unpack_iRinv().
|
private |
Definition at line 238 of file TTTrack_TrackWord.h.
Referenced by unpack_ispare().
|
private |
Definition at line 231 of file TTTrack_TrackWord.h.
Referenced by unpack_itanl().
|
private |
Definition at line 233 of file TTTrack_TrackWord.h.
Referenced by unpack_iz0().
|
private |
Definition at line 220 of file TTTrack_TrackWord.h.
Referenced by initialize().
|
private |
Definition at line 224 of file TTTrack_TrackWord.h.
Referenced by initialize().
|
private |
Definition at line 221 of file TTTrack_TrackWord.h.
Referenced by initialize().
|
private |
Definition at line 222 of file TTTrack_TrackWord.h.
Referenced by initialize().
|
private |
Definition at line 223 of file TTTrack_TrackWord.h.
Referenced by initialize().
|
private |
Definition at line 186 of file TTTrack_TrackWord.h.
Referenced by initialize(), and setTrackWord().
|
private |
Definition at line 215 of file TTTrack_TrackWord.h.
Referenced by get_BendChi2Bits(), initialize(), setTrackWord(), unpack_iBendChi2(), and unpack_ichi2Z().
|
private |
Definition at line 185 of file TTTrack_TrackWord.h.
Referenced by initialize(), and setTrackWord().
|
private |
Definition at line 214 of file TTTrack_TrackWord.h.
Referenced by initialize(), setTrackWord(), and unpack_ichi2Z().
|
private |
Definition at line 207 of file TTTrack_TrackWord.h.
Referenced by get_BendChi2Bits(), get_iRinv(), initialize(), setTrackWord(), unpack_iBendChi2(), unpack_ichi2Z(), and unpack_iRinv().
|
private |
Definition at line 211 of file TTTrack_TrackWord.h.
Referenced by get_id0(), initialize(), setTrackWord(), and unpack_id0().
|
private |
Definition at line 216 of file TTTrack_TrackWord.h.
|
private |
Definition at line 208 of file TTTrack_TrackWord.h.
Referenced by get_iphi(), initialize(), setTrackWord(), unpack_id0(), and unpack_iphi().
|
private |
Definition at line 217 of file TTTrack_TrackWord.h.
|
private |
Definition at line 209 of file TTTrack_TrackWord.h.
Referenced by get_itanl(), initialize(), setTrackWord(), unpack_itanl(), and unpack_iz0().
|
private |
Definition at line 240 of file TTTrack_TrackWord.h.
Referenced by get_BendChi2Bits(), setTrackWord(), unpack_iBendChi2(), unpack_ichi2Z(), unpack_id0(), unpack_iphi(), unpack_iRinv(), unpack_itanl(), and unpack_iz0().
|
private |
Definition at line 210 of file TTTrack_TrackWord.h.
Referenced by get_iz0(), initialize(), setTrackWord(), and unpack_iz0().
|
private |
Definition at line 169 of file TTTrack_TrackWord.h.
Referenced by operator=(), setTrackWord(), TTTrack_TrackWord(), unpack_ichi2XY(), unpack_itanl(), and unpack_iz0().
|
private |
Definition at line 170 of file TTTrack_TrackWord.h.
Referenced by operator=(), setTrackWord(), TTTrack_TrackWord(), unpack_hitPattern(), unpack_id0(), and unpack_iphi().
|
private |
Definition at line 171 of file TTTrack_TrackWord.h.
Referenced by get_BendChi2Bits(), operator=(), setTrackWord(), TTTrack_TrackWord(), unpack_iBendChi2(), unpack_ichi2Z(), unpack_iRinv(), and unpack_ispare().
|
private |
Definition at line 175 of file TTTrack_TrackWord.h.
Referenced by get_iRinv(), initialize(), setTrackWord(), and unpack_iRinv().
|
private |
Definition at line 179 of file TTTrack_TrackWord.h.
Referenced by get_id0(), initialize(), setTrackWord(), and unpack_id0().
|
private |
Definition at line 176 of file TTTrack_TrackWord.h.
Referenced by get_iphi(), initialize(), setTrackWord(), and unpack_iphi().
|
private |
Definition at line 177 of file TTTrack_TrackWord.h.
Referenced by get_itanl(), initialize(), setTrackWord(), and unpack_itanl().
|
private |
Definition at line 178 of file TTTrack_TrackWord.h.
Referenced by get_iz0(), initialize(), setTrackWord(), and unpack_iz0().