![]() |
ATLAS Offline Software
|
#include "LWHists/LWHistControls.h"
#include "TH1I.h"
#include "LWHists/TH1I_LW.h"
#include "TH1F.h"
#include "LWHists/TH1F_LW.h"
#include "TH1D.h"
#include "LWHists/TH1D_LW.h"
#include "TH2F.h"
#include "LWHists/TH2F_LW.h"
#include "TH2D.h"
#include "LWHists/TH2D_LW.h"
#include "TH2I.h"
#include "LWHists/TH2I_LW.h"
#include "TProfile.h"
#include "LWHists/TProfile_LW.h"
#include "TProfile2D.h"
#include "LWHists/TProfile2D_LW.h"
#include "TRandom3.h"
#include <iostream>
#include <sstream>
#include <ctime>
#include <climits>
#include <cstdlib>
Go to the source code of this file.
Classes | |
struct | Timer |
struct | MemCheck |
Functions | |
long long | thisProcess_VirtualMemUsed_kB () |
double | vmemUsedMB () |
template<class T > | |
std::string | histClassName () |
template<> | |
std::string | histClassName< TH1I > () |
template<> | |
std::string | histClassName< TH1I_LW > () |
template<> | |
std::string | histClassName< TH1F > () |
template<> | |
std::string | histClassName< TH1F_LW > () |
template<> | |
std::string | histClassName< TH1D > () |
template<> | |
std::string | histClassName< TH1D_LW > () |
template<> | |
std::string | histClassName< TH2I > () |
template<> | |
std::string | histClassName< TH2I_LW > () |
template<> | |
std::string | histClassName< TH2F > () |
template<> | |
std::string | histClassName< TH2F_LW > () |
template<> | |
std::string | histClassName< TH2D > () |
template<> | |
std::string | histClassName< TH2D_LW > () |
template<> | |
std::string | histClassName< TProfile > () |
template<> | |
std::string | histClassName< TProfile_LW > () |
template<> | |
std::string | histClassName< TProfile2D > () |
template<> | |
std::string | histClassName< TProfile2D_LW > () |
double | getRandX (TRandom &rand) |
template<class T > | |
void | fillX (TRandom &rand, T *t) |
template<class T > | |
void | fillXW (TRandom &rand, T *t) |
template<> | |
void | fillX (TRandom &rand, TH2F *t) |
template<> | |
void | fillX (TRandom &rand, TH2D *t) |
template<> | |
void | fillX (TRandom &rand, TH2I *t) |
template<> | |
void | fillX (TRandom &rand, TH2F_LW *t) |
template<> | |
void | fillX (TRandom &rand, TH2D_LW *t) |
template<> | |
void | fillX (TRandom &rand, TH2I_LW *t) |
template<> | |
void | fillX (TRandom &rand, TProfile *t) |
template<> | |
void | fillX (TRandom &rand, TProfile_LW *t) |
template<> | |
void | fillX (TRandom &rand, TProfile2D *t) |
template<> | |
void | fillX (TRandom &rand, TProfile2D_LW *t) |
template<> | |
void | fillXW (TRandom &rand, TH2F *t) |
template<> | |
void | fillXW (TRandom &rand, TH2D *t) |
template<> | |
void | fillXW (TRandom &rand, TH2I *t) |
template<> | |
void | fillXW (TRandom &rand, TH2F_LW *t) |
template<> | |
void | fillXW (TRandom &rand, TH2D_LW *t) |
template<> | |
void | fillXW (TRandom &rand, TH2I_LW *t) |
template<> | |
void | fillXW (TRandom &rand, TProfile *t) |
template<> | |
void | fillXW (TRandom &rand, TProfile_LW *t) |
template<> | |
void | fillXW (TRandom &rand, TProfile2D *t) |
template<> | |
void | fillXW (TRandom &rand, TProfile2D_LW *t) |
template<class T > | |
void | fakeFillRandGen (TRandom &rand) |
template<> | |
void | fakeFillRandGen< TH2F > (TRandom &rand) |
template<> | |
void | fakeFillRandGen< TH2D > (TRandom &rand) |
template<> | |
void | fakeFillRandGen< TH2I > (TRandom &rand) |
template<> | |
void | fakeFillRandGen< TH2F_LW > (TRandom &rand) |
template<> | |
void | fakeFillRandGen< TH2D_LW > (TRandom &rand) |
template<> | |
void | fakeFillRandGen< TH2I_LW > (TRandom &rand) |
template<class T > | |
T * | book (const std::string &n, const std::string &t, unsigned nbins) |
template<> | |
TH1F_LW * | book (const std::string &n, const std::string &t, unsigned nbins) |
template<class T > | |
void | triggerConversion (T *) |
template<> | |
void | triggerConversion (TH1F_LW *h) |
template<> | |
void | triggerConversion (TH1D_LW *h) |
template<> | |
void | triggerConversion (TH1I_LW *h) |
template<> | |
void | triggerConversion (TH2F_LW *h) |
template<> | |
void | triggerConversion (TH2D_LW *h) |
template<> | |
void | triggerConversion (TH2I_LW *h) |
template<> | |
void | triggerConversion (TProfile_LW *h) |
template<> | |
void | triggerConversion (TProfile2D_LW *h) |
template<class T > | |
bool | isROOT () |
template<> | |
bool | isROOT< TH1F_LW > () |
template<> | |
bool | isROOT< TH1D_LW > () |
template<> | |
bool | isROOT< TH1I_LW > () |
template<> | |
bool | isROOT< TH2F_LW > () |
template<> | |
bool | isROOT< TH2D_LW > () |
template<> | |
bool | isROOT< TH2I_LW > () |
template<> | |
bool | isROOT< TProfile_LW > () |
template<> | |
bool | isROOT< TProfile2D_LW > () |
template<class T > | |
void | safeDelete (T *h) |
template<class T > | |
int | performBenchmark (TRandom &rand, const unsigned nhists, const unsigned nbins, const int nfills) |
int | usage (const std::string &progname) |
int | main (int argc, char **argv) |
TProfile2D_LW * book | ( | const std::string & | n, |
const std::string & | t, | ||
unsigned | nbins | ||
) |
Definition at line 144 of file main_benchmark.cxx.
void fakeFillRandGen | ( | TRandom & | rand | ) |
Definition at line 130 of file main_benchmark.cxx.
void fakeFillRandGen< TH2D > | ( | TRandom & | rand | ) |
void fakeFillRandGen< TH2D_LW > | ( | TRandom & | rand | ) |
void fakeFillRandGen< TH2F > | ( | TRandom & | rand | ) |
void fakeFillRandGen< TH2F_LW > | ( | TRandom & | rand | ) |
void fakeFillRandGen< TH2I > | ( | TRandom & | rand | ) |
void fakeFillRandGen< TH2I_LW > | ( | TRandom & | rand | ) |
void fillX | ( | TRandom & | rand, |
T * | t | ||
) |
Definition at line 107 of file main_benchmark.cxx.
void fillX | ( | TRandom & | rand, |
TH2D * | t | ||
) |
Definition at line 110 of file main_benchmark.cxx.
void fillX | ( | TRandom & | rand, |
TH2D_LW * | t | ||
) |
Definition at line 113 of file main_benchmark.cxx.
void fillX | ( | TRandom & | rand, |
TH2F * | t | ||
) |
Definition at line 109 of file main_benchmark.cxx.
void fillX | ( | TRandom & | rand, |
TH2F_LW * | t | ||
) |
Definition at line 112 of file main_benchmark.cxx.
void fillX | ( | TRandom & | rand, |
TH2I * | t | ||
) |
Definition at line 111 of file main_benchmark.cxx.
void fillX | ( | TRandom & | rand, |
TH2I_LW * | t | ||
) |
Definition at line 114 of file main_benchmark.cxx.
void fillX | ( | TRandom & | rand, |
TProfile * | t | ||
) |
Definition at line 115 of file main_benchmark.cxx.
void fillX | ( | TRandom & | rand, |
TProfile2D * | t | ||
) |
void fillX | ( | TRandom & | rand, |
TProfile2D_LW * | t | ||
) |
void fillX | ( | TRandom & | rand, |
TProfile_LW * | t | ||
) |
Definition at line 116 of file main_benchmark.cxx.
void fillXW | ( | TRandom & | rand, |
T * | t | ||
) |
Definition at line 108 of file main_benchmark.cxx.
void fillXW | ( | TRandom & | rand, |
TH2D * | t | ||
) |
void fillXW | ( | TRandom & | rand, |
TH2D_LW * | t | ||
) |
void fillXW | ( | TRandom & | rand, |
TH2F * | t | ||
) |
void fillXW | ( | TRandom & | rand, |
TH2F_LW * | t | ||
) |
void fillXW | ( | TRandom & | rand, |
TH2I * | t | ||
) |
void fillXW | ( | TRandom & | rand, |
TH2I_LW * | t | ||
) |
void fillXW | ( | TRandom & | rand, |
TProfile * | t | ||
) |
void fillXW | ( | TRandom & | rand, |
TProfile2D * | t | ||
) |
void fillXW | ( | TRandom & | rand, |
TProfile2D_LW * | t | ||
) |
void fillXW | ( | TRandom & | rand, |
TProfile_LW * | t | ||
) |
double getRandX | ( | TRandom & | rand | ) |
Definition at line 103 of file main_benchmark.cxx.
std::string histClassName | ( | ) |
Definition at line 57 of file main_benchmark.cxx.
std::string histClassName< TH1D > | ( | ) |
Definition at line 62 of file main_benchmark.cxx.
std::string histClassName< TH1D_LW > | ( | ) |
Definition at line 63 of file main_benchmark.cxx.
std::string histClassName< TH1F > | ( | ) |
Definition at line 60 of file main_benchmark.cxx.
std::string histClassName< TH1F_LW > | ( | ) |
Definition at line 61 of file main_benchmark.cxx.
std::string histClassName< TH1I > | ( | ) |
Definition at line 58 of file main_benchmark.cxx.
std::string histClassName< TH1I_LW > | ( | ) |
Definition at line 59 of file main_benchmark.cxx.
std::string histClassName< TH2D > | ( | ) |
Definition at line 68 of file main_benchmark.cxx.
std::string histClassName< TH2D_LW > | ( | ) |
Definition at line 69 of file main_benchmark.cxx.
std::string histClassName< TH2F > | ( | ) |
Definition at line 66 of file main_benchmark.cxx.
std::string histClassName< TH2F_LW > | ( | ) |
Definition at line 67 of file main_benchmark.cxx.
std::string histClassName< TH2I > | ( | ) |
Definition at line 64 of file main_benchmark.cxx.
std::string histClassName< TH2I_LW > | ( | ) |
Definition at line 65 of file main_benchmark.cxx.
std::string histClassName< TProfile > | ( | ) |
Definition at line 70 of file main_benchmark.cxx.
std::string histClassName< TProfile2D > | ( | ) |
Definition at line 72 of file main_benchmark.cxx.
std::string histClassName< TProfile2D_LW > | ( | ) |
Definition at line 73 of file main_benchmark.cxx.
std::string histClassName< TProfile_LW > | ( | ) |
Definition at line 71 of file main_benchmark.cxx.
bool isROOT | ( | ) |
Definition at line 179 of file main_benchmark.cxx.
Definition at line 181 of file main_benchmark.cxx.
Definition at line 180 of file main_benchmark.cxx.
Definition at line 182 of file main_benchmark.cxx.
Definition at line 184 of file main_benchmark.cxx.
Definition at line 183 of file main_benchmark.cxx.
Definition at line 185 of file main_benchmark.cxx.
bool isROOT< TProfile2D_LW > | ( | ) |
Definition at line 187 of file main_benchmark.cxx.
bool isROOT< TProfile_LW > | ( | ) |
Definition at line 186 of file main_benchmark.cxx.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 306 of file main_benchmark.cxx.
int performBenchmark | ( | TRandom & | rand, |
const unsigned | nhists, | ||
const unsigned | nbins, | ||
const int | nfills | ||
) |
Definition at line 199 of file main_benchmark.cxx.
void safeDelete | ( | T * | h | ) |
Definition at line 189 of file main_benchmark.cxx.
|
inline |
Definition at line 32 of file main_benchmark.cxx.
void triggerConversion | ( | T * | ) |
Definition at line 169 of file main_benchmark.cxx.
void triggerConversion | ( | TH1D_LW * | h | ) |
Definition at line 171 of file main_benchmark.cxx.
void triggerConversion | ( | TH1F_LW * | h | ) |
Definition at line 170 of file main_benchmark.cxx.
void triggerConversion | ( | TH1I_LW * | h | ) |
Definition at line 172 of file main_benchmark.cxx.
void triggerConversion | ( | TH2D_LW * | h | ) |
Definition at line 174 of file main_benchmark.cxx.
void triggerConversion | ( | TH2F_LW * | h | ) |
Definition at line 173 of file main_benchmark.cxx.
void triggerConversion | ( | TH2I_LW * | h | ) |
Definition at line 175 of file main_benchmark.cxx.
void triggerConversion | ( | TProfile2D_LW * | h | ) |
Definition at line 177 of file main_benchmark.cxx.
void triggerConversion | ( | TProfile_LW * | h | ) |
Definition at line 176 of file main_benchmark.cxx.
int usage | ( | const std::string & | progname | ) |
Definition at line 291 of file main_benchmark.cxx.
|
inline |
Definition at line 52 of file main_benchmark.cxx.