]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG3/hfe/AliHFEpidMC.cxx
Added pass1 and pass2 directories
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEpidMC.cxx
CommitLineData
809a4336 1/**************************************************************************
2* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3* *
4* Author: The ALICE Off-line Project. *
5* Contributors are mentioned in the code where appropriate. *
6* *
7* Permission to use, copy, modify and distribute this software and its *
8* documentation strictly for non-commercial purposes is hereby granted *
9* without fee, provided that the above copyright notice appears in all *
10* copies and that both the copyright notice and this permission notice *
11* appear in the supporting documentation. The authors make no claims *
12* about the suitability of this software for any purpose. It is *
13* provided "as is" without express or implied warranty. *
14**************************************************************************/
27de2dfb 15
16/* $Id$ */
17
50685501 18//
19// Class for TRD PID
20// Implements the abstract base class AliHFEpidBase
21// Make PID does the PID decision
22// Class further contains TRD specific cuts and QA histograms
23//
24// Authors:
25// Markus Fasel <M.Fasel@gsi.de>
26//
809a4336 27#include <TParticle.h>
28
722347d8 29#include "AliAODMCParticle.h"
809a4336 30#include "AliMCParticle.h"
50685501 31//#include "AliVParticle.h"
809a4336 32
33#include "AliHFEpidMC.h"
3a72645a 34#include "AliHFEtools.h"
809a4336 35
36ClassImp(AliHFEpidMC)
37
3a72645a 38//___________________________________________________________________
39AliHFEpidMC::AliHFEpidMC():
40 AliHFEpidBase()
41{
42 //
43 // Default constructor
44 //
45}
46
809a4336 47//___________________________________________________________________
48AliHFEpidMC::AliHFEpidMC(const Char_t *name):
49 AliHFEpidBase(name)
50{
51 //
3a72645a 52 // Standard constructor
809a4336 53 //
54}
55
56//___________________________________________________________________
57Bool_t AliHFEpidMC::InitializePID(){
58 //
59 // Implementation of the framework function InitializePID
60 // Not yet anything to implement in case of MC PID
61 //
62 return kTRUE;
63}
64
65//___________________________________________________________________
6555e2ad 66Int_t AliHFEpidMC::IsSelected(const AliHFEpidObject *track, AliHFEpidQAmanager * /*pidqa*/) const {
809a4336 67 //
78ea5ef4 68 // returns MC PDG Code
69 // Functionality implemented in the base class
70 // (necessary for PID QA)
809a4336 71 //
3a72645a 72 return AliHFEtools::GetPdg(track->GetRecTrack());
809a4336 73}