]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGHF/hfe/AliHFEpidMC.cxx
Possibility to select the Lc resonant channel in the MC analysis (Rossella)
[u/mrichter/AliRoot.git] / PWGHF / 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**************************************************************************/
50685501 15//
16// Class for TRD PID
17// Implements the abstract base class AliHFEpidBase
18// Make PID does the PID decision
19// Class further contains TRD specific cuts and QA histograms
20//
21// Authors:
22// Markus Fasel <M.Fasel@gsi.de>
23//
809a4336 24#include <TParticle.h>
25
722347d8 26#include "AliAODMCParticle.h"
809a4336 27#include "AliMCParticle.h"
50685501 28//#include "AliVParticle.h"
809a4336 29
30#include "AliHFEpidMC.h"
3a72645a 31#include "AliHFEtools.h"
809a4336 32
33ClassImp(AliHFEpidMC)
34
3a72645a 35//___________________________________________________________________
36AliHFEpidMC::AliHFEpidMC():
37 AliHFEpidBase()
38{
39 //
40 // Default constructor
41 //
42}
43
809a4336 44//___________________________________________________________________
45AliHFEpidMC::AliHFEpidMC(const Char_t *name):
46 AliHFEpidBase(name)
47{
48 //
3a72645a 49 // Standard constructor
809a4336 50 //
51}
52
53//___________________________________________________________________
8c1c76e9 54Bool_t AliHFEpidMC::InitializePID(Int_t /*run*/){
809a4336 55 //
56 // Implementation of the framework function InitializePID
57 // Not yet anything to implement in case of MC PID
58 //
59 return kTRUE;
60}
61
62//___________________________________________________________________
6555e2ad 63Int_t AliHFEpidMC::IsSelected(const AliHFEpidObject *track, AliHFEpidQAmanager * /*pidqa*/) const {
809a4336 64 //
78ea5ef4 65 // returns MC PDG Code
66 // Functionality implemented in the base class
67 // (necessary for PID QA)
809a4336 68 //
e17c1f86 69 return track->GetAbInitioPID();
809a4336 70}