]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Adapt to parameter class
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 Jul 2002 14:49:54 +0000 (14:49 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 Jul 2002 14:49:54 +0000 (14:49 +0000)
TRD/AliTRDdisplayDigits3D.C

index 2a28d3a162c51cf9d80f60d0f6d2f19431d40d3c..dfec4bfffbeeb992f4c7e055e3cb09cce806eb90 100644 (file)
@@ -79,6 +79,8 @@ Int_t AliTRDdisplayDigits3D(Int_t event = 0, Int_t thresh = 2
   Int_t totalbgnd   = 0;
   Int_t totalmerged = 0;
 
+  AliTRDparameter *par = new AliTRDparameter("TRDparameter","TRD parameter class");
   // Loop through all detectors
   for (Int_t idet = 0; idet < geo->Ndet(); idet++) {
 
@@ -94,9 +96,9 @@ Int_t AliTRDdisplayDigits3D(Int_t event = 0, Int_t thresh = 2
     Int_t isec    = geo->GetSector(idet);
     Int_t icha    = geo->GetChamber(idet);
     Int_t ipla    = geo->GetPlane(idet);
-    Int_t  rowMax = geo->GetRowMax(ipla,icha,isec);
-    Int_t  colMax = geo->GetColMax(ipla);
-    Int_t timeMax = geo->GetTimeMax();
+    Int_t  rowMax = par->GetRowMax(ipla,icha,isec);
+    Int_t  colMax = par->GetColMax(ipla);
+    Int_t timeMax = par->GetTimeMax();
 
     Int_t ndigits = digits->GetOverThreshold(thresh);
 
@@ -135,7 +137,7 @@ Int_t AliTRDdisplayDigits3D(Int_t event = 0, Int_t thresh = 2
               loc[0] = row;
               loc[1] = col;
               loc[2] = time;
-              geo->Local2Global(idet,loc,glb);
+              geo->Local2Global(idet,loc,glb,par);
               Float_t x = glb[0];
               Float_t y = glb[1];
               Float_t z = glb[2];