|
Last change
on this file since 706 was 698, checked in by tbretz, 25 years ago |
|
*** empty log message ***
|
-
Property svn:executable
set to
*
|
|
File size:
558 bytes
|
| Line | |
|---|
| 1 | ///////////////////////////////////////////////////////////////////////
|
|---|
| 2 | //
|
|---|
| 3 | // MHistosAdc
|
|---|
| 4 | //
|
|---|
| 5 | // This class contains a list of all ADC spektra histograms
|
|---|
| 6 | //
|
|---|
| 7 | ///////////////////////////////////////////////////////////////////////
|
|---|
| 8 |
|
|---|
| 9 | #include "MHFadcPix.h"
|
|---|
| 10 |
|
|---|
| 11 | #include <TPad.h>
|
|---|
| 12 |
|
|---|
| 13 | ClassImp(MHFadcPix)
|
|---|
| 14 |
|
|---|
| 15 | void MHFadcPix::Draw(Option_t *)
|
|---|
| 16 | {
|
|---|
| 17 | if (!gPad)
|
|---|
| 18 | {
|
|---|
| 19 | if (!gROOT->GetMakeDefCanvas())
|
|---|
| 20 | return;
|
|---|
| 21 | (gROOT->GetMakeDefCanvas())();
|
|---|
| 22 | }
|
|---|
| 23 |
|
|---|
| 24 | gPad->Divide(1, 2);
|
|---|
| 25 |
|
|---|
| 26 | gPad->cd(0);
|
|---|
| 27 | fHistHi->Draw();
|
|---|
| 28 |
|
|---|
| 29 | gPad->cd(1);
|
|---|
| 30 | fHistLo->Draw();
|
|---|
| 31 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.