31 for (
Int_t i = 0; i <
m; i++) {
32 Int_t sampleIndex = *sampleIterator;
33 for (
Int_t j = 0; j <
n; j++) {
34 matrix(i, j) =
static_cast<Real_t>(
input(sampleIndex, j));
49 for (
Int_t i = 0; i <
m; i++) {
50 Int_t sampleIndex = *sampleIterator;
51 for (
Int_t j = 0; j <
n; j++) {
52 matrix(i, j) =
static_cast<Real_t>(
output(sampleIndex, j));
66 for (
Int_t i = 0; i <
m; i++) {
67 Int_t sampleIndex = *sampleIterator;
68 matrix(i, 0) =
static_cast<Real_t>(weights(sampleIndex, 0));
82 for (
Int_t i = 0; i <
m; i++) {
83 Int_t sampleIndex = *sampleIterator;
84 for (
Int_t j = 0; j <
n; j++) {
100 for (
Int_t i = 0; i <
m; i++) {
101 Int_t sampleIndex = *sampleIterator;
102 for (
Int_t j = 0; j <
n; j++) {
117 for (
Int_t i = 0; i <
m; i++) {
118 Int_t sampleIndex = *sampleIterator;
129 if (std::get<0>(fData).empty())
131 Event *
event =
nullptr;
138 for (
Int_t i = 0; i <
m; i++) {
139 Int_t sampleIndex = *sampleIterator++;
140 event = std::get<0>(fData)[sampleIndex];
141 for (
Int_t j = 0; j <
n; j++) {
142 matrix(i, j) =
event->GetValue(j);
152 if (std::get<0>(fData).empty())
154 Event *
event =
nullptr;
159 for (
Int_t i = 0; i <
m; i++) {
160 Int_t sampleIndex = *sampleIterator++;
161 event = std::get<0>(fData)[sampleIndex];
162 for (
Int_t j = 0; j <
n; j++) {
164 if (event->GetNTargets() == 0) {
167 matrix(i, j) = (info.
IsSignal(event)) ? 1.0 : 0.0;
171 if (j ==
static_cast<Int_t>(event->GetClass())) {
176 matrix(i, j) =
static_cast<Real_t>(
event->GetTarget(j));
187 if (std::get<0>(fData).empty())
189 Event *
event =
nullptr;
191 Int_t sampleIndex = *sampleIterator++;
192 event = std::get<0>(fData)[sampleIndex];
193 matrix(i, 0) =
event->GetWeight();
203 if (std::get<0>(fData).empty())
205 Event *
event =
nullptr;
210 for (
Int_t i = 0; i <
m; i++) {
211 Int_t sampleIndex = *sampleIterator++;
212 event = std::get<0>(fData)[sampleIndex];
213 for (
Int_t j = 0; j < static_cast<Int_t>(event ? event->GetNVariables() : 0); j++) {
214 matrix(i, j) =
event->GetValue(j);
224 Event *
event =
nullptr;
229 for (
Int_t i = 0; i <
m; i++) {
230 Int_t sampleIndex = *sampleIterator++;
231 event = std::get<0>(fData)[sampleIndex];
232 for (
Int_t j = 0; j <
n; j++) {
234 if (event->GetNTargets() == 0) {
237 matrix(i, j) = (info.
IsSignal(event)) ? 1.0 : 0.0;
241 if (j ==
static_cast<Int_t>(event->GetClass())) {
246 matrix(i, j) =
static_cast<Real_t>(
event->GetTarget(j));
257 Event *
event =
nullptr;
260 Int_t sampleIndex = *sampleIterator++;
261 event = std::get<0>(fData)[sampleIndex];
262 matrix(i, 0) =
event->GetWeight();
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
Class that contains all the data information.
Bool_t IsSignal(const Event *ev) const
typename std::vector< size_t >::iterator IndexIterator_t
create variable transformations