Changes to the DEtaDPhi corr fun (making 0 in the center of the bin in the histogram...
[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;
3189f57d 17class AliAODMCHeader;
9804ab8d 18class AliMCParticle;
3189f57d 19class TClonesArray;
da97a08a 20
63825dc4 21#include "AliESDtrack.h"
22#include "AliAODTrack.h"
23#include "AliAODPid.h"
24#include "AliESDpid.h"
25
da97a08a 26class AliAnalysisTaskMCParticleFilter : public AliAnalysisTaskSE
27{
28 public:
29 AliAnalysisTaskMCParticleFilter();
30 AliAnalysisTaskMCParticleFilter( const char* name );
da97a08a 31 virtual ~AliAnalysisTaskMCParticleFilter();
da97a08a 32
33 // Implementation of interface methods
34 virtual void UserCreateOutputObjects();
35 virtual void UserExec( Option_t *option );
a3b51fd2 36 virtual Bool_t Notify();
37 virtual void Terminate( Option_t *option );
da97a08a 38 // Setters
39 virtual void SetTrackFilterMother(AliAnalysisFilter* trackF) { fTrackFilterMother = trackF; }
40
41 private:
42 Bool_t Select(TParticle* part, Float_t rv, Float_t zv);
a3b51fd2 43
44 // pivate c'tors to prevent misuse
45 AliAnalysisTaskMCParticleFilter& operator=(const AliAnalysisTaskMCParticleFilter& other);
46 AliAnalysisTaskMCParticleFilter(const AliAnalysisTaskMCParticleFilter& obj);
9804ab8d 47 void PrintMCParticle(const AliMCParticle *mcp,Int_t np);
a3b51fd2 48
da97a08a 49
50 AliAnalysisFilter* fTrackFilterMother; // Track Filter
3189f57d 51 AliAODMCHeader *fAODMcHeader; // ! MC Header
52 TClonesArray *fAODMcParticles; // ! tclones array of MC Particles
a3b51fd2 53 TList *fHistList; // list to store e histograms, only as exchange
54
9804ab8d 55 ClassDef( AliAnalysisTaskMCParticleFilter, 4 ); // Analysis task for Kinematic filtering
da97a08a 56};
57
58#endif