ROOT logo
void raw2digits(const char * inputfile = "RUN_4400.fz"){
  //Read Connection table DB
  TFile f("ConTableDB.root") ;
  AliPHOSConTableDB * cdb = f.Get("AliPHOSConTableDB") ;
  f.Close() ;

  AliPHOSRaw2Digits * r = new AliPHOSRaw2Digits(inputfile) ;
  //Set position of the target in the given run.
  //The reference system is following
  //Z axis along beam direction, from target to prototype (0-surface of prototype)
  //X axis along columns of prototype (0-center of prototype)
  //Y axis along raws of prototype    (0-center of prototype)
  Double_t pos[3]={0,0,-452.} ;
  r->SetTargetPosition(pos) ;
  r->SetConTableDB(cdb) ;
//   r->SetDebugLevel(1) ;
  r->ExecuteTask() ;
  r->Print("deb") ;
	

}
 raw2digits.C:1
 raw2digits.C:2
 raw2digits.C:3
 raw2digits.C:4
 raw2digits.C:5
 raw2digits.C:6
 raw2digits.C:7
 raw2digits.C:8
 raw2digits.C:9
 raw2digits.C:10
 raw2digits.C:11
 raw2digits.C:12
 raw2digits.C:13
 raw2digits.C:14
 raw2digits.C:15
 raw2digits.C:16
 raw2digits.C:17
 raw2digits.C:18
 raw2digits.C:19
 raw2digits.C:20
 raw2digits.C:21
 raw2digits.C:22