Study of the CMS Monte Carlo and Run open data for the dimuon system  1.0
A C++ software for the measurement of the Z resonance, the angle of the negative muon in the Collins–Soper frame of the dimuon system and the forward-backward asymmetry of Drell–Yan events in pp collisions at 8 TeV
utilities.h File Reference

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>
Include dependency graph for utilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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)
 

Detailed Description

Utilities to define new columns on the dataframe.

Function Documentation

◆ allquantities()

auto allquantities ( ROOT::RDataFrame  df)

Creating all the quantities necessary for the analysis

Parameters
dfDataframe 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
ptColumn pt of the dataframe
etaColumn eta of the dataframe
phiColumn phi of the dataframe
massColumn 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
ptColumn pt of the dataframe
etaColumn eta of the dataframe
phiColumn phi of the dataframe
massColumn 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
ptColumn pt of the dataframe
etaColumn eta of the dataframe
phiColumn phi of the dataframe
massColumn mass of the dataframe
Returns
Dimuon system fourvector