|
![CMS Logo](/cmsdoxygen/common/rightImage.jpg) |
Go to the documentation of this file.
24 unsigned int theHitPattern,
25 unsigned int iSpare) {
26 setTrackWord(Momentum, POCA, theRinv, theChi2XY, theChi2Z, theBendChi2, theHitPattern, iSpare);
34 unsigned int theChi2XY,
35 unsigned int theChi2Z,
36 unsigned int theBendChi2,
37 unsigned int theHitPattern,
46 iBendChi2(theBendChi2),
48 iHitPattern(theHitPattern) {
59 unsigned int theChi2XY,
60 unsigned int theChi2Z,
61 unsigned int theBendChi2,
62 unsigned int theHitPattern,
63 unsigned int iSpare) {
85 unsigned int theHitPattern,
86 unsigned int iSpare) {
91 float rPhi = Momentum.
phi();
92 float rTanl = Momentum.
z() / Momentum.
perp();
94 float rD0 = POCA.
perp();
98 unsigned int seg1, seg2, seg3;
114 for (
unsigned int ibin = 0; ibin <
Nchi2; ++ibin) {
124 for (
unsigned int ibin = 0; ibin <
Nchi2; ++ibin) {
142 for (
unsigned int ibin = 0; ibin <
NBchi2; ++ibin) {
183 seg3 = theHitPattern;
197 unsigned int seg4 =
ispare;
336 unsigned int nBits = (maxBit - minBit + 1);
337 unsigned int myVar = std::floor(fabs(
var) / lsb);
338 unsigned int maxVal = (1 << (nBits - 1)) - 1;
342 myVar = (1 << nBits) - myVar;
343 unsigned int seg = myVar;
349 unsigned int maxVal = (1 << nBits) - 1;
350 if (
bits & (1 << nBits)) {
354 float unpacked = (
float(
bits & maxVal) + 0.5) * lsb;
355 unpacked = isign * unpacked;
382 unsigned int CurvBins = (1 <<
NCurvBits);
383 unsigned int phiBins = (1 <<
NPhiBits);
384 unsigned int tanlBins = (1 <<
NTanlBits);
385 unsigned int z0Bins = (1 <<
NZ0Bits);
386 unsigned int d0Bins = (1 <<
ND0Bits);
unsigned int get_hitPattern()
unsigned int get_ispare()
const unsigned int NCurvBits
float unpack_Signed(unsigned int bits, unsigned int nBits, float lsb)
const unsigned int maskBendChi2
void setTrackWord(const GlobalVector &Momentum, const GlobalPoint &POCA, double Rinv, double Chi2XY, double Chi2Z, double BendChi2, unsigned int HitPattern, unsigned int iSpare)
unsigned int get_z0Bits()
unsigned int get_d0Bits()
const unsigned int maskChi2Z
unsigned int get_phiBits()
const unsigned int NTanlBits
const unsigned int nWordBits
const unsigned int NChi2Bits
const unsigned int NZ0Bits
const unsigned int maskZ0
unsigned int unpack_ispare()
const unsigned int NPhiBits
unsigned int get_chi2XYBits()
const unsigned int maskSpare
const unsigned int maskTanL
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
const unsigned int NBChi2Bits
const unsigned int maskPhi
unsigned int digitize_Signed(float var, unsigned int maxBit, unsigned int minBit, float lsb)
const unsigned int maskRinv
const unsigned int maskChi2XY
static constexpr float d0
unsigned int get_tanlBits()
const unsigned int maskD0
unsigned int unpack_hitPattern()
const unsigned int maskHitPat
Geom::Phi< T > phi() const
const unsigned int ND0Bits
unsigned int get_BendChi2Bits()