HighLAND
psyche
psycheSystematics
v3r12
src
PileUpSystematics.hxx
1
#ifndef PileUpSystematics_h
2
#define PileUpSystematics_h
3
4
#include "EventWeightBase.hxx"
5
#include "BinnedParams.hxx"
6
7
/// There are a number of categories of possible pile up, but only the effect of sand muons is
8
/// significant for this analysis. Events are rejected if there is activity in TPC1 (cut *) since in most
9
/// cases, the TPC1 activity is due to tracks from interactions downstream of the detector
10
/// (sand muons) or outside the tracker fiducial volume. A quick study of MC events rejected due to
11
/// the TPC1 veto indicates that the majority are not true CC interactions. Since sand muons are
12
/// not included in the standard NEUT simulation, the Monte Carlo does not include the effect of
13
/// events that are rejected due to coincidence with a Sand Muon and a correction must be made ...
14
15
// This systematic should then be applied as a simple weighting factor to all events in the analysis:
16
17
/// TN-152 for a longer explanaition
18
19
class
PileUpSystematics
:
public
EventWeightBase
{
20
public
:
21
22
PileUpSystematics
();
23
24
virtual
~
PileUpSystematics
() {
25
if
(_fgd1)
delete
_fgd1; _fgd1 = NULL;
26
if
(_fgd2)
delete
_fgd2; _fgd2 = NULL;
27
}
28
29
/// Apply this systematic
30
using
EventWeightBase::ComputeWeight
;
31
Weight_h
ComputeWeight
(
const
ToyExperiment
&,
const
AnaEventC
&,
const
ToyBoxB
&){
return
1;}
32
Weight_h
ComputeWeight
(
const
ToyExperiment
& toy,
const
AnaEventC
& event,
const
ToyBoxB
& box,
const
SelectionBase
& sel);
33
34
BinnedParams
* _fgd1;
35
BinnedParams
* _fgd2;
36
37
};
38
39
#endif
ToyBoxB
Definition:
ToyBoxB.hxx:13
PileUpSystematics::ComputeWeight
Weight_h ComputeWeight(const ToyExperiment &, const AnaEventC &, const ToyBoxB &)
Definition:
PileUpSystematics.hxx:31
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
PileUpSystematics
TN-152 for a longer explanaition.
Definition:
PileUpSystematics.hxx:19
ToyExperiment
Definition:
ToyExperiment.hxx:14
BinnedParams
Definition:
BinnedParams.hxx:250
SelectionBase
Definition:
SelectionBase.hxx:86
Generated by
1.8.13