Splitted the PID cuts into three classes for ITS, TPC and TOF, and added the possibil...
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnVariableExpression.cxx
1 //
2 // AliRsnVariableExpresion class
3 // is used
4 // to help AliRsnExpresion class
5 //
6 // authors: Martin Vala (martin.vala@cern.ch)
7 //          Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it)
8 //
9
10 #include "AliLog.h"
11
12 #include "AliRsnCut.h"
13 #include "AliRsnVariableExpression.h"
14
15 ClassImp(AliRsnVariableExpression)
16
17 //______________________________________________________________________________
18 Bool_t AliRsnVariableExpression::Value(TObjArray& /*pgm*/)
19 {
20
21 //   Int_t indexx = fgCutSet->GetIndexByCutName ( fVname.Data() );
22   AliDebug(AliLog::kDebug,Form("Vname %s",fVname.Data()));
23 //   return fgCutSet->GetBoolValue ( indexx );
24
25   return fgCutSet->GetBoolValue(fVname.Atoi());
26 }
27