AliPhysics  66e96a0 (66e96a0)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliHFTrackContainer.h
Go to the documentation of this file.
1 
12 #ifndef ALIHFTRACKCONTAINER_H
13 #define ALIHFTRACKCONTAINER_H
14 
15 /**************************************************************************
16 * Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
17 * *
18 * Author: The ALICE Off-line Project. *
19 * Contributors are mentioned in the code where appropriate. *
20 * *
21 * Permission to use, copy, modify and distribute this software and its *
22 * documentation strictly for non-commercial purposes is hereby granted *
23 * without fee, provided that the above copyright notice appears in all *
24 * copies and that both the copyright notice and this permission notice *
25 * appear in the supporting documentation. The authors make no claims *
26 * about the suitability of this software for any purpose. It is *
27 * provided "as is" without express or implied warranty. *
28 **************************************************************************/
29 
30 class AliAODRecoDecay;
31 class AliAODTrack;
32 
33 #include "AliParticleContainer.h"
35 
37  public:
39  AliHFTrackContainer(const char *name);
40 
41  void SetDMesonCandidate(AliAODRecoDecay* c);
42 
43  Bool_t AcceptTrack(AliVTrack* vp);
44  Bool_t AcceptTrack(Int_t i);
45  void GenerateDaughterList();
46  const TObjArray& GetDaughterList() const { return fDaughterList ; }
47 
48  protected:
49  void AddDaughters(AliAODRecoDecay* cand);
50  Bool_t IsDMesonDaughter(AliAODTrack* track);
51 
52  AliAODRecoDecay* fDMesonCandidate;
53  TObjArray fDaughterList;
54 
55  private:
56  AliHFTrackContainer(const AliHFTrackContainer&); // not implemented
57  AliHFTrackContainer &operator=(const AliHFTrackContainer&); // not implemented
58 
60  ClassDef(AliHFTrackContainer, 2);
62 };
63 #endif
AliHFTrackContainer & operator=(const AliHFTrackContainer &)
void SetDMesonCandidate(AliAODRecoDecay *c)
Bool_t IsDMesonDaughter(AliAODTrack *track)
const TObjArray & GetDaughterList() const
Container with name, TClonesArray and cuts for particles.
Bool_t AcceptTrack(AliVTrack *vp)
Select tracks based on specific prescriptions of HF analysis.
void GenerateDaughterList()
Generate the list of the daughters of the D meson candidate.
AliHFTrackContainer()
This is the default constructor, used for ROOT I/O purposes.
void AddDaughters(AliAODRecoDecay *cand)
AliAODRecoDecay * fDMesonCandidate
Exclude daughters of this D meson candidate.
TObjArray fDaughterList
Daughters of the D meson candidate.