time bin limits introduced
[u/mrichter/AliRoot.git] / TPC / TPCPEDESTALda.cxx
index d77a374e026dd5373399cfd03905411ec9262398..60d501bd77743a1d4c02cf29230f87e4b26eccdf 100644 (file)
@@ -1,3 +1,18 @@
+/*
+TPC DA for online calibration
+
+Contact: Haavard.Helstrup@cern.ch
+Link:
+Run Type: PEDESTAL_RUN
+DA Type: LDC
+Number of events needed: 100
+Input Files: 
+Output Files: tpcPedestal.root, to be exported to the DAQ FXS
+Trigger types used: CALIBRATION_EVENT
+
+*/
+
+
 /*
 
 TPCda_pedestal.cxx - calibration algorithm for TPC pedestal runs
@@ -29,8 +44,6 @@ extern "C" {
 //
 #include <TFile.h>
 #include <TArrayF.h>
-#include "TROOT.h"
-#include "TPluginManager.h"
 
 //
 //AliRoot includes
@@ -59,16 +72,11 @@ int main(int argc, char **argv) {
   //
   // Main for TPC pedestal detector algorithm
   //
-
-  gROOT->GetPluginManager()->AddHandler("TVirtualStreamerInfo",
-                                       "*",
-                                       "TStreamerInfo",
-                                       "RIO",
-                                       "TStreamerInfo()"); 
   Bool_t timeAnalysis = kTRUE;
 
   int i,status;
   AliTPCCalibPedestal calibPedestal;           // pedestal and noise calibration
+  calibPedestal.SetRangeTime(60,940);          // set time bin range
   calibPedestal.SetTimeAnalysis(timeAnalysis); // pedestal(t) calibration
 
   if (argc<2) {