/*
-- "Contact: r.bailhache@gsi.de"
-- "Link: http://www-linux.gsi.de/~bailhach/PEDESTAL/raw.root.date"
-- "Run Type: dedicated pedestals run"
-- "DA Type: LDC"
-- "Number of events needed: 100"
-- "Input Files: no config files, no previous result files, RAW DATA files from DDL = 1024 to DDL = 1041 included"
-- "Output Files: trdCalibration.root, trdCalibration.root, no persitent file over runs"
-- "Trigger types used: PEDESTAL_RUN"
+Contact: r.bailhache@gsi.de
+Link: http://www-linux.gsi.de/~bailhach/PEDESTAL/raw.root.date
+Run Type: dedicated pedestals run
+DA Type: LDC
+Number of events needed: 100
+Input Files: no config files, no previous result files, RAW DATA files from DDL = 1024 to DDL = 1041 included
+Output Files: trdCalibration.root, trdCalibration.root, no persitent file over runs
+Trigger types used: PEDESTAL_RUN
*/
//
#include "AliRawReader.h"
#include "AliRawReaderDate.h"
-#include "AliTRDRawStreamTB.h"
+#include "AliTRDrawStreamTB.h"
#include "AliCDBManager.h"
//
// AliRoot TRD calib classes
int nevents =0;
//Instance of AliCDBManager: needed by AliTRDRawStream
- AliCDBManager *man = AliCDBManager::Instance();
- man->SetDefaultStorage("local://$ALICE_ROOT");
- man->SetRun(0);
+ //AliCDBManager *man = AliCDBManager::Instance();
+ //man->SetDefaultStorage("local://$ALICE_ROOT");
+ //man->SetRun(0);
// AliTRDCalibPadStatus object
AliTRDCalibPadStatus calipad = AliTRDCalibPadStatus();
Bool_t passpadstatus = kTRUE;
TStopwatch timer;
timer.Start();
- /* some warning less */
- AliTRDRawStreamTB::SupressWarnings(kTRUE);
+ // setting
+ // AliTRDrawStreamTB::SetNoDebug();
+ AliTRDrawStreamTB::SetNoErrorWarning();
+ AliTRDrawStreamTB::SetForceCleanDataOnly();
+ AliTRDrawStreamTB::AllowCorruptedData();
+ //AliTRDrawStreamTB::SetSkipCDH();
+ //AliTRDrawStreamTB::SetExtraWordsFix();
+ //AliTRDrawStreamTB::EnableDebugStream();
+ //AliTRDrawStreamTB::SetDumpHead(320);
+ //AliTRDrawStreamTB::SetDumpHead(80);
/* read the data files */
int n;
AliRawReader *rawReader = new AliRawReaderDate((void*)event);
rawReader->Select("TRD");
- AliTRDRawStreamTB *trdRawStream = new AliTRDRawStreamTB((AliRawReader *)rawReader);
+ AliTRDrawStreamTB *trdRawStream = new AliTRDrawStreamTB((AliRawReader *)rawReader);
//trdRawStream->Init();
if(!calipad.ProcessEvent(trdRawStream,(Bool_t)nevents_total)) passpadstatus = kFALSE;
nevents++;