2294 |
} |
} |
2295 |
if(sel_tree_clone)sel_tree_clone->Fill(); |
if(sel_tree_clone)sel_tree_clone->Fill(); |
2296 |
// if( irunentry == 0 || run_tree_clone->GetEntries()==0 )run_tree_clone->Fill(); |
// if( irunentry == 0 || run_tree_clone->GetEntries()==0 )run_tree_clone->Fill(); |
2297 |
Int_t nstoredruns = run_tree_clone->GetEntries(); |
// Int_t nstoredruns = run_tree_clone->GetEntries(); |
2298 |
if( irun == nstoredruns )run_tree_clone->Fill(); |
// if( irun == nstoredruns )run_tree_clone->Fill(); |
2299 |
else if( irun > nstoredruns || irun < nstoredruns-1){ |
// else if( irun > nstoredruns || irun < nstoredruns-1){ |
2300 |
cout << " PamLevel2::FillCloneTrees() -- ERROR -- current run "<< irun <<" stored runs "<< nstoredruns <<endl; |
// cout << " PamLevel2::FillCloneTrees() -- ERROR -- current run "<< irun <<" stored runs "<< nstoredruns <<endl; |
2301 |
} |
// } |
2302 |
|
|
2303 |
} |
} |
2304 |
|
|
2305 |
|
|
2361 |
if( !pam_tree->GetEntry(ii) ) return 0; |
if( !pam_tree->GetEntry(ii) ) return 0; |
2362 |
//------------------------------- |
//------------------------------- |
2363 |
ii = iee; |
ii = iee; |
2364 |
UpdateRunInfo(run_tree,ii); |
Bool_t UPDATED = UpdateRunInfo(run_tree,ii); |
2365 |
if(SELLI==0)irunentry = iee-runfirstentry; |
if(SELLI==0)irunentry = iee-runfirstentry; |
2366 |
|
if(UPDATED && run_tree_clone)run_tree_clone->Fill(); |
2367 |
|
|
2368 |
// cout << "PamLevel2::GetEntry("<<iee<<") "<<irun<<" "<<runfirstentry<<" "<<irunentry<<endl; |
// cout << "PamLevel2::GetEntry("<<iee<<") "<<irun<<" "<<runfirstentry<<" "<<irunentry<<endl; |
2369 |
|
|