]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Added new classes for visualization of calibration parameters (Marian, Lars, Stefan)
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 May 2007 15:39:43 +0000 (15:39 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 May 2007 15:39:43 +0000 (15:39 +0000)
TPC/AliTPCCalPad.cxx
TPC/TPCbaseLinkDef.h
TPC/libTPCbase.pkg

index 27f81d253a23c103a1d300c1554f5efe5c367769..245a31aba8bc97866f7314270895951d374d77ba 100644 (file)
@@ -536,8 +536,8 @@ void AliTPCCalPad::MakeTree(const char * fileName, TObjArray * array, const char
       //
       // fill vectors of variable per pad
       //
-      TVectorF *posArray = new TVectorF[6];
-      for (Int_t ivalue = 0; ivalue < 6; ivalue++)
+      TVectorF *posArray = new TVectorF[8];
+      for (Int_t ivalue = 0; ivalue < 8; ivalue++)
          posArray[ivalue].ResizeTo(tpcROCinstance->GetNChannels(isector));
 
       Float_t posG[3] = {0};
@@ -553,6 +553,8 @@ void AliTPCCalPad::MakeTree(const char * fileName, TObjArray * array, const char
             posArray[3][ichannel] = posL[1];
             posArray[4][ichannel] = posG[0];
             posArray[5][ichannel] = posG[1];
+            posArray[6][ichannel] = (Int_t)(ipad - (Double_t)(tpcROCinstance->GetNPads(isector, irow))/2);
+            posArray[7][ichannel] = ichannel;
             
             // loop over array containing AliTPCCalPads
             for (Int_t ivalue = 0; ivalue < arrayEntries; ivalue++) {
@@ -609,7 +611,9 @@ void AliTPCCalPad::MakeTree(const char * fileName, TObjArray * array, const char
          "lx.=" << &posArray[2] <<
          "ly.=" << &posArray[3] <<
          "gx.=" << &posArray[4] <<
-         "gy.=" << &posArray[5];
+         "gy.=" << &posArray[5] <<
+         "rpad.=" << &posArray[6] <<
+         "channel.=" << &posArray[7];
          
       cstream << "calPads" <<
          "\n";
@@ -617,6 +621,7 @@ void AliTPCCalPad::MakeTree(const char * fileName, TObjArray * array, const char
       delete[] posArray;
       delete[] vectorArray;
    }
+   
    delete[] names;
    if (mapFileName) {
       delete mapIROCs;
index 038d1be447e8d88b36c20b9dd93f52d389b4ed50..f90e7f22b94905c3b9863d0a67beafab319edf16 100644 (file)
 #pragma link C++ class AliTPCRawStreamOld+;
 #pragma link C++ class AliTPCCalibPedestal+;
 #pragma link C++ class AliTPCCalibSignal+;
+//#pragma link C++ class AliTPCCalibCE+;
 #pragma link C++ class AliTPCPreprocessor+;
+#pragma link C++ class AliTPCCalibViewer+;
+#pragma link C++ class AliTPCCalibViewerGUI+;
 
 
 #endif
index d3dc7f6796bec82b97d360274a4d77f6b849066c..90a33ef01eaf86529167bb0d7141aabd3db19e58 100644 (file)
@@ -9,7 +9,9 @@ SRCS:=  AliSegmentID.cxx  AliSegmentArray.cxx AliDigits.cxx AliH2F.cxx \
        AliTPCcalibDB.cxx \
        AliTPCAltroMapping.cxx AliTPCRawStream.cxx AliTPCRawStreamOld.cxx \
        AliTPCLaserTracks.cxx AliTPCSensorTemp.cxx  AliTPCSensorTempArray.cxx \
-       AliTPCCalibPedestal.cxx AliTPCCalibSignal.cxx         AliTPCPreprocessor.cxx 
+       AliTPCCalibPedestal.cxx AliTPCCalibSignal.cxx   \
+        AliTPCPreprocessor.cxx  \
+        AliTPCCalibViewer.cxx  AliTPCCalibViewerGUI.cxx