Changeset 14747 for fact/tools/rootmacros/PulseTemplates/pixel.C
- Timestamp:
- 12/13/12 18:20:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/PulseTemplates/pixel.C
r14063 r14747 237 237 ) 238 238 { 239 int mrkStyle =1; 240 int mrkSize = 2; 239 241 if (mVerbosityLevel > 2) cout << "...drawing Template histograms" << endl ; 240 242 for (int pulse_order = 0; pulse_order < mMaxPulseOrder; pulse_order++) … … 244 246 245 247 pixelCanvas[pulse_order]->cd( histoFrameNr[1] ); 246 hPixelMax[pulse_order]->Draw(); 248 hPixelMax[pulse_order]->Draw("E1"); 249 hPixelMax[pulse_order]->SetMarkerColor(kBlue); 250 hPixelMax[pulse_order]->SetLineColor(kBlack); 251 hPixelMax[pulse_order]->SetMarkerStyle(mrkStyle); 252 hPixelMax[pulse_order]->SetMarkerSize(mrkSize); 247 253 248 254 pixelCanvas[pulse_order]->cd( histoFrameNr[2] ); 249 hPixelMedian[pulse_order]->Draw(); 255 hPixelMedian[pulse_order]->Draw("E1"); 256 hPixelMedian[pulse_order]->SetMarkerColor(kBlue); 257 hPixelMedian[pulse_order]->SetLineColor(kBlack); 258 hPixelMedian[pulse_order]->SetMarkerStyle(mrkStyle); 259 hPixelMedian[pulse_order]->SetMarkerSize(mrkSize); 250 260 251 261 pixelCanvas[pulse_order]->cd( histoFrameNr[3] ); 252 hPixelMean[pulse_order]->Draw(); 262 hPixelMean[pulse_order]->Draw("E1"); 263 hPixelMean[pulse_order]->SetMarkerColor(kBlue); 264 hPixelMean[pulse_order]->SetLineColor(kBlack); 265 hPixelMean[pulse_order]->SetMarkerStyle(mrkStyle); 266 hPixelMean[pulse_order]->SetMarkerSize(mrkSize); 253 267 // hPixelMax[pulse_order]->Draw("SAME"); 254 268 // hPixelMedian[pulse_order]->Draw("SAME"); … … 265 279 ) 266 280 { 281 int mrkStyle = 1; 282 int mrkSize = 3; 283 267 284 if (mVerbosityLevel > 2) cout << endl << "...drawing Template histograms" ; 268 285 for (int pulse_order = 0; pulse_order < mMaxPulseOrder; pulse_order++) … … 272 289 273 290 pixelCanvas[pulse_order]->cd( histoFrameNr[5] ); 274 hPixelEdgeMax[pulse_order]->Draw(); 291 hPixelEdgeMax[pulse_order]->Draw("E1"); 292 hPixelEdgeMax[pulse_order]->SetLineColor(kBlack); 293 hPixelEdgeMax[pulse_order]->SetMarkerColor(kBlue); 294 hPixelEdgeMax[pulse_order]->SetMarkerStyle(mrkStyle); 295 hPixelEdgeMax[pulse_order]->SetMarkerSize(mrkSize); 275 296 276 297 pixelCanvas[pulse_order]->cd( histoFrameNr[6] ); 277 hPixelEdgeMedian[pulse_order]->Draw(); 298 hPixelEdgeMedian[pulse_order]->Draw("E1"); 299 hPixelEdgeMedian[pulse_order]->SetLineColor(kBlack); 300 hPixelEdgeMedian[pulse_order]->SetMarkerColor(kBlue); 301 hPixelEdgeMedian[pulse_order]->SetMarkerStyle(mrkStyle); 302 hPixelEdgeMedian[pulse_order]->SetMarkerSize(mrkSize); 278 303 279 304 pixelCanvas[pulse_order]->cd( histoFrameNr[7] ); 280 hPixelEdgeMean[pulse_order]->Draw(); 305 hPixelEdgeMean[pulse_order]->Draw("E1"); 306 hPixelEdgeMean[pulse_order]->SetLineColor(kBlack); 307 hPixelEdgeMean[pulse_order]->SetMarkerColor(kBlue); 308 hPixelEdgeMean[pulse_order]->SetMarkerStyle(mrkStyle); 309 hPixelEdgeMean[pulse_order]->SetMarkerSize(mrkSize); 281 310 // hPixelEdgeMax[pulse_order]->Draw("SAME"); 282 311 // hPixelEdgeMedian[pulse_order]->Draw("SAME"); … … 1022 1051 (mGainMean*(order+1)) + 10, 1023 1052 "Y"); 1024 1025 1053 histo->GetXaxis()->SetTitle( "Timeslices [a.u.]" ); 1026 1054 histo->GetYaxis()->SetTitle( "Amplitude [mV]" );
Note:
See TracChangeset
for help on using the changeset viewer.