]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/STEERBase/AliHMPIDPIDParams.cxx
Merge branch 'master' into TPCdev
[u/mrichter/AliRoot.git] / STEER / STEERBase / AliHMPIDPIDParams.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-2010, 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 //***********************************************************
17 // Class AliHMPIDPIDParams
18 //
19 // class to store PID parameters for HMPID in OADB
20 //
21 // Author: G. Volpe, giacomo.volpe@cern.ch
22 //***********************************************************
23
24 #include <TNamed.h>
25 #include "AliHMPIDPIDParams.h"
26
27 ClassImp(AliHMPIDPIDParams)
28
29 //_____________________________________________________________________________
30 AliHMPIDPIDParams::AliHMPIDPIDParams():
31  TNamed("default",""),
32  fHMPIDRefIndexArray(0x0)
33 {
34   
35 }
36 //_____________________________________________________________________________
37 AliHMPIDPIDParams::AliHMPIDPIDParams(Char_t *name):
38   TNamed(name,""),
39   fHMPIDRefIndexArray(0x0)
40 {
41   
42 }
43 //___________________________________________________________________________
44 AliHMPIDPIDParams& AliHMPIDPIDParams::operator=(const AliHMPIDPIDParams& c)
45 {
46   //
47   // Assignment operator
48   //
49   if (this!=&c) {
50     fHMPIDRefIndexArray=c.fHMPIDRefIndexArray;
51   }
52   return *this;
53 }
54
55 //___________________________________________________________________________
56 AliHMPIDPIDParams::AliHMPIDPIDParams(const AliHMPIDPIDParams& c) :
57  TNamed(c),
58  fHMPIDRefIndexArray(c.fHMPIDRefIndexArray)   
59 {
60   //
61   // Copy Constructor
62   //
63   
64 }
65  
66 //_____________________________________________________________________________
67 AliHMPIDPIDParams::~AliHMPIDPIDParams(){
68 }
69
70