#include <TTTrack_TrackWord.h>
Public Member Functions | |
unsigned int | get_BendChi2Bits () |
unsigned int | get_chi2Bits () |
unsigned int | get_d0Bits () |
unsigned int | get_etaBits () |
unsigned int | get_hitPattern () |
float | get_iBendChi2 () |
float | get_ichi2 () |
float | get_id0 () |
float | get_ieta () |
float | get_iphi () |
float | get_iRinv () |
unsigned int | get_ispare () |
float | get_iz0 () |
unsigned int | get_phiBits () |
unsigned int | get_RinvBits () |
unsigned int | get_z0Bits () |
TTTrack_TrackWord & | operator= (const TTTrack_TrackWord &word) |
void | setTrackWord (const GlobalVector &Momentum, const GlobalPoint &POCA, double theRinv, double theChi2, double theBendChi2, unsigned int theHitPattern, unsigned int iSpare) |
void | setTrackWord (unsigned int theRinv, unsigned int phi0, unsigned int tanl, unsigned int z0, unsigned int d0, unsigned int theChi2, unsigned int theBendChi2, unsigned int theHitPattern, unsigned int iSpare) |
TTTrack_TrackWord () | |
TTTrack_TrackWord (const GlobalVector &Momentum, const GlobalPoint &POCA, double theRinv, double theChi2, double theBendChi2, unsigned int theHitPattern, unsigned int iSpare) | |
TTTrack_TrackWord (unsigned int theRinv, unsigned int phi0, unsigned int tanl, unsigned int z0, unsigned int d0, unsigned int theChi2, unsigned int theBendChi2, unsigned int theHitPattern, unsigned int iSpare) | |
TTTrack_TrackWord (const TTTrack_TrackWord &word) | |
unsigned int | unpack_hitPattern () |
float | unpack_iBendChi2 () |
float | unpack_ichi2 () |
float | unpack_id0 () |
float | unpack_ieta () |
float | unpack_iphi () |
float | unpack_iRinv () |
unsigned int | unpack_ispare () |
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] |
unsigned int | iBendChi2 |
unsigned int | ichi2 |
unsigned int | id0 |
unsigned int | ieta |
unsigned int | iHitPattern |
unsigned int | iphi |
unsigned int | iRinv |
unsigned int | ispare |
unsigned int | iz0 |
const float | maxCurv = 0.5 |
const float | maxD0 = 15. |
const float | maxEta = 2.5 |
const float | maxPhi = 0.35 |
const float | maxZ0 = 20. |
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 | NEtaBits = 15 |
const unsigned int | NHitsBits = 7 |
const unsigned int | NPhiBits = 11 |
const unsigned int | NSpareBits = 14 |
const unsigned int | NZ0Bits = 11 |
unsigned int | TrackWord1 |
unsigned int | TrackWord2 |
unsigned int | TrackWord3 |
float | valLSBCurv |
float | valLSBD0 |
float | valLSBEta |
float | valLSBPhi |
float | valLSBZ0 |
Definition at line 19 of file TTTrack_TrackWord.h.
|
inline |
Definition at line 23 of file TTTrack_TrackWord.h.
References allConversions_cfi::d0, get_BendChi2Bits(), get_chi2Bits(), get_d0Bits(), get_etaBits(), get_hitPattern(), get_iBendChi2(), get_ichi2(), get_id0(), get_ieta(), get_iphi(), get_iRinv(), get_ispare(), get_iz0(), get_phiBits(), get_RinvBits(), get_z0Bits(), setTrackWord(), unpack_hitPattern(), unpack_iBendChi2(), unpack_ichi2(), unpack_id0(), unpack_ieta(), unpack_iphi(), unpack_iRinv(), unpack_ispare(), and unpack_iz0().
TTTrack_TrackWord::TTTrack_TrackWord | ( | const GlobalVector & | Momentum, |
const GlobalPoint & | POCA, | ||
double | theRinv, | ||
double | theChi2, | ||
double | theBendChi2, | ||
unsigned int | theHitPattern, | ||
unsigned int | iSpare | ||
) |
Definition at line 18 of file TTTrack_TrackWord.cc.
References setTrackWord().
TTTrack_TrackWord::TTTrack_TrackWord | ( | unsigned int | theRinv, |
unsigned int | phi0, | ||
unsigned int | tanl, | ||
unsigned int | z0, | ||
unsigned int | d0, | ||
unsigned int | theChi2, | ||
unsigned int | theBendChi2, | ||
unsigned int | theHitPattern, | ||
unsigned int | iSpare | ||
) |
Definition at line 28 of file TTTrack_TrackWord.cc.
References initialize().
|
inline |
Definition at line 100 of file TTTrack_TrackWord.h.
References iBendChi2, ichi2, id0, ieta, iHitPattern, initialize(), iphi, iRinv, ispare, iz0, TrackWord1, TrackWord2, and TrackWord3.
|
private |
unsigned int TTTrack_TrackWord::get_BendChi2Bits | ( | ) |
Definition at line 295 of file TTTrack_TrackWord.cc.
References bits, and TrackWord3.
Referenced by TTTrack_TrackWord().
unsigned int TTTrack_TrackWord::get_chi2Bits | ( | ) |
Definition at line 229 of file TTTrack_TrackWord.cc.
References ichi2.
Referenced by TTTrack_TrackWord().
unsigned int TTTrack_TrackWord::get_d0Bits | ( | ) |
Definition at line 261 of file TTTrack_TrackWord.cc.
References id0.
Referenced by TTTrack_TrackWord().
unsigned int TTTrack_TrackWord::get_etaBits | ( | ) |
Definition at line 197 of file TTTrack_TrackWord.cc.
References ieta.
Referenced by TTTrack_TrackWord().
unsigned int TTTrack_TrackWord::get_hitPattern | ( | ) |
Definition at line 271 of file TTTrack_TrackWord.cc.
References iHitPattern.
Referenced by TTTrack_TrackWord().
float TTTrack_TrackWord::get_iBendChi2 | ( | ) |
Definition at line 290 of file TTTrack_TrackWord.cc.
References Bchi2Bins, and iBendChi2.
Referenced by TTTrack_TrackWord().
float TTTrack_TrackWord::get_ichi2 | ( | ) |
Definition at line 224 of file TTTrack_TrackWord.cc.
References chi2Bins, and ichi2.
Referenced by TTTrack_TrackWord().
float TTTrack_TrackWord::get_id0 | ( | ) |
Definition at line 256 of file TTTrack_TrackWord.cc.
References id0, ND0Bits, unpack_Signed(), and valLSBD0.
Referenced by TTTrack_TrackWord().
float TTTrack_TrackWord::get_ieta | ( | ) |
Definition at line 192 of file TTTrack_TrackWord.cc.
References ieta, NEtaBits, unpack_Signed(), and valLSBEta.
Referenced by TTTrack_TrackWord().
float TTTrack_TrackWord::get_iphi | ( | ) |
Definition at line 240 of file TTTrack_TrackWord.cc.
References iphi, NPhiBits, unpack_Signed(), and valLSBPhi.
Referenced by TTTrack_TrackWord().
float TTTrack_TrackWord::get_iRinv | ( | ) |
Definition at line 279 of file TTTrack_TrackWord.cc.
References iRinv, NCurvBits, unpack_Signed(), and valLSBCurv.
Referenced by TTTrack_TrackWord().
unsigned int TTTrack_TrackWord::get_ispare | ( | ) |
Definition at line 305 of file TTTrack_TrackWord.cc.
References ispare.
Referenced by TTTrack_TrackWord().
float TTTrack_TrackWord::get_iz0 | ( | ) |
Definition at line 208 of file TTTrack_TrackWord.cc.
References iz0, NZ0Bits, unpack_Signed(), and valLSBZ0.
Referenced by TTTrack_TrackWord().
unsigned int TTTrack_TrackWord::get_phiBits | ( | ) |
Definition at line 245 of file TTTrack_TrackWord.cc.
References iphi.
Referenced by TTTrack_TrackWord().
unsigned int TTTrack_TrackWord::get_RinvBits | ( | ) |
Referenced by TTTrack_TrackWord().
unsigned int TTTrack_TrackWord::get_z0Bits | ( | ) |
Definition at line 213 of file TTTrack_TrackWord.cc.
References iz0.
Referenced by TTTrack_TrackWord().
|
private |
Definition at line 331 of file TTTrack_TrackWord.cc.
References Bchi2Bins, chi2Bins, objects.autophobj::float, maxCurv, maxD0, maxEta, maxPhi, maxZ0, NBchi2, NBChi2Bits, Nchi2, NChi2Bits, NCurvBits, ND0Bits, NEtaBits, NPhiBits, NZ0Bits, valLSBCurv, valLSBD0, valLSBEta, valLSBPhi, and valLSBZ0.
Referenced by operator=(), setTrackWord(), and TTTrack_TrackWord().
|
inline |
Definition at line 119 of file TTTrack_TrackWord.h.
References bits, digitize_Signed(), iBendChi2, ichi2, id0, ieta, iHitPattern, initialize(), iphi, iRinv, ispare, iz0, TrackWord1, TrackWord2, TrackWord3, unpack_Signed(), and JetChargeProducer_cfi::var.
void TTTrack_TrackWord::setTrackWord | ( | const GlobalVector & | Momentum, |
const GlobalPoint & | POCA, | ||
double | theRinv, | ||
double | theChi2, | ||
double | theBendChi2, | ||
unsigned int | theHitPattern, | ||
unsigned int | iSpare | ||
) |
Definition at line 74 of file TTTrack_TrackWord.cc.
References Bchi2Bins, chi2Bins, digitize_Signed(), PV3DBase< T, PVType, FrameType >::eta(), iBendChi2, ichi2, id0, ieta, iHitPattern, initialize(), iphi, iRinv, ispare, iz0, NBchi2, Nchi2, NCurvBits, ND0Bits, NEtaBits, NPhiBits, NZ0Bits, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), TrackWord1, TrackWord2, TrackWord3, valLSBCurv, valLSBD0, valLSBEta, valLSBPhi, valLSBZ0, and PV3DBase< T, PVType, FrameType >::z().
Referenced by TTTrack< T >::setTrackWordBits(), and TTTrack_TrackWord().
void TTTrack_TrackWord::setTrackWord | ( | unsigned int | theRinv, |
unsigned int | phi0, | ||
unsigned int | tanl, | ||
unsigned int | z0, | ||
unsigned int | d0, | ||
unsigned int | theChi2, | ||
unsigned int | theBendChi2, | ||
unsigned int | theHitPattern, | ||
unsigned int | iSpare | ||
) |
Definition at line 51 of file TTTrack_TrackWord.cc.
References allConversions_cfi::d0, PVValHelper::eta, iBendChi2, ichi2, id0, ieta, iHitPattern, initialize(), iphi, iRinv, ispare, and iz0.
unsigned int TTTrack_TrackWord::unpack_hitPattern | ( | ) |
Definition at line 266 of file TTTrack_TrackWord.cc.
References bits, and TrackWord2.
Referenced by TTTrack_TrackWord().
float TTTrack_TrackWord::unpack_iBendChi2 | ( | ) |
Definition at line 284 of file TTTrack_TrackWord.cc.
References Bchi2Bins, bits, and TrackWord3.
Referenced by TTTrack_TrackWord().
float TTTrack_TrackWord::unpack_ichi2 | ( | ) |
Definition at line 218 of file TTTrack_TrackWord.cc.
References bits, chi2Bins, and TrackWord1.
Referenced by TTTrack_TrackWord().
float TTTrack_TrackWord::unpack_id0 | ( | ) |
Definition at line 250 of file TTTrack_TrackWord.cc.
References bits, ND0Bits, TrackWord2, unpack_Signed(), and valLSBD0.
Referenced by TTTrack_TrackWord().
float TTTrack_TrackWord::unpack_ieta | ( | ) |
Definition at line 186 of file TTTrack_TrackWord.cc.
References bits, NEtaBits, TrackWord1, unpack_Signed(), and valLSBEta.
Referenced by TTTrack_TrackWord().
float TTTrack_TrackWord::unpack_iphi | ( | ) |
Definition at line 234 of file TTTrack_TrackWord.cc.
References bits, NPhiBits, TrackWord2, unpack_Signed(), and valLSBPhi.
Referenced by TTTrack_TrackWord().
float TTTrack_TrackWord::unpack_iRinv | ( | ) |
Definition at line 273 of file TTTrack_TrackWord.cc.
References bits, NCurvBits, TrackWord3, unpack_Signed(), and valLSBCurv.
Referenced by TTTrack_TrackWord().
unsigned int TTTrack_TrackWord::unpack_ispare | ( | ) |
Definition at line 300 of file TTTrack_TrackWord.cc.
References bits, and TrackWord3.
Referenced by TTTrack_TrackWord().
float TTTrack_TrackWord::unpack_iz0 | ( | ) |
Definition at line 202 of file TTTrack_TrackWord.cc.
References bits, NZ0Bits, TrackWord1, unpack_Signed(), and valLSBZ0.
Referenced by TTTrack_TrackWord().
|
private |
Definition at line 319 of file TTTrack_TrackWord.cc.
References bits, and objects.autophobj::float.
Referenced by get_id0(), get_ieta(), get_iphi(), get_iRinv(), get_iz0(), operator=(), unpack_id0(), unpack_ieta(), unpack_iphi(), unpack_iRinv(), and unpack_iz0().
|
private |
Definition at line 172 of file TTTrack_TrackWord.h.
Referenced by get_iBendChi2(), initialize(), setTrackWord(), and unpack_iBendChi2().
|
private |
Definition at line 171 of file TTTrack_TrackWord.h.
Referenced by get_ichi2(), initialize(), setTrackWord(), and unpack_ichi2().
|
private |
Definition at line 153 of file TTTrack_TrackWord.h.
Referenced by get_iBendChi2(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 152 of file TTTrack_TrackWord.h.
Referenced by get_chi2Bits(), get_ichi2(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 151 of file TTTrack_TrackWord.h.
Referenced by get_d0Bits(), get_id0(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 149 of file TTTrack_TrackWord.h.
Referenced by get_etaBits(), get_ieta(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 155 of file TTTrack_TrackWord.h.
Referenced by get_hitPattern(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 148 of file TTTrack_TrackWord.h.
Referenced by get_iphi(), get_phiBits(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 147 of file TTTrack_TrackWord.h.
Referenced by get_iRinv(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 154 of file TTTrack_TrackWord.h.
Referenced by get_ispare(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 150 of file TTTrack_TrackWord.h.
Referenced by get_iz0(), get_z0Bits(), operator=(), setTrackWord(), and TTTrack_TrackWord().
|
private |
Definition at line 208 of file TTTrack_TrackWord.h.
Referenced by initialize().
|
private |
Definition at line 212 of file TTTrack_TrackWord.h.
Referenced by initialize().
|
private |
Definition at line 210 of file TTTrack_TrackWord.h.
Referenced by initialize().
|
private |
Definition at line 209 of file TTTrack_TrackWord.h.
Referenced by initialize().
|
private |
Definition at line 211 of file TTTrack_TrackWord.h.
Referenced by initialize().
|
private |
Definition at line 175 of file TTTrack_TrackWord.h.
Referenced by initialize(), and setTrackWord().
|
private |
Definition at line 203 of file TTTrack_TrackWord.h.
Referenced by initialize().
|
private |
Definition at line 174 of file TTTrack_TrackWord.h.
Referenced by initialize(), and setTrackWord().
|
private |
Definition at line 202 of file TTTrack_TrackWord.h.
Referenced by initialize().
|
private |
Definition at line 195 of file TTTrack_TrackWord.h.
Referenced by get_iRinv(), initialize(), setTrackWord(), and unpack_iRinv().
|
private |
Definition at line 199 of file TTTrack_TrackWord.h.
Referenced by get_id0(), initialize(), setTrackWord(), and unpack_id0().
|
private |
Definition at line 197 of file TTTrack_TrackWord.h.
Referenced by get_ieta(), initialize(), setTrackWord(), and unpack_ieta().
|
private |
Definition at line 204 of file TTTrack_TrackWord.h.
|
private |
Definition at line 196 of file TTTrack_TrackWord.h.
Referenced by get_iphi(), initialize(), setTrackWord(), and unpack_iphi().
|
private |
Definition at line 205 of file TTTrack_TrackWord.h.
|
private |
Definition at line 198 of file TTTrack_TrackWord.h.
Referenced by get_iz0(), initialize(), setTrackWord(), and unpack_iz0().
|
private |
Definition at line 159 of file TTTrack_TrackWord.h.
Referenced by operator=(), setTrackWord(), TTTrack_TrackWord(), unpack_ichi2(), unpack_ieta(), and unpack_iz0().
|
private |
Definition at line 160 of file TTTrack_TrackWord.h.
Referenced by operator=(), setTrackWord(), TTTrack_TrackWord(), unpack_hitPattern(), unpack_id0(), and unpack_iphi().
|
private |
Definition at line 161 of file TTTrack_TrackWord.h.
Referenced by get_BendChi2Bits(), operator=(), setTrackWord(), TTTrack_TrackWord(), unpack_iBendChi2(), unpack_iRinv(), and unpack_ispare().
|
private |
Definition at line 165 of file TTTrack_TrackWord.h.
Referenced by get_iRinv(), initialize(), setTrackWord(), and unpack_iRinv().
|
private |
Definition at line 169 of file TTTrack_TrackWord.h.
Referenced by get_id0(), initialize(), setTrackWord(), and unpack_id0().
|
private |
Definition at line 167 of file TTTrack_TrackWord.h.
Referenced by get_ieta(), initialize(), setTrackWord(), and unpack_ieta().
|
private |
Definition at line 166 of file TTTrack_TrackWord.h.
Referenced by get_iphi(), initialize(), setTrackWord(), and unpack_iphi().
|
private |
Definition at line 168 of file TTTrack_TrackWord.h.
Referenced by get_iz0(), initialize(), setTrackWord(), and unpack_iz0().