]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGHF/correlationHF/AliDxHFECorrelationMC.h
cleanup
[u/mrichter/AliRoot.git] / PWGHF / correlationHF / AliDxHFECorrelationMC.h
CommitLineData
dfe96b90 1//-*- Mode: C++ -*-
f56bbc28 2// $Id$
dfe96b90 3
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 *
7
8/// @file AliDxHFECorrelationMC.h
9/// @author Sedat Altinpinar, Hege Erdal, Matthias Richter
10/// @date 2012-11-02
11/// @brief Worker class for DxHFE correlation on MC
12///
13
14#ifndef ALIDXHFECORRELATIONMC_H
15#define ALIDXHFECORRELATIONMC_H
16
17#include "AliDxHFECorrelation.h"
18
19class AliHFCorrelator;
20class AliVEvent;
21class AliVParticle;
22class TObjArray;
23
24class AliDxHFECorrelationMC : public AliDxHFECorrelation {
25 public:
26 /// default constructor
27 AliDxHFECorrelationMC(const char* name=NULL);
28 /// destructor
29 virtual ~AliDxHFECorrelationMC();
30
31 /// fill histograms from particles
32 virtual int Fill(const TObjArray* candidatesD0, TObjArray* candidatesElectron, const AliVEvent* pEvent);
33
34 /// histogram event properties
35 virtual THnSparse* DefineTHnSparse();
36 virtual int FillParticleProperties(AliVParticle* tr, AliVParticle *as, Double_t* data, int dimension) const;
37
38 virtual void SetEventType(int type){fMCEventType=type;}
39
40 protected:
41
42 private:
43 /// copy constructor
44 AliDxHFECorrelationMC(const AliDxHFECorrelationMC& other);
45 /// assignment operator
46 AliDxHFECorrelationMC& operator=(const AliDxHFECorrelationMC& other);
47
48 int fMCEventType; // Holds MC Event type, retrieved from MCHeader
49
50 ClassDef(AliDxHFECorrelationMC, 1)
51};
52#endif