AliAODEvent::GetHeader now return AliVHeader
[u/mrichter/AliRoot.git] / PWG / muon / AliAnalysisTaskMuonAODCreation.h
CommitLineData
df8d91fa 1#ifndef ALIANALYSISTASKMUONAODCREATION_H
2#define ALIANALYSISTASKMUONAODCREATION_H
3
27de2dfb 4/* $Id$ */
5
df8d91fa 6#include <TChain.h>
7#include <TTree.h>
8#include <TList.h>
9#include <TH1.h>
10#include <TClonesArray.h>
11
12#include "TMath.h"
13
df8d91fa 14#include "AliAnalysisTaskSE.h"
15#include "AliAnalysisManager.h"
16#include "AliAODEvent.h"
17#include "AliLog.h"
18#include "AliAODTrack.h"
19#include "AliAODInputHandler.h"
20#include "AliAODHeader.h"
21
22class AliAnalysisTaskMuonAODCreation : public AliAnalysisTaskSE {
23 public:
24
25 AliAnalysisTaskMuonAODCreation();
26 AliAnalysisTaskMuonAODCreation(const Char_t* name);
27 AliAnalysisTaskMuonAODCreation& operator= (const AliAnalysisTaskMuonAODCreation& c);
28 AliAnalysisTaskMuonAODCreation(const AliAnalysisTaskMuonAODCreation& c);
29 virtual ~AliAnalysisTaskMuonAODCreation();
30
31 // ANALYSIS FRAMEWORK STUFF to loop on data and fill output objects
32 void UserExec(Option_t *option);
33 void Terminate(Option_t *);
34 void UserCreateOutputObjects();
35
36 protected:
37
38 TList *fOutput;
39 TTree *fTree; // AOD output Tree
40 AliAODEvent *fOutputAOD; //! AOD out
41
42 ClassDef(AliAnalysisTaskMuonAODCreation,1);
43};
44
45#endif