Float_t TTriggerEffB::EffCEMTrig(const Float_t et, const Float_t eta, const Int_t run) { Float_t eff=1.0; float _A, _c, _sigma, _effmean, twopi=6.283185; // from CDF notes 7401 and 7939 // Note, that since the numbers are consistent w/ and w/o silicon we can use // just those with silicon for all data. // ------------------------------------------------------------ // Tracking efficiency: // Table 19 (p42) of CDF note 7401 (used w/ silicon numbers) up to 186598 // ??Table 16 (p42) of CDF note 7939 (used w/ silicon numbers) // Table 17 (p48) of CDF note 7939 (used w/ silicon numbers) up to 212133 // Table 12 (p16) of CDF note 8629 up to 222426 // Simona Rolli's Joint Physics talks of 07/04/04 and 07/07/18 // Simona Rolli's Joint Physics talks of 07/09/26 and 08/01/16 // ------------------------------------------------------------ if (run<147869) eff = 0.9651; // 4SL with 10 hits else if (run<152630) eff = 0.9782; // 3SL with 10 hits else if (run<159603) eff = 0.9606; // 3SL with 11 hits else if (run<163528) eff = 0.9612; // updated L3 tracking (version 4.8.4) else if (run<167716) eff = 0.9579; // FY04 data else if (run<179100) eff = 0.9611; // drop silicon raw data banks else if (run<182843) eff = 0.9516; // COT compromised data (CDF note 7939) else if (run<186599) eff = 0.9785; // oxygen added and COT fully recovered else if (run<203799) eff = 0.9796; // 0h data Run Period 4 else if (run<211313) eff = 0.9797; // 0i data Periods 5-7 else if (run<217990) eff = 0.9577; // Period 7, PHYSICS_4_00 trigger table else if (run<222529) eff = 0.9585; // Period 8 XFT_LAYERS>=4 at L1 else if (run<228664) eff = 0.9598; // Period 9 else if (run<233133) eff = 0.9596; // Period 10 (taken as a whole) else if (run<237845) eff = 0.9614; // Period 11 else if (run<241665) eff = 0.9600; // Period 12 else eff = 0.9568; // Period 13 // -------------------------------------------------- // now the ET dependence //Table 20 on p45 in CDF7401 - added AR 080401 if(run <=186598){ eff *= (0.9988-3319.*exp(-0.5512*et)); // L2_CEM16 eff *= (1-2.784*exp(-1.749*(et-17.96))); // L3_CEM18 } // Table 27 on p72 in CDF note 7939 // else if(run < 217990) { eff *= (0.9993-1835*exp(-0.54*et)); // L2_CEM16 eff *= (1-6*exp(-0.37*(et+0.1))); // L3_CEM18 } // Values from note 8629 (NB "period 11" there is really period 8) else if (run < 222529) // True period 8 eff *= (1.00 - 85036.*exp(-0.71*et)); // Just L2_CEM16 now, no Si version // Above interpretation, and following numbers, from S Rolli 07/04/04 // Now get numbers from the PerfiDia pages and the blessing talks else if (run < 228664) { //eff *= 1./(1. + exp(-0.52*(et - 13.2))); // Run Period 9 L2_CEM16 //eff *= 1./(1. + exp(-0.27*et)); // Run Period 9 L3_CEM18 eff *= 1./(1. + exp(-0.52*(et - 14.1))); // Run Period 9 L2_CEM16 // Perfidia web AR 080401 } // Following is from S Rolli 07/07/18 else if (run < 233133) eff *= 1./(1. + exp(-1.38*(et - 17.9))); // Run Period 10 L2_CEM16 else if (run < 237845) eff *= 1./(1. + exp(-0.88*(et - 17.2))); // Run Period 11 L2_CEM16 // July version AR 080401 else if (run < 241665) eff*= 1./(1. + exp(-0.66*(et - 16.3))); // Run Period 12 L2_CEM16 else eff*= 1./(1. + exp(-0.469*(et - 13.9))); // Run Period 13 L2_CEM16 // Following the PHYSICS_4_00 trigger tables there is a detector-eta // dependent dip in the efficiency (note 8629) // This is treated here by multiplying by the precise formula ( eq 2, table 8) // and dividing by the mean L1 efficiency (table 12) using the w/o silicon // number sets. // early runs should use cdf7401 p21, p42 and cdf7939 p9, p48 AR 080401 if (run<147869) { _A = 0.9975; _c = 0.0593; _sigma = 0.0978; _effmean=0.9701;} else if (run<152630) { _A = 0.9995; _c = 0.0597; _sigma = 0.1734; _effmean=0.9872;} else if (run<159603) { _A = 0.9946; _c = 0.1268; _sigma = 0.2313; _effmean=0.9687;} else if (run<163528) { _A = 0.9962; _c = 0.1628; _sigma = 0.2409; _effmean=0.9636;} else if (run<167716) { _A = 0.9938; _c = 0.1641; _sigma = 0.2659; _effmean=0.9607;} else if (run<179100) { _A = 0.9955; _c = 0.1526; _sigma = 0.2711; _effmean=0.9641;} else if (run<182843) { _A = 0.9946; _c = 0.1679; _sigma = 0.2858; _effmean=0.9618;} //COT compromised from cdf7939 else if (run<186599) { _A = 0.9994; _c = 0.1407; _sigma = 0.2684; _effmean=0.9784;} from cdf7401 else if (run<203799) { _A = 0.9964; _c = 0.0697; _sigma = 0.1861; _effmean=0.9830;} //from cdf7939 else if (run<211313) { _A = 0.9965; _c = 0.0652; _sigma = 0.1960; _effmean=0.9838;} // RP <=7 else if (run<217990) { _A = 0.9936; _c = 0.0800; _sigma = 0.1343; _effmean=0.9616;} // RP 7 else { _A = 0.9909; _c = 0.0611; _sigma = 0.1225; _effmean=0.9631;} // RP 8+ no Si // not updated after switch to Perfidia... keep using RP8??? if(fabs(eta)<3.*_sigma) eff*= ( _A - (_c/(twopi*_sigma))*exp(-(eta*eta/(2.*_sigma*_sigma))) )/_effmean; return eff; } // ============================================================================= Float_t TTriggerEffB::EffCEMTrigErr(const Float_t et, const Int_t run) { Float_t err; if (run<217990) err = 0.01; // (earlier runs - just a guess?) else if (run<222529) err = 0.0007; // Period 8 else if (run<228664) err = 0.0007; // Period 9 else if (run<233133) err = 0.0010; // Period 10 (taken as a whole) else if (run<237845) err = 0.0004; // Period 11 else if (run<241665) err = 0.003; // Period 12 else err = 0.003; // Period 13 return err; }