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 */
8 //_________________________________________________________________________
9 // Set of parameters for pi0 selection
11 //*-- Author: Aleksei Pavlinov (WSU, Detroit, USA)
13 // --- ROOT system ---
15 #include <TObjArray.h>
18 class pi0SelectionParam : public TObject{
21 virtual ~pi0SelectionParam() {};
22 virtual const char* GetName() const {return "Pi0Par";}
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
31 ClassDef(pi0SelectionParam,1);
34 class AliEMCALPi0SelectionParam : public TNamed {
36 AliEMCALPi0SelectionParam(); // default constractor
37 AliEMCALPi0SelectionParam(const char* name, const Int_t nrow);
38 virtual ~AliEMCALPi0SelectionParam();
40 AliEMCALPi0SelectionParam & operator = (const AliEMCALPi0SelectionParam & /*rvalue*/) {
41 // assignement operator requested by coding convention but not needed
42 Fatal("operator =", "not implemented");
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;}
52 void PrintTable(); // *MENU*
53 void PrintTable(const Int_t i); // *MENU*
54 void PrintRec(pi0SelectionParam *r);
56 // Set of parameter(s)
57 static AliEMCALPi0SelectionParam* Set1();
63 ClassDef(AliEMCALPi0SelectionParam, 2) // Set of Parameters For Pi0 Selection
66 #endif // ALIEMCALPI0SELECTIONPARAM_H