]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALPi0SelectionParam.h
remove empty method GetTransformationForSM() - should have been done with previous...
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALPi0SelectionParam.h
CommitLineData
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
16d3c94d 10//
11//*-- Author: Aleksei Pavlinov (WSU, Detroit, USA)
12
13// --- ROOT system ---
0fc11500 14#include <TNamed.h>
15#include <TObjArray.h>
16d3c94d 16
17// unit is GeV
0fc11500 18class pi0SelectionParam : public TObject{
19 public:
20 pi0SelectionParam();
21 virtual ~pi0SelectionParam() {};
22 virtual const char* GetName() const {return "Pi0Par";}
23
16d3c94d 24 double eOfRpMin; // minimal energy of em.cluster (rec point)
25 double eOfRpMax; // maximal energy of em.cluster (rec point)
26 double massGGMin; // minimal mass of gamma,gamma
27 double massGGMax; // maximal mass of gamma,gamma
28 double momPi0Min; // minimal pi0 momentum
29 double momPi0Max; // maximal pi0 momentum
0fc11500 30
31 ClassDef(pi0SelectionParam,1);
16d3c94d 32};
33
0fc11500 34class AliEMCALPi0SelectionParam : public TNamed {
16d3c94d 35 public:
0fc11500 36 AliEMCALPi0SelectionParam(); // default constractor
37 AliEMCALPi0SelectionParam(const char* name, const Int_t nrow);
38 virtual ~AliEMCALPi0SelectionParam();
39
40 AliEMCALPi0SelectionParam & operator = (const AliEMCALPi0SelectionParam & /*rvalue*/) {
41 // assignement operator requested by coding convention but not needed
42 Fatal("operator =", "not implemented");
43 return *this;
44 };
45 //
46 void AddAt(pi0SelectionParam* r);
47 pi0SelectionParam* GetTable(Int_t i) const;
48 Int_t GetSize() const {return fTable->GetSize();}
49 Int_t GetNRows() const {return fCurrentInd;}
16d3c94d 50
51 // Menu
52 void PrintTable(); // *MENU*
53 void PrintTable(const Int_t i); // *MENU*
54 void PrintRec(pi0SelectionParam *r);
55
56 // Set of parameter(s)
57 static AliEMCALPi0SelectionParam* Set1();
0fc11500 58 //
59 protected:
60 TObjArray *fTable;
61 Int_t fCurrentInd;
16d3c94d 62
0fc11500 63 ClassDef(AliEMCALPi0SelectionParam, 2) // Set of Parameters For Pi0 Selection
16d3c94d 64};
65
66#endif // ALIEMCALPI0SELECTIONPARAM_H