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 **************************************************************************/
16 // Abstract PID base class for Detector PID classes
17 // Supplies detector PID classes with basic informations (i.e. Debug
21 // Markus Fasel <M.Fasel@gsi.de>
23 #include "AliESDpid.h"
24 #include "AliHFEpidBase.h"
26 ClassImp(AliHFEpidBase)
28 //___________________________________________________________________
29 AliHFEpidBase::AliHFEpidBase():
35 // Default constructor
39 //___________________________________________________________________
40 AliHFEpidBase::AliHFEpidBase(const Char_t *name):
46 // Default constructor
50 //___________________________________________________________________
51 AliHFEpidBase::AliHFEpidBase(const AliHFEpidBase &c):
62 //___________________________________________________________________
63 AliHFEpidBase &AliHFEpidBase::operator=(const AliHFEpidBase &ref){
65 // Assignment operator
74 //___________________________________________________________________
75 void AliHFEpidBase::Copy(TObject &ref) const {
77 // Copy function for assignment operator
79 AliHFEpidBase &target = dynamic_cast<AliHFEpidBase &>(ref);
81 target.fESDpid = fESDpid;
82 target.fDebugLevel = fDebugLevel;