1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
17 // Implements the abstract base class AliHFEpidBase
18 // Make PID does the PID decision
19 // Class further contains TRD specific cuts and QA histograms
22 // Markus Fasel <M.Fasel@gsi.de>
24 #include <TParticle.h>
26 #include "AliAODMCParticle.h"
27 #include "AliMCParticle.h"
28 //#include "AliVParticle.h"
30 #include "AliHFEpidMC.h"
31 #include "AliHFEtools.h"
35 //___________________________________________________________________
36 AliHFEpidMC::AliHFEpidMC():
40 // Default constructor
44 //___________________________________________________________________
45 AliHFEpidMC::AliHFEpidMC(const Char_t *name):
49 // Standard constructor
53 //___________________________________________________________________
54 Bool_t AliHFEpidMC::InitializePID(Int_t /*run*/){
56 // Implementation of the framework function InitializePID
57 // Not yet anything to implement in case of MC PID
62 //___________________________________________________________________
63 Int_t AliHFEpidMC::IsSelected(const AliHFEpidObject *track, AliHFEpidQAmanager * /*pidqa*/) const {
65 // returns MC PDG Code
66 // Functionality implemented in the base class
67 // (necessary for PID QA)
69 return track->GetAbInitioPID();