Changeset 13572 for fact/tools/rootmacros/PulseTemplates
- Timestamp:
- 05/07/12 09:26:15 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/PulseTemplates/pixel.C
r13559 r13572 58 58 } 59 59 60 if (mOptions.Contains(" P") )60 if (mOptions.Contains("M") ) 61 61 { 62 62 hPosOfMax = new TH1F*[mMaxPulseOrder]; … … 351 351 } 352 352 353 if (mOptions.Contains(" P"))353 if (mOptions.Contains("M")) 354 354 { 355 355 histo_name = "hPosOfMax"; … … 386 386 { 387 387 if (mVerbosityLevel > 2) cout << endl << "...drawing distribution histograms" ; 388 bool nothing_to_fill = true; 388 389 for (int pulse_order = 0; pulse_order < mMaxPulseOrder; pulse_order++) 389 390 { 391 if (mOptions.Contains("S") ) 392 { 390 393 pixelCanvas[pulse_order]->cd( histoFrameNr[0] ); 391 394 hSlopeRisingEdge[pulse_order]->Draw(); 395 nothing_to_fill = false; 396 } 397 398 if (mOptions.Contains("R") ) 399 { 392 400 pixelCanvas[pulse_order]->cd( histoFrameNr[1] ); 393 401 hRisingEdgeToMax[pulse_order]->Draw(); 394 402 nothing_to_fill = false; 403 } 404 405 if (mOptions.Contains("M") ) 406 { 395 407 pixelCanvas[pulse_order]->cd( histoFrameNr[2] ); 396 408 hPosOfMax[pulse_order]->Draw(); 409 nothing_to_fill = false; 410 } 411 412 } 413 if (nothing_to_fill) 414 { 415 cout << "there were NO DISTRIBUTION HISTOGRAMS to fill" 397 416 } 398 417 } … … 506 525 } 507 526 508 if (mOptions.Contains(" P"))527 if (mOptions.Contains("M")) 509 528 { 510 529 if (mVerbosityLevel > 3) cout << endl … … 532 551 } 533 552 534 if (mOptions.Contains(" P"))553 if (mOptions.Contains("M")) 535 554 { 536 555 if (mVerbosityLevel > 3) cout << endl << "\t\t...deleting hPosOfMax";
Note:
See TracChangeset
for help on using the changeset viewer.