AliPhysics  9fe175b (9fe175b)
 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  virtual Bool_t ApplyTrackCuts(const AliVTrack* vp, UInt_t &rejectionReason) const;
44 
45  void GenerateDaughterList();
46  const TObjArray& GetDaughterList() const { return fDaughterList ; }
47 
48  protected:
49  void AddDaughters(const AliAODRecoDecay* cand);
50  Bool_t IsDMesonDaughter(const AliAODTrack* track) const;
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 &)
Bool_t IsDMesonDaughter(const AliAODTrack *track) const
void SetDMesonCandidate(AliAODRecoDecay *c)
const TObjArray & GetDaughterList() const
Container with name, TClonesArray and cuts for particles.
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.
virtual Bool_t ApplyTrackCuts(const AliVTrack *vp, UInt_t &rejectionReason) const
AliAODRecoDecay * fDMesonCandidate
Exclude daughters of this D meson candidate.
void AddDaughters(const AliAODRecoDecay *cand)
TObjArray fDaughterList
Daughters of the D meson candidate.