13 return StatusCode::SUCCESS;
19 declareInterface<ITrtDriftCircleCutTool>(
this);
27 const double TrtEtaBin[6] = {0., 0.65, 0.85, 1.25, 1.80, 2.10};
28 const double TrtA [5] = { 29., 31., 20., 36., 34. };
29 const double TrtB [5] = { 2./0.65, -11./0.20, 16./0.40, -2./0.55, -24./0.3};
31 double eta= fabs(trkp->
momentum().eta());
33 for(
int i=0;
i!=5; ++
i) {
34 if(eta <= TrtEtaBin[
i+1]) {
40 const double TrtEtaBin[7] = {0., 0.1, 0.6255, 1.07, 1.304, 1.752, 2.0 };
41 const double TrtA [6] = { 33.28, 30.40, 182.38, -226.18, -351.56, -250.2 };
42 const double TrtB [6] = { -79.4, 18.79, -371.9, 495.12, 777.5, 377.9 };
43 const double TrtC [6] = { 589.7, -42.73, 213.3, -314.96 , -512.3, -128.7 };
44 const double TrtD [6] = { 0., 32.53, 0. , 69.42 , 111.0, 3.4 };
45 const double TrtO [6] = { 9., 11., 10., 7., 9., 12. };
47 double eta = fabs(trkp->
momentum().eta());
52 for(
int i=0;
i!=6; ++
i) {
53 if(eta <= TrtEtaBin[
i+1]) {
59 if(
m_useTRT) activeF = actF->getActiveFraction(eta,phi);
60 nDiffTRT = nDiffTRT*activeF;
61 if (nDiffTRT>=1)
return int(nDiffTRT);