forked from h2gglobe/h2gglobe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BaseSmearer.cc
37 lines (24 loc) · 816 Bytes
/
BaseSmearer.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include "BaseSmearer.h"
int BaseSmearer::nRegisteredSmerers_ = 0;
BaseSmearer::BaseSmearer():
smearerId_(-1)
{}
BaseSmearer::~BaseSmearer()
{}
bool operator == (BaseSmearer * a, const std::string & b) { return a->name() == b; };
void BaseSmearer::registerMe()
{
std::cout << "BaseSmearer::registerMe " << this->name() << " " << nRegisteredSmerers_ << std::endl;
smearerId_ = nRegisteredSmerers_;
++nRegisteredSmerers_;
}
BaseDiPhotonSmearer::BaseDiPhotonSmearer()
{}
BaseDiPhotonSmearer::~BaseDiPhotonSmearer()
{}
bool operator == (BaseDiPhotonSmearer * a, const std::string & b) { return a->name() == b; };
BaseGenLevelSmearer::BaseGenLevelSmearer()
{}
BaseGenLevelSmearer::~BaseGenLevelSmearer()
{}
bool operator == (BaseGenLevelSmearer * a, const std::string & b) { return a->name() == b; };