ROOT logo
AliRoot » PWGDQ » DIELECTRON » AliDielectronHF

class AliDielectronHF: public TNamed

Dielectron HF



Detailed description





Function Members (Methods)

public:
AliDielectronHF()
AliDielectronHF(const char* name, const char* title)
virtual~AliDielectronHF()
voidTObject::AbstractMethod(const char* method) const
voidAddCutVariable(AliDielectronVarManager::ValueTypes type, const char* binLimitStr, Bool_t leg = kFALSE, AliDielectronHF::EBinType btype = kStdBin)
voidAddCutVariable(AliDielectronVarManager::ValueTypes type, TVectorD* binLimits, Bool_t leg = kFALSE, AliDielectronHF::EBinType btype = kStdBin)
voidAddCutVariable(AliDielectronVarManager::ValueTypes type, Int_t nbins, Double_t min, Double_t max, Bool_t log = kFALSE, Bool_t leg = kFALSE, AliDielectronHF::EBinType btype = kStdBin)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
voidFill(Int_t pairIndex, const AliDielectronPair* particle)
voidFill(Int_t label1, Int_t label2, Int_t nSignal)
voidFill(Int_t Index, Double_t *const valuesPair, Double_t *const valuesLeg1, Double_t *const valuesLeg2)
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
const TObjArray*GetHistArray() const
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
Int_tGetNumberOfBins() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Bool_tGetStepForMCGenerated() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
voidInit()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
Bool_tIsEventArray() const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
Bool_tIsPairTypeSelected(Int_t itype)
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetEventArray(Bool_t switcher = kTRUE)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetPairTypes(AliDielectronHF::EPairType ptype)
voidSetSignalsMC(TObjArray* array)
voidSetStepForMCGenerated(Bool_t switcher = kTRUE)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
voidUserHistogram(const char* histClass, const TVectorD *const binsX, UInt_t valTypeX, UInt_t valTypeW = AliDielectronHistos::kNoWeights)
voidUserHistogram(const char* histClass, const TVectorD *const binsX, const TVectorD *const binsY, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeW = AliDielectronHistos::kNoWeights)
voidUserHistogram(const char* histClass, const TVectorD *const binsX, const TVectorD *const binsY, const TVectorD *const binsZ, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeZ, UInt_t valTypeW = AliDielectronHistos::kNoWeights)
voidUserProfile(const char* histClass, UInt_t valTypeP, const TVectorD *const binsX, UInt_t valTypeX, TString option = "", UInt_t valTypeW = AliDielectronHistos::kNoWeights)
voidUserProfile(const char* histClass, UInt_t valTypeP, const TVectorD *const binsX, const TVectorD *const binsY, UInt_t valTypeX, UInt_t valTypeY, TString option = "", UInt_t valTypeW = AliDielectronHistos::kNoWeights)
voidUserProfile(const char* histClass, UInt_t valTypeP, const TVectorD *const binsX, const TVectorD *const binsY, const TVectorD *const binsZ, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeZ, TString option = "", UInt_t valTypeW = AliDielectronHistos::kNoWeights)
voidUserSparse(const char* histClass, Int_t ndim, TObjArray* limits, UInt_t* vars, UInt_t valTypeW = AliDielectronHistos::kNoWeights)
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum { kMaxCuts
};
enum EBinType { kStdBin
kBinToMax
kBinFromMin
kSymBin
};
enum EPairType { kAll
kMConly
kSeAll
kSeOnlyOS
kMeAll
kMeOnlyOS
kSeMeAll
kSeMeOnlyOS
kSeReAll
kSeReOnlyOS
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
private:
TObjArrayfArrPairType-> array of pair types
TObjArrayfAxesAxis descriptions of the cut binning
UShort_tfBinType[20]binning type of the axes
Bool_tfEventArrayswitch OFF pair types and ON event array
Bool_tfHasMCis mc array
AliDielectronHF::EPairTypefPairTypewhich pair combinations to include
TObjArrayfRefObjreference object
TObjArray*fSignalsMC! array of MC signals to be studied
Bool_tfStepGeneratedswitcher for generated particles
TBits*fUsedVarslist of used variables
TBits*fVarCutTypearray to store leg booleans
UShort_tfVarCuts[20]cut variables

Class Charts

Inheritance Chart:
TNamed
AliDielectronHF

Function documentation

AliDielectronHF()
 Default Constructor

AliDielectronHF(const char* name, const char* title)
 Named Constructor

~AliDielectronHF()
 Default Destructor

void UserProfile(const char* histClass, UInt_t valTypeP, const TVectorD *const binsX, UInt_t valTypeX, TString option = "", UInt_t valTypeW = AliDielectronHistos::kNoWeights)
 Histogram creation 1D case with arbitraty binning X
 the TVectorD is assumed to be surplus after the creation and will be deleted!!!

void UserProfile(const char* histClass, UInt_t valTypeP, const TVectorD *const binsX, const TVectorD *const binsY, UInt_t valTypeX, UInt_t valTypeY, TString option = "", UInt_t valTypeW = AliDielectronHistos::kNoWeights)
 Histogram creation 2D case with arbitraty binning X and Y
 the TVectorD is assumed to be surplus after the creation and will be deleted!!!

void UserProfile(const char* histClass, UInt_t valTypeP, const TVectorD *const binsX, const TVectorD *const binsY, const TVectorD *const binsZ, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeZ, TString option = "", UInt_t valTypeW = AliDielectronHistos::kNoWeights)
 Histogram creation 3D case with arbitraty binning X, Y, Z
 the TVectorD is assumed to be surplus after the creation and will be deleted!!!

void UserSparse(const char* histClass, Int_t ndim, TObjArray* limits, UInt_t* vars, UInt_t valTypeW = AliDielectronHistos::kNoWeights)
 THnSparse creation with non-linear binning

void AddCutVariable(AliDielectronVarManager::ValueTypes type, Int_t nbins, Double_t min, Double_t max, Bool_t log = kFALSE, Bool_t leg = kFALSE, AliDielectronHF::EBinType btype = kStdBin)
 Add a variable to the mixing handler

void AddCutVariable(AliDielectronVarManager::ValueTypes type, const char* binLimitStr, Bool_t leg = kFALSE, AliDielectronHF::EBinType btype = kStdBin)
 Add a variable to the mixing handler with arbitrary binning

void AddCutVariable(AliDielectronVarManager::ValueTypes type, TVectorD* binLimits, Bool_t leg = kFALSE, AliDielectronHF::EBinType btype = kStdBin)
 Add a variable to the mixing handler with a vector
 the TVectorD is assumed to be surplus after the creation and will be deleted!!!

void Fill(Int_t label1, Int_t label2, Int_t nSignal)
 fill the pure MC part of the container starting from a pair of 2 particles (part1 and part2 are legs)

 fill only if we have asked for these steps
void Fill(Int_t pairIndex, const AliDielectronPair* particle)
 fill histograms for event, pair and daughter cuts and pair types

void Fill(Int_t Index, Double_t *const valuesPair, Double_t *const valuesLeg1, Double_t *const valuesLeg2)
 main fill function using index and values as input

void Init()
 initialise event buffers

Int_t GetNumberOfBins() const
 return the number of bins this histogram grid has

Bool_t IsPairTypeSelected(Int_t itype)
 check whether a pair type was selected
 TODO: cross check or replace by mixinghandlers processsing
AliDielectronHF()
void SetSignalsMC(TObjArray* array)
{fSignalsMC = array;}
void SetStepForMCGenerated(Bool_t switcher = kTRUE)
{fStepGenerated = switcher;}
void SetPairTypes(AliDielectronHF::EPairType ptype)
{ fPairType=ptype; }
void SetEventArray(Bool_t switcher = kTRUE)
{fEventArray=switcher;}
void UserHistogram(const char* histClass, const TVectorD *const binsX, UInt_t valTypeX, UInt_t valTypeW = AliDielectronHistos::kNoWeights)
{ UserProfile(histClass,AliDielectronHistos::kNoProfile,binsX,valTypeX,"",valTypeW); }
void UserHistogram(const char* histClass, const TVectorD *const binsX, const TVectorD *const binsY, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeW = AliDielectronHistos::kNoWeights)
{ UserProfile(histClass,AliDielectronHistos::kNoProfile,binsX,binsY,valTypeX,valTypeY,"",valTypeW); }
void UserHistogram(const char* histClass, const TVectorD *const binsX, const TVectorD *const binsY, const TVectorD *const binsZ, UInt_t valTypeX, UInt_t valTypeY, UInt_t valTypeZ, UInt_t valTypeW = AliDielectronHistos::kNoWeights)
{ UserProfile(histClass,AliDielectronHistos::kNoProfile,binsX,binsY,binsZ,valTypeX,valTypeY,valTypeZ,"",valTypeW); }
const TObjArray * GetHistArray() const
{ return &fArrPairType; }
Bool_t GetStepForMCGenerated() const
{ return fStepGenerated; }
Bool_t IsEventArray() const
{ return fEventArray; }
AliDielectronHF & operator=(const AliDielectronHF& c)