AliPhysics  4ef2867 (4ef2867)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliTrackContainerV0.h
Go to the documentation of this file.
1 
13 #ifndef ALITRACKCONTAINERV0_H
14 #define ALITRACKCONTAINERV0_H
15 
16 /**************************************************************************
17 * Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
18 * *
19 * Author: The ALICE Off-line Project. *
20 * Contributors are mentioned in the code where appropriate. *
21 * *
22 * Permission to use, copy, modify and distribute this software and its *
23 * documentation strictly for non-commercial purposes is hereby granted *
24 * without fee, provided that the above copyright notice appears in all *
25 * copies and that both the copyright notice and this permission notice *
26 * appear in the supporting documentation. The authors make no claims *
27 * about the suitability of this software for any purpose. It is *
28 * provided "as is" without express or implied warranty. *
29 **************************************************************************/
30 
31 class AliAODEvent;
32 
33 #include "AliAODEvent.h"
34 #include "AliTrackContainer.h"
35 
36 
38  public:
40  AliTrackContainerV0(const char *name);
41 
44 
45  // reimplementation of inherited methods
46  virtual void SetArray(const AliVEvent *event);
47  virtual void NextEvent(const AliVEvent *event);
48  virtual Bool_t ApplyTrackCuts(const AliVTrack* vp, UInt_t &rejectionReason) const;
49 
50  void ExtractDaughters(AliAODv0* cand);
51 
52  protected:
53  Bool_t IsV0Daughter(const AliAODTrack* track) const;
54 
56  const AliAODEvent *fEvent ;
58  std::vector<Int_t> fDaughterVec ;
59 
60  private:
62  ClassDef(AliTrackContainerV0, 2);
64 };
65 #endif
Container with name, TClonesArray and cuts for particles.
void ExtractDaughters(AliAODv0 *cand)
Bool_t fFilterDaughterTracks
if the daughter tracks of V0s candidates should be filtered out
Bool_t GetFilterDaughterTracks() const
unsigned int UInt_t
Definition: External.C:33
virtual void SetArray(const AliVEvent *event)
virtual Bool_t ApplyTrackCuts(const AliVTrack *vp, UInt_t &rejectionReason) const
TObjArray * fV0s
list of V0 candidates
void SetFilterDaughterTracks(Bool_t bFilter)
std::vector< Int_t > fDaughterVec
list of V0 daughters (storing track IDs)
AliTrackContainerV0()
This is the default constructor, used for ROOT I/O purposes.
bool Bool_t
Definition: External.C:53
Select tracks based on specific prescriptions of V0s in jets analysis.
const AliAODEvent * fEvent
pointer to current event (pointer stay the same, but the content is changed event-by-event) ...
Bool_t IsV0Daughter(const AliAODTrack *track) const
virtual void NextEvent(const AliVEvent *event)