12 class AliRsnExpression;
13 class AliRsnPairParticle;
15 class AliRsnCutSet : public TNamed
20 AliRsnCutSet ( TString name );
21 AliRsnCutSet ( const AliRsnCutSet © );
25 void AddCut ( AliRsnCut* cut );
26 // void SetCutScheme ( TString sheme ) {fCutScheme = sheme;}
29 Int_t GetIndexByCutName ( TString s );
31 Bool_t IsValidScheme();
32 TString ShowCutScheme();
33 Int_t TestExpression ( TString opt="short" );
36 Bool_t IsSelected (AliRsnCut::ECutSetType type, AliRsnDaughter *daughter );
37 Bool_t IsSelected (AliRsnCut::ECutSetType type, AliRsnPairParticle *pair );
38 // Bool_t IsSelected ( AliRsnEffectiveParticle *pair );
39 // Bool_t IsSelected(TObject*obj);
41 void SetBoolValue ( Bool_t theValue,Int_t index ) { fBoolValues[index] = theValue; }
42 Bool_t GetBoolValue ( Int_t index ) const { return fBoolValues[index]; }
44 void SetCutScheme ( const TString& theValue );
45 TString GetCutScheme() const { return fCutScheme; }
47 void SetCutSchemeIndexed ( TString theValue );
48 TString GetCutSchemeIndexed();
50 TObjArray *GetCuts() { return &fCuts; }
54 TObjArray fCuts; // array of cuts
55 Int_t fNumOfCuts; // number of cuts
56 TString fCutScheme; // cut scheme
57 TString fCutSchemeIndexed; // cut scheme indexed
59 Bool_t *fBoolValues; //[fNumOfCuts]
60 Bool_t fIsScheme; // is scheme
61 AliRsnExpression *fExpression; // pointer to AliRsnExpression
63 ClassDef ( AliRsnCutSet,1 );