AliPhysics  abafffd (abafffd)
AliAnalysisTaskParticleInJet.h
Go to the documentation of this file.
1 /*
2  * AliAnalysisTaskParticleInJet.h
3  *
4  * Created on: Feb 17, 2016
5  * Author: markus
6  */
7 
8 #ifndef ALIANALYSISTASKPARTICLEINJET_H
9 #define ALIANALYSISTASKPARTICLEINJET_H
10 
12 
13 #include <vector>
14 
15 class TArrayD;
16 class THistManager;
17 
18 class AliVParticle;
19 class AliVTrack;
21 
23 public:
25  AliAnalysisTaskParticleInJet(const char *name);
27 
33 
34 protected:
36  Bool_t Run();
37 
38 private:
39  std::vector<const AliVParticle *> GetSelectedParticles(AliParticleContainer *const cont) const;
40  Bool_t AcceptParticle(const AliVParticle * const part) const;
41  Bool_t AcceptTrack(AliVTrack * const track) const;
42  Bool_t IsPhysicalPrimary(const AliVParticle * const part) const;
43 
44  void CreatePtBinning(TArrayD &binning) const;
45  void CreateLinearBinning(TArrayD& binning, int nbins, double min, double max) const;
46 
49 
50  // Container names
55 
56  ClassDef(AliAnalysisTaskParticleInJet, 1);
57 
58 };
59 
60 #endif /* ALIANALYSISTASKPARTICLEINJET_H */
Interface for virtual track selection.
Bool_t IsPhysicalPrimary(const AliVParticle *const part) const
void SetTrackSelection(AliEmcalTrackSelection *sel)
std::vector< const AliVParticle * > GetSelectedParticles(AliParticleContainer *const cont) const
Bool_t AcceptTrack(AliVTrack *const track) const
Bool_t AcceptParticle(const AliVParticle *const part) const
Container for particles within the EMCAL framework.
Bool_t Run()
Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.
void CreatePtBinning(TArrayD &binning) const
AliEmcalTrackSelection * fTrackSelection
void CreateLinearBinning(TArrayD &binning, int nbins, double min, double max) const
Base task in the EMCAL jet framework.
Container class for histograms.
Definition: THistManager.h:99
const Int_t nbins
bool Bool_t
Definition: External.C:53