Added class to read reconstruction parameters from OCDB (Yuri)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALRecParam.h
CommitLineData
3a8be91c 1#ifndef ALIEMCALRECPARAM_H
2#define ALIEMCALRECPARAM_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8//-----------------------------------------------------------------------------
9// Container of EMCAL reconstruction parameters
10// The purpose of this object is to store it to OCDB
11// and retrieve it in AliEMCALClusterizerv1
12// Author: Yuri Kharlov
13//-----------------------------------------------------------------------------
14
15// --- ROOT system ---
16
17#include "TObject.h"
18
19class AliEMCALRecParam : public TObject
20{
21public:
22
23 AliEMCALRecParam() ;
24 virtual ~AliEMCALRecParam() {}
25 Float_t GetClusteringThreshold() {return fClusteringThreshold;}
26 Float_t GetW0 () {return fW0 ;}
27 Float_t GetMinECut () {return fMinECut ;}
28 void SetClusteringThreshold(Float_t thrsh) {fClusteringThreshold = thrsh;}
29 void SetW0 (Float_t w0) {fW0 = w0 ;}
30 void SetMinECut (Float_t minEcut) {fMinECut = minEcut ;}
31 virtual void Print(Option_t * option="") const ;
32
33private:
34 Float_t fClusteringThreshold ; // minimum energy to seed a EC digit in a cluster
35 Float_t fW0 ; // logarithmic weight for the cluster center of gravity calculation
36 Float_t fMinECut; // Minimum energy for a digit to be a member of a cluster
37
38 ClassDef(AliEMCALRecParam,1) // Reconstruction parameters
39
40} ;
41
42#endif // ALIEMCALRECPARAM_H