/*
-- "Contact: r.bailhache@gsi.de"
-- "Link: http://www-linux.gsi.de/~bailhach/VDRIFT/raw.root.date"
-- "Run Type: nothing special in ECS, physics run"
-- "DA Type: MON"
-- "Number of events needed: as many as possible"
-- "Input Files: no config files, no previous result files, RAW DATA file with all the TRD ([DDL = 1024 to DDL = 1041])"
-- "Output Files: trdCalibrationv.root, trdCalibrationv.root, no persitent file over runs"
-- "Trigger types used: PHYSICS"
+Contact: r.bailhache@gsi.de
+Link: http://www-linux.gsi.de/~bailhach/VDRIFT/raw.root.date
+Run Type: nothing special in ECS, physics run
+DA Type: MON
+Number of events needed: as many as possible
+Input Files: no config files, no previous result files, RAW DATA file with all the TRD ([DDL = 1024 to DDL = 1041])
+Output Files: trdCalibrationv.root, trdCalibrationv.root, no persitent file over runs
+Trigger types used: PHYSICS
*/
//
#include "AliRawReader.h"
#include "AliRawReaderDate.h"
-#include "AliTRDRawStreamTB.h"
+#include "AliTRDrawStreamTB.h"
#include "AliCDBManager.h"
//
Bool_t passvdrift = kTRUE; // if timebin okey
Int_t nbvdrift = 0; // number of events with entries for vdrift
-
- /* 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);
/* main loop (infinite) */
if ((eventT==PHYSICS_EVENT) && (passvdrift)) {
//if (eventT==PHYSICS_EVENT) {
AliRawReader *rawReader = new AliRawReaderDate((void*)event);
- AliTRDRawStreamTB *trdRawStream = new AliTRDRawStreamTB((AliRawReader *) rawReader);
+ AliTRDrawStreamTB *trdRawStream = new AliTRDrawStreamTB((AliRawReader *) rawReader);
Int_t result = calibra->ProcessEventDAQ(trdRawStream,(Bool_t)nevents_physics);
if(!result) passvdrift = kFALSE;
else nbvdrift += (Int_t) result/2;