20 #include <Riostream.h> 74 Printf(
"Generating the chain...");
77 chain->Add(fname.c_str());
87 std::cout <<
"Extracting input mass plot: " <<
fpTmin <<
" to " <<
fpTmax << std::endl;
91 std::cout <<
"Error in setting the tree/branch names! Exiting..." << std::endl;
104 for (
int k = 0; k < tree->GetEntries(); k++) {
106 if (brJet->
fEta < -0.5 || brJet->
fEta >= 0.5)
continue;
122 std::cout <<
"Extracting input mass plot: " <<
fpTmin <<
" to " <<
fpTmax << std::endl;
126 std::cout <<
"Error in setting the tree/branch names! Exiting..." << std::endl;
151 " do not include the current bin " <<
fpTmin <<
", " <<
fpTmax << std::endl;
155 for (
int k = 0; k < tree->GetEntries(); k++) {
157 if (brJet->
fEta < -0.5 || brJet->
fEta >= 0.5)
continue;
Double32_t fZ
Z of the D meson.
Double_t fpTmax
pT upper edge of mass plot to evaluate variations of yields
Double_t * fJetzBinEdges
Jet z bin edges to be used for spectrum.
Lightweight class that encapsulates D meson jets.
virtual ~AliDJetTTreeReader()
std::vector< std::string > fInputFileNames
Name of input file.
Double32_t fInvMass
Invariant mass of the D0 meson candidate in GeV/c2.
Double_t * fDbinpTedges
D-meson pt bin edges values.
Implementation of an abstract class to read the invariant mass histograms used to extract the raw yie...
Int_t fnJetzbins
Number of jet z bins to be used for spectrum.
TH1D * fMassPlot
!Mass spectra to be fitted
Double32_t fPt
Transverse momentum of the jet in GeV/c.
Double_t fmassmin
Mass lower edge of inv.mass plots.
TString fDBranchName
Name of input branch for D meson.
Int_t fnJetPtbins
Number of jet pT bins to be used for spectrum.
Double32_t fPt
Transverse momentum of the D meson in GeV/c.
Double_t * fDEffValues
D-meson efficiency values.
Double_t fmasswidth
Mass plots bin width.
Bool_t fEfficiencyWeightSB
If true the efficiency is applied as a weight in the inv mass distribution also in the side-band meth...
Int_t fnDbins
Number of D-meson pT bins (for eff scaling)
TString fTreeName
Name of input TTree.
Declaration of class AliDJetTTreeReader.
Double_t fpTmin
pT lower edge of mass plot to evaluate variations of yields
Bool_t ExtractInputMassPlotEffScale()
UInt_t fMassRebin
Rebin the mass histogram axis.
Implementation of an abstract class to read the invariant mass histograms used to extract the raw yie...
TString fJetBranchName
Name of input branch for jet.
Double_t fmassmax
Mass upper edge of inv.mass plots.
Double32_t fEta
Eta of the jet.
Bool_t ExtractInputMassPlotSideband()
TH2D * fMassVsJetPtPlot
!Mass vs jet pt (SB method)
Double_t * fJetPtBinEdges
Jet pT bin edges to be used for spectrum.
Lightweight class that encapsulates D0.
TH2D * fMassVsJetzPlot
!Mass vs jet z (SB method)