class AliCFVertexingHF3Prong : public AliCFVertexingHF{\r
public:\r
\r
+ AliCFVertexingHF3Prong(Int_t decay,UInt_t resonantDecay);\r
AliCFVertexingHF3Prong(Int_t decay);\r
AliCFVertexingHF3Prong(TClonesArray *mcArray, UShort_t originDselection, Int_t decay); \r
+ AliCFVertexingHF3Prong(TClonesArray *mcArray, UShort_t originDselection, Int_t decay,UInt_t resonantDecay); \r
virtual ~AliCFVertexingHF3Prong(){};\r
\r
\r
\r
Bool_t SetRecoCandidateParam(AliAODRecoDecayHF *recoCand);\r
virtual void SetDecay3Prong(Int_t decay){fDecay=decay;}\r
+ Bool_t CheckLc3Prong() const;\r
+ void SetResonantDecay(UInt_t resonantDecay) {fResonantDecay = resonantDecay;}\r
+ UInt_t GetResonantDecay() const {return fResonantDecay;}\r
\r
void SetGeneratedDsOption(Int_t opt) {fGenDsOption=opt;}\r
Int_t GetGeneratedDsOption() const {return fGenDsOption;}\r
- \r
+\r
+ enum EDsSel {kCountAllDsKKpi=0, kCountPhipi=1, kCountK0stK=2, kCountResonant=3, kCountNonResonant=4};\r
+\r
protected:\r
\r
\r
AliCFVertexingHF3Prong& operator= (const AliCFVertexingHF3Prong& other);\r
\r
Int_t fDecay; // decay mode id\r
- Int_t fGenDsOption; // 0(default) --> count all Ds->KKpi, 1 --> count Ds->phipi 2--> count Ds->K0*K\r
+ Int_t fGenDsOption; // option for selection Ds (see enum)\r
+ UInt_t fResonantDecay; // resonant decay for which to run the CF\r
\r
- ClassDef(AliCFVertexingHF3Prong, 2);\r
+ ClassDef(AliCFVertexingHF3Prong, 3);\r
\r
};\r
\r