1 void RecRaw(char * file)
3 // Reconstruction of RAW data from the input (raw) root file
4 // D.Peressounko after Boris Polichtchouk, 31 Aug 2007
6 AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
7 // AliCDBManager::Instance()->SetDefaultStorage("local://./");
8 // Provide here address of misalignment parametrs, Calibration or bad modules maps
9 // AliCDBManager::Instance()->SetSpecificStorage("PHOS/*","local:///data/prsnko/");
12 AliReconstruction rec ;
13 rec.SetOption("PHOS","OldRCUFormat");
14 rec.SetRunTracking("") ;
15 rec.SetRunVertexFinder(kFALSE) ;
16 //Digits are produced as a by-product of local reconstruction...
17 rec.SetRunLocalReconstruction("PHOS") ;
18 //Here we do not want to produce ESD
21 //Uncomment following lines if you want to set rec.
22 //parameters other than default ones.
23 // AliPHOSRecoParam* recEmc = new AliPHOSRecoParamEmc();
24 // recEmc->SetSubtractPedestals(kTRUE);
25 // //Minimal energy of digits used in clusteriztion
26 // recEmc->SetMinE(0.01);
27 // //Minimal energy of cluster seed
28 // recEmc->SetClusteringThreshold(0.02);
29 // //Choose here method of energy/time extraction:
30 // //fitting of samples - "v1"
31 // //maximal value extraction - ""
32 // recEmc->SetDecoderVersion("v1");
33 // AliPHOSReconstructor::SetRecoParamEmc(recEmc);
35 rec.SetInput(file); // read RAW data
36 //If necessary, set first event and number of events to reconstruct
37 // rec.SetEventRange(0,20);