]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG3/hfe/AliHFEdetPIDqa.cxx
Major update of the HFE package (comments inside the code
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEdetPIDqa.cxx
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 // Class AliHFEdetPIDqa
17 // Base class for detector PID QA describing the interface to the PID QA
18 // manager, keeping also commom functionality. The following functions have
19 // to be implemented by the detector PID QA classes:
20 //   Initialize (basic initialization, i.e. histograms)
21 //   ProcessTrack (filling of the QA container)
22 // The base class provides the ESD/AOD PID object for all detector PID QA 
23 // classes
24 //
25 // Author:
26 //   Markus Fasel <M.Fasel@gsi.de>
27 //
28
29 #include "AliAODpidUtil.h"
30 #include "AliESDpid.h"
31
32 #include "AliHFEdetPIDqa.h"
33
34 ClassImp(AliHFEdetPIDqa)
35
36 //____________________________________________________________
37 AliHFEdetPIDqa::AliHFEdetPIDqa():
38     TNamed()
39   , fESDpid(NULL)
40   , fAODpid(NULL)
41 {
42   //
43   // Dummy constructor
44   //
45 }
46
47 //____________________________________________________________
48 AliHFEdetPIDqa::AliHFEdetPIDqa(const Char_t *name, const Char_t *title):
49     TNamed(name, title)
50   , fESDpid(NULL)
51   , fAODpid(NULL)
52 {
53   //
54   // Default constructor
55   //
56 }
57
58 //____________________________________________________________
59 AliHFEdetPIDqa::AliHFEdetPIDqa(const AliHFEdetPIDqa &o):
60     TNamed(o)
61   , fESDpid(o.fESDpid)
62   , fAODpid(o.fAODpid)
63 {
64   //
65   // Copy constructor
66   //
67 }
68
69 //____________________________________________________________
70 AliHFEdetPIDqa &AliHFEdetPIDqa::operator=(const AliHFEdetPIDqa &o){
71   //
72   // Make assignment
73   //
74   TNamed::operator=(o);
75
76   fESDpid = o.fESDpid;
77   fAODpid = o.fAODpid;
78   
79   return *this;
80 }
81