PandaRoot
GFBookkeeping Class Reference

#include <GFBookkeeping.h>

Inheritance diagram for GFBookkeeping:

Public Member Functions

void reset ()
 
void setNhits (int n)
 
void bookMatrices (std::string key)
 
void bookGFDetPlanes (std::string key)
 
void bookNumbers (std::string key, double val=0.)
 
void setMatrix (std::string key, unsigned int index, const TMatrixT< double > &mat)
 
void setDetPlane (std::string key, unsigned int index, const GFDetPlane &pl)
 
void setNumber (std::string key, unsigned int index, const double &num)
 
bool getMatrix (std::string key, unsigned int index, TMatrixT< double > &mat)
 
bool getDetPlane (std::string key, unsigned int index, GFDetPlane &pl)
 
bool getNumber (std::string key, unsigned int index, double &num)
 
std::vector< std::string > getMatrixKeys ()
 
std::vector< std::string > getGFDetPlaneKeys ()
 
std::vector< std::string > getNumberKeys ()
 
void addFailedHit (unsigned int)
 
unsigned int hitFailed (unsigned int)
 
unsigned int getNumFailed ()
 
 GFBookkeeping ()
 
 GFBookkeeping (const GFBookkeeping &)
 
virtual ~GFBookkeeping ()
 
void clearAll ()
 
void clearFailedHits ()
 
void Print ()
 

Detailed Description

Definition at line 32 of file GFBookkeeping.h.

Constructor & Destructor Documentation

◆ GFBookkeeping() [1/2]

GFBookkeeping::GFBookkeeping ( )
inline

Definition at line 73 of file GFBookkeeping.h.

73 { fNhits = -1; }

◆ GFBookkeeping() [2/2]

GFBookkeeping::GFBookkeeping ( const GFBookkeeping )

◆ ~GFBookkeeping()

virtual GFBookkeeping::~GFBookkeeping ( )
inlinevirtual

Definition at line 75 of file GFBookkeeping.h.

References clearAll(), clearFailedHits(), and Print().

75 { clearAll(); }

Member Function Documentation

◆ addFailedHit()

void GFBookkeeping::addFailedHit ( unsigned  int)

Referenced by setNhits().

◆ bookGFDetPlanes()

void GFBookkeeping::bookGFDetPlanes ( std::string  key)

Referenced by setNhits().

◆ bookMatrices()

void GFBookkeeping::bookMatrices ( std::string  key)

Referenced by setNhits().

◆ bookNumbers()

void GFBookkeeping::bookNumbers ( std::string  key,
double  val = 0. 
)

Referenced by setNhits().

◆ clearAll()

void GFBookkeeping::clearAll ( )

Referenced by ~GFBookkeeping().

◆ clearFailedHits()

void GFBookkeeping::clearFailedHits ( )

Referenced by ~GFBookkeeping().

◆ getDetPlane()

bool GFBookkeeping::getDetPlane ( std::string  key,
unsigned int  index,
GFDetPlane pl 
)

Referenced by setNhits().

◆ getGFDetPlaneKeys()

std::vector<std::string> GFBookkeeping::getGFDetPlaneKeys ( )

Referenced by setNhits().

◆ getMatrix()

bool GFBookkeeping::getMatrix ( std::string  key,
unsigned int  index,
TMatrixT< double > &  mat 
)

Referenced by setNhits().

◆ getMatrixKeys()

std::vector<std::string> GFBookkeeping::getMatrixKeys ( )

Referenced by setNhits().

◆ getNumber()

bool GFBookkeeping::getNumber ( std::string  key,
unsigned int  index,
double &  num 
)

Referenced by setNhits().

◆ getNumberKeys()

std::vector<std::string> GFBookkeeping::getNumberKeys ( )

Referenced by setNhits().

◆ getNumFailed()

unsigned int GFBookkeeping::getNumFailed ( )

Referenced by setNhits().

◆ hitFailed()

unsigned int GFBookkeeping::hitFailed ( unsigned  int)

Referenced by setNhits().

◆ Print()

void GFBookkeeping::Print ( )

Referenced by ~GFBookkeeping().

◆ reset()

void GFBookkeeping::reset ( )

Referenced by setNhits().

◆ setDetPlane()

void GFBookkeeping::setDetPlane ( std::string  key,
unsigned int  index,
const GFDetPlane pl 
)

Referenced by setNhits().

◆ setMatrix()

void GFBookkeeping::setMatrix ( std::string  key,
unsigned int  index,
const TMatrixT< double > &  mat 
)

Referenced by setNhits().

◆ setNhits()

void GFBookkeeping::setNhits ( int  n)
inline

◆ setNumber()

void GFBookkeeping::setNumber ( std::string  key,
unsigned int  index,
const double &  num 
)

Referenced by setNhits().


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