2 //aliroot -b -q rec-spd-cluster.C | tee rec-spd-cluster.log
4 void rec_spd_cluster(const char* input="./", char* opt="")
7 if(!gSystem->AccessPathName("galice.root")){
8 cerr << "please delete the galice.root or run at different place." << endl;
13 cerr << "please specify input or run without arguments" << endl;
17 ///////////////////////////////////////////////////////////////////////////////////////////////////
19 // init the HLT system in order to define the analysis chain below
21 AliHLTSystem* gHLT=AliHLTPluginBase::GetInstance();
23 ///////////////////////////////////////////////////////////////////////////////////////////////////
25 // Setting up which output to give
27 TString option="libAliHLTUtil.so libAliHLTRCU.so libAliHLTITS.so libAliHLTSample.so loglevel=0x7c chains=";
29 ///////////////////////////////////////////////////////////////////////////////////////////////////
31 // define the analysis chain to be run
39 TString dummyInput="";
40 for(ddlno=minddl;ddlno<=maxddl;ddlno++){
41 TString arg, publisher, cf;
43 arg.Form("-minid %d -datatype 'DDL_RAW ' 'ISPD ' -dataspec 0x%08x -verbose",ddlno, spec);
44 publisher.Form("DP_%d", ddlno);
45 AliHLTConfiguration pubconf(publisher.Data(), "AliRawReaderPublisher", NULL , arg.Data());
47 cf.Form("CF_%d",ddlno);
48 AliHLTConfiguration cfconf(cf.Data(), "ITSClusterFinderSPD", publisher.Data(), "");
50 if (dummyInput.Length()>0) dummyInput+=" ";
57 AliHLTConfiguration dummyconf("dummy", "Dummy", dummyInput.Data(), "-output_percentage 0");
61 ///////////////////////////////////////////////////////////////////////////////////////////////////
63 // Init and run the reconstruction
64 // All but HLT reconstructio is switched off
66 AliReconstruction rec;
68 rec.SetRunVertexFinder(kFALSE);
69 rec.SetRunLocalReconstruction("HLT");
70 rec.SetRunTracking("");
71 rec.SetLoadAlignFromCDB(0);
74 // NOTE: FillESD is a step in the AliReconstruction sequence and has
75 // nothing to do with the fact that this macro writes ESD output
76 // HLT processes the HLTOUT during FillESD and extracts data which
77 // has already been prepared. This step is currently not necessary for
80 rec.SetOption("HLT", option);