Fix in the last caall to CleanOwnPrimaryVertex
[u/mrichter/AliRoot.git] / PWG3 / vertexingHF / AliAnalysisTaskSECompareHF.h
CommitLineData
3a219f60 1#ifndef ALIANALYSISTASKCOMPAREHF_H
2#define ALIANALYSISTASKCOMPAREHF_H
3
4/* Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
27de2dfb 7/* $Id$ */
8
3a219f60 9//*************************************************************************
10// Class AliAnalysisTaskSECompareHF
11// AliAnalysisTaskSE for the comparison of heavy-flavour decay candidates
12// to MC truth (kinematics stored in the AOD)
12bfc069 13// Author: A.Dainese, andrea.dainese@ln.infn.it
3a219f60 14//*************************************************************************
15
12bfc069 16#include <TROOT.h>
17#include <TSystem.h>
3a219f60 18#include <TNtuple.h>
19#include <TH1F.h>
20
21#include "AliAnalysisTaskSE.h"
12bfc069 22#include "AliAnalysisVertexingHF.h"
3a219f60 23
24class AliAnalysisTaskSECompareHF : public AliAnalysisTaskSE
25{
26 public:
27
28 AliAnalysisTaskSECompareHF();
29 AliAnalysisTaskSECompareHF(const char *name);
30 virtual ~AliAnalysisTaskSECompareHF();
31
32
33 // Implementation of interface methods
34 virtual void UserCreateOutputObjects();
35 virtual void Init();
36 virtual void LocalInit() {Init();}
37 virtual void UserExec(Option_t *option);
38 virtual void Terminate(Option_t *option);
39
3a219f60 40
41 private:
42
43 AliAnalysisTaskSECompareHF(const AliAnalysisTaskSECompareHF &source);
44 AliAnalysisTaskSECompareHF& operator=(const AliAnalysisTaskSECompareHF& source);
45 TList *fOutput; //! list send on output slot 0
2a041947 46 TNtuple *fNtupleCmp; //! output ntuple
9d6d35b0 47 TH1F *fHistMass; //! output histogram
a273622f 48 TH1F *fHistNEvents; //! output histogram
3a219f60 49
8887af0b 50 ClassDef(AliAnalysisTaskSECompareHF,5); // AliAnalysisTaskSE for the MC association of heavy-flavour decay candidates
3a219f60 51};
52
53#endif
54