Coding conventions
[u/mrichter/AliRoot.git] / PWG3 / muondep / AliAnalysisTaskESDMCLabelAddition.h
CommitLineData
63c5d0a6 1#ifndef ALIANALYSISTASKESDMCLABELADDITION_H
2#define ALIANALYSISTASKESDMCLABELADDITION_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
27de2dfb 7/* $Id$ */
8
63c5d0a6 9#include <TList.h>
10#include "AliAnalysisTaskSE.h"
11
12class AliAnalysisFilter;
13class AliStack;
14class AliESDMuonTrack;
15class AliMUONTrack;
16class AliMUONVTrackStore;
17
18class AliAnalysisTaskESDMCLabelAddition : public AliAnalysisTaskSE
19{
20
21 public:
22 AliAnalysisTaskESDMCLabelAddition();
23 AliAnalysisTaskESDMCLabelAddition(const char* name);
24 virtual ~AliAnalysisTaskESDMCLabelAddition() {;}
25 // Implementation of interface methods
26 virtual void UserCreateOutputObjects();
27 virtual void Init();
28 virtual void LocalInit() {Init();}
29 virtual void UserExec(Option_t *option);
30 virtual void Terminate(Option_t *option);
31
32
33 private:
34
35 static const Double_t fgkSigmaCut; // sigma cut applied to match a reconstructed cluster with a trackref
36
37 AliAnalysisTaskESDMCLabelAddition(const AliAnalysisTaskESDMCLabelAddition&);
38 AliAnalysisTaskESDMCLabelAddition& operator=(const AliAnalysisTaskESDMCLabelAddition&);
39
40 void AddMCLabel();
41 AliMUONTrack* ESDToMUON(AliESDMuonTrack &esdTrack);
42 AliMUONTrack* MatchWithTrackRef(AliESDMuonTrack &esdTrack, AliMUONVTrackStore &trackRefStore);
43 Bool_t TrackMatched(AliMUONTrack &track, AliMUONTrack &trackRef);
44
45 ClassDef(AliAnalysisTaskESDMCLabelAddition, 1); // Analysis task for standard ESD filtering
46
47};
48
49#endif