Added methods to set/get centrailty from clusters in outer layer, which is less noisy...
[u/mrichter/AliRoot.git] / STEER / AliESDCentrality.h
CommitLineData
d15bf53f 1//-*- Mode: C++ -*-
2#ifndef ALIESDCentrality_H
3#define ALIESDCentrality_H
4/* This file is property of and copyright by the ALICE HLT Project *
5 * ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
7
8//*****************************************************
9// Class AliCentralitySelectionTask
10// author: Alberica Toia
11//*****************************************************
12
13#include "TNamed.h"
14
15class AliESDCentrality : public TNamed
16{
17 public:
18
19 AliESDCentrality(); /// constructor
20 ~AliESDCentrality(); /// destructor
21 AliESDCentrality(const AliESDCentrality& cnt); /// copy constructor
22 AliESDCentrality& operator=(const AliESDCentrality& cnt); /// assignment operator
23
24 /// set centrality result
25 void SetCentralityV0M(Float_t cent) {fCentralityV0M = cent;}
26 void SetCentralityFMD(Float_t cent) {fCentralityFMD = cent;}
27 void SetCentralityTRK(Float_t cent) {fCentralityTRK = cent;}
28 void SetCentralityTKL(Float_t cent) {fCentralityTKL = cent;}
29 void SetCentralityCL0(Float_t cent) {fCentralityCL0 = cent;}
be0d4e9b 30 void SetCentralityCL1(Float_t cent) {fCentralityCL1 = cent;}
d15bf53f 31 void SetCentralityV0MvsFMD(Float_t cent) {fCentralityV0MvsFMD = cent;}
32 void SetCentralityTKLvsV0M(Float_t cent) {fCentralityTKLvsV0M = cent;}
33 void SetCentralityZEMvsZDC(Float_t cent) {fCentralityZEMvsZDC = cent;}
34
35 /// get centrality result
36 Float_t GetCentralityPercentile(const char *method);
37 Int_t GetCentralityClass10(const char *method);
38 Int_t GetCentralityClass5(const char *method);
39 Bool_t IsEventInCentralityClass(Float_t a, Float_t b, const char *method);
40
41 private:
42 Float_t fCentralityV0M; // Centrality from V0
43 Float_t fCentralityFMD; // Centrality from FMD
44 Float_t fCentralityTRK; // Centrality from tracks
45 Float_t fCentralityTKL; // Centrality from tracklets
46 Float_t fCentralityCL0; // Centrality from Clusters in layer 0
be0d4e9b 47 Float_t fCentralityCL1; // Centrality from Clusters in layer 0
d15bf53f 48 Float_t fCentralityV0MvsFMD; // Centrality from V0 vs FMD
49 Float_t fCentralityTKLvsV0M; // Centrality from tracklets vs V0
50 Float_t fCentralityZEMvsZDC; // Centrality from ZEM vs ZDC
51
52 ClassDef(AliESDCentrality, 1)
53};
54#endif //ALIESDCENTRALITY_H