]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/macros/BeamTest/raw2digits.C
Obsolete file removed
[u/mrichter/AliRoot.git] / PHOS / macros / BeamTest / raw2digits.C
CommitLineData
e869dd6c 1void raw2digits(const char * inputfile = "RUN_4400.fz"){
2 //Read Connection table DB
3 TFile f("ConTableDB.root") ;
4 AliPHOSConTableDB * cdb = f.Get("AliPHOSConTableDB") ;
5 f.Close() ;
6
7 AliPHOSRaw2Digits * r = new AliPHOSRaw2Digits(inputfile) ;
8 //Set position of the target in the given run.
9 //The reference system is following
10 //Z axis along beam direction, from target to prototype (0-surface of prototype)
11 //X axis along columns of prototype (0-center of prototype)
12 //Y axis along raws of prototype (0-center of prototype)
13 Double_t pos[3]={0,0,-452.} ;
14 r->SetTargetPosition(pos) ;
15 r->SetConTableDB(cdb) ;
16// r->SetDebugLevel(1) ;
17 r->ExecuteTask() ;
18 r->Print("deb") ;
19
20
21}