Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
N21-04-10
CAFAna
Core
WeightApplier.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
CAFAna/Core/RecordMultiSink.h
"
4
5
#include "CAFAna/Core/Var.h"
6
7
namespace
ana
8
{
9
class
WeightApplier
:
public
RecordMultiSink
10
{
11
public
:
12
WeightApplier
(
const
Var
&
w
) :
fWeight
(w) {}
13
14
void
HandleRecord
(
caf::SRProxy
*
sr
,
double
wei)
override
;
15
16
protected
:
17
Var
fWeight
;
18
};
19
}
ana
Cuts and Vars for the 2020 FD DiF Study.
Definition:
vars.h:6
caf::Proxy< caf::StandardRecord >
Proxy for caf::StandardRecord.
Definition:
SRProxy.h:2126
RecordMultiSink.h
ana::RecordMultiSink
Definition:
RecordMultiSink.h:9
ana::WeightApplier::fWeight
Var fWeight
Definition:
WeightApplier.h:17
ana::WeightApplier
Definition:
WeightApplier.h:9
sr
caf::StandardRecord * sr
Definition:
FillTrainingTrees.h:18
ana::WeightApplier::HandleRecord
void HandleRecord(caf::SRProxy *sr, double wei) override
Definition:
WeightApplier.cxx:8
ana::WeightApplier::WeightApplier
WeightApplier(const Var &w)
Definition:
WeightApplier.h:12
ana::_Var< caf::SRProxy >
w
Float_t w
Definition:
plot.C:20
Generated on Sat Apr 10 2021 14:10:58 for NOvA by
1.8.11