21 #include "TGraphErrors.h"
31 #include "TGraphAsymmErrors.h"
68 TString
name =
"L1Trigger/L1TMuon/data/emtf_luts/dPhi_Cuts_";
69 name += perCUT; name +=
".root";
75 TString name =
"gCut_dPhi12_eta_";
82 TString name =
"gCut_dPhi23_eta_";
89 TString name =
"gCut_dPhi34_eta_";
96 TString name =
"gCut_dEta12_eta_";
103 TString name =
"gCut_dEta23_eta_";
110 TString name =
"gCut_dEta34_eta_";
117 TString name =
"gCut_CLCT1_eta_";
124 TString name =
"gCut_CLCT2_eta_";
131 TString name =
"gCut_CLCT3_eta_";
138 TString name =
"gCut_CLCT4_eta_";
152 float solve(
float ptHyp,
float val, TGraph *
g)
154 Int_t theBIN =
hPT__->FindBin( ptHyp);
155 Float_t thePT = theBIN;
158 float cut = g->Eval( theBIN ) ;
163 if (fabs(val) > cut )
166 for (
float p=thePT-1;
p>0;
p=
p-1)
168 float eval = g->Eval((
float)
p);
172 if (fabs(val) < eval)
192 float getMaxPT(
float ptHyp, Int_t
eta,
float dPhi12,
float dPhi23,
float dPhi34,
int perCUT=100)
207 if (maxPt_dPhi12 < ptOut)
208 ptOut = maxPt_dPhi12;
209 if (maxPt_dPhi23 < ptOut)
210 ptOut = maxPt_dPhi23;
211 if (maxPt_dPhi34 < ptOut)
212 ptOut = maxPt_dPhi34;
218 float getMaxPT_dEta(
float ptHyp, Int_t
eta,
float dEta12,
float dEta23,
float dEta34,
int perCUT=100)
233 if (maxPt_dEta12 < ptOut)
234 ptOut = maxPt_dEta12;
235 if (maxPt_dEta23 < ptOut)
236 ptOut = maxPt_dEta23;
237 if (maxPt_dEta34 < ptOut)
238 ptOut = maxPt_dEta34;
244 float getMaxPT_CLCT(
float ptHyp, Int_t
eta,
float CLCT1,
float CLCT2,
float CLCT3,
float CLCT4,
int perCUT=100)
260 if (maxPt_CLCT1 < ptOut)
262 if (maxPt_CLCT2 < ptOut)
264 if (maxPt_CLCT3 < ptOut)
266 if (maxPt_CLCT4 < ptOut)
float getMaxPT_dEta(float ptHyp, Int_t eta, float dEta12, float dEta23, float dEta34, int perCUT=100)
TGraph * gCLCT1_Cut__[32]
TGraph * gdEta34_Cut__[32]
float getMaxPT(float ptHyp, Int_t eta, float dPhi12, float dPhi23, float dPhi34, int perCUT=100)
float solve(float ptHyp, float val, TGraph *g)
TGraph * gdPhi12_Cut__[32]
TGraph * gdPhi23_Cut__[32]
TGraph * gdEta23_Cut__[32]
TGraph * gCLCT2_Cut__[32]
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
float getMaxPT_CLCT(float ptHyp, Int_t eta, float CLCT1, float CLCT2, float CLCT3, float CLCT4, int perCUT=100)
TGraph * gdEta12_Cut__[32]
TGraph * gdPhi34_Cut__[32]
TGraph * gCLCT3_Cut__[32]
TGraph * gCLCT4_Cut__[32]