ROOT logo
AliRoot » PWGLF » RESONANCES » AliRsnCutSet

class AliRsnCutSet: public AliRsnTarget

Function Members (Methods)

public:
AliRsnCutSet()
AliRsnCutSet(const AliRsnCutSet& copy)
AliRsnCutSet(const char* name, RSNTARGET target)
virtual~AliRsnCutSet()
voidTObject::AbstractMethod(const char* method) const
voidAddCut(AliRsnCut* cut)
voidAddMonitor(AliRsnListOutput* mon)
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
Bool_tGetBoolValue(Int_t index) const
TObjArray*GetCuts()
TStringGetCutScheme() const
TStringGetCutSchemeIndexed()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
Int_tGetIndexByCutName(TString s)
TObjArray*GetMonitorOutput()
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
AliRsnDaughter*AliRsnTarget::GetTargetDaughter()
AliRsnEvent*AliRsnTarget::GetTargetEvent()
AliRsnMother*AliRsnTarget::GetTargetMother()
AliRsnTarget::ETargetTypeAliRsnTarget::GetTargetType() const
Char_tAliRsnTarget::GetTargetTypeChar() const
const char*AliRsnTarget::GetTargetTypeName() 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
Bool_tInit(TList* list)
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tAliRsnTarget::IsAllNull() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
Bool_tIsSelected(TObject* object)
virtual Bool_tTNamed::IsSortable() const
Bool_tAliRsnTarget::IsTarget(AliRsnTarget::ETargetType targetType) const
Bool_tIsValidScheme()
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)
AliRsnCutSet&operator=(const AliRsnCutSet& copy)
virtual voidTObject::Paint(Option_t* option = "")
Bool_tPassed()
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
voidPrintSetInfo()
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)
voidSetBoolValue(Bool_t theValue, Int_t index)
voidSetCutScheme(const char* theValue)
voidSetCutSchemeIndexed(TString theValue)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidAliRsnTarget::SetTargetType(AliRsnTarget::ETargetType type)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
voidShowCuts() const
TStringShowCutScheme() const
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_tAliRsnTarget::TargetOK(TObject* object)
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
Int_tTestExpression(TString opt = "short")
virtual voidTObject::UseCurrentStyle()
voidUseMonitor(Bool_t useMonitor = kTRUE)
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

protected:
AliRsnDaughter*AliRsnTarget::fDaughter! internal pointer to which any checked object is cast if it matches expected type
AliRsnEvent*AliRsnTarget::fEvent! internal pointer to which any checked object is cast if it matches expected type
AliRsnMother*AliRsnTarget::fMother! internal pointer to which any checked object is cast if it matches expected type
TStringTNamed::fNameobject identifier
AliRsnTarget::ETargetTypeAliRsnTarget::fTargetTypetarget type selected for this object
TStringTNamed::fTitleobject title
private:
Bool_t*fBoolValues[fNumOfCuts]
TStringfCutSchemecut scheme
TStringfCutSchemeIndexedcut scheme indexed
TObjArrayfCutsarray of cuts
AliRsnExpression*fExpressionpointer to AliRsnExpression
Bool_tfIsSchemeis scheme
TObjArrayfMonitorsarray of monitor object
Int_tfNumOfCutsnumber of cuts
Bool_tfUseMonitorflag if monitoring should be used

Class Charts

Inheritance Chart:
TNamed
AliRsnTarget
AliRsnCutSet
AliRsnCutSetDaughterParticle

Function documentation

AliRsnCutSet()
 Constructor without name (not recommended)

AliRsnCutSet(const char* name, RSNTARGET target)
 Constructor with argument name (recommended)

AliRsnCutSet(const AliRsnCutSet& copy)
 Copy constructor

AliRsnCutSet & operator=(const AliRsnCutSet& copy)
 Assignment operator.

~AliRsnCutSet()
 Destructor

void AddCut(AliRsnCut* cut)
 Add a new cut.
 This must be done for all components of the final expression.
 If the target of the cut does not match the target of this,
 the cut is not added.

void ShowCuts() const
 Prints all cuts

Bool_t IsSelected(TObject* object)
 Checks an object according to the cut expression defined here.

void SetCutScheme(const char* theValue)
 Define the combination of cuts with logical operators
 and using the names given to all defined cuts.

void SetCutSchemeIndexed(TString theValue)
 Internal method which indexes all cuts to organize their combo

Int_t GetIndexByCutName(TString s)
 Retrieve the cut index from its name

Bool_t Passed()
 Combines the cuts according to expression
 and gives a global response to the cut check

Bool_t IsValidScheme()
 Validity check on cut expression specified by user

TString ShowCutScheme() const
 Utility method to check validity of expression

Int_t TestExpression(TString opt = "short")
void PrintSetInfo()
 Show data about the cut set

TString GetCutSchemeIndexed()
 Internal method to retrieve the list of cuts with their indexes
 for evaluation of cut expression

Bool_t Init(TList* list)
void AddMonitor(AliRsnListOutput* mon)
void SetBoolValue(Bool_t theValue, Int_t index)
{ fBoolValues[index] = theValue; }
Bool_t GetBoolValue(Int_t index) const
{ return fBoolValues[index]; }
TString GetCutScheme() const
{ return fCutScheme; }
TObjArray * GetCuts()
{ return &fCuts; }
TObjArray * GetMonitorOutput()
{ fUseMonitor = kTRUE; return &fMonitors; }
void UseMonitor(Bool_t useMonitor = kTRUE)
{ fUseMonitor = useMonitor; }