From f6ff4cece05f3880d3c7313ba287f0e84d3f95f6 Mon Sep 17 00:00:00 2001 From: cblume Date: Fri, 14 Jun 2002 17:11:02 +0000 Subject: [PATCH] Update of the test suite --- TRD/AliTRDconfig.C | 12 ------------ TRD/AliTRDtest.C | 8 ++++---- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/TRD/AliTRDconfig.C b/TRD/AliTRDconfig.C index 8054337323b..dcf2b891274 100644 --- a/TRD/AliTRDconfig.C +++ b/TRD/AliTRDconfig.C @@ -202,18 +202,6 @@ void Config() TRD->SetSensChamber(2); TRD->SetSensSector(13); - // Get the pointer to the geometry object - AliTRDgeometry *TRDgeometry = TRD->GetGeometry(); - - // The number of timebins - TRDgeometry->SetNTimeBin(15); - - // The additional timebins before and after the drift region - //TRDgeometry->SetExpandTimeBin(10,5); - - // Select the gas mixture (0: 97% Xe + 3% isobutane, 1: 90% Xe + 10% CO2) - TRD->SetGasMix(1); - // Set to detailed display TRD->SetDisplayType(1); diff --git a/TRD/AliTRDtest.C b/TRD/AliTRDtest.C index 42fb0969206..6e08f454008 100644 --- a/TRD/AliTRDtest.C +++ b/TRD/AliTRDtest.C @@ -377,7 +377,7 @@ Int_t AliTRDanalyzeDigits() Int_t countDigits = 0; Int_t iSec = trd->GetSensSector(); Int_t iCha = trd->GetSensChamber(); - Int_t timeMax = geo->GetTimeTotal(); + Int_t timeMax = parameter->GetTimeTotal(); TProfile *hAmpTimeEl = new TProfile("hAmpTimeEl","Amplitude of the digits (electrons)" ,timeMax,-0.5,((Double_t) timeMax)-0.5); @@ -642,9 +642,9 @@ Int_t AliTRDanalyzeCluster() Int_t plane = geo->GetPlane(detector); Int_t chamber = geo->GetChamber(detector); Float_t energy = cluster->GetQ(); - Int_t track0 = cluster->GetTrackIndex(0); - Int_t track1 = cluster->GetTrackIndex(1); - Int_t track2 = cluster->GetTrackIndex(2); + Int_t track0 = cluster->GetLabel(0); + Int_t track1 = cluster->GetLabel(1); + Int_t track2 = cluster->GetLabel(2); TParticle *particle = 0; if (track0 > -1) { particle = gAlice->Particle(track0); -- 2.39.3