FastSimulation
Utilities
interface
Looses.h
Go to the documentation of this file.
1
#ifndef LOOSES_H
2
#define LOOSES_H
3
4
//C++ headers
5
#include <string>
6
#include <map>
7
#include <vector>
8
9
class
Looses
{
10
public
:
12
static
Looses
*
instance
();
13
15
virtual
~Looses
();
16
18
void
count
(
const
std::string
&
name
,
unsigned
cut
);
19
21
void
summary
();
22
23
private
:
24
// The constructor is hidden as we do not want to construct
25
// more than one instance.
26
Looses
();
27
28
// The instance
29
static
Looses
*
myself
;
30
31
// The table of losses
32
std::map<std::string, std::vector<unsigned> >
theLosses
;
33
};
34
#endif
TkAlMuonSelectors_cfi.cut
cut
Definition:
TkAlMuonSelectors_cfi.py:5
Looses::Looses
Looses()
Definition:
Looses.cc:9
Looses::theLosses
std::map< std::string, std::vector< unsigned > > theLosses
Definition:
Looses.h:32
Looses::count
void count(const std::string &name, unsigned cut)
Counting.
Definition:
Looses.cc:19
Looses::myself
static Looses * myself
Definition:
Looses.h:29
Looses::~Looses
virtual ~Looses()
Virtual destructor (empty)
Definition:
Looses.cc:17
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Looses::instance
static Looses * instance()
Constructor is not public (only one instance needed)
Definition:
Looses.cc:11
Looses
Definition:
Looses.h:9
Looses::summary
void summary()
Printing.
Definition:
Looses.cc:31
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.16