AliPhysics  1976924 (1976924)
AliDJetVReader Class Referenceabstract

Implementation of an abstract class to read the invariant mass histograms used to extract the raw yield. More...

#include <AliDJetVReader.h>

Inheritance diagram for AliDJetVReader:

Public Member Functions

 AliDJetVReader ()
 
 AliDJetVReader (const AliDJetVReader &source)
 
virtual ~AliDJetVReader ()
 
void SetPtBinEdgesForMassPlot (Double_t ptmin, Double_t ptmax)
 
void SetMassRebin (UInt_t r)
 
void SetEfficiencyWeightSB (Bool_t b)
 
UInt_t GetMassRebin () const
 
void SetDmesonPtBins (Int_t nbins=0, Double_t *ptedges=0x0)
 
void SetJetPtBins (Int_t nbins=0, Double_t *ptedges=0x0)
 
void SetJetzBins (Int_t nbins=0, Double_t *zedges=0x0)
 
void SetDmesonEfficiency (Double_t *effvalues=0x0)
 
virtual Bool_t ExtractInputMassPlotEffScale ()=0
 
virtual Bool_t ExtractInputMassPlotSideband ()=0
 
TH1DGetMassPlot ()
 
TH2DGetMassVsJetPtPlot ()
 
TH2DGetMassVsJetzPlot ()
 

Protected Attributes

Double_t fpTmin
 pT lower edge of mass plot to evaluate variations of yields More...
 
Double_t fpTmax
 pT upper edge of mass plot to evaluate variations of yields More...
 
Int_t fnDbins
 Number of D-meson pT bins (for eff scaling) More...
 
Double_tfDbinpTedges
 D-meson pt bin edges values. More...
 
Int_t fnJetPtbins
 Number of jet pT bins to be used for spectrum. More...
 
Double_tfJetPtBinEdges
 Jet pT bin edges to be used for spectrum. More...
 
Int_t fnJetzbins
 Number of jet z bins to be used for spectrum. More...
 
Double_tfJetzBinEdges
 Jet z bin edges to be used for spectrum. More...
 
Double_tfDEffValues
 D-meson efficiency values. More...
 
UInt_t fMassRebin
 Rebin the mass histogram axis. More...
 
Bool_t fEfficiencyWeightSB
 If true the efficiency is applied as a weight in the inv mass distribution also in the side-band method (this is always the case for the inv.mass fit method in jet pt bins) More...
 
TH1DfMassPlot
 !Mass spectra to be fitted More...
 
TH2DfMassVsJetPtPlot
 !Mass vs jet pt (SB method) More...
 
TH2DfMassVsJetzPlot
 !Mass vs jet z (SB method) More...
 

Detailed Description

Implementation of an abstract class to read the invariant mass histograms used to extract the raw yield.

Implementation of an abstract class to read the invariant mass histograms used to extract the raw yield.

Definition at line 27 of file AliDJetVReader.h.

Constructor & Destructor Documentation

AliDJetVReader::AliDJetVReader ( )

Default constructor.

Definition at line 42 of file AliDJetVReader.cxx.

AliDJetVReader::AliDJetVReader ( const AliDJetVReader source)

Copy constructor.

Parameters
[in]sourceConst reference to an object to copy from

Definition at line 65 of file AliDJetVReader.cxx.

AliDJetVReader::~AliDJetVReader ( )
virtual

Destructor

Definition at line 104 of file AliDJetVReader.cxx.

Member Function Documentation

virtual Bool_t AliDJetVReader::ExtractInputMassPlotEffScale ( )
pure virtual

Implemented in AliDJetTTreeReader, and AliDJetTHnReader.

Referenced by GetMassRebin().

virtual Bool_t AliDJetVReader::ExtractInputMassPlotSideband ( )
pure virtual

Implemented in AliDJetTTreeReader, and AliDJetTHnReader.

Referenced by GetMassRebin().

TH1D* AliDJetVReader::GetMassPlot ( )
inline

Definition at line 49 of file AliDJetVReader.h.

UInt_t AliDJetVReader::GetMassRebin ( ) const
inline

Definition at line 39 of file AliDJetVReader.h.

TH2D* AliDJetVReader::GetMassVsJetPtPlot ( )
inline

Definition at line 50 of file AliDJetVReader.h.

TH2D* AliDJetVReader::GetMassVsJetzPlot ( )
inline

Definition at line 51 of file AliDJetVReader.h.

void AliDJetVReader::SetDmesonEfficiency ( Double_t effvalues = 0x0)

Set the efficiency values in bins of D meson pt

Parameters
[in]sigmafixValues of the efficiency

Definition at line 166 of file AliDJetVReader.cxx.

Referenced by GetMassRebin().

void AliDJetVReader::SetDmesonPtBins ( Int_t  nbins = 0,
Double_t ptedges = 0x0 
)

Set the D meson pt bins

Parameters
[in]nbinsNumber of pt bins
[in]ptedgesEdges of the pt bins

Definition at line 116 of file AliDJetVReader.cxx.

Referenced by GetMassRebin().

void AliDJetVReader::SetEfficiencyWeightSB ( Bool_t  b)
inline

Definition at line 37 of file AliDJetVReader.h.

void AliDJetVReader::SetJetPtBins ( Int_t  nbins = 0,
Double_t ptedges = 0x0 
)

Set the jet pt bins

Parameters
[in]nbinsNumber of pt bins
[in]ptedgesEdges of the pt bins

Definition at line 133 of file AliDJetVReader.cxx.

Referenced by GetMassRebin().

void AliDJetVReader::SetJetzBins ( Int_t  nbins = 0,
Double_t zedges = 0x0 
)

Set the jet z bins

Parameters
[in]nbinsNumber of pt bins
[in]zedgesEdges of the pt bins

Definition at line 150 of file AliDJetVReader.cxx.

Referenced by GetMassRebin().

void AliDJetVReader::SetMassRebin ( UInt_t  r)
inline

Definition at line 36 of file AliDJetVReader.h.

void AliDJetVReader::SetPtBinEdgesForMassPlot ( Double_t  ptmin,
Double_t  ptmax 
)
inline

Definition at line 35 of file AliDJetVReader.h.

Member Data Documentation

Bool_t AliDJetVReader::fEfficiencyWeightSB
protected

If true the efficiency is applied as a weight in the inv mass distribution also in the side-band method (this is always the case for the inv.mass fit method in jet pt bins)

Definition at line 64 of file AliDJetVReader.h.

Referenced by AliDJetTTreeReader::ExtractInputMassPlotSideband(), and SetEfficiencyWeightSB().

Double_t* AliDJetVReader::fJetPtBinEdges
protected

Jet pT bin edges to be used for spectrum.

Definition at line 59 of file AliDJetVReader.h.

Referenced by AliDJetVReader(), AliDJetTTreeReader::ExtractInputMassPlotSideband(), and SetJetPtBins().

Double_t* AliDJetVReader::fJetzBinEdges
protected
TH2D* AliDJetVReader::fMassVsJetPtPlot
protected
TH2D* AliDJetVReader::fMassVsJetzPlot
protected

!Mass vs jet z (SB method)

Definition at line 68 of file AliDJetVReader.h.

Referenced by AliDJetTTreeReader::ExtractInputMassPlotSideband(), GetMassVsJetzPlot(), and ~AliDJetVReader().

Int_t AliDJetVReader::fnJetPtbins
protected

Number of jet pT bins to be used for spectrum.

Definition at line 58 of file AliDJetVReader.h.

Referenced by AliDJetVReader(), AliDJetTTreeReader::ExtractInputMassPlotSideband(), and SetJetPtBins().

Int_t AliDJetVReader::fnJetzbins
protected

The documentation for this class was generated from the following files: