33   auto fldVpx = model->MakeField<std::vector<float>>(
"vpx");
 
   34   auto fldVpy = model->MakeField<std::vector<float>>(
"vpy");
 
   35   auto fldVpz = model->MakeField<std::vector<float>>(
"vpz");
 
   36   auto fldN = model->MakeField<
float>(
"n");
 
   48      for (
int j = 0; 
j < *
fldN; ++
j) {
 
   51         pz = px * px + py * py;
 
   70   for (
const auto &
value : 
reader->GetModel().GetDefaultEntry()) {
 
   72      if (
value.GetField().GetFieldName() == 
"n")
 
   76      const std::string 
newName = 
"skim_" + 
value.GetField().GetFieldName();
 
   87   auto hSkip = 
new TH1F(
"h", 
"distribution of skipped entries", 10, 0, 10);
 
   88   auto ptrN = 
reader->GetModel().GetDefaultEntry().GetPtr<
float>(
"n");
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
 
R__EXTERN TRandom * gRandom
 
static std::unique_ptr< RNTupleModel > Create()
 
static std::unique_ptr< RNTupleReader > Open(std::string_view ntupleName, std::string_view storage, const ROOT::RNTupleReadOptions &options=ROOT::RNTupleReadOptions())
Open an RNTuple for reading.
 
static std::unique_ptr< RNTupleWriter > Recreate(std::unique_ptr< ROOT::RNTupleModel > model, std::string_view ntupleName, std::string_view storage, const ROOT::RNTupleWriteOptions &options=ROOT::RNTupleWriteOptions())
Creates an RNTupleWriter backed by storage, overwriting it if one with the same URI exists.
 
1-D histogram with a float per channel (see TH1 documentation)
 
virtual void SetSeed(ULong_t seed=0)
Set the random generator seed.
 
Double_t Rndm() override
Machine independent random number generator.
 
virtual void Rannor(Float_t &a, Float_t &b)
Return 2 numbers distributed following a gaussian with mean=0 and sigma=1.