AliPhysics  63e47e1 (63e47e1)
AliDJetTHnReader Class Reference

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

#include <AliDJetTHnReader.h>

Inheritance diagram for AliDJetTHnReader:

Public Member Functions

 AliDJetTHnReader ()
 
 AliDJetTHnReader (const AliDJetTHnReader &source)
 
virtual ~AliDJetTHnReader ()
 
void SetInputFilename (TString filename)
 
void SetInputDirname (TString dirname)
 
void SetInputListname (TString listname)
 
void SetInputObjectname (TString objname)
 
Bool_t ExtractInputMassPlotEffScale ()
 
Bool_t ExtractInputMassPlotSideband ()
 
- Public Member Functions inherited from AliDJetVReader
 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)
 
TH1DGetMassPlot ()
 
TH2DGetMassVsJetPtPlot ()
 
TH2DGetMassVsJetzPlot ()
 

Protected Attributes

TString fFileNameInput
 Name of input file. More...
 
TString fDirName
 Name of input directory in the root file. More...
 
TString fListName
 Name of input list. More...
 
TString fObjectName
 Name of input container to extract the mass plot. More...
 
TFile * fFileInput
 !File containing the task output More...
 
- Protected Attributes inherited from AliDJetVReader
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. This implementation takes a THn histogram as input.

Definition at line 34 of file AliDJetTHnReader.h.

Constructor & Destructor Documentation

AliDJetTHnReader::AliDJetTHnReader ( )

Default constructor.

Definition at line 34 of file AliDJetTHnReader.cxx.

AliDJetTHnReader::AliDJetTHnReader ( const AliDJetTHnReader source)

Copy constructor.

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

Definition at line 48 of file AliDJetTHnReader.cxx.

AliDJetTHnReader::~AliDJetTHnReader ( )
virtual

Destructor

Definition at line 61 of file AliDJetTHnReader.cxx.

Member Function Documentation

Bool_t AliDJetTHnReader::ExtractInputMassPlotEffScale ( )
virtual

Extract the input mass plots for the efficiency scaled method.

Implements AliDJetVReader.

Definition at line 68 of file AliDJetTHnReader.cxx.

Referenced by SetInputObjectname().

Bool_t AliDJetTHnReader::ExtractInputMassPlotSideband ( )
virtual

Extract the input mass plots for the side band method.

Implements AliDJetVReader.

Definition at line 109 of file AliDJetTHnReader.cxx.

Referenced by SetInputObjectname().

void AliDJetTHnReader::SetInputDirname ( TString  dirname)
inline

Definition at line 42 of file AliDJetTHnReader.h.

void AliDJetTHnReader::SetInputFilename ( TString  filename)
inline

Definition at line 41 of file AliDJetTHnReader.h.

void AliDJetTHnReader::SetInputListname ( TString  listname)
inline

Definition at line 43 of file AliDJetTHnReader.h.

void AliDJetTHnReader::SetInputObjectname ( TString  objname)
inline

Definition at line 44 of file AliDJetTHnReader.h.

Member Data Documentation

TString AliDJetTHnReader::fDirName
protected

Name of input directory in the root file.

Definition at line 52 of file AliDJetTHnReader.h.

Referenced by ExtractInputMassPlotEffScale(), ExtractInputMassPlotSideband(), and SetInputDirname().

TFile* AliDJetTHnReader::fFileInput
protected

!File containing the task output

Definition at line 55 of file AliDJetTHnReader.h.

Referenced by ExtractInputMassPlotEffScale(), and ExtractInputMassPlotSideband().

TString AliDJetTHnReader::fFileNameInput
protected

Name of input file.

Definition at line 51 of file AliDJetTHnReader.h.

Referenced by SetInputFilename().

TString AliDJetTHnReader::fListName
protected

Name of input list.

Definition at line 53 of file AliDJetTHnReader.h.

Referenced by ExtractInputMassPlotEffScale(), ExtractInputMassPlotSideband(), and SetInputListname().

TString AliDJetTHnReader::fObjectName
protected

Name of input container to extract the mass plot.

Definition at line 54 of file AliDJetTHnReader.h.

Referenced by ExtractInputMassPlotEffScale(), ExtractInputMassPlotSideband(), and SetInputObjectname().


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