HighLAND
psyche
psycheSystematics
v3r12
src
FGDMassSystematics.hxx
1
#ifndef FGDMassSystematics_h
2
#define FGDMassSystematics_h
3
4
#include "EventWeightBase.hxx"
5
#include "BinnedParams.hxx"
6
7
/// This is a normalization systematic. It takes into account the uncertainty on the FGD mass introduced in the MC
8
9
class
FGDMassSystematics
:
public
EventWeightBase
{
10
public
:
11
12
FGDMassSystematics
();
13
14
virtual
~
FGDMassSystematics
() {
15
if
(_scintmass)
delete
_scintmass; _scintmass = NULL;
16
if
(_watermass)
delete
_watermass; _watermass = NULL;
17
}
18
19
/// Apply this systematic
20
using
EventWeightBase::ComputeWeight
;
21
Weight_h
ComputeWeight
(
const
ToyExperiment
& toy,
const
AnaEventC
& event,
const
ToyBoxB
& box);
22
23
protected
:
24
25
/// FGD mass correction and error
26
Float_t
_scintmass_corr
;
27
Float_t _scintmass_err;
28
Float_t _watermass_corr;
29
Float_t _watermass_err;
30
31
BinnedParams
* _scintmass;
32
BinnedParams
* _watermass;
33
34
};
35
36
#endif
ToyBoxB
Definition:
ToyBoxB.hxx:13
FGDMassSystematics::ComputeWeight
Weight_h ComputeWeight(const ToyExperiment &toy, const AnaEventC &event, const ToyBoxB &box)
Definition:
FGDMassSystematics.cxx:23
FGDMassSystematics::_scintmass_corr
Float_t _scintmass_corr
FGD mass correction and error.
Definition:
FGDMassSystematics.hxx:26
AnaEventC
Definition:
CoreDataClasses.hxx:226
FGDMassSystematics
This is a normalization systematic. It takes into account the uncertainty on the FGD mass introduced ...
Definition:
FGDMassSystematics.hxx:9
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
ToyExperiment
Definition:
ToyExperiment.hxx:14
BinnedParams
Definition:
BinnedParams.hxx:250
Generated by
1.8.13