HighLAND
highland2
tutorialAnalysis
v2r10
src
tutorialWeightSystematics.hxx
1
#ifndef tutorialWeightSystematics_h
2
#define tutorialWeightSystematics_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
tutorialWeightSystematics
:
public
EventWeightBase
{
10
public
:
11
12
/// Default constructor
13
tutorialWeightSystematics
();
14
15
virtual
~
tutorialWeightSystematics
() {}
16
17
/// Apply this systematic
18
using
EventWeightBase::ComputeWeight
;
19
Weight_h
ComputeWeight
(
const
ToyExperiment
& toy,
const
AnaEventC
& event,
const
ToyBoxB
& box);
20
21
protected
:
22
23
/// FGD mass correction and error
24
Float_t
_scintmass_corr
;
25
Float_t _scintmass_err;
26
Float_t _watermass_corr;
27
Float_t _watermass_err;
28
29
BinnedParams
*_scintmass;
30
BinnedParams
*_watermass;
31
32
};
33
34
#endif
ToyBoxB
Definition:
ToyBoxB.hxx:13
tutorialWeightSystematics::ComputeWeight
Weight_h ComputeWeight(const ToyExperiment &toy, const AnaEventC &event, const ToyBoxB &box)
Definition:
tutorialWeightSystematics.cxx:35
AnaEventC
Definition:
CoreDataClasses.hxx:226
tutorialWeightSystematics::tutorialWeightSystematics
tutorialWeightSystematics()
Default constructor.
Definition:
tutorialWeightSystematics.cxx:8
tutorialWeightSystematics::_scintmass_corr
Float_t _scintmass_corr
FGD mass correction and error.
Definition:
tutorialWeightSystematics.hxx:24
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
tutorialWeightSystematics
This is a normalization systematic. It takes into account the uncertainty on the FGD mass introduced ...
Definition:
tutorialWeightSystematics.hxx:9
BinnedParams
Definition:
BinnedParams.hxx:250
Generated by
1.8.13