24 const double M = 0.13957;
29 const auto nPart =
R.Poisson(15);
32 const auto px =
R.Gaus(0, 10);
33 const auto py =
R.Gaus(0, 10);
34 const auto pt = sqrt(px * px + py * py);
35 const auto eta =
R.Uniform(-3, 3);
36 const auto phi =
R.Uniform(0.0, 2 *
TMath::Pi());
39 auto E = sqrt(
vcyl.R() *
vcyl.R() + M * M);
54 auto fileName =
"df002_dataModel.root";
68 std::cout << *
nentries <<
" passed all filters" << std::endl;
85 .Define(
"tracks_pts",
getPt)
88 auto trN =
augmented_d.Histo1D({
"",
"", 40, -.5, 39.5},
"tracks_n");
#define R(a, b, c, d, e, f, g, h, i)
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 char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
ROOT's RDataFrame offers a modern, high-level interface for analysis of data stored in TTree ,...
A "std::vector"-like collection of values implementing handy operation to analyse them.
Random number generator class based on M.
auto Map(Args &&... args)
Create new collection applying a callable to the elements of the input collection.
RVec< T > Filter(const RVec< T > &v, F &&f)
Create a new collection with the elements passing the filter expressed by the predicate.
DisplacementVector3D< CylindricalEta3D< double >, DefaultCoordinateSystemTag > RhoEtaPhiVector
3D Vector based on the eta based cylindrical coordinates rho, eta, phi in double precision.
LorentzVector< PxPyPzE4D< double > > XYZTVector
LorentzVector based on x,y,x,t (or px,py,pz,E) coordinates in double precision with metric (-,...
constexpr Double_t E()
Base of natural log: .