AliCentrality for ESD and AOD analysis
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisTaskMCParticleFilter.h
CommitLineData
da97a08a 1#ifndef ALIANALYSISTASKMCPARTICLEFILTER_H
2#define ALIANALYSISTASKMCPARTICLEFILTER_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7//
8// Analysis task for Kinematic filtering
9// Fill AOD tracks from Kinematic stack
10//
11
da97a08a 12#include "AliAnalysisTaskSE.h"
13
14class AliAnalysisFilter;
15class TString;
a3b51fd2 16class TList;
da97a08a 17
18class AliAnalysisTaskMCParticleFilter : public AliAnalysisTaskSE
19{
20 public:
21 AliAnalysisTaskMCParticleFilter();
22 AliAnalysisTaskMCParticleFilter( const char* name );
da97a08a 23 virtual ~AliAnalysisTaskMCParticleFilter();
da97a08a 24
25 // Implementation of interface methods
26 virtual void UserCreateOutputObjects();
27 virtual void UserExec( Option_t *option );
a3b51fd2 28 virtual Bool_t Notify();
29 virtual void Terminate( Option_t *option );
da97a08a 30 // Setters
31 virtual void SetTrackFilterMother(AliAnalysisFilter* trackF) { fTrackFilterMother = trackF; }
32
33 private:
34 Bool_t Select(TParticle* part, Float_t rv, Float_t zv);
a3b51fd2 35
36 // pivate c'tors to prevent misuse
37 AliAnalysisTaskMCParticleFilter& operator=(const AliAnalysisTaskMCParticleFilter& other);
38 AliAnalysisTaskMCParticleFilter(const AliAnalysisTaskMCParticleFilter& obj);
39
40
da97a08a 41
42 AliAnalysisFilter* fTrackFilterMother; // Track Filter
a3b51fd2 43 TList *fHistList; // list to store e histograms, only as exchange
44
45 ClassDef( AliAnalysisTaskMCParticleFilter, 2 ); // Analysis task for Kinematic filtering
da97a08a 46};
47
48#endif