#include <iostream>
#include <fstream>
#include <string>
#include <TCanvas.h>
#include <TH2F.h>
#include <TMath.h>
#include <TFile.h>
#include <TGraph.h>
#include <TROOT.h>
#include <TStyle.h>
#include <TColor.h>
#include <TTimeStamp.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 "PolarHist.h"
#include <TEllipse.h>
#include <TGraphPolar.h>
#include <TPaletteAxis.h>
#include <TText.h>
#include <TVector3.h>
#include <TProfile.h>
#include <RdTrace.h>
#include <vector>
#include <TArrow.h>
Go to the source code of this file.
Macros | |
#define | AUGER_RADIO_ENABLED |
Functions | |
int | main () |
void | reverse (double arr[], int count) |
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... | |
#define AUGER_RADIO_ENABLED |
Definition at line 13 of file energyhistogram.cc.
int main | ( | void | ) |
Definition at line 184 of file energyhistogram.cc.
References TelescopeSimulatorLX::blue(), io::eSuccess, file, filename, TelescopeSimulatorLX::green(), std::pow(), TelescopeSimulatorLX::red(), reverse(), and SetRealAspectRatio().
void reverse | ( | double | arr[], |
int | count | ||
) |
Definition at line 37 of file energyhistogram.cc.
Referenced by main(), io::CorsikaShowerFile::ReadProfile(), and RdDirectionConvergenceChecker::RdDirectionConvergenceChecker::Run().
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 62 of file energyhistogram.cc.
References utl::abs().