]> git.uio.no Git - u/mrichter/AliRoot.git/blob - OADB/AliOADBCentrality.cxx
add OCDB for truncated mean (Xianguo)
[u/mrichter/AliRoot.git] / OADB / AliOADBCentrality.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-2007, 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 /* $Id$ */
17
18 //-------------------------------------------------------------------------
19 //     OADB class for run dependent centrality scaling and 
20 //     data for centrality determination
21 //     Author: Andreas Morsch, CERN
22 //-------------------------------------------------------------------------
23
24 #include "AliOADBCentrality.h"
25 ClassImp(AliOADBCentrality);
26
27 //______________________________________________________________________________
28 AliOADBCentrality::AliOADBCentrality() : 
29   TNamed(),
30   fV0MScaleFactor(1.),
31   fSPDScaleFactor(1.),
32   fTPCScaleFactor(1.),
33   fV0MScaleFactorMC(1.),
34   fV0MSPDOutlierPar0(1.),
35   fV0MSPDOutlierPar1(1.),
36   fV0MTPCOutlierPar0(1.),
37   fV0MTPCOutlierPar1(1.),
38   fV0MSPDSigmaOutlierPar0(1.),
39   fV0MSPDSigmaOutlierPar1(1.),
40   fV0MSPDSigmaOutlierPar2(1.),
41   fV0MTPCSigmaOutlierPar0(1.),
42   fV0MTPCSigmaOutlierPar1(1.),
43   fV0MTPCSigmaOutlierPar2(1.),
44   fV0MZDCOutlierPar0(1.),
45   fV0MZDCOutlierPar1(1.),
46   fV0MZDCEcalOutlierPar0(1.),
47   fV0MZDCEcalOutlierPar1(1.),
48   fZVCut(10.),
49   fOutliersCut(6.),
50   fUseScaling(kFALSE),
51   fUseCleaning(kTRUE),
52   f1DHistos(),
53   f2DHistos()
54 {
55   // Default constructor
56 }
57 //______________________________________________________________________________
58 AliOADBCentrality::AliOADBCentrality(char* name) : 
59   TNamed(name, "Centrality Scaling"),
60   fV0MScaleFactor(1.),
61   fSPDScaleFactor(1.),
62   fTPCScaleFactor(1.),
63   fV0MScaleFactorMC(1.),
64   fV0MSPDOutlierPar0(1.),
65   fV0MSPDOutlierPar1(1.),
66   fV0MTPCOutlierPar0(1.),
67   fV0MTPCOutlierPar1(1.),
68   fV0MSPDSigmaOutlierPar0(1.),
69   fV0MSPDSigmaOutlierPar1(1.),
70   fV0MSPDSigmaOutlierPar2(1.),
71   fV0MTPCSigmaOutlierPar0(1.),
72   fV0MTPCSigmaOutlierPar1(1.),
73   fV0MTPCSigmaOutlierPar2(1.),
74   fV0MZDCOutlierPar0(1.),
75   fV0MZDCOutlierPar1(1.),
76   fV0MZDCEcalOutlierPar0(1.),
77   fV0MZDCEcalOutlierPar1(1.),
78   fZVCut(10.),
79   fOutliersCut(6.),
80   fUseScaling(kFALSE),
81   fUseCleaning(kTRUE),
82   f1DHistos(),
83   f2DHistos()
84 {
85   // Constructor
86 }
87 //______________________________________________________________________________
88 AliOADBCentrality::~AliOADBCentrality() 
89 {
90   // destructor
91 }