BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Common specification for a histogram. More...
#include <HistogramDef.hh>
Public Member Functions | |
HistogramDef () | |
Public constructor only for compatibility with ROOT - not intended for use. | |
HistogramDef (const std::string &treeNameIn, const std::string &histNameIn, int nDimensionsIn, const std::string &variable, const std::string &selectionIn="1", bool perEnetry=true) | |
Use this constructor. More... | |
virtual HistogramDef * | Clone () const |
Copy this instance. Virtual to be overridden in derived classes. More... | |
ClassDef (HistogramDef, 1) | |
Data Fields | |
std::string | treeName |
std::string | histName |
int | nDimensions |
std::string | variable |
std::string | selection |
bool | perEntry |
Common specification for a histogram.
Definition at line 32 of file HistogramDef.hh.
HistogramDef::HistogramDef | ( | const std::string & | treeNameIn, |
const std::string & | histNameIn, | ||
int | nDimensionsIn, | ||
const std::string & | variable, | ||
const std::string & | selectionIn = "1" , |
||
bool | perEnetry = true |
||
) |
Use this constructor.
Definition at line 32 of file HistogramDef.cc.
|
inlinevirtual |
Definition at line 45 of file HistogramDef.hh.
|
inlinevirtual |
Copy this instance. Virtual to be overridden in derived classes.
Reimplemented in HistogramDef1D, HistogramDef2D, and HistogramDef3D.
Definition at line 48 of file HistogramDef.hh.
References HistogramDef().
std::string HistogramDef::histName |
Definition at line 51 of file HistogramDef.hh.
int HistogramDef::nDimensions |
Definition at line 52 of file HistogramDef.hh.
bool HistogramDef::perEntry |
Definition at line 55 of file HistogramDef.hh.
std::string HistogramDef::selection |
Definition at line 54 of file HistogramDef.hh.
std::string HistogramDef::treeName |
Definition at line 50 of file HistogramDef.hh.
std::string HistogramDef::variable |
Definition at line 53 of file HistogramDef.hh.