1 // **************************************************************************
2 // * Copyright(c) 1998-1999, 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 // **************************************************************************
15 #include "AliRICHParam.h"
16 #include "AliRICHChamber.h"
18 ClassImp(AliRICHParam)
19 Bool_t AliRICHParam::fgIsWireSag =kTRUE;
20 Bool_t AliRICHParam::fgIsResolveClusters =kTRUE;
21 Bool_t AliRICHParam::fgIsRadioSrc =kFALSE;
22 Double_t AliRICHParam::fgAngleRot =-60;
23 Int_t AliRICHParam::fgHV[kNsectors] ={2050,2050,2050,2050,2050,2050};
24 Int_t AliRICHParam::fgNsigmaTh =4;
25 Float_t AliRICHParam::fgSigmaThMean =1.132; //QDC
26 Float_t AliRICHParam::fgSigmaThSpread =0.035; //
28 //__________________________________________________________________________________________________
29 void AliRICHParam::Print(Option_t*)
31 ::Info("","Pads in chamber (%3i,%3i) in sector (%2i,%2i)",NpadsX(),NpadsY(),NpadsXsec(),NpadsYsec());
34 //__________________________________________________________________________________________________
35 void AliRICHParam::CreateChambers()
37 //Create all RICH Chambers on each call. Previous chambers deleted.
38 if(fpChambers) delete fpChambers;
39 fpChambers=new TObjArray(kNchambers);
40 fpChambers->SetOwner();
41 for(int iChamberN=0;iChamberN<kNchambers;iChamberN++) fpChambers->AddAt(new AliRICHChamber(iChamberN+1),iChamberN);
42 }//void AliRICH::CreateChambers()