Utilities to define new columns on the dataframe.
More...
#include <ROOT/RDataFrame.hxx>
#include <ROOT/RVec.hxx>
#include <Math/Vector4Dfwd.h>
#include <Math/Vector4D.h>
Go to the source code of this file.
|
ROOT::Math::PtEtaPhiMVector | quadrivectot (RVec< float > &pt, RVec< float > &eta, RVec< float > &phi, RVec< float > &mass) |
|
ROOT::Math::PtEtaPhiMVector | quadrivec1 (RVec< float > &pt, RVec< float > &eta, RVec< float > &phi, RVec< float > &mass) |
|
ROOT::Math::PtEtaPhiMVector | quadrivec2 (RVec< float > &pt, RVec< float > &eta, RVec< float > &phi, RVec< float > &mass) |
|
auto | allquantities (ROOT::RDataFrame df) |
|
Utilities to define new columns on the dataframe.
◆ allquantities()
auto allquantities |
( |
ROOT::RDataFrame |
df | ) |
|
Creating all the quantities necessary for the analysis
- Parameters
-
df | Dataframe we need to process |
- Returns
- Dataframe with added column
◆ quadrivec1()
ROOT::Math::PtEtaPhiMVector quadrivec1 |
( |
RVec< float > & |
pt, |
|
|
RVec< float > & |
eta, |
|
|
RVec< float > & |
phi, |
|
|
RVec< float > & |
mass |
|
) |
| |
Creating a fourvector of the first muon
- Parameters
-
pt | Column pt of the dataframe |
eta | Column eta of the dataframe |
phi | Column phi of the dataframe |
mass | Column mass of the dataframe |
- Returns
- First muon fourvector
◆ quadrivec2()
ROOT::Math::PtEtaPhiMVector quadrivec2 |
( |
RVec< float > & |
pt, |
|
|
RVec< float > & |
eta, |
|
|
RVec< float > & |
phi, |
|
|
RVec< float > & |
mass |
|
) |
| |
Creating a fourvector of the second muon
- Parameters
-
pt | Column pt of the dataframe |
eta | Column eta of the dataframe |
phi | Column phi of the dataframe |
mass | Column mass of the dataframe |
- Returns
- Second muon fourvector
◆ quadrivectot()
ROOT::Math::PtEtaPhiMVector quadrivectot |
( |
RVec< float > & |
pt, |
|
|
RVec< float > & |
eta, |
|
|
RVec< float > & |
phi, |
|
|
RVec< float > & |
mass |
|
) |
| |
Creating a fourvector of the dimuon system
- Parameters
-
pt | Column pt of the dataframe |
eta | Column eta of the dataframe |
phi | Column phi of the dataframe |
mass | Column mass of the dataframe |
- Returns
- Dimuon system fourvector