ROOT logo
AliRoot » PWG » MUON » AliMuonEventCuts

class AliMuonEventCuts: public AliAnalysisCuts

Function Members (Methods)

public:
AliMuonEventCuts()
AliMuonEventCuts(const AliMuonEventCuts& obj)
AliMuonEventCuts(const char* name, const char* title)
virtual~AliMuonEventCuts()
voidTObject::AbstractMethod(const char* method) const
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
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TList*GetAllSelectedTrigClasses() const
AliAnalysisUtils*GetAnalysisUtils()
Double_tGetCentrality(const AliVEvent* event) const
TAxis*GetCentralityClasses() const
TStringGetCentralityEstimator() const
TStringGetDefaultTrigClassPatterns() const
TStringGetDefaultTrigInputsMap() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual UInt_tAliAnalysisCuts::GetFilterMask() const
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual TList*AliAnalysisCuts::GetOutput()
const TObjArray*GetSelectedTrigClassesInEvent(const AliVEvent* event)
const TObjArray*GetSelectedTrigClassesInEvent(const TString& firedTriggerClasses, UInt_t l0Inputs, UInt_t l1Inputs, UInt_t l2Inputs)
virtual UInt_tGetSelectionMask(const TObject* obj)
virtual TObject*AliAnalysisCuts::GetStatistics(Option_t*) const
virtual const char*TNamed::GetTitle() const
TArrayIGetTrigClassPtCutLevel(TString trigClassName) const
UInt_tGetTriggerInputBitMaskFromInputName(const char* inputName) const
virtual UInt_tTObject::GetUniqueID() const
Int_tGetVertexMinNContributors() const
Double_tGetVertexVzMax() const
Double_tGetVertexVzMin() 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
virtual voidAliAnalysisCuts::Init()
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
Bool_tTObject::IsOnHeap() const
virtual Bool_tIsSelected(TObject* obj)
virtual Bool_tIsSelected(TList*)
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Long64_tAliAnalysisCuts::Merge(TCollection*)
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)
AliMuonEventCuts&operator=(const AliMuonEventCuts& obj)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(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 = "")
virtual UInt_tAliAnalysisCuts::Selected() const
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetCentralityClasses(Int_t nCentralityBins = -1, Double_t* centralityBins = 0x0)
voidSetCentralityEstimator(TString centralityEstimator = "V0M")
voidSetDefaultFilterMask()
voidSetDefaultParameters()
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidAliAnalysisCuts::SetFilterMask(UInt_t mask)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetPhysicsSelectionMask(UInt_t physicsSelectionMask)
virtual voidAliAnalysisCuts::SetSelected(Bool_t dec)
virtual voidTNamed::SetTitle(const char* title = "")MENU
voidSetTrigClassLevels(TString pattern = "MSL:Lpt,MUSL:Lpt,MSH:Hpt,MUSH:Hpt,MUL:LptLpt,MUU:LptLpt,MLL:LptLpt")
voidSetTrigClassPatterns(TString trigPattern, TString trigInputsMap = "")
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetVertexMinNContributors(Int_t vertexMinNContributors)
voidSetVertexVzLimits(Double_t vzMin = -999., Double_t vzMax = 999.)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
voidSkipTestsNonInFilterMask(UInt_t skipMask = 0xFFFF)
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()
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:
voidAddToEventSelectedClass(const TString& toCheck, const TObjString* foundTrig, const UInt_t comboType = 0)
voidBuildTriggerClasses(TString firedTrigClasses, UInt_t l0Inputs, UInt_t l1Inputs, UInt_t l2Inputs)
Bool_tCheckTriggerClassCombination(const TObjArray* combo, const TString& firedTriggerClasses, UInt_t l0Inputs, UInt_t l1Inputs, UInt_t l2Inputs) const
Bool_tCheckTriggerClassPattern(const TString& toCheck) const
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
voidSetDefaultTrigClassPatterns()
voidSetTrigInputsMap(TString trigInputsMap)
Bool_tUpdateEvent(const AliVEvent* event)

Data Members

public:
enum { kPhysicsSelected
kSelectedCentrality
kSelectedTrig
kGoodVertex
kNoPileup
kComboSimple
kComboFormula
kComboAND
kComboOR
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
TList*fAllSelectedTrigClasses/< List of all selected trigger classes found
AliAnalysisUtils*fAnalysisUtils/< Analysis utility
TAxis*fCentralityClasses/< Centrality classes
UInt_tfCheckMask/< Mask telling which cuts to check (by default check filter mask)
TStringTNamed::fNameobject identifier
UInt_tfPhysicsSelectionMask/< Physics selection mask
TObjArray*fRejectedTrigPattern/< List of triggers to be rejected
TObjArray*fSelectedTrigCombination/< Selected trigger combinations
TObjArray*fSelectedTrigLevel/< Track-trigger pt cut for selected trigger class
TObjArray*fSelectedTrigPattern/< List of triggers to be kept
TStringTNamed::fTitleobject title
TList*fTrigInputsMap/< Trigger inputs map
Int_tfVertexMinNContributors/< Minimum number of SPD vertex contributors
Double_tfVertexVzMax/< SPD vertex Vz max
Double_tfVertexVzMin/< SPD vertex Vz min
private:
ULong64_tfEventTriggerMask!< Fired trigger mask in the event
TObjArray*fSelectedTrigClassesInEvent!< list of selected trigger classes in current event

Class Charts

Inheritance Chart:
TNamed
AliVCuts
AliAnalysisCuts
AliMuonEventCuts

Function documentation

AliMuonEventCuts()
 Default ctor.
AliMuonEventCuts(const char* name, const char* title)
 Constructor
AliMuonEventCuts(const AliMuonEventCuts& obj)
 Copy constructor
AliMuonEventCuts& operator=(const AliMuonEventCuts& obj)
 Assignment operator
~AliMuonEventCuts()
 Destructor
Bool_t IsSelected(TObject* obj)
 Track is selected
UInt_t GetSelectionMask(const TObject* obj)
 Get selection mask
Bool_t IsSelected(TList* )
 Not implemented
Bool_t UpdateEvent(const AliVEvent* event)
 Update the transient data member per event
TString GetDefaultTrigClassPatterns() const
 Get the default patterns
 (done in such a way to get all muon triggers)
TString GetDefaultTrigInputsMap() const
 Get the default trigger inputs

void SetDefaultTrigClassPatterns()
 Set the default patterns
 (done in such a way to get all muon triggers)
void SetTrigClassPatterns(TString trigPattern, TString trigInputsMap = "")
 Set trigger classes

 1) specify trigger class pattern and reject pattern (wildcard * accepted)
 Classes will be filled dynamycally according to the pattern
 - if name contains ! (without spaces): reject it
 - otherwise keep it
 e.g. CMBAC*,!*ALLNOTRD*
 keeps classes beginning with CMBAC, and not containing ALLNOTRD.

 CAVEATs:
   a ) if a wildcard is not specified, exact match is required
   b ) if you use an fCFContainer and you want an axis to contain the trigger classes,
       please be sure that each pattern matches only 1 trigger class, or triggers will be mixed up
       when merging different chuncks.


 2) specify a combination of triggers
 combined through a logical AND "&" or a logical OR "|" (wildcard * NOT accepted)
 It is also possible to ask for a trigger class containing a specific trigger input:
 e.g. CMSL7-B-NOPF-MUON&0MSH,CMSL7-B-NOPF-MUON,CMSL7-B-NOPF-MUON|CMSL8-B-NOPF-MUON
 will give the events with:
 - the single low trigger class fired and containing a single high trigger input
 - the single low trigger class fired
 - the single low trigger class 7 or 8 fired
 By default, when specific trigger combinations are provided, the most general case
 based on trigger pattern is disabled...but it can be activated with the disableTrigPattern flag

 example:
 SetTrigClassPatterns("CINT7*,!*-ACE-*,CMSL7-B-NOPF-MUON,CMSL7-B-NOPF-MUON&0MSH")
void SetTrigClassLevels(TString pattern = "MSL:Lpt,MUSL:Lpt,MSH:Hpt,MUSH:Hpt,MUL:LptLpt,MUU:LptLpt,MLL:LptLpt")
 Set trigger cut level associated to the trigger class

 example:
 SetTrigClassLevels("MSL:Lpt,MSH:Hpt,MUL:LptLpt")

 For the trigger classes defined in SetTrigClassPatterns
 it check if they contains the keywords MSL or MSH
 Hence, in the analysis, the function
 TrackPtCutMatchTrigClass(track, "CPBIMSL") returns true if track match Lpt
 TrackPtCutMatchTrigClass(track, "CPBIMSH") returns true if track match Hpt
 TrackPtCutMatchTrigClass(track, "CMBAC") always returns true
UInt_t GetTriggerInputBitMaskFromInputName(const char* inputName) const
 Get trigger input bit from its name
TArrayI GetTrigClassPtCutLevel(TString trigClassName) const
 Get trigger class pt cut level for tracking/trigger matching

 CAVEAT: this functionality fully works with trigger class names,
   but it can have a problem to extract the correct information in
   combinations of trigger classes/inputs. In this case it provides:
   - the highest pt level among classes/inputs combined through a logical AND "&"
   - the lowest pt level among classes/inputs combined through a logical OR "|"
   The first should be fine, but the second could not be the proper matching.
void SetTrigInputsMap(TString trigInputsMap)
 Set trigger input mask
 The inputs must be in the form:
 input1:ID1,input2:ID2,...
 CAVEAT: the input ID is ID_aliceLogbook - 1
 since this is the ID in the OCDB
GetSelectedTrigClassesInEvent(const TString& firedTriggerClasses, UInt_t l0Inputs, UInt_t l1Inputs, UInt_t l2Inputs)
 Return the selected trigger classes in the fired trigger classes
 give also the L0,L1,L2 input bit masks
const TObjArray* GetSelectedTrigClassesInEvent(const AliVEvent* event)
 Return the selected trigger classes in the current event
void BuildTriggerClasses(TString firedTrigClasses, UInt_t l0Inputs, UInt_t l1Inputs, UInt_t l2Inputs)
 Return the list of trigger classes to be considered
 for current event. Update the global list if necessary

CheckTriggerClassPattern(const TString& toCheck) const
 Check if the "toCheck" class matches the user pattern
CheckTriggerClassCombination(const TObjArray* combo, const TString& firedTriggerClasses, UInt_t l0Inputs, UInt_t l1Inputs, UInt_t l2Inputs) const
 Check if the "toCheck" class (or logical combination of classes and L0 inputs)
 are within the "firedTriggerClasses"
AddToEventSelectedClass(const TString& toCheck, const TObjString* foundTrig, const UInt_t comboType = 0)
 Add current trigger to the selected class for the event
void SetCentralityClasses(Int_t nCentralityBins = -1, Double_t* centralityBins = 0x0)
 Set centrality classes

void SetCentralityEstimator(TString centralityEstimator = "V0M")
 Set centrality estimator
TString GetCentralityEstimator() const
 Get centrality estimator
Double_t GetCentrality(const AliVEvent* event) const
 Get centrality
void SetDefaultParameters()
 Standard parameters for muon event
void SetDefaultFilterMask()
 Standard cuts for muon event
void Print(Option_t* option = "") const
 Print info

void SkipTestsNonInFilterMask(UInt_t skipMask = 0xFFFF)
 Skip tests which are not active in the filter mask
{ fCheckMask = ~skipMask; }
TList* GetAllSelectedTrigClasses() const
 Get trigger classes found in run
TAxis* GetCentralityClasses() const
 Get centrality classes
{ return fCentralityClasses; }
void SetPhysicsSelectionMask(UInt_t physicsSelectionMask)
 Set Physics selection mask
{ fPhysicsSelectionMask = physicsSelectionMask; }
void SetVertexMinNContributors(Int_t vertexMinNContributors)
 Set minimum number of vertex contributors
{ fVertexMinNContributors = vertexMinNContributors; }
Int_t GetVertexMinNContributors() const
 Get minimum number of vertex contributors
void SetVertexVzLimits(Double_t vzMin = -999., Double_t vzMax = 999.)
 Set Vz limits
{ fVertexVzMin = vzMin; fVertexVzMax = vzMax; }
Double_t GetVertexVzMin() const
 Get Vtx vz min
{ return fVertexVzMin; }
Double_t GetVertexVzMax() const
 Get Vtx vz max
{ return fVertexVzMax; }
AliAnalysisUtils* GetAnalysisUtils()
 Return pointer to analysis utils (to configure cuts)
{ return fAnalysisUtils; }