StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | Friends | List of all members
Pythia8::Hist Class Reference

Public Member Functions

 Hist (string titleIn, int nBinIn=100, double xMinIn=0., double xMaxIn=1.)
 
 Hist (const Hist &h)
 
 Hist (string titleIn, const Hist &h)
 
Histoperator= (const Hist &h)
 
void book (string titleIn=" ", int nBinIn=100, double xMinIn=0., double xMaxIn=1.)
 
void name (string titleIn=" ")
 
void null ()
 
void fill (double x, double w=1.)
 
void table (ostream &os=cout) const
 
void table (string fileName) const
 
double getBinContent (int iBin)
 
int getEntries ()
 
bool sameSize (const Hist &h) const
 
void takeLog (bool tenLog=true)
 
void takeSqrt ()
 
Histoperator+= (const Hist &h)
 
Histoperator-= (const Hist &h)
 
Histoperator*= (const Hist &h)
 
Histoperator/= (const Hist &h)
 
Histoperator+= (double f)
 
Histoperator-= (double f)
 
Histoperator*= (double f)
 
Histoperator/= (double f)
 
 Hist (string titleIn, int nBinIn=100, double xMinIn=0., double xMaxIn=1.)
 
 Hist (const Hist &h)
 
 Hist (string titleIn, const Hist &h)
 
Histoperator= (const Hist &h)
 
void book (string titleIn=" ", int nBinIn=100, double xMinIn=0., double xMaxIn=1.)
 
void name (string titleIn=" ")
 
void null ()
 
void fill (double x, double w=1.)
 
void table (ostream &os=cout, bool printOverUnder=false, bool xMidBin=true) const
 
void table (string fileName, bool printOverUnder=false, bool xMidBin=true) const
 
double getBinContent (int iBin) const
 
int getEntries () const
 
bool sameSize (const Hist &h) const
 
void takeLog (bool tenLog=true)
 
void takeSqrt ()
 
Histoperator+= (const Hist &h)
 
Histoperator-= (const Hist &h)
 
Histoperator*= (const Hist &h)
 
Histoperator/= (const Hist &h)
 
Histoperator+= (double f)
 
Histoperator-= (double f)
 
Histoperator*= (double f)
 
Histoperator/= (double f)
 
 Hist (string titleIn, int nBinIn=100, double xMinIn=0., double xMaxIn=1., bool logXIn=false)
 
 Hist (const Hist &h)
 
 Hist (string titleIn, const Hist &h)
 
Histoperator= (const Hist &h)
 
void book (string titleIn=" ", int nBinIn=100, double xMinIn=0., double xMaxIn=1., bool logXIn=false)
 
void title (string titleIn=" ")
 
void null ()
 
void fill (double x, double w=1.)
 
void table (ostream &os=cout, bool printOverUnder=false, bool xMidBin=true) const
 
void table (string fileName, bool printOverUnder=false, bool xMidBin=true) const
 
void rivetTable (ostream &os=cout, bool printError=false) const
 
void rivetTable (string fileName, bool printError=false) const
 
void pyplotTable (ostream &os=cout, bool isHist=true) const
 
void pyplotTable (string fileName, bool isHist=true) const
 
string getTitle () const
 
int getBinNumber () const
 
bool getLinX () const
 
double getBinContent (int iBin) const
 
int getEntries () const
 
bool sameSize (const Hist &h) const
 
void takeLog (bool tenLog=true)
 
void takeSqrt ()
 
double smallestAbsValue () const
 
Histoperator+= (const Hist &h)
 
Histoperator-= (const Hist &h)
 
Histoperator*= (const Hist &h)
 
Histoperator/= (const Hist &h)
 
Histoperator+= (double f)
 
Histoperator-= (double f)
 
Histoperator*= (double f)
 
Histoperator/= (double f)
 
Hist operator+ (double f) const
 
Hist operator+ (const Hist &h2) const
 
Hist operator- (double f) const
 
Hist operator- (const Hist &h2) const
 
Hist operator* (double f) const
 
Hist operator* (const Hist &h2) const
 
Hist operator/ (double f) const
 
Hist operator/ (const Hist &h2) const
 
 Hist (string titleIn, int nBinIn=100, double xMinIn=0., double xMaxIn=1., bool logXIn=false)
 
 Hist (const Hist &h)
 
 Hist (string titleIn, const Hist &h)
 
Histoperator= (const Hist &h)
 
void book (string titleIn=" ", int nBinIn=100, double xMinIn=0., double xMaxIn=1., bool logXIn=false)
 
void title (string titleIn=" ")
 
void null ()
 
void fill (double x, double w=1.)
 
void table (ostream &os=cout, bool printOverUnder=false, bool xMidBin=true) const
 
void table (string fileName, bool printOverUnder=false, bool xMidBin=true) const
 
void rivetTable (ostream &os=cout, bool printError=false) const
 
void rivetTable (string fileName, bool printError=false) const
 
void pyplotTable (ostream &os=cout, bool isHist=true) const
 
void pyplotTable (string fileName, bool isHist=true) const
 
string getTitle () const
 
int getBinNumber () const
 
int getNonFinite () const
 
bool getLinX () const
 
double getXMin () const
 
double getXMax () const
 
double getYMin () const
 
double getYMax () const
 
double getYAbsMin () const
 
double getXMean () const
 
double getYMean () const
 
double getBinContent (int iBin) const
 
int getEntries (bool alsoNonFinite=true) const
 
bool sameSize (const Hist &h) const
 
void takeLog (bool tenLog=true)
 
void takeSqrt ()
 
void normalize (double sum=1., bool alsoOverflow=true)
 
Histoperator+= (const Hist &h)
 
Histoperator-= (const Hist &h)
 
Histoperator*= (const Hist &h)
 
Histoperator/= (const Hist &h)
 
Histoperator+= (double f)
 
Histoperator-= (double f)
 
Histoperator*= (double f)
 
Histoperator/= (double f)
 
Hist operator+ (double f) const
 
Hist operator+ (const Hist &h2) const
 
Hist operator- (double f) const
 
Hist operator- (const Hist &h2) const
 
Hist operator* (double f) const
 
Hist operator* (const Hist &h2) const
 
Hist operator/ (double f) const
 
Hist operator/ (const Hist &h2) const
 

Static Public Member Functions

static Hist plotFunc (function< double(double)> f, string titleIn, int nBinIn, double xMinIn, double xMaxIn, bool logXIn=false)
 

Friends

ostream & operator<< (ostream &os, const Hist &h)
 
void table (const Hist &h1, const Hist &h2, ostream &os)
 
void table (const Hist &h1, const Hist &h2, string fileName)
 
Hist operator+ (double f, const Hist &h1)
 
Hist operator+ (const Hist &h1, double f)
 
Hist operator+ (const Hist &h1, const Hist &h2)
 
Hist operator- (double f, const Hist &h1)
 
Hist operator- (const Hist &h1, double f)
 
Hist operator- (const Hist &h1, const Hist &h2)
 
Hist operator* (double f, const Hist &h1)
 
Hist operator* (const Hist &h1, double f)
 
Hist operator* (const Hist &h1, const Hist &h2)
 
Hist operator/ (double f, const Hist &h1)
 
Hist operator/ (const Hist &h1, double f)
 
Hist operator/ (const Hist &h1, const Hist &h2)
 
ostream & operator<< (ostream &os, const Hist &h)
 
void table (const Hist &h1, const Hist &h2, ostream &os, bool printOverUnder, bool xMidBin)
 
void table (const Hist &h1, const Hist &h2, string fileName, bool printOverUnder, bool xMidBin)
 
Hist operator+ (double f, const Hist &h1)
 
Hist operator+ (const Hist &h1, double f)
 
Hist operator+ (const Hist &h1, const Hist &h2)
 
Hist operator- (double f, const Hist &h1)
 
Hist operator- (const Hist &h1, double f)
 
Hist operator- (const Hist &h1, const Hist &h2)
 
Hist operator* (double f, const Hist &h1)
 
Hist operator* (const Hist &h1, double f)
 
Hist operator* (const Hist &h1, const Hist &h2)
 
Hist operator/ (double f, const Hist &h1)
 
Hist operator/ (const Hist &h1, double f)
 
Hist operator/ (const Hist &h1, const Hist &h2)
 
ostream & operator<< (ostream &os, const Hist &h)
 
void table (const Hist &h1, const Hist &h2, ostream &os, bool printOverUnder, bool xMidBin)
 
void table (const Hist &h1, const Hist &h2, string fileName, bool printOverUnder, bool xMidBin)
 
Hist operator+ (double f, const Hist &h1)
 
Hist operator- (double f, const Hist &h1)
 
Hist operator* (double f, const Hist &h1)
 
Hist operator/ (double f, const Hist &h1)
 
ostream & operator<< (ostream &os, const Hist &h)
 
void table (const Hist &h1, const Hist &h2, ostream &os, bool printOverUnder, bool xMidBin)
 
void table (const Hist &h1, const Hist &h2, string fileName, bool printOverUnder, bool xMidBin)
 
Hist operator+ (double f, const Hist &h1)
 
Hist operator- (double f, const Hist &h1)
 
Hist operator* (double f, const Hist &h1)
 
Hist operator/ (double f, const Hist &h1)
 

Detailed Description

Definition at line 339 of file Basics.h.


The documentation for this class was generated from the following files: