YCrossFit 1.0
A C++/ROOT Library for the analysis of the differential cross section of the Y(1S,2S,3S) resonances in two muons
|
Selection of the data. The data are selected to be two muons of opposite charge with an invariant mass round the mass of the Y resonances. Also it is possible to choose other cuts on the trasverse momentum and the rapidity of the dimuon state. More...
#include "ROOT/RDataFrame.hxx"
#include "TMath.h"
#include "Cuts.h"
#include <filesystem>
#include "TSystem.h"
#include "optionParse.h"
Go to the source code of this file.
Functions | |
ROOT::RDF::RNode | applyFilter (ROOT::RDF::RNode &df_custom_cut, std::string_view filter, std::string_view name) |
Apply custom cuts on a variable given string containing the filter. Print a warning if there are less than 800 events in the cutted dataframe. More... | |
ROOT::RDF::RNode | Cuts (ROOT::RDF::RNode &df, float pmr=std::nanf("1"), float pMr=std::nanf("1"), float ymr=std::nanf("1"), float yMr=std::nanf("1")) |
Apply custom cuts with the function applyFilter() and print a cutt report. More... | |
Selection of the data. The data are selected to be two muons of opposite charge with an invariant mass round the mass of the Y resonances. Also it is possible to choose other cuts on the trasverse momentum and the rapidity of the dimuon state.
ROOT::RDF::RNode applyFilter | ( | ROOT::RDF::RNode & | df_custom_cut, |
std::string_view | filter, | ||
std::string_view | name | ||
) |
Apply custom cuts on a variable given string containing the filter. Print a warning if there are less than 800 events in the cutted dataframe.
df_custom_cut | dataframe to be cutted |
filter | string containing the definition of the filter to apply |
name | string containing the name of the filter |
ROOT::RDF::RNode Cuts | ( | ROOT::RDF::RNode & | df, |
float | pmr = std::nanf("1") , |
||
float | pMr = std::nanf("1") , |
||
float | ymr = std::nanf("1") , |
||
float | yMr = std::nanf("1") |
||
) |
Apply custom cuts with the function applyFilter()
and print a cutt report.
df | dataframe to be cutted |
pmr | lower extreme for the cut on the dimuon trasverse momentum |
pMr | upper extreme for the cut on the dimuon trasverse momentum |
ymr | lower extreme for the cut on the dimuon rapidity (in abs values) |
yMr | upper extreme for the cut on the dimuon rapidity (in abs values) |