Analysis Software
Documentation for sPHENIX simulation software
|
#include "TFile.h"
#include "TH1F.h"
#include "TROOT.h"
#include "TTree.h"
Go to the source code of this file.
Functions | |
void | compareDistributions (std::string inFile1, std::string hist1Name, int col1, std::string inFile2, std::string hist2Name, int col2) |
void compareDistributions | ( | std::string | inFile1, |
std::string | hist1Name, | ||
int | col1, | ||
std::string | inFile2, | ||
std::string | hist2Name, | ||
int | col2 | ||
) |
This root script reads in two histograms with the names 'hist1Name' and 'hist2Name' from the root file 'inFile' and draws them normalized with different colors in one Canvas
Definition at line 19 of file compareDistributions.C.
View newest version in sPHENIX GitHub at line 19 of file compareDistributions.C