]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Updates for the TRD DAs on DAQ by Raphaelle
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Apr 2008 16:00:32 +0000 (16:00 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Apr 2008 16:00:32 +0000 (16:00 +0000)
TRD/AliTRDCalibraFillHisto.cxx
TRD/TRDPEDESTALda.cxx
TRD/TRDVDRIFTda.cxx

index d7fd816af75d87aeb3503b2bbedb4ed64b61d693..620e9c8151fe0cac3002e6e0abf10593303cc109 100644 (file)
@@ -2786,7 +2786,10 @@ Int_t AliTRDCalibraFillHisto::FillDAQ(Double_t phvalue[16][144][36]){
 
   //printf("imaxRow %d, imaxCol %d, fTimeMax %d, integralMax %f\n",imaxRow,imaxCol,fTimeMax, integralMax);
 
-  if((imaxRow == 0) || (imaxCol == 0)) used=1;
+  if((imaxRow == 0) || (imaxCol == 0)) {
+    used=1;
+    return used;
+  }
   //CheckGoodTrackletV0(fDetectorPreviousTrack,imaxRow,imaxCol);
   //if(!fGoodTracklet) used = 1;;
   
index a72022c02d3f0a9481ed0491c14351f16e46645d..5604520005fdb94c12e44a452adb36c92395a599 100644 (file)
@@ -1,12 +1,13 @@
 /*
 
 Contact: r.bailhache@gsi.de
-Link: run 12170
+Link:
+Reference run: 12170
 Run Type: PEDESTAL
 DA Type: LDC
 Number of events needed: 100
-Input Files: raw files of the TRD
-Output Files: trdCalibration.root,to be exported to the DAQ FXS
+Input Files: TRD raw files
+Output Files: trdCalibration.root
 Trigger types used:
 
 */
index 42b490225ab772305d84ee6dacfc688f494056c8..b55fc3eb6978cfd593a09c81acb2b13fe4e14e4c 100644 (file)
@@ -1,13 +1,14 @@
 /*
 
 Contact: r.bailhache@gsi.de
-Link: run 25909
+Link:
+Reference run: 25909
 Run Type: PHYSICS STANDALONE
 DA Type: MON
-Number of events needed: as many as possible
-Input Files:  raw files of the TRD
-Output Files: trdCalibrationv.root,to be exported to the DAQ FXS
-Trigger types used: PHYSICS_EVENT, for the time being
+Number of events needed: many
+Input Files:  TRD raw files
+Output Files: trdCalibrationv.root
+Trigger types used: PHYSICS_EVENT
 
 */
 
@@ -41,7 +42,7 @@ extern "C" {
 #include "AliRawReader.h"
 #include "AliRawReaderDate.h"
 #include "AliTRDrawStreamTB.h"
-#include "AliCDBManager.h"
+
 
 //
 // TRD calibration algorithm includes
@@ -101,9 +102,9 @@ int main(int argc, char **argv) {
   int nevents_total=0;
 
   //Instance of AliCDBManager: needed by AliTRDRawStreamV2
-  AliCDBManager *man = AliCDBManager::Instance();
-  man->SetDefaultStorage("local://$ALICE_ROOT");
-  man->SetRun(0);
+  //AliCDBManager *man = AliCDBManager::Instance();
+  //man->SetDefaultStorage("local://$ALICE_ROOT");
+  //man->SetRun(0);
   //Instance of AliTRDCalibraFillHisto
   AliTRDCalibraFillHisto *calibra      = AliTRDCalibraFillHisto::Instance();
   // everythings are okey for vdrift