]>
Commit | Line | Data |
---|---|---|
16d3c94d | 1 | #ifndef ALIEMCALPI0SELECTIONPARAM_H |
2 | #define ALIEMCALPI0SELECTIONPARAM_H | |
3 | /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //_________________________________________________________________________ | |
0fc11500 | 9 | // Set of parameters for pi0 selection |
b217491f | 10 | // unit is GeV |
11 | // pi0SelectionParam -> AliEMCALPi0SelectionParRec | |
16d3c94d | 12 | // |
13 | //*-- Author: Aleksei Pavlinov (WSU, Detroit, USA) | |
14 | ||
15 | // --- ROOT system --- | |
0fc11500 | 16 | #include <TNamed.h> |
17 | #include <TObjArray.h> | |
16d3c94d | 18 | |
b217491f | 19 | // pi0SelectionParam -> AliEMCALPi0SelectionParRec |
20 | ||
21 | class AliEMCALPi0SelectionParRec : public TObject{ | |
22 | friend class AliEMCALPi0SelectionParam; | |
23 | friend class AliEMCALRecPointsQaESDSelector; | |
0fc11500 | 24 | public: |
b217491f | 25 | AliEMCALPi0SelectionParRec(); |
26 | virtual ~AliEMCALPi0SelectionParRec() {}; | |
0fc11500 | 27 | virtual const char* GetName() const {return "Pi0Par";} |
28 | ||
b217491f | 29 | protected: |
30 | double fEOfRpMin; // minimal energy of em.cluster (rec point) | |
31 | double fEOfRpMax; // maximal energy of em.cluster (rec point) | |
32 | double fMassGGMin; // minimal mass of gamma,gamma | |
33 | double fMassGGMax; // maximal mass of gamma,gamma | |
34 | double fMomPi0Min; // minimal pi0 momentum | |
35 | double fMomPi0Max; // maximal pi0 momentum | |
0fc11500 | 36 | |
b217491f | 37 | ClassDef(AliEMCALPi0SelectionParRec,1); |
16d3c94d | 38 | }; |
39 | ||
b217491f | 40 | |
0fc11500 | 41 | class AliEMCALPi0SelectionParam : public TNamed { |
16d3c94d | 42 | public: |
0fc11500 | 43 | AliEMCALPi0SelectionParam(); // default constractor |
44 | AliEMCALPi0SelectionParam(const char* name, const Int_t nrow); | |
45 | virtual ~AliEMCALPi0SelectionParam(); | |
46 | ||
47 | AliEMCALPi0SelectionParam & operator = (const AliEMCALPi0SelectionParam & /*rvalue*/) { | |
48 | // assignement operator requested by coding convention but not needed | |
49 | Fatal("operator =", "not implemented"); | |
50 | return *this; | |
51 | }; | |
52 | // | |
b217491f | 53 | void AddAt(AliEMCALPi0SelectionParRec* r); |
54 | AliEMCALPi0SelectionParRec* GetTable(Int_t i) const; | |
0fc11500 | 55 | Int_t GetSize() const {return fTable->GetSize();} |
56 | Int_t GetNRows() const {return fCurrentInd;} | |
16d3c94d | 57 | |
58 | // Menu | |
59 | void PrintTable(); // *MENU* | |
60 | void PrintTable(const Int_t i); // *MENU* | |
b217491f | 61 | void PrintRec(AliEMCALPi0SelectionParRec *r); |
16d3c94d | 62 | |
63 | // Set of parameter(s) | |
64 | static AliEMCALPi0SelectionParam* Set1(); | |
0fc11500 | 65 | // |
66 | protected: | |
b217491f | 67 | TObjArray *fTable; // Table of AliEMCALPi0SelectionParRec |
68 | Int_t fCurrentInd; // Current index | |
16d3c94d | 69 | |
0fc11500 | 70 | ClassDef(AliEMCALPi0SelectionParam, 2) // Set of Parameters For Pi0 Selection |
16d3c94d | 71 | }; |
72 | ||
73 | #endif // ALIEMCALPI0SELECTIONPARAM_H |