#include <iostream>#include <fstream>#include <string>#include <TCanvas.h>#include <TH2F.h>#include <TMath.h>#include <TFile.h>#include <TGraph.h>#include <TGraph2D.h>#include <TROOT.h>#include <TStyle.h>#include <TColor.h>#include <TTimeStamp.h>#include <TVector3.h>#include <TProfile.h>#include <TLine.h>#include "RecEventFile.h"#include "RecEvent.h"#include "RdEvent.h"#include "DetectorGeometry.h"#include "SDEvent.h"#include "SdRecStation.h"#include "ShowerRRecDataQuantities.h"#include "StationRRecDataQuantities.h"#include "RdTrace.h"Go to the source code of this file.
Functions | |
| int | main () |
| bool | SetRealAspectRatio (TCanvas *const c, const Int_t axis=1) |
| Function to resize a canvas so that a 2D histogram or TGraph / TGraph2D are shown in real aspect ratio. More... | |
| int main | ( | void | ) |
Definition at line 152 of file coredistribution.cc.
References io::eSuccess, file, filename, and SetRealAspectRatio().
| bool SetRealAspectRatio | ( | TCanvas *const | c, |
| const Int_t | axis = 1 |
||
| ) |
Function to resize a canvas so that a 2D histogram or TGraph / TGraph2D are shown in real aspect ratio.
| c | pointer to a TCanvas |
| axis | 1 for resizing horizontally (x-axis) in order to get real aspect ratio, 2 for the resizing vertically (y-axis) |
Definition at line 45 of file coredistribution.cc.
References utl::abs().
Referenced by main().