Different call for ring drawing.
authordibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 30 Jun 2000 16:49:34 +0000 (16:49 +0000)
committerdibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 30 Jun 2000 16:49:34 +0000 (16:49 +0000)
RICH/AliRICHDisplay.cxx

index cb879b25893867025c606fad2ae78e51c5800a38..59eb9d13f942df24b92d12f1b9e730267b074640 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
   $Log$
+  Revision 1.4  2000/06/12 15:21:08  jbarbosa
+  Cleaned up version.
+
   Revision 1.3  2000/06/09 14:52:08  jbarbosa
   New tentative ellipse drawing routine
 
@@ -802,7 +805,7 @@ void AliRICHDisplay::LoadRecHits(Int_t chamber, Int_t cathode)
    AliRICHChamber*  iChamber;
 
    TClonesArray *pRICHrechits  = pRICH->RecHitsAddress(chamber);
-   printf ("Chamber:%d has adress:%p\n", chamber, pRICHrechits );
+   printf ("Chamber:%d\n", chamber);
    if (pRICHrechits == 0) return;
 
    //RICH->ResetRecHits();
@@ -841,8 +844,8 @@ void AliRICHDisplay::LoadRecHits(Int_t chamber, Int_t cathode)
        //Float_t phi   = iChamber->GetRotMatrix()->GetPhi();      
        //ellipse=new TEllipse(vectorGlob[0],vectorGlob[2],10,10,0,360,phi);
        printf("Generating ellipse %d\n",irec);
-       AliRICHEllipse *ellipse=new AliRICHEllipse(mRec->fX,mRec->fY,mRec->fOmega,mRec->fTheta,mRec->fPhi);
-       ellipse->CreatePoints(chamber);
+       AliRICHEllipse *ellipse=new AliRICHEllipse(mRec->fX,mRec->fY,mRec->fOmega,mRec->fTheta,mRec->fPhi,mRec->fEmissPoint);
+       ellipse->CerenkovRingDrawing(chamber,irec);
        //ellipse->SetFillStyle(1001);
        ellipse->SetMarkerColor(38);
        ellipse->Draw();