]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RICH/AliRICHParam.cxx
Coding Conventions Corrections
[u/mrichter/AliRoot.git] / RICH / AliRICHParam.cxx
index 3c63a82f7044ca7db53c8d61dc5eb6c329d304d7..f8d0a245cf6035514aeba465b455b8c41e2b21c3 100644 (file)
 //  * provided "as is" without express or implied warranty.                  *
 //  **************************************************************************
 #include "AliRICHParam.h"
+#include <Riostream.h>
 
 ClassImp(AliRICHParam)
 Bool_t   AliRICHParam::fgIsWireSag            =kTRUE;
 Bool_t   AliRICHParam::fgIsResolveClusters    =kTRUE;
 Double_t AliRICHParam::fgAngleRot             =-60;
-Int_t    AliRICHParam::fgHV                   =2150;
+Int_t    AliRICHParam::fgHV[kNsectors]        ={2150,2100,2050,2000,2150,2150};
 Int_t    AliRICHParam::fgNsigmaTh             =4;
 Float_t  AliRICHParam::fgSigmaThMean          =1.5;
 Float_t  AliRICHParam::fgSigmaThSpread        =0.5;      
@@ -31,5 +32,14 @@ void AliRICHParam::GenSigmaThMap()
     for(Int_t ipadX=0;ipadX<NpadsX();ipadX++)
       for(Int_t ipadY=0;ipadY<NpadsY();ipadY++) 
         fSigmaThMap[iChamber][ipadX][ipadY] = SigmaThMean()+(1.-2*gRandom->Rndm())*SigmaThSpread();
-  Info("GenSigmaThMap"," Threshold map generated for all RICH chambers");
+  //  Info("GenSigmaThMap"," Threshold map generated for all RICH chambers");
 }
+//__________________________________________________________________________________________________
+void AliRICHParam::Print()
+{
+  cout<<"\nPads in chamber ("<<NpadsX()<<','<<NpadsY()<<") in sector ("<<NpadsXsec()<<','<<NpadsYsec()<<')'<<endl;
+  cout<<"PC size ("<<PcSizeX()<<','<<PcSizeY()<<") sector size ("<<SectorSizeX()<<','<<SectorSizeY()<<") pad size ("<<PadSizeX()<<','
+      <<PadSizeY()<<") Dead zone "<<DeadZone()<<endl;
+  cout<<"Anode wire pitch "<<WirePitch()<<" Anode-Cathode gap "<<AnodeCathodeGap()<<" Protection wires-cathode gap "<<ProximityGap()<<endl<<endl;
+}
+//__________________________________________________________________________________________________