load libCORRFW
[u/mrichter/AliRoot.git] / PWG3 / vertexingHF / AliAnalysisTaskSESelectHF.h
CommitLineData
0de9de87 1#ifndef ALIANALYSISTASKSESELECTHF_H
2#define ALIANALYSISTASKSESELECTHF_H
3
4/* Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7//*************************************************************************
8// Class AliAnalysisTaskSESelectHF
9// AliAnalysisTaskSE for the selection of heavy-flavour decay candidates
10// and creation of a stand-alone AOD
11// Author: A.Dainese, andrea.dainese@lnl.infn.it
12//*************************************************************************
13
14
15#include <TClonesArray.h>
16
17#include "AliAnalysisTaskSE.h"
18#include "AliAnalysisVertexingHF.h"
19
20
21class AliAnalysisTaskSESelectHF : public AliAnalysisTaskSE
22{
23 public:
24
25 AliAnalysisTaskSESelectHF();
26 AliAnalysisTaskSESelectHF(const char *name);
27 virtual ~AliAnalysisTaskSESelectHF();
28
0de9de87 29
30 // Implementation of interface methods
31 virtual void UserCreateOutputObjects();
32 virtual void Init();
33 virtual void LocalInit() {Init();}
34 virtual void UserExec(Option_t *option);
35 virtual void Terminate(Option_t *option);
36
37 void SetD0toKpiCuts(Double_t cut0=1000.,Double_t cut1=100000.,
38 Double_t cut2=1.1,Double_t cut3=0.,Double_t cut4=0.,
39 Double_t cut5=100000.,Double_t cut6=100000.,
40 Double_t cut7=100000000.,Double_t cut8=-1.1);
41 // cuts[0] = inv. mass half width [GeV]
42 // cuts[1] = dca [cm]
43 // cuts[2] = cosThetaStar
44 // cuts[3] = pTK [GeV/c]
45 // cuts[4] = pTPi [GeV/c]
46 // cuts[5] = d0K [cm] upper limit!
47 // cuts[6] = d0Pi [cm] upper limit!
48 // cuts[7] = d0d0 [cm^2]
49 // cuts[8] = cosThetaPoint
50 void SetD0toKpiCuts(const Double_t cuts[9]);
51
52 private:
53
1e57e576 54 AliAnalysisTaskSESelectHF(const AliAnalysisTaskSESelectHF &source);
55 AliAnalysisTaskSESelectHF& operator=(const AliAnalysisTaskSESelectHF& source);
0de9de87 56 TClonesArray *fVerticesHFTClArr; // Array of heavy-flavour vertices
57 TClonesArray *fD0toKpiTClArr; // Array of D0->Kpi
58 Double_t fD0toKpiCuts[9]; // cuts for D0->Kpi selection
59
60 ClassDef(AliAnalysisTaskSESelectHF,1); // AliAnalysisTaskSE for the reconstruction of heavy-flavour decay candidates
61};
62
63#endif
64