#include <cassert>
#include <set>
#include <iostream>
#include "TClass.h"
#include "TFile.h"
#include "TH1.h"
#include "TObject.h"
#include "TObjString.h"
#include "TPad.h"
#include "TTree.h"
#include "TVectorD.h"
#include "TVector3.h"
Go to the source code of this file.
Functions | |
std::string | ConcatPath (const std::string &a, const std::string &b) |
bool | operator== (const TObjString &a, const TObjString &b) |
bool | operator== (const TVectorD &a, const TVectorD &b) |
bool | operator== (const TH1 &a, const TH1 &b) |
std::ostream & | operator<< (std::ostream &os, const TObjString &a) |
std::ostream & | operator<< (std::ostream &os, const TH1 &a) |
std::ostream & | operator<< (std::ostream &os, const TObject &a) |
void | Plots (const TH1 &a, const TH1 &b, const std::string &key) |
template<class T > | |
bool | Compare (const T &a, const T &b, const std::string &key) |
bool | CompareObjects (const TObject &a, const TObject &b, const std::string &key) |
void | ReportUnique (const std::vector< std::string > &only, TDirectory *dir) |
bool | CheckDirectory (TDirectory *a, TDirectory *b, std::string path="") |
void | usage () |
int | main (int argc, char **argv) |
Variables | |
bool | gEnablePdf = true |
bool | gPdfStarted = false |
int | gNChecked = 0 |
bool CheckDirectory | ( | TDirectory * | a, |
TDirectory * | b, | ||
std::string | path = "" |
||
) |
Definition at line 150 of file diff_spectra.cc.
bool Compare | ( | const T & | a, |
const T & | b, | ||
const std::string & | key | ||
) |
Definition at line 93 of file diff_spectra.cc.
bool CompareObjects | ( | const TObject & | a, |
const TObject & | b, | ||
const std::string & | key | ||
) |
Definition at line 110 of file diff_spectra.cc.
std::string ConcatPath | ( | const std::string & | a, |
const std::string & | b | ||
) |
Definition at line 22 of file diff_spectra.cc.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 198 of file diff_spectra.cc.
std::ostream& operator<< | ( | std::ostream & | os, |
const TObjString & | a | ||
) |
Definition at line 51 of file diff_spectra.cc.
std::ostream& operator<< | ( | std::ostream & | os, |
const TH1 & | a | ||
) |
Definition at line 56 of file diff_spectra.cc.
std::ostream& operator<< | ( | std::ostream & | os, |
const TObject & | a | ||
) |
Definition at line 61 of file diff_spectra.cc.
bool operator== | ( | const TObjString & | a, |
const TObjString & | b | ||
) |
Definition at line 29 of file diff_spectra.cc.
bool operator== | ( | const TVectorD & | a, |
const TVectorD & | b | ||
) |
Definition at line 34 of file diff_spectra.cc.
bool operator== | ( | const TH1 & | a, |
const TH1 & | b | ||
) |
Definition at line 39 of file diff_spectra.cc.
void Plots | ( | const TH1 & | a, |
const TH1 & | b, | ||
const std::string & | key | ||
) |
Definition at line 68 of file diff_spectra.cc.
void ReportUnique | ( | const std::vector< std::string > & | only, |
TDirectory * | dir | ||
) |
Definition at line 141 of file diff_spectra.cc.
void usage | ( | ) |
Definition at line 189 of file diff_spectra.cc.
bool gEnablePdf = true |
Definition at line 16 of file diff_spectra.cc.
int gNChecked = 0 |
Definition at line 92 of file diff_spectra.cc.
bool gPdfStarted = false |
Definition at line 19 of file diff_spectra.cc.