AliPhysics  vAN-20150822 (d56cf94)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskChargedParticlesRefMC.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKCHARGEDPARTICLESREFMC_H
2 #define ALIANALYSISTASKCHARGEDPARTICLESREFMC_H
3 /* Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 #include "AliAnalysisTaskSE.h"
7 #include <TString.h>
8 
9 class TArrayD;
10 class TClonesArray;
11 
12 class AliAnalysisUtils;
13 class AliAODTrack;
14 class AliESDtrack;
15 class AliESDtrackCuts;
16 class AliGenPythiaEventHeader;
17 class AliVParticle;
18 class AliMCEvent;
19 
20 namespace EMCalTriggerPtAnalysis {
21 
22 class AliEMCalHistoContainer;
27 class AliAnalysisTaskChargedParticlesRefMC: public AliAnalysisTaskSE {
28 public:
30  AliAnalysisTaskChargedParticlesRefMC(const char *name);
32 
34  void UserExec(Option_t *);
35  Bool_t UserNotify();
36  void Terminate(Option_t *) {}
37 
38 protected:
39  void CreateOldPtBinning(TArrayD &binning) const;
40  void CreateNewPtBinning(TArrayD &binning) const;
41 
42  Bool_t TrackSelectionESD(AliESDtrack *track);
43  Bool_t TrackSelectionAOD(AliAODTrack *track);
44  TString GetFiredTriggerClasses(const TClonesArray * triggerpatches);
45  Bool_t PythiaInfoFromFile(const char* currFile, Float_t &fXsec, Float_t &fTrials, Int_t &pthard) const;
46  AliGenPythiaEventHeader *GetPythiaHeader() const;
47  Bool_t IsPhysicalPrimary(const AliVParticle *const part, AliMCEvent *const mcevent);
48 
49 
50  AliESDtrackCuts *fTrackCuts;
51  AliAnalysisUtils *fAnalysisUtil;
53 
54  // Monte-Carlo specific information
55  Double_t fPtHard;
56  Int_t fPtHardBin;
57  Int_t fNTrials;
58  Float_t fXsection;
59 
60 private:
63 
67 };
68 
69 } /* namespace EMCalTriggerPtAnalysis */
70 
71 #endif /* ALIANALYSISTASKCHARGEDPARTICLESREFMC_H */
Container class for histograms for the high- charged particle analysis.
AliAnalysisTaskChargedParticlesRefMC & operator=(const AliAnalysisTaskChargedParticlesRefMC &)
Bool_t IsPhysicalPrimary(const AliVParticle *const part, AliMCEvent *const mcevent)
Bool_t PythiaInfoFromFile(const char *currFile, Float_t &fXsec, Float_t &fTrials, Int_t &pthard) const
Unit test class for charged particle distributions (MC case)