AliPhysics  9c66e61 (9c66e61)
AliDJetVReader.h
Go to the documentation of this file.
1 
13 #ifndef ALIDJETVREADER_H
14 #define ALIDJETVREADER_H
15 
16 /* Copyright(c) 1998-2017, ALICE Experiment at CERN, All rights reserved. *
17  * See cxx source for full Copyright notice */
18 
19 #include <TObject.h>
20 
27 class AliDJetVReader : public TObject {
28 
29 public:
30 
32  AliDJetVReader(const AliDJetVReader &source);
33  virtual ~AliDJetVReader();
34 
36  void SetMassRebin(UInt_t r) { fMassRebin = r > 0 ? r : 1; }
38 
39  UInt_t GetMassRebin() const { return fMassRebin; }
40 
41  void SetDmesonPtBins(Int_t nbins=0, Double_t* ptedges=0x0);
42  void SetJetPtBins(Int_t nbins=0, Double_t* ptedges=0x0);
43  void SetJetzBins(Int_t nbins=0, Double_t* zedges=0x0);
44  void SetDmesonEfficiency(Double_t* effvalues=0x0);
45 
48 
49  TH1D* GetMassPlot() { return fMassPlot ; }
52 
53 protected:
65 
69 
70 private:
71  ClassDef(AliDJetVReader,3);
72 };
73 
74 #endif
virtual Bool_t ExtractInputMassPlotEffScale()=0
void SetJetzBins(Int_t nbins=0, Double_t *zedges=0x0)
double Double_t
Definition: External.C:58
Double_t fpTmax
pT upper edge of mass plot to evaluate variations of yields
virtual Bool_t ExtractInputMassPlotSideband()=0
void SetJetPtBins(Int_t nbins=0, Double_t *ptedges=0x0)
virtual ~AliDJetVReader()
Double_t * fJetzBinEdges
Jet z bin edges to be used for spectrum.
UInt_t GetMassRebin() const
Double_t * fDbinpTedges
D-meson pt bin edges values.
TH2D * GetMassVsJetPtPlot()
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
Int_t fnJetPtbins
Number of jet pT bins to be used for spectrum.
int Int_t
Definition: External.C:63
Double_t * fDEffValues
D-meson efficiency values.
unsigned int UInt_t
Definition: External.C:33
const Double_t ptmax
Bool_t fEfficiencyWeightSB
If true the efficiency is applied as a weight in the inv mass distribution also in the side-band meth...
Definition: External.C:228
Definition: External.C:212
const Double_t ptmin
Int_t fnDbins
Number of D-meson pT bins (for eff scaling)
void SetEfficiencyWeightSB(Bool_t b)
Double_t fpTmin
pT lower edge of mass plot to evaluate variations of yields
UInt_t fMassRebin
Rebin the mass histogram axis.
void SetMassRebin(UInt_t r)
void SetDmesonEfficiency(Double_t *effvalues=0x0)
TH1D * GetMassPlot()
const Int_t nbins
TH2D * fMassVsJetPtPlot
!Mass vs jet pt (SB method)
bool Bool_t
Definition: External.C:53
void SetPtBinEdgesForMassPlot(Double_t ptmin, Double_t ptmax)
void SetDmesonPtBins(Int_t nbins=0, Double_t *ptedges=0x0)
Double_t * fJetPtBinEdges
Jet pT bin edges to be used for spectrum.
TH2D * GetMassVsJetzPlot()
TH2D * fMassVsJetzPlot
!Mass vs jet z (SB method)