ROOT logo
AliRoot » PWG » MUON » AliAnalysisMuMuBase

class AliAnalysisMuMuBase: public TObject

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~AliAnalysisMuMuBase()
voidTObject::AbstractMethod(const char* method) const
Bool_tAlwaysFalse(const AliVEvent&) const
Bool_tAlwaysFalse(const AliVParticle&) const
Bool_tAlwaysFalse(const AliVParticle&, const AliVParticle&) const
Bool_tAlwaysTrue(const AliVEvent&) const
Bool_tAlwaysTrue(const AliVParticle&) const
Bool_tAlwaysTrue(const AliVParticle&, const AliVParticle&) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidDefineHistogramCollection(const char* eventSelection, const char* triggerClassName, const char* centrality)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual voidDisableHistograms(const char* pattern = "*")
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
AliVEvent*Event() 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
virtual voidFillHistosForEvent(const char*, const char*, const char*)
virtual voidFillHistosForMCEvent(const char*, const char*, const char*)
virtual voidFillHistosForPair(const char*, const char*, const char*, const char*, const AliVParticle&, const AliVParticle&)
virtual voidFillHistosForTrack(const char*, const char*, const char*, const char*, const AliVParticle&)
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()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
Bool_tHasMC() 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
virtual voidInit(AliCounterCollection& cc, AliMergeableCollection& hc, const AliAnalysisMuMuBinning& binning, const AliAnalysisMuMuCutRegistry& cutRegister)
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tIsHistogramDisabled(const char* hname) const
virtual Bool_tIsHistogrammingDisabled() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
AliMCEvent*MCEvent() const
static const char*MCInputPrefix()
voidNameOfAlwaysFalse(TString& name) const
voidNameOfAlwaysTrue(TString& name) 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 voidTObject::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)
virtual voidSetEvent(AliVEvent* event, AliMCEvent* mcEvent = 0x0)
voidSetHistogramCollection(AliMergeableCollection* h)
voidSetMC()
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetRun(const AliInputEventHandler*)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
virtual voidTerminate(Option_t* = "")
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
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:
const AliAnalysisMuMuBinning*Binning() const
AliCounterCollection*CounterCollection() const
voidCreateEventHistos(UInt_t dataType, const char* what, const char* hname, const char* htitle, Int_t nbinsx, Double_t xmin, Double_t xmax, Int_t nbinsy = -1, Double_t ymin = 0.0, Double_t ymax = 0.0) const
voidCreateEventHistos(UInt_t dataType, const char* eventSelection, const char* triggerClassName, const char* centrality, const char* hname, const char* htitle, Int_t nbinsx, Double_t xmin, Double_t xmax, Int_t nbinsy = -1, Double_t ymin = 0.0, Double_t ymax = 0.0) const
voidCreateHistos(const TObjArray& paths, const char* hname, const char* htitle, Int_t nbinsx, Double_t xmin, Double_t xmax, Int_t nbinsy = -1, Double_t ymin = 0.0, Double_t ymax = 0.0) const
voidCreatePairHistos(UInt_t dataType, const char* eventSelection, const char* triggerClassName, const char* centrality, const char* hname, const char* htitle, Int_t nbinsx, Double_t xmin, Double_t xmax, Int_t nbinsy = -1, Double_t ymin = 0.0, Double_t ymax = 0.0) const
voidCreateTrackHistos(UInt_t dataType, const char* eventSelection, const char* triggerClassName, const char* centrality, const char* hname, const char* htitle, Int_t nbinsx, Double_t xmin, Double_t xmax, Int_t nbinsy = -1, Double_t ymin = 0.0, Double_t ymax = 0.0) const
const AliAnalysisMuMuCutRegistry*CutRegistry() const
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
Int_tGetNbins(Double_t xmin, Double_t xmax, Double_t xstep)
TH1*Histo(const char* eventSelection, const char* histoname)
TH1*Histo(const char* eventSelection, const char* triggerClassName, const char* histoname)
TH1*Histo(const char* eventSelection, const char* triggerClassName, const char* cent, const char* histoname)
TH1*Histo(const char* eventSelection, const char* triggerClassName, const char* cent, const char* what, const char* histoname)
AliMergeableCollection*HistogramCollection() const
voidTObject::MakeZombie()
TH1*MCHisto(const char* eventSelection, const char* histoname)
TH1*MCHisto(const char* eventSelection, const char* triggerClassName, const char* histoname)
TH1*MCHisto(const char* eventSelection, const char* triggerClassName, const char* cent, const char* histoname)
TH1*MCHisto(const char* eventSelection, const char* triggerClassName, const char* cent, const char* what, const char* histoname)
TProfile*MCProf(const char* eventSelection, const char* histoname)
TProfile*MCProf(const char* eventSelection, const char* triggerClassName, const char* histoname)
TProfile*MCProf(const char* eventSelection, const char* triggerClassName, const char* cent, const char* histoname)
TProfile*MCProf(const char* eventSelection, const char* triggerClassName, const char* cent, const char* what, const char* histoname)
TProfile*Prof(const char* eventSelection, const char* histoname)
TProfile*Prof(const char* eventSelection, const char* triggerClassName, const char* histoname)
TProfile*Prof(const char* eventSelection, const char* triggerClassName, const char* cent, const char* histoname)
TProfile*Prof(const char* eventSelection, const char* triggerClassName, const char* cent, const char* what, const char* histoname)

Data Members

public:
enum EDataType { kHistoForMCInput
kHistoForData
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
private:
const AliAnalysisMuMuBinning*fBinning! binning for particles
const AliAnalysisMuMuCutRegistry*fCutRegistry! registry of cut combinations
AliVEvent*fEvent! current event
AliCounterCollection*fEventCounters! event counters
Bool_tfHasMCwhether or not we're dealing with MC data
AliMergeableCollection*fHistogramCollection! collection of histograms
TList*fHistogramToDisablelist of regexp of histo name to disable
AliMCEvent*fMCEvent! current MC event

Class Charts

Inheritance Chart:
TObject
AliAnalysisMuMuBase
AliAnalysisMuMuGlobal
AliAnalysisMuMuMinv
AliAnalysisMuMuNch
AliAnalysisMuMuSingle

Function documentation

CreateEventHistos(UInt_t dataType, const char* what, const char* hname, const char* htitle, Int_t nbinsx, Double_t xmin, Double_t xmax, Int_t nbinsy = -1, Double_t ymin = 0.0, Double_t ymax = 0.0) const
 Append histograms at the event level. Depending on dataType the created histograms
   * are for real data only, MC data only, or both

CreateEventHistos(UInt_t dataType, const char* eventSelection, const char* triggerClassName, const char* centrality, const char* hname, const char* htitle, Int_t nbinsx, Double_t xmin, Double_t xmax, Int_t nbinsy = -1, Double_t ymin = 0.0, Double_t ymax = 0.0) const
 Append histograms at the event level. Depending on dataType the created histograms
   * are for real data only, MC data only, or both

CreateHistos(const TObjArray& paths, const char* hname, const char* htitle, Int_t nbinsx, Double_t xmin, Double_t xmax, Int_t nbinsy = -1, Double_t ymin = 0.0, Double_t ymax = 0.0) const
 Create multiple copies of histogram hname, one per path
CreateTrackHistos(UInt_t dataType, const char* eventSelection, const char* triggerClassName, const char* centrality, const char* hname, const char* htitle, Int_t nbinsx, Double_t xmin, Double_t xmax, Int_t nbinsy = -1, Double_t ymin = 0.0, Double_t ymax = 0.0) const
 Create n copies of an histogram (with name=hname, title=htitle, etc..)
 where n = # of track cut combinations defined
 see also CreateHistos
CreatePairHistos(UInt_t dataType, const char* eventSelection, const char* triggerClassName, const char* centrality, const char* hname, const char* htitle, Int_t nbinsx, Double_t xmin, Double_t xmax, Int_t nbinsy = -1, Double_t ymin = 0.0, Double_t ymax = 0.0) const
 Create n copies of an histogram (with name=hname, title=htitle, etc..)
 where n = # of track *pair* cut combinations defined
 see also CreateHistos
void DisableHistograms(const char* pattern = "*")
 Disable the histogramming of all the histograms matching the pattern
Int_t GetNbins(Double_t xmin, Double_t xmax, Double_t xstep)
 Compute number of bins to get a given step between each values in the xmin,xmax range
TH1* Histo(const char* eventSelection, const char* triggerClassName, const char* histoname)
 Get one histo back
TH1* Histo(const char* eventSelection, const char* histoname)
 Get one histo back
TH1* Histo(const char* eventSelection, const char* triggerClassName, const char* cent, const char* histoname)
 Get one histo back
TH1* Histo(const char* eventSelection, const char* triggerClassName, const char* cent, const char* what, const char* histoname)
 Get one histo back
TProfile* Prof(const char* eventSelection, const char* histoname)
 Get one histo profile back
TProfile* Prof(const char* eventSelection, const char* triggerClassName, const char* histoname)
 Get one histo profile back
TProfile* Prof(const char* eventSelection, const char* triggerClassName, const char* cent, const char* histoname)
 Get one histo profile back
TProfile* Prof(const char* eventSelection, const char* triggerClassName, const char* cent, const char* what, const char* histoname)
 Get one histo profile back
void Init(AliCounterCollection& cc, AliMergeableCollection& hc, const AliAnalysisMuMuBinning& binning, const AliAnalysisMuMuCutRegistry& cutRegister)
 Set the internal references
Bool_t IsHistogramDisabled(const char* hname) const
 Whether or not a given histogram (identified by its name)
 is disabled or not
Bool_t IsHistogrammingDisabled() const
 Whether or not *all* histograms are disabled
TH1* MCHisto(const char* eventSelection, const char* triggerClassName, const char* histoname)
 Get one histo back
TH1* MCHisto(const char* eventSelection, const char* histoname)
 Get one histo back
TH1* MCHisto(const char* eventSelection, const char* triggerClassName, const char* cent, const char* histoname)
 Get one histo back
TH1* MCHisto(const char* eventSelection, const char* triggerClassName, const char* cent, const char* what, const char* histoname)
 Get one histo back
TProfile* MCProf(const char* eventSelection, const char* histoname)
 Get one histo profile back
TProfile* MCProf(const char* eventSelection, const char* triggerClassName, const char* histoname)
 Get one histo profile back
TProfile* MCProf(const char* eventSelection, const char* triggerClassName, const char* cent, const char* histoname)
 Get one histo profile back
TProfile* MCProf(const char* eventSelection, const char* triggerClassName, const char* cent, const char* what, const char* histoname)
 Get one histo profile back
void SetEvent(AliVEvent* event, AliMCEvent* mcEvent = 0x0)
 Set pointers to event (and mcEvent)
 This is the place where a sub analysis might (if really needed)
 append things to the event. Please DO NOT alter the original content,
 only add to it. Unless of course you want to shoot yourself in the
 foot...
virtual ~AliAnalysisMuMuBase()
{}
void DefineHistogramCollection(const char* eventSelection, const char* triggerClassName, const char* centrality)
 Define the histograms needed for the path starting at eventSelection/triggerClassName/centrality.
   * This method has to ensure the histogram creation is performed only once !

{}
void FillHistosForMCEvent(const char* , const char* , const char* )
 Fill histograms for one event 
 Fill histograms for one MC event 
{}
void FillHistosForTrack(const char* , const char* , const char* , const char* , const AliVParticle& )
 Fill histograms for one track 
{}
const char* MCInputPrefix()
{ return "MCINPUT" ; }
void SetRun(const AliInputEventHandler* )
 Called at each new run
{}
void Terminate(Option_t* = "")
{}
void SetMC()
{ fHasMC = kTRUE; }
Bool_t HasMC() const
{ return fHasMC; }
Bool_t AlwaysTrue(const AliVEvent& ) const
{ return kTRUE; }
Bool_t AlwaysTrue(const AliVParticle& ) const
{ return kTRUE; }
Bool_t AlwaysTrue(const AliVParticle& , const AliVParticle& ) const
{ return kTRUE; }
void NameOfAlwaysTrue(TString& name) const
{ name = "ALL"; }
Bool_t AlwaysFalse(const AliVEvent& ) const
{ return kFALSE; }
Bool_t AlwaysFalse(const AliVParticle& ) const
{ return kFALSE; }
Bool_t AlwaysFalse(const AliVParticle& , const AliVParticle& ) const
{ return kFALSE; }
void NameOfAlwaysFalse(TString& name) const
{ name = "NONE"; }
void SetHistogramCollection(AliMergeableCollection* h)
AliMergeableCollection* HistogramCollection() const
AliAnalysisMuMuBase& operator=(const AliAnalysisMuMuBase& rhs)
 not implemented on purpose