ROOT logo
void DrawLED(int runno=1890,int mod=0,int col=0,int row=0,int gain = 0){
  
  Char_t fname[256];
  sprintf(fname,"LED_%09d.root",runno);
  
  TFile *f = new TFile(fname,"read");
  TTree *tree = f->Get("fTreeAmpVsTime");
  f.ls();
  
  AliCaloCalibSignal *calib = new AliCaloCalibSignal();
       
  int channo = calib->GetChannelNum(mod,col,row,gain);
  char arg[64];
  sprintf(arg,"fChannelNum==%d",channo);
  cout<<arg<<endl;
  tree->Draw("fAmp:fHour",arg);

}



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