Major commit related to steering of the reco parameters: AliDAQ and trigger classes...
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecoParam.h
CommitLineData
58f66025 1#ifndef ALIPHOSRECOPARAM_H
2#define ALIPHOSRECOPARAM_H
3/* Copyright(c) 2007, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8// Base class for the PHOS reconstruction parameters.
9// Do not use in the reconstruction; use derivative classes instead.
10
cf4e2a86 11#include "AliDetectorRecoParam.h"
58f66025 12
cf4e2a86 13class AliPHOSRecoParam : public AliDetectorRecoParam {
58f66025 14
15public:
16
17 AliPHOSRecoParam();
18 AliPHOSRecoParam(const AliPHOSRecoParam& recoParam);
19 AliPHOSRecoParam& operator = (const AliPHOSRecoParam& recoParam);
20 virtual ~AliPHOSRecoParam() {}
21
7e88424f 22 Float_t GetEMCClusteringThreshold() const { return fEMCClusteringThreshold; }
23 Float_t GetEMCLocalMaxCut() const { return fEMCLocMaxCut; }
24 Float_t GetEMCMinE() const { return fEMCMinE; }
25 Float_t GetEMCLogWeight() const { return fEMCW0; }
26 Float_t GetEMCSampleQualityCut() const { return fEMCSampleQualityCut; }
27 Float_t GetEMCEcoreRadius() const { return fEMCEcoreRadius; }
28 Bool_t EMCEcore2ESD() const { return fEMCEcore2ESD; }
29 Bool_t EMCSubtractPedestals() const { return fEMCSubtractPedestals; }
30 Bool_t EMCToUnfold() const { return fEMCUnfold; }
31 const char* EMCDecoderVersion() const { return fEMCDecoderVersion.Data();}
32
33 Float_t GetCPVClusteringThreshold() const { return fCPVClusteringThreshold; }
34 Float_t GetCPVLocalMaxCut() const { return fCPVLocMaxCut; }
35 Float_t GetCPVMinE() const { return fCPVMinE; }
36 Float_t GetCPVLogWeight() const { return fCPVW0; }
37 Bool_t CPVToUnfold() const { return fCPVUnfold; }
38
39 void SetEMCClusteringThreshold(Float_t cluth) { fEMCClusteringThreshold=cluth; }
40 void SetEMCLocalMaxCut(Float_t cut) { fEMCLocMaxCut =cut; }
41 void SetEMCMinE(Float_t minE) { fEMCMinE =minE; }
42 void SetEMCLogWeight(Float_t w) { fEMCW0 =w; }
43 void SetEMCSampleQualityCut(Float_t qu) { fEMCSampleQualityCut =qu; }
44 void SetEMCEcoreRadius(Float_t rCore) { fEMCEcoreRadius =rCore; }
45 void SetEMCEcore2ESD(Bool_t ecore) { fEMCEcore2ESD =ecore; }
46 void SetEMCSubtractPedestals(Bool_t subtract) { fEMCSubtractPedestals =subtract;}
47 void SetEMCDecoderVersion(const char* version="v1"){ fEMCDecoderVersion =version ;}
48 void SetEMCUnfolding(Bool_t toUnfold=kFALSE) { fEMCUnfold =toUnfold;}
49
50 void SetCPVClusteringThreshold(Float_t cluth) { fCPVClusteringThreshold=cluth; }
51 void SetCPVLocalMaxCut(Float_t cut) { fCPVLocMaxCut =cut; }
52 void SetCPVMinE(Float_t minE) { fCPVMinE =minE; }
53 void SetCPVLogWeight(Float_t w) { fCPVW0 =w; }
54 void SetCPVUnfolding(Bool_t toUnfold=kFALSE) { fCPVUnfold =toUnfold;}
55
56 static AliPHOSRecoParam* GetDefaultParameters();
57 static const TObjArray* GetMappings();
58f66025 58
59protected:
60
7e88424f 61 Float_t fEMCClusteringThreshold; // EMC: Min.digit energy to start a new cluster, in GeV
62 Float_t fEMCLocMaxCut; // EMC: Min.energy difference between two local maxima, in GeV
63 Float_t fEMCMinE; // EMC: Min.E in the digits list associated with rec.point, in GeV
64 Float_t fEMCW0; // EMC: Log.weight to evaluate a local coordinate of rec.point
65 Float_t fEMCSampleQualityCut; // EMC: Cut on pulse shape fit quality
66 Float_t fEMCEcoreRadius; // EMC: Radius within which the core energy is calculated, in cm
67 Bool_t fEMCEcore2ESD; // EMC: true if Ecore is stored in ESD instead of Etot
68 Bool_t fEMCSubtractPedestals; // EMC: true if pedestal should be subtracted (in non-ZS)
69 Bool_t fEMCUnfold; // EMC: true if overlapped clusters should be unfolded
70 TString fEMCDecoderVersion ; // EMC: AliPHOSRawDecoder version
71
72 Float_t fCPVClusteringThreshold; // CPV: Min.digit energy to start a new cluster, in GeV
73 Float_t fCPVLocMaxCut; // CPV: Min.energy difference between two local maxima, in GeV
74 Float_t fCPVMinE; // CPV: Min.E in the digits list associated with rec.point, in GeV
75 Float_t fCPVW0; // CPV: Log.weight to evaluate a local coordinate of rec.point
76 Bool_t fCPVUnfold; // CPV: true if overlapped clusters should be unfolded
77
78 static TObjArray* fgkMaps; // ALTRO mappings for RCU0..RCU3
79
80 ClassDef(AliPHOSRecoParam,6)
58f66025 81};
82
83#endif