File indexing completed on 2023-03-17 10:38:30
0001 {
0002
0003
0004
0005
0006 gROOT->SetStyle("Plain");
0007 gROOT->ForceStyle();
0008 gStyle->SetOptStat(0);
0009
0010 gStyle->SetPalette(1);
0011
0012
0013 double width = 600.;
0014
0015 gStyle->SetCanvasDefW(width);
0016 gStyle->SetCanvasDefH(width);
0017
0018 gStyle->SetPadLeftMargin(0.13);
0019 gStyle->SetPadRightMargin(0.11);
0020
0021 gStyle->SetPadTopMargin(0.10);
0022 gStyle->SetPadBottomMargin(0.13);
0023
0024 gStyle->SetTitleOffset(1.25,"Y");
0025 gStyle->SetTitleOffset(1.13,"X");
0026
0027
0028 TGaxis::SetMaxDigits(3);
0029
0030 gStyle->SetTitleX(0.25);
0031
0032
0033
0034 gStyle->SetTitleXSize(0.05);
0035 gStyle->SetTitleYSize(0.05);
0036 gStyle->SetTitleSize(0.05,"XY");
0037 gStyle->SetLabelSize(0.05,"XY");
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059 gROOT->ProcessLine(".L DrawPlot.C");
0060
0061
0062
0063
0064 gROOT->ProcessLine("DrawPlot drawPlot1(0, true)");
0065
0066 drawPlot1.setLegendEntry("data (final #sigma_{align})","data (#sigma_{align}=0)","design");
0067 gStyle->SetOptStat(111110);
0068
0069 drawPlot1.setLegendCoordinate(0.69, 0.20, 0.99, 0.35);
0070 drawPlot1.drawPlot("ApeEstimatorSummary","h_weightX", false);
0071 drawPlot1.drawPlot("ApeEstimatorSummary","h_weightY", false);
0072 drawPlot1.setLegendCoordinate(0.69, 0.20, 0.99, 0.35);
0073 drawPlot1.drawPlot("ApeEstimatorSummary","h_residualWidthX1", false);
0074 drawPlot1.drawPlot("ApeEstimatorSummary","h_residualWidthY1", false);
0075 drawPlot1.drawPlot("ApeEstimatorSummary","h_rmsX", false);
0076 drawPlot1.drawPlot("ApeEstimatorSummary","h_rmsY", false);
0077
0078
0079 gROOT->ProcessLine("DrawPlot drawPlot2(0, false)");
0080
0081 drawPlot2.setLegendEntry("data (final #sigma_{align})","data (#sigma_{align}=0)","design");
0082
0083 drawPlot2.setLegendCoordinate(0.69, 0.20, 0.99, 0.35);
0084 gStyle->SetOptStat(111100);
0085 drawPlot2.drawPlot("ApeEstimator1","h_entriesX", false);
0086 drawPlot2.drawPlot("ApeEstimator1","h_entriesY", false);
0087
0088 gStyle->SetOptStat(111110);
0089 drawPlot2.drawPlot("ApeEstimator1","h_NorResX", false);
0090 drawPlot2.drawPlot("ApeEstimator1","h_NorResY", false);
0091 drawPlot2.drawPlot("ApeEstimator1","h_ResX", false);
0092 drawPlot2.drawPlot("ApeEstimator1","h_ResY", false);
0093
0094
0095
0096
0097
0098
0099
0100
0101
0102
0103
0104
0105
0106
0107
0108
0109
0110
0111
0112
0113
0114
0115
0116
0117
0118
0119
0120
0121
0122
0123
0124
0125
0126
0127
0128
0129
0130
0131
0132
0133
0134
0135
0136
0137
0138
0139
0140
0141
0142
0143
0144
0145
0146
0147
0148
0149
0150
0151
0152
0153
0154
0155
0156
0157
0158
0159
0160
0161
0162 gStyle->SetOptStat(111110);
0163 drawPlot2.drawTrackPlot("ApeEstimator2","h_eta", false);
0164 drawPlot2.drawTrackPlot("ApeEstimator2","h_etaErr", false);
0165 drawPlot2.drawTrackPlot("ApeEstimator2","h_etaSig", false);
0166 drawPlot2.drawTrackPlot("ApeEstimator2","h_theta", false);
0167 drawPlot2.drawTrackPlot("ApeEstimator2","h_phi", false);
0168 drawPlot2.drawTrackPlot("ApeEstimator2","h_phiErr", false);
0169 drawPlot2.drawTrackPlot("ApeEstimator2","h_phiSig", false);
0170 drawPlot2.drawTrackPlot("ApeEstimator2","h_norChi2", false);
0171 drawPlot2.drawTrackPlot("ApeEstimator2","h_p", false);
0172 drawPlot2.drawTrackPlot("ApeEstimator2","h_pt", false);
0173 drawPlot2.drawTrackPlot("ApeEstimator2","h_ptErr", false);
0174 drawPlot2.drawTrackPlot("ApeEstimator2","h_ptSig", false);
0175 drawPlot2.drawTrackPlot("ApeEstimator2","h_charge", false);
0176 drawPlot2.drawTrackPlot("ApeEstimator2","h_d0Beamspot", false);
0177 drawPlot2.drawTrackPlot("ApeEstimator2","h_d0BeamspotErr", false);
0178 drawPlot2.drawTrackPlot("ApeEstimator2","h_d0BeamspotSig", false);
0179 drawPlot2.drawTrackPlot("ApeEstimator2","h_dz", false);
0180 drawPlot2.drawTrackPlot("ApeEstimator2","h_dzErr", false);
0181 drawPlot2.drawTrackPlot("ApeEstimator2","h_dzSig", false);
0182 drawPlot2.drawTrackPlot("ApeEstimator2","h_prob", false);
0183 drawPlot2.drawTrackPlot("ApeEstimator2","h_hitsPixel", false);
0184 drawPlot2.drawTrackPlot("ApeEstimator2","h_hitsStrip", false);
0185
0186 drawPlot2.drawEventPlot("ApeEstimator2","h_trackSizeGood", false);
0187
0188
0189
0190
0191
0192 gROOT->ProcessLine("DrawPlot drawPlot3(15, true)");
0193
0194
0195 drawPlot3.setLegendEntry("data (final #sigma_{align})","data (#sigma_{align}=0)","design");
0196 drawPlot3.setLegendCoordinate(0.41, 0.27, 0.71, 0.42);
0197 gStyle->SetOptStat(111110);
0198
0199
0200
0201
0202
0203
0204
0205
0206
0207
0208 drawPlot3.setLegendCoordinate(0.69, 0.20, 0.99, 0.35);
0209
0210 drawPlot3.drawPlot("ApeEstimatorSummary","h_weightX", false);
0211 drawPlot3.drawPlot("ApeEstimatorSummary","h_weightY", false);
0212 drawPlot3.setLegendCoordinate(0.69, 0.20, 0.99, 0.35);
0213 drawPlot3.drawPlot("ApeEstimatorSummary","h_residualWidthX1", false);
0214 drawPlot3.drawPlot("ApeEstimatorSummary","h_residualWidthY1", false);
0215
0216
0217 drawPlot3.drawPlot("ApeEstimatorSummary","h_rmsX", false);
0218 drawPlot3.drawPlot("ApeEstimatorSummary","h_rmsY", false);
0219
0220
0221 gROOT->ProcessLine("DrawPlot drawPlot4(15, false)");
0222
0223
0224 drawPlot4.setLegendEntry("data (final #sigma_{align})","data (#sigma_{align}=0)","design");
0225 drawPlot4.setLegendCoordinate(0.69, 0.20, 0.99, 0.35);
0226
0227 gStyle->SetOptStat(111100);
0228 drawPlot4.drawPlot("ApeEstimator1","h_entriesX", false);
0229 drawPlot4.drawPlot("ApeEstimator1","h_entriesY", false);
0230
0231 gStyle->SetOptStat(111110);
0232 drawPlot4.drawPlot("ApeEstimator1","h_NorResX");
0233 drawPlot4.drawPlot("ApeEstimator1","h_NorResY");
0234 drawPlot4.drawPlot("ApeEstimator1","h_ResX");
0235 drawPlot4.drawPlot("ApeEstimator1","h_ResY");
0236
0237
0238 gStyle->SetOptStat(111110);
0239 drawPlot4.drawTrackPlot("ApeEstimator2","h_eta");
0240 drawPlot4.drawTrackPlot("ApeEstimator2","h_etaErr");
0241 drawPlot4.drawTrackPlot("ApeEstimator2","h_etaSig");
0242 drawPlot4.drawTrackPlot("ApeEstimator2","h_theta");
0243 drawPlot4.drawTrackPlot("ApeEstimator2","h_phi");
0244 drawPlot4.drawTrackPlot("ApeEstimator2","h_phiErr");
0245 drawPlot4.drawTrackPlot("ApeEstimator2","h_phiSig");
0246 drawPlot4.drawTrackPlot("ApeEstimator2","h_norChi2");
0247 drawPlot4.drawTrackPlot("ApeEstimator2","h_p");
0248 drawPlot4.drawTrackPlot("ApeEstimator2","h_pt");
0249 drawPlot4.drawTrackPlot("ApeEstimator2","h_ptErr");
0250 drawPlot4.drawTrackPlot("ApeEstimator2","h_ptSig");
0251 drawPlot4.drawTrackPlot("ApeEstimator2","h_charge");
0252 drawPlot4.drawTrackPlot("ApeEstimator2","h_d0Beamspot");
0253 drawPlot4.drawTrackPlot("ApeEstimator2","h_d0BeamspotErr");
0254 drawPlot4.drawTrackPlot("ApeEstimator2","h_d0BeamspotSig");
0255 drawPlot4.drawTrackPlot("ApeEstimator2","h_dz");
0256 drawPlot4.drawTrackPlot("ApeEstimator2","h_dzErr");
0257 drawPlot4.drawTrackPlot("ApeEstimator2","h_dzSig");
0258 drawPlot4.drawTrackPlot("ApeEstimator2","h_prob");
0259 drawPlot4.drawTrackPlot("ApeEstimator2","h_hitsPixel");
0260 drawPlot4.drawTrackPlot("ApeEstimator2","h_hitsStrip");
0261
0262 drawPlot4.drawEventPlot("ApeEstimator2","h_trackSizeGood");
0263
0264
0265
0266 gROOT->ProcessLine(".q");
0267
0268
0269
0270 }
0271
0272
0273
0274
0275
0276