]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCMonitorExec.C
Option to switch on the Altro emulator
[u/mrichter/AliRoot.git] / TPC / AliTPCMonitorExec.C
1 void AliTPCMonitorExec(Int_t val)
2 {
3   AliTPCMonitor* moni  =0;
4   moni  = (AliTPCMonitor*)gROOT->FindObjectAny("monitor");
5   
6   if(moni=(AliTPCMonitor*)gROOT->FindObjectAny("monitor"))
7     { 
8       if      (val==1){   moni->ExecPad()      ;}
9       else if (val==2){   moni->ExecRow()      ;}
10       else if (val==3){   moni->ExecProcess()       ;}
11       else     cout << " no value specified " << endl;
12     }
13   else
14     {
15       cout << " Object not found " << endl;
16     }
17        
18 }