X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=PWG2%2FRESONANCES%2FAliRsnCutSet.cxx;h=b3aaf90c3c39a1dac54f075654da5bb492688487;hp=4c07d3fcc53293180bf26cc3de71696c114c38c3;hb=8ecf98c4d2a7159c21d9eea6f2983c5bdef4ee95;hpb=cbc8747a332b01c89643d5e8d34acca9be558e00 diff --git a/PWG2/RESONANCES/AliRsnCutSet.cxx b/PWG2/RESONANCES/AliRsnCutSet.cxx index 4c07d3fcc53..b3aaf90c3c3 100644 --- a/PWG2/RESONANCES/AliRsnCutSet.cxx +++ b/PWG2/RESONANCES/AliRsnCutSet.cxx @@ -8,22 +8,21 @@ ClassImp ( AliRsnCutSet ) AliRsnCutSet::AliRsnCutSet() - : TNamed(),fNumOfCuts ( 0 ), + : TNamed(),fCuts(0),fNumOfCuts ( 0 ), fCutScheme ( "" ), fCutSchemeIndexed ( "" ), - fBoolValues ( 0 ),fIsScheme ( kFALSE ) + fBoolValues ( 0 ),fIsScheme ( kFALSE ),fExpression(0) { fBoolValues = new Bool_t[1]; // fExpression = new AliRsnExpression ( fCutSchemeIndexed ); - fExpression = 0; AliRsnExpression::sCutSet = this; } AliRsnCutSet::AliRsnCutSet ( TString name ) - : TNamed ( name,name ),fNumOfCuts ( 0 ), + : TNamed ( name,name ),fCuts(0),fNumOfCuts ( 0 ), fCutScheme ( "" ), fCutSchemeIndexed ( "" ), - fBoolValues ( 0 ),fIsScheme ( kFALSE ) + fBoolValues ( 0 ),fIsScheme ( kFALSE ),fExpression(0) { fBoolValues = new Bool_t[1]; fExpression = 0; @@ -34,6 +33,7 @@ AliRsnCutSet::AliRsnCutSet ( const AliRsnCutSet & copy ) : TNamed ( ( TNamed ) copy ),fCuts ( copy.fCuts ),fNumOfCuts ( copy.fNumOfCuts ), fCutScheme ( copy.fCutScheme ), fCutSchemeIndexed ( copy.fCutSchemeIndexed ), + fBoolValues(0), fIsScheme ( copy.fIsScheme ), fExpression ( copy.fExpression ) { @@ -127,6 +127,7 @@ void AliRsnCutSet::SetCutScheme ( const TString & theValue ) void AliRsnCutSet::SetCutSchemeIndexed ( TString theValue ) { AliDebug ( AliLog::kDebug,"<-" ); + theValue.Append(" "); // fCutSchemeIndexed = theValue; fCutSchemeIndexed = GetCutSchemeIndexed(); AliDebug ( AliLog::kDebug,"->" ); @@ -186,6 +187,7 @@ Int_t AliRsnCutSet::TestExpression ( TString opt ) // set->SetCutScheme ( "(aaa&!(ccc))&(bbb&!(ccc))" ); // // set->ShowCuts (); + AliDebug(1, opt.Data()); return 0; }