]> git.uio.no Git - u/mrichter/AliRoot.git/blob - OADB/AliOADBCentrality.cxx
Introduction of centrality selection for MC, hijing and dpmjet, in the same way as...
[u/mrichter/AliRoot.git] / OADB / AliOADBCentrality.cxx
1 /**************************************************************************\r
2  * Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *\r
3  *                                                                        *\r
4  * Author: The ALICE Off-line Project.                                    *\r
5  * Contributors are mentioned in the code where appropriate.              *\r
6  *                                                                        *\r
7  * Permission to use, copy, modify and distribute this software and its   *\r
8  * documentation strictly for non-commercial purposes is hereby granted   *\r
9  * without fee, provided that the above copyright notice appears in all   *\r
10  * copies and that both the copyright notice and this permission notice   *\r
11  * appear in the supporting documentation. The authors make no claims     *\r
12  * about the suitability of this software for any purpose. It is          *\r
13  * provided "as is" without express or implied warranty.                  *\r
14  **************************************************************************/\r
15 \r
16 /* $Id$ */\r
17 \r
18 //-------------------------------------------------------------------------\r
19 //     OADB class for run dependent centrality scaling and \r
20 //     data for centrality determination\r
21 //     Author: Andreas Morsch, CERN\r
22 //-------------------------------------------------------------------------\r
23 \r
24 #include "AliOADBCentrality.h"\r
25 ClassImp(AliOADBCentrality);\r
26 \r
27 //______________________________________________________________________________\r
28 AliOADBCentrality::AliOADBCentrality() : \r
29   TNamed(),\r
30   fV0MScaleFactor(1.),\r
31   fSPDScaleFactor(1.),\r
32   fTPCScaleFactor(1.),\r
33   fV0MScaleFactorMC(1.),\r
34   fV0MSPDOutlierPar0(1.),\r
35   fV0MSPDOutlierPar1(1.),\r
36   fV0MTPCOutlierPar0(1.),\r
37   fV0MTPCOutlierPar1(1.),\r
38   fV0MSPDSigmaOutlierPar0(1.),\r
39   fV0MSPDSigmaOutlierPar1(1.),\r
40   fV0MSPDSigmaOutlierPar2(1.),\r
41   fV0MTPCSigmaOutlierPar0(1.),\r
42   fV0MTPCSigmaOutlierPar1(1.),\r
43   fV0MTPCSigmaOutlierPar2(1.),\r
44   fV0MZDCOutlierPar0(1.),\r
45   fV0MZDCOutlierPar1(1.),\r
46   fV0MZDCEcalOutlierPar0(1.),\r
47   fV0MZDCEcalOutlierPar1(1.),\r
48   fZVCut(10.),\r
49   fOutliersCut(6.),\r
50   fUseScaling(kFALSE),\r
51   fUseCleaning(kTRUE),\r
52   f1DHistos(),\r
53   f2DHistos()\r
54 {\r
55   // Default constructor\r
56 }\r
57 //______________________________________________________________________________\r
58 AliOADBCentrality::AliOADBCentrality(char* name) : \r
59   TNamed(name, "Centrality Scaling"),\r
60   fV0MScaleFactor(1.),\r
61   fSPDScaleFactor(1.),\r
62   fTPCScaleFactor(1.),\r
63   fV0MScaleFactorMC(1.),\r
64   fV0MSPDOutlierPar0(1.),\r
65   fV0MSPDOutlierPar1(1.),\r
66   fV0MTPCOutlierPar0(1.),\r
67   fV0MTPCOutlierPar1(1.),\r
68   fV0MSPDSigmaOutlierPar0(1.),\r
69   fV0MSPDSigmaOutlierPar1(1.),\r
70   fV0MSPDSigmaOutlierPar2(1.),\r
71   fV0MTPCSigmaOutlierPar0(1.),\r
72   fV0MTPCSigmaOutlierPar1(1.),\r
73   fV0MTPCSigmaOutlierPar2(1.),\r
74   fV0MZDCOutlierPar0(1.),\r
75   fV0MZDCOutlierPar1(1.),\r
76   fV0MZDCEcalOutlierPar0(1.),\r
77   fV0MZDCEcalOutlierPar1(1.),\r
78   fZVCut(10.),\r
79   fOutliersCut(6.),\r
80   fUseScaling(kFALSE),\r
81   fUseCleaning(kTRUE),\r
82   f1DHistos(),\r
83   f2DHistos()\r
84 {\r
85   // Constructor\r
86 }\r
87 //______________________________________________________________________________\r
88 AliOADBCentrality::~AliOADBCentrality() \r
89 {\r
90   // destructor\r
91 }\r