HighLAND
psyche
psycheSystematics
v3r12
src
MichelElectronEffSystematics.hxx
1
#ifndef MichelElectronEffSystematics_h
2
#define MichelElectronEffSystematics_h
3
4
#include "EventWeightBase.hxx"
5
#include "BinnedParams.hxx"
6
7
/// Michel electron effciency systematic
8
9
class
MichelElectronEffSystematics
:
public
EventWeightBase
{
10
public
:
11
12
/// Instantiate the michel electron efficiency systematic. nana is the number of
13
/// virtual analyses that will be run.
14
/// There is only 1 analysis (+ the unchanged) for this systematic, as we only store the weight for a change of one sigma.
15
/// The mean and sigma are defined in a data file.
16
MichelElectronEffSystematics
(
bool
computecounters=
false
);
17
18
virtual
~
MichelElectronEffSystematics
() {
19
if
(_fgd1eff)
delete
_fgd1eff; _fgd1eff = NULL;
20
if
(_fgd1pur)
delete
_fgd1pur; _fgd1pur = NULL;
21
if
(_fgd2eff)
delete
_fgd2eff; _fgd2eff = NULL;
22
if
(_fgd2pur)
delete
_fgd2pur; _fgd2pur = NULL;
23
}
24
25
/// Apply the weight
26
using
EventWeightBase::ComputeWeight
;
27
Weight_h
ComputeWeight
(
const
ToyExperiment
& toy,
const
AnaEventC
& event,
const
ToyBoxB
& box);
28
29
BinnedParams
* _fgd1eff;
30
BinnedParams
* _fgd1pur;
31
BinnedParams
* _fgd2eff;
32
BinnedParams
* _fgd2pur;
33
34
protected
:
35
bool
_computecounters;
36
bool
_prod5Cut;
37
38
};
39
40
#endif
ToyBoxB
Definition:
ToyBoxB.hxx:13
AnaEventC
Definition:
CoreDataClasses.hxx:226
WeightType
Definition:
WeightType.hxx:6
EventWeightBase::ComputeWeight
virtual Weight_h ComputeWeight(const ToyExperiment &toy, const AnaEventC &event, const ToyBoxB &box, const SelectionBase &sel)
This is now the actual method called by SystematicManager, which allows further selection tunning of ...
Definition:
EventWeightBase.hxx:35
EventWeightBase
Definition:
EventWeightBase.hxx:12
MichelElectronEffSystematics::MichelElectronEffSystematics
MichelElectronEffSystematics(bool computecounters=false)
Definition:
MichelElectronEffSystematics.cxx:13
ToyExperiment
Definition:
ToyExperiment.hxx:14
MichelElectronEffSystematics::ComputeWeight
Weight_h ComputeWeight(const ToyExperiment &toy, const AnaEventC &event, const ToyBoxB &box)
Definition:
MichelElectronEffSystematics.cxx:45
BinnedParams
Definition:
BinnedParams.hxx:250
MichelElectronEffSystematics
Michel electron effciency systematic.
Definition:
MichelElectronEffSystematics.hxx:9
Generated by
1.8.13