ROOT logo
void RecRaw(char * file)
{
  // Reconstruction of RAW data from the input (raw) root file 
  // D.Peressounko after Boris Polichtchouk, 31 Aug 2007

   AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
  // AliCDBManager::Instance()->SetDefaultStorage("local://./");
  // Provide here address of misalignment parametrs, Calibration or bad modules maps
  // AliCDBManager::Instance()->SetSpecificStorage("PHOS/*","local:///data/prsnko/");


  AliReconstruction rec ;
  rec.SetOption("PHOS","OldRCUFormat");
  rec.SetRunTracking("") ;
  rec.SetRunVertexFinder(kFALSE) ; 
  //Digits are produced as a by-product of local reconstruction...
  rec.SetRunLocalReconstruction("PHOS") ;
  //Here we do not want to produce ESD
  rec.SetFillESD("") ;

  //Uncomment following lines if you want to set rec. 
  //parameters other than default ones.
  // AliPHOSRecoParam* recEmc = new AliPHOSRecoParamEmc();
  // recEmc->SetSubtractPedestals(kTRUE);
  // //Minimal energy of digits used in clusteriztion
  // recEmc->SetMinE(0.01);
  // //Minimal energy of cluster seed
  // recEmc->SetClusteringThreshold(0.02);
  // //Choose here method of energy/time extraction:
  // //fitting of samples - "v1"
  // //maximal value extraction - ""
  // recEmc->SetDecoderVersion("v1");
  // AliPHOSReconstructor::SetRecoParamEmc(recEmc);

  rec.SetInput(file);  // read RAW data
  //If necessary, set first event and number of events to reconstruct
  //  rec.SetEventRange(0,20);
  rec.Run();

}
 RecRaw.C:1
 RecRaw.C:2
 RecRaw.C:3
 RecRaw.C:4
 RecRaw.C:5
 RecRaw.C:6
 RecRaw.C:7
 RecRaw.C:8
 RecRaw.C:9
 RecRaw.C:10
 RecRaw.C:11
 RecRaw.C:12
 RecRaw.C:13
 RecRaw.C:14
 RecRaw.C:15
 RecRaw.C:16
 RecRaw.C:17
 RecRaw.C:18
 RecRaw.C:19
 RecRaw.C:20
 RecRaw.C:21
 RecRaw.C:22
 RecRaw.C:23
 RecRaw.C:24
 RecRaw.C:25
 RecRaw.C:26
 RecRaw.C:27
 RecRaw.C:28
 RecRaw.C:29
 RecRaw.C:30
 RecRaw.C:31
 RecRaw.C:32
 RecRaw.C:33
 RecRaw.C:34
 RecRaw.C:35
 RecRaw.C:36
 RecRaw.C:37
 RecRaw.C:38
 RecRaw.C:39
 RecRaw.C:40
 RecRaw.C:41