4 //* This file is property of and copyright by the ALICE Project *
5 //* ALICE Experiment at CERN, All rights reserved. *
6 //* See cxx source for full Copyright notice *
8 /// @file AliDxHFECorrelationMC.h
9 /// @author Sedat Altinpinar, Hege Erdal, Matthias Richter
11 /// @brief Worker class for DxHFE correlation on MC
14 #ifndef ALIDXHFECORRELATIONMC_H
15 #define ALIDXHFECORRELATIONMC_H
17 #include "AliDxHFECorrelation.h"
19 class AliHFCorrelator;
24 class AliDxHFECorrelationMC : public AliDxHFECorrelation {
26 /// default constructor
27 AliDxHFECorrelationMC(const char* name=NULL);
29 virtual ~AliDxHFECorrelationMC();
31 /// fill histograms from particles
32 virtual int Fill(const TObjArray* candidatesD0, TObjArray* candidatesElectron, const AliVEvent* pEvent);
34 /// histogram event properties
35 virtual THnSparse* DefineTHnSparse();
36 virtual int FillParticleProperties(AliVParticle* tr, AliVParticle *as, Double_t* data, int dimension) const;
38 virtual void SetEventType(int type){fMCEventType=type;}
44 AliDxHFECorrelationMC(const AliDxHFECorrelationMC& other);
45 /// assignment operator
46 AliDxHFECorrelationMC& operator=(const AliDxHFECorrelationMC& other);
48 int fMCEventType; // Holds MC Event type, retrieved from MCHeader
50 ClassDef(AliDxHFECorrelationMC, 1)