BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
A very simple 'map' type histogram axis. More...
#include <ParticleSet.hh>
Public Member Functions | |
void | Fill (long int x, double weight=1) |
std::map< longint, BinValue >::iterator | begin () |
std::map< longint, BinValue >::iterator | end () |
std::map< longint, BinValue >::const_iterator | begin () const |
std::map< longint, BinValue >::const_iterator | end () const |
bool | empty () const |
BinValue & | operator[] (const long int key) |
const BinValue & | operator[] (const long int key) const |
Data Fields | |
std::map< long int, BinValue > | data |
unsigned long | nEntries |
A very simple 'map' type histogram axis.
A map of type T (e.g. integer for PDG ID) to an accumulated value which is a double. The sum of the weights squared is also accumulated for error estimation.
Definition at line 62 of file ParticleSet.hh.
|
inline |
Definition at line 69 of file ParticleSet.hh.
|
inline |
Definition at line 71 of file ParticleSet.hh.
|
inline |
Definition at line 73 of file ParticleSet.hh.
|
inline |
Definition at line 70 of file ParticleSet.hh.
|
inline |
Definition at line 72 of file ParticleSet.hh.
|
inline |
Definition at line 65 of file ParticleSet.hh.
|
inline |
Definition at line 75 of file ParticleSet.hh.
|
inline |
Definition at line 76 of file ParticleSet.hh.
std::map<long int, BinValue> ParticleSet::data |
Definition at line 78 of file ParticleSet.hh.
unsigned long ParticleSet::nEntries |
Definition at line 79 of file ParticleSet.hh.