]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
New method SetNCarlos in order to set the number of CARLOS chips connected to the...
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 11 Sep 2007 17:42:00 +0000 (17:42 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 11 Sep 2007 17:42:00 +0000 (17:42 +0000)
ITS/AliITSRawStreamSDD.cxx
ITS/AliITSRawStreamSDD.h

index 3085cdabb74b2a42bb2ed81ad3b5b70ee750a25e..59f796b86204380032dc7c304e7ce8348b358471 100644 (file)
@@ -75,7 +75,6 @@ fIdcd(0){
   fRawReader->Reset();
   fRawReader->Select("ITSSDD");
 
-  //  fNCarlos = 8; //select this for test data
   for(Short_t i=0; i<kCarlosWords; i++) fICarlosWord[i]=0x30000000 + i; // 805306368+i;
   for(Short_t i=0; i<kFifoWords; i++) fIFifoWord[i]=0x30000010 + i;  // 805306384+i;
 }
index ffbaef42f4932e24b710976593f0660da282cbad..5d69d449349f28343cd799770818cc0ea0dfdb1b 100644 (file)
@@ -30,6 +30,7 @@ class AliITSRawStreamSDD: public AliITSRawStream {
     virtual Int_t    GetCarlosId() const {return fCarlosId;}
     virtual void     SetLowCarlosThreshold(Int_t th, Int_t i) 
       {fLowThreshold[i]=th;}
+    virtual void     SetNCarlos(Int_t nC=12){fNCarlos=nC;}
     static  Int_t    GetModuleNumber(UInt_t iDDL, UInt_t iModule)
                      {return fgkDDLModuleMap[iDDL][iModule];}
     virtual void     Reset();