ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
xAODDataSource
Root
MakeDataFrame.cxx
Go to the documentation of this file.
1
//
2
// Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
//
4
5
// Local include(s).
6
#include "
xAODDataSource/MakeDataFrame.h
"
7
8
#include "
RDataSource.h
"
9
10
// System include(s).
11
#include <memory>
12
13
namespace
xAOD
{
14
15
ROOT::RDataFrame
MakeDataFrame
(std::string_view fileNameGlob,
16
std::string_view treeName,
bool
verboseOutput,
17
TEvent::EAuxMode
auxmode) {
18
19
auto
source = std::make_unique<RDataSource>(fileNameGlob, treeName);
20
source->setVerboseOutput(verboseOutput);
21
source->setAuxMode(auxmode);
22
return
ROOT::RDataFrame(std::move(source));
23
}
24
25
ROOT::RDataFrame
MakeDataFrame
(
const
std::vector<std::string>& fileNames,
26
std::string_view treeName,
bool
verboseOutput,
27
TEvent::EAuxMode
auxmode) {
28
29
auto
source = std::make_unique<RDataSource>(fileNames, treeName);
30
source->setVerboseOutput(verboseOutput);
31
source->setAuxMode(auxmode);
32
return
ROOT::RDataFrame(std::move(source));
33
}
34
35
}
// namespace xAOD
MakeDataFrame.h
RDataSource.h
xAOD::TEvent::EAuxMode
EAuxMode
Auxiliary store "mode".
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:71
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::MakeDataFrame
ROOT::RDataFrame MakeDataFrame(std::string_view fileNameGlob, std::string_view treeName, bool verboseOutput, TEvent::EAuxMode auxmode)
Helper function for creating an xAOD reading data frame.
Definition
MakeDataFrame.cxx:15
Generated on
for ATLAS Offline Software by
1.17.0