X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=PWG2%2FRESONANCES%2FAliRsnCutSet.h;h=f49a9af5845d5586a356fcbc559eaea053f0954d;hp=a663716178c81e9d13527b33633385fd97c391c3;hb=2dab9030e49ce0ff48b89eb70bcc2f42a56a0f5a;hpb=d4030434fac7dd5ba30b77f897654c19cdfceaea diff --git a/PWG2/RESONANCES/AliRsnCutSet.h b/PWG2/RESONANCES/AliRsnCutSet.h index a663716178c..f49a9af5845 100644 --- a/PWG2/RESONANCES/AliRsnCutSet.h +++ b/PWG2/RESONANCES/AliRsnCutSet.h @@ -26,8 +26,8 @@ class AliRsnCutSet : public TNamed { public: - AliRsnCutSet(); - AliRsnCutSet(TString name); + AliRsnCutSet(AliRsnCut::ETarget target = AliRsnCut::kLastCutTarget); + AliRsnCutSet(TString name, AliRsnCut::ETarget target); AliRsnCutSet(const AliRsnCutSet ©); AliRsnCutSet& operator=(const AliRsnCutSet& /*copy*/) {return (*this);} ~AliRsnCutSet(); @@ -42,10 +42,7 @@ class AliRsnCutSet : public TNamed Int_t TestExpression(TString opt="short"); void PrintSetInfo(); - Bool_t IsSelected(AliRsnCut::ETarget type, AliRsnDaughter *daughter); - Bool_t IsSelected(AliRsnCut::ETarget type, AliRsnPairParticle *pair); - Bool_t IsSelected(AliRsnCut::ETarget type, AliRsnEvent *event); - Bool_t IsSelected(AliRsnCut::ETarget type, AliRsnEvent *ev1, AliRsnEvent *ev2); + Bool_t IsSelected(TObject *obj1, TObject *obj2 = 0x0); void SetBoolValue(Bool_t theValue,Int_t index) { fBoolValues[index] = theValue; } Bool_t GetBoolValue(Int_t index) const { return fBoolValues[index]; } @@ -62,6 +59,7 @@ class AliRsnCutSet : public TNamed private: + AliRsnCut::ETarget fTarget; // cut target TObjArray fCuts; // array of cuts Int_t fNumOfCuts; // number of cuts TString fCutScheme; // cut scheme