forked from rbertens/ALICE_analysis_tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AliAnalysisTaskMyTask.h
43 lines (33 loc) · 1.48 KB
/
AliAnalysisTaskMyTask.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. */
/* See cxx source for full Copyright notice */
/* $Id$ */
#ifndef AliAnalysisTaskMyTask_H
#define AliAnalysisTaskMyTask_H
#include "AliAnalysisTaskSE.h"
class AliAnalysisTaskMyTask : public AliAnalysisTaskSE
{
public:
AliAnalysisTaskMyTask();
AliAnalysisTaskMyTask(const char *name);
virtual ~AliAnalysisTaskMyTask();
virtual void UserCreateOutputObjects();
virtual void UserExec(Option_t* option);
virtual void Terminate(Option_t* option);
private:
AliAODEvent* fAOD; //! input event
TList* fOutputList; //! output list
TH1F* fHistPt; //! dummy histogram
Int_t charge;
Int_t minusCharge;
Int_t plusCharge;
Int_t NetCharge;
Int_t iMult;
TH1I* fHistNegativeCharge; //! edited by me
TH1I* fHistPositiveCharge; //! edited by me
TH1I* fHistNetCharge; //! edited by me
TH1I* fMultiplicity; //! edited by me
AliAnalysisTaskMyTask(const AliAnalysisTaskMyTask&); // not implemented
AliAnalysisTaskMyTask& operator=(const AliAnalysisTaskMyTask&); // not implemented
ClassDef(AliAnalysisTaskMyTask, 1);
};
#endif