Example of converting data stored in a TTree into an RNTuple
constexpr char const *
kTreeFileName =
"http://root.cern.ch/files/HiggsTauTauReduced/GluGluToHToTauTau.root";
{
if (!file || file->IsZombie()) {
return;
}
df.Histo1D({"Jet_pt", "Jet_pt", 100, 0, 0}, "Jet_pt")->DrawCopy();
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TSystem * gSystem
Converts a TTree into an RNTuple.
An RNTuple that is used to read data from storage.
ROOT's RDataFrame offers a modern, high-level interface for analysis of data stored in TTree ,...
Representation of an RNTuple data set in a ROOT file.
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
virtual int Unlink(const char *name)
Unlink, i.e.
void EnableImplicitMT(UInt_t numthreads=0)
Enable ROOT's implicit multi-threading for all objects and methods that provide an internal paralleli...
- Date
- December 2022
- Author
- The ROOT Team
Definition in file ntpl008_import.C.