Int_t NumberOfFakeDaughters() const;
+ Bool_t HasBadDaughters() const; // TPC+ITS tracks not passing the StandardCuts2010 with loose DCA
+
protected:
AliAODVertex *fOwnPrimaryVtx; // primary vertex for this candidate
return;
}
+inline Bool_t AliAODRecoDecayHF::HasBadDaughters() const {
+
+ // checks if at least one of ITS+TPC daughters didn't pass the StandardCuts2010 with loose DCA (ie doesn't have the BIT(4) set)
+
+ for(Int_t iDau=0; iDau<GetNDaughters(); iDau++){
+ AliAODTrack* at=(AliAODTrack*)GetDaughter(iDau);
+ if(at->Charge()==0) continue;
+ if(at->GetTPCNcls()==0) continue;
+ if(!(at->TestFilterMask(BIT(4)))) return kTRUE;
+ }
+ return kFALSE;
+}
+
+
#endif