Definition at line 3212 of file TRTCalib_makeplots.cxx.
◆ TRTPlots()
TRTPlots::TRTPlots |
( |
TFile * |
file, |
|
|
bool |
isAr = false |
|
) |
| |
Definition at line 3218 of file TRTCalib_makeplots.cxx.
3221 this->SetName(
"resplots");
3225 TDirectory *trt =
nullptr;
3227 trt = (TDirectory *)
file->FindKey(
"TRT_all")->ReadObj();
3229 trt = (TDirectory *)
file->FindKey(
"TRT_Ar_all")->ReadObj();
3231 TH2F *reshist1 =
nullptr;
3232 if (trt->FindKey(
"residual"))
3233 reshist1 = (
TH2F *)trt->FindKey(
"residual")->ReadObj();
3235 throw(
string(
"residual histograms for entire TRT not found!"));
3237 TH2F *treshist1 =
nullptr;
3238 if (trt->FindKey(
"timeresidual"))
3239 treshist1 = (
TH2F *)trt->FindKey(
"timeresidual")->ReadObj();
3241 throw(
string(
"timeresidual histograms for entire TRT not found!"));
3243 reshist1->SetTitle(Form(
"residual whole TRT"));
3245 reshist1->SetTitle(Form(
"Argon residual whole TRT"));
3246 reshist1->SetFillColor(46);
3247 treshist1->SetTitle(Form(
"time-residual whole TRT"));
3249 treshist1->SetTitle(Form(
"Argon time-residual whole TRT"));
3250 treshist1->SetFillColor(38);
3252 this->Divide(1, 2, 0.01, 0.01);
The documentation for this class was generated from the following file:
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)