#include <Looses.h>
Public Member Functions | |
void | count (const std::string &name, unsigned cut) |
Counting. | |
void | summary () |
Printing. | |
virtual | ~Looses () |
Virtual destructor (empty) | |
Static Public Member Functions | |
static Looses * | instance () |
Constructor is not public (only one instance needed) | |
Private Member Functions | |
Looses () | |
Private Attributes | |
std::map< std::string, std::vector< unsigned > > | theLosses |
Static Private Attributes | |
static Looses * | myself = 0 |
Looses::~Looses | ( | ) | [virtual] |
Looses::Looses | ( | ) | [private] |
void Looses::count | ( | const std::string & | name, |
unsigned | cut | ||
) |
Counting.
Definition at line 19 of file Looses.cc.
References GOODCOLL_filter_cfg::cut, i, mergeVDriftHistosByStation::name, and theLosses.
Looses * Looses::instance | ( | ) | [static] |
void Looses::summary | ( | ) |
Printing.
Definition at line 34 of file Looses.cc.
References gather_cfg::cout, i, j, and theLosses.
Referenced by ~Looses().
{ std::map< std::string, std::vector<unsigned> >::const_iterator lossItr; std::cout << "***** From LOOSES ***** : Cuts effects" << std::endl << std::endl; for ( lossItr=theLosses.begin(); lossItr != theLosses.end(); ++lossItr ) { std::cout << lossItr->first << ":" << std::endl; for ( unsigned i=0; i<4; ++i ) { for ( unsigned j=0; j<5; ++j ) { std::cout << std::setw(8) << lossItr->second[5*i+j] << " "; } std::cout << std::endl; } std::cout << std::endl; } }
Looses * Looses::myself = 0 [static, private] |
Definition at line 29 of file Looses.h.
Referenced by instance().
std::map< std::string, std::vector<unsigned> > Looses::theLosses [private] |