1 /**************************************************************************
2 * Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 //_________________________________________________________________________
19 // Set of parameters for pi0 selection
21 //*-- Author: Aleksei Pavlinov (WSU, Detroit, USA)
23 #include "AliEMCALPi0SelectionParam.h"
25 TableClassImpl(AliEMCALPi0SelectionParam,pi0SelectionParam)
27 void AliEMCALPi0SelectionParam::PrintTable()
29 printf(" Table : %s : nrows %i \n", GetName(), int(GetNRows()));
30 for(int i=0; i<GetNRows(); i++) PrintTable(i);
33 void AliEMCALPi0SelectionParam::PrintTable(const Int_t i)
35 if(i>=GetNRows()) return;
36 printf("row %i \n", i);
37 PrintRec(GetTable(i));
40 void AliEMCALPi0SelectionParam::PrintRec(pi0SelectionParam* r)
43 printf(" cluster energy window %7.2f -> %7.2f \n", r->eOfRpMin, r->eOfRpMax);
44 printf(" gamma,gamma mass window %7.2f -> %7.2f \n", r->massGGMin, r->massGGMax);
45 printf(" pi0 momentum window %7.2f -> %7.2f \n", r->momPi0Min, r->momPi0Max);
48 AliEMCALPi0SelectionParam* AliEMCALPi0SelectionParam::Set1()
57 AliEMCALPi0SelectionParam *t = new AliEMCALPi0SelectionParam("Pi0Set1",1);