void SetMixPrintRefresh(Int_t n) {fMixPrintRefresh = n;}
void SetMaxNDaughters(Short_t n) {fMaxNDaughters = n;}
void SetCheckMomentumConservation(Bool_t checkP) {fCheckP = checkP;}
+ void SetCheckFeedDown(Bool_t checkFeedDown) {fCheckFeedDown = checkFeedDown;}
+ void SetDselection(UShort_t originDselection);
+ void SetRejectCandidateIfNotFromQuark(Bool_t opt){fRejectIfNoQuark=opt;}
Int_t AddTrackCuts(AliRsnCutSet *cuts);
TClonesArray *Outputs() {return &fHistograms;}
TClonesArray *Values() {return &fValues;}
Int_t fMixPrintRefresh; // how often info in mixing part is printed
Short_t fMaxNDaughters; // maximum number of allowed mother's daughter
Bool_t fCheckP; // flag to set in order to check the momentum conservation for mothers
-
- ClassDef(AliRsnMiniAnalysisTask, 7); // AliRsnMiniAnalysisTask
+
+ Bool_t fCheckFeedDown; // flag to set in order to check the particle feed down (specific for D meson analysis)
+ UShort_t fOriginDselection; // flag to select D0 origins. 0 Only from charm 1 only from beauty 2 both from charm and beauty (specific for D meson analysis)
+ Bool_t fKeepDfromB; // flag for the feed down from b quark decay (specific for D meson analysis)
+ Bool_t fKeepDfromBOnly; // flag to keep only the charm particles that comes from beauty decays (specific for D meson analysis)
+ Bool_t fRejectIfNoQuark; // flag to remove events not generated with PYTHIA
+
+ ClassDef(AliRsnMiniAnalysisTask, 8); // AliRsnMiniAnalysisTask
};