Contact: Chiara.Zampolli@bo.infn.it
Link: www.bo.infn.it/~zampolli
-Run Type: CALIBRATION, PULSER - to be properly defined
+Run Type: NOISE
DA Type: LDC
Number of events needed: 10000
Input Files: TOF<nrun>.raw, where <nrun> is the run number
// DATE
#include "event.h"
#include "monitor.h"
-extern "C" {
-#include <daqDA.h>
-}
-//#include "daqDA.h"
+#include "daqDA.h"
#include <stdio.h>
#include <stdlib.h>
#include <TObject.h>
#include <TMath.h>
#include <TSystem.h>
+#include "TROOT.h"
+#include "TPluginManager.h"
/* Main routine
Arguments: list of DATE raw data files
*/
int main(int argc, char **argv) {
+/* magic line from Rene */
+ gROOT->GetPluginManager()->AddHandler("TVirtualStreamerInfo",
+ "*",
+ "TStreamerInfo",
+ "RIO",
+ "TStreamerInfo()");
+
AliTOFGeometry * geom = new AliTOFGeometry();
static const Int_t size = AliTOFGeometry::NPadXSector()*AliTOFGeometry::NSectors();
status =0;
/* store the result file on FES */
- status=daqDA_FES_storeFile(filename,filename);
+ status=daqDA_FES_storeFile(filename,"NOISE");
if (status) {
status = -2;
}