AliPhysics  5364b50 (5364b50)
AliCFTaskForDStarAnalysis.h
Go to the documentation of this file.
1 #ifndef ALICFTASKFORDSTARANALYSIS_H
2 #define ALICFTASKFORDSTARANALYSIS_H
3 /**************************************************************************
4  * Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
5  * *
6  * Author: The ALICE Off-line Project. *
7  * Contributors are mentioned in the code where appropriate. *
8  * *
9  * Permission to use, copy, modify and distribute this software and its *
10  * documentation strictly for non-commercial purposes is hereby granted *
11  * without fee, provided that the above copyright notice appears in all *
12  * copies and that both the copyright notice and this permission notice *
13  * appear in the supporting documentation. The authors make no claims *
14  * about the suitability of this software for any purpose. It is *
15  * provided "as is" without express or implied warranty. *
16  **************************************************************************/
17 
18 /* $Id$ */
19 
20 //-----------------------------------------------------------------------
22 
23 #include "AliAnalysisTaskSE.h"
24 
25 class TH1I;
26 class TParticle ;
27 class TFile ;
28 class TClonesArray ;
29 class AliCFManager;
30 class AliAODRecoDecay;
32 class AliAODMCParticle;
33 class THnSparse;
34 
36  public:
37 
38  enum {
47  };
48 
50  AliCFTaskForDStarAnalysis(const Char_t* name);
54 
57  void UserExec(Option_t *option);
58  void Terminate(Option_t *);
59 
61  void SetCorrelationMatrix(THnSparse* h) {fCorrelation=h;}
62  void SetAcceptanceUnf(Bool_t AcceptanceUnf) {fAcceptanceUnf = AcceptanceUnf;}
64 
66  void SetCFManager(AliCFManager* io) {fCFManager = io;} // global correction manager
67  AliCFManager * GetCFManager() {return fCFManager;} // get corr manager
68 
69  Bool_t GetDStarMCParticle(AliAODMCParticle* mcPart, TClonesArray* mcArray, Double_t* vectorMC)const;
70  Bool_t EvaluateIfD0toKpi(AliAODMCParticle* neutralDaugh, TClonesArray* mcArray, Double_t* VectorD0)const;
71  // for the D0
74  // for the soft pion
77 
78  protected:
79 
80  AliCFManager *fCFManager;
82  THnSparse* fCorrelation;
88 
90  ClassDef(AliCFTaskForDStarAnalysis,3);
91 };
93 
94 #endif
double Double_t
Definition: External.C:58
void SetCFManager(AliCFManager *io)
CORRECTION FRAMEWORK.
void SetMinITSClustersSoft(Int_t minITSClustersSoft)
char Char_t
Definition: External.C:18
Int_t fCountRecoDStarSel
response matrix for unfolding
TCanvas * c
Definition: TestFitELoss.C:172
Bool_t fAcceptanceUnf
min n. of ITS clusters for RecoDecay soft pion
Bool_t GetDStarMCParticle(AliAODMCParticle *mcPart, TClonesArray *mcArray, Double_t *vectorMC) const
AliCFTaskForDStarAnalysis & operator=(const AliCFTaskForDStarAnalysis &c)
const Int_t minITSClusters
Bool_t EvaluateIfD0toKpi(AliAODMCParticle *neutralDaugh, TClonesArray *mcArray, Double_t *VectorD0) const
int Int_t
Definition: External.C:63
Int_t fMinITSClustersSoft
min n. of ITS clusters for RecoDecay
Definition: External.C:204
Int_t fEvents
Reco particle found that satisfy cuts in D* selection.
void SetCorrelationMatrix(THnSparse *h)
UNFOLDING.
void UserCreateOutputObjects()
ANALYSIS FRAMEWORK STUFF to loop on data and fill output objects.
const Int_t minITSClustersSoft
void SetAcceptanceUnf(Bool_t AcceptanceUnf)
TH1I * fHistEventsProcessed
pointer to the CF manager
const char Option_t
Definition: External.C:48
void SetMinITSClusters(Int_t minITSClusters)
bool Bool_t
Definition: External.C:53