AliPhysics  4ea6a45 (4ea6a45)
Go to the documentation of this file.
1 #ifndef AliAodSkimTask_H
2 #define AliAodSkimTask_H
4 #include <AliAnalysisTaskSE.h>
5 class AliAODMCHeader;
6 class TH1F;
9 {
10  public:
12  AliAodSkimTask(const char *name);
13  virtual ~AliAodSkimTask();
15  void SetCutMC(Bool_t b) {fCutMC=b; }
16  protected:
18  void UserExec(Option_t* option);
20  void Terminate(Option_t* option);
21  Bool_t PythiaInfoFromFile(const char *currFile, Float_t &xsec, Float_t &trials, Int_t &pthard);
23  Double_t fClusMinE; // minimum cluster energy to accept event
24  Bool_t fCutMC; // if true cut MC particles with |Y|>1.2
30  AliAODMCHeader *fAODMcHeader;
32  TH1F *fHevs;
33  TH1F *fHclus;
34  AliAodSkimTask(const AliAodSkimTask&); // not implemented
35  AliAodSkimTask& operator=(const AliAodSkimTask&); // not implemented
36  ClassDef(AliAodSkimTask, 1);
37 };
38 #endif
void SetClusMinE(Double_t v)
Int_t fPypthardbin
pythia trials
double Double_t
Definition: External.C:58
TH1F * fHevs
output list
Float_t fPyxsec
events seen since last acceptance
void Terminate(Option_t *option)
AliAODEvent * fAOD
pythia pthard bin
Float_t fPytrials
pythia xsection
Double_t fClusMinE
int Int_t
Definition: External.C:63
unsigned int UInt_t
Definition: External.C:33
float Float_t
Definition: External.C:68
void UserExec(Option_t *option)
virtual ~AliAodSkimTask()
void UserCreateOutputObjects()
TList * fOutputList
MC header.
TH1F * fHclus
events processed/accepted
AliAODMCHeader * fAODMcHeader
input event
void SetCutMC(Bool_t b)
Bool_t PythiaInfoFromFile(const char *currFile, Float_t &xsec, Float_t &trials, Int_t &pthard)
const char Option_t
Definition: External.C:48
AliAodSkimTask & operator=(const AliAodSkimTask &)
bool Bool_t
Definition: External.C:53