1 |
dhidas |
1.1 |
/*
|
2 |
|
|
* BasicRule.h
|
3 |
|
|
*
|
4 |
|
|
* Created on: 15 Apr 2011
|
5 |
|
|
* Author: kreczko
|
6 |
|
|
*/
|
7 |
|
|
|
8 |
|
|
#ifndef BASICRULE_H_
|
9 |
|
|
#define BASICRULE_H_
|
10 |
|
|
|
11 |
|
|
#include "../RecoObjects/Jet.h"
|
12 |
|
|
#include "../TtbarHypothesis.h"
|
13 |
|
|
namespace BAT {
|
14 |
|
|
|
15 |
|
|
class BasicRule {
|
16 |
|
|
public:
|
17 |
|
|
BasicRule();
|
18 |
|
|
virtual ~BasicRule();
|
19 |
|
|
|
20 |
|
|
double softLeptonicBJetCondition(const JetPointer jet) const;
|
21 |
|
|
bool hardLeptonicBJetCondition(const JetPointer jet) const;
|
22 |
|
|
|
23 |
|
|
double softHadronicBJetCondition(const JetPointer jet) const;
|
24 |
|
|
bool hardHadronicBJetCondition(const JetPointer jet) const;
|
25 |
|
|
|
26 |
|
|
double softHadronicJetFromWCondition(const JetPointer jet) const;
|
27 |
|
|
bool hardHadronicJetFromWCondition(const JetPointer jet) const;
|
28 |
|
|
|
29 |
|
|
double softGlobalCondition(const TtbarHypothesisPointer hypothesis) const;
|
30 |
|
|
bool hardGlobalCondition(const TtbarHypothesisPointer hypothesis) const;
|
31 |
|
|
|
32 |
|
|
bool meetsInitialConditaion() const;
|
33 |
|
|
};
|
34 |
|
|
|
35 |
|
|
typedef boost::shared_ptr<BasicRule> Rule;
|
36 |
|
|
}
|
37 |
|
|
|
38 |
|
|
#endif /* BASICRULE_H_ */
|