]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGHF/hfe/AliHFEpidObject.cxx
Removing printout (Davide)
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEpidObject.cxx
CommitLineData
8c1c76e9 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**************************************************************************/
15//
16// Object used in the electron identification
17// Combines reconstructed tracks with additional information (like apriori PID, centrality)
18// which are missing in the reconstructed track itself
19//
20// Authors:
21// Markus Fasel <M.Fasel@gsi.de>
22//
23#include "AliHFEpidObject.h"
24#include "AliHFEtools.h"
25
26//___________________________________________________________________
27AliHFEpidObject &AliHFEpidObject::operator=(const AliHFEpidObject &ref){
28 //
29 // Assignment operator
30 //
31 if(&ref != this){
32 fkRecTrack = ref.fkRecTrack;
33 fAnalysisType = ref.fAnalysisType;
34 fAbInitioPID = ref.fAbInitioPID;
35 fCentrality = ref.fCentrality;
959ea9d8 36 fMultiplicity = ref.fMultiplicity;
8c1c76e9 37 }
38 return *this;
39}
40
41//___________________________________________________________________
42void AliHFEpidObject::SetMCTrack(const AliVParticle *mctrack){
43 //
44 // Set the aprioriPID information coming from the MC truth
45 //
46 if(mctrack) fAbInitioPID = AliHFEtools::PDG2AliPID(AliHFEtools::GetPdg(mctrack));
47}
48