--- quicklook/tracker/flight/macros/FTrkCalibQLook_EXPERT.cxx 2006/08/11 10:38:59 1.10 +++ quicklook/tracker/flight/macros/FTrkCalibQLook_EXPERT.cxx 2006/08/22 15:47:48 1.11 @@ -2,7 +2,7 @@ * FTrkCalibQLookExpert.cxx * * autor: D.Fedele - * version v1r08 + * version v1r10 * Parameters: * file - the data file to analyze * step - select =1 in order to analyze one event at time @@ -187,12 +187,15 @@ //********************************************************************** Int_t hcevent=hotr->GetEntries(); - ULong64_t HOBT[hcevent], TOBT[hcevent]; + Int_t tcevent=totr->GetEntries(); + ULong64_t HOBT[hcevent], TOBT[tcevent]; for (Int_t i = 0; i < hcevent; i++){ - totr->GetEntry(i); hotr->GetEntry(i); ph = eh4->GetPscuHeader(); HOBT[i]= ph->GetOrbitalTime(); + } + for (Int_t i = 0; i < tcevent; i++){ + totr->GetEntry(i); ph = eh3->GetPscuHeader(); TOBT[i]= ph->GetOrbitalTime(); } @@ -265,7 +268,7 @@ Int_t risposta=0; stringstream fromfile; - fromfile<<"FTrkCalibQLook_EXPERT File: "<SetLabelSize(0.07,"x"); gStyle->SetLabelSize(0.07,"y"); @@ -531,6 +534,12 @@ b.DrawBox(2816.,700.,2944.,maxhist); b.DrawBox(2048.,700.,2176.,maxhist); } + else if(nn==4){ + maxhist=histoped[nn]->GetMaximum(); + b.SetFillColor(107); + b.SetFillStyle(3954); + b.DrawBox(384.,2200.,512.,maxhist); + } else if(nn==6){ maxhist=histoped[nn]->GetMaximum(); b.SetFillColor(6); @@ -605,6 +614,12 @@ b.DrawBox(2816.,0.,2944.,maxhist); b.DrawBox(2048.,0.,2176.,maxhist); } + else if(nn==4){ + maxhist=histosig[nn]->GetMaximum(); + b.SetFillColor(107); + b.SetFillStyle(3954); + b.DrawBox(384.,0.,512.,maxhist); + } else if(nn==6){ maxhist=histosig[nn]->GetMaximum(); b.SetFillColor(6);