Changeset 186 in svn for trunk/src/FrogUtil.cc
- Timestamp:
- Jan 14, 2009, 1:30:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/FrogUtil.cc
r183 r186 381 381 } 382 382 for(Int_t entry = 0; entry < nEntryFrog; ++entry){ 383 cout<<"Event n° "<<entry<<endl;383 // cout<<"Event n° "<<entry<<endl; 384 384 treeReader ->ReadEntry(entry); 385 385 treeReaderGen->ReadEntry(entry); … … 401 401 for(int p=0;p<branchElectron->GetEntriesFast();p++){ 402 402 elec = (TRootElectron*) branchElectron->At(p); 403 cout<<"Elec nO "<<p<<" PT: "<<elec->PT<<" Eta "<<elec->Eta<<" Phi"<<elec->Phi<<endl;403 // cout<<"Elec nO "<<p<<" PT: "<<elec->PT<<" Eta "<<elec->Eta<<" Phi"<<elec->Phi<<endl; 404 404 FROG_Element_Event_Candidate* frog_elec = new FROG_Element_Event_Candidate(11,elec->E,elec->Eta,elec->Phi); 405 405 … … 413 413 for(int p=0;p<branchMuon->GetEntriesFast();p++){ 414 414 muon = (TRootMuon*) branchMuon->At(p); 415 cout<<"Muon nO"<<p<<" PT: "<<muon->PT<<"Eta "<<muon->Eta<<" Phi"<<muon->Phi<<endl;415 // cout<<"Muon nO"<<p<<" PT: "<<muon->PT<<"Eta "<<muon->Eta<<" Phi"<<muon->Phi<<endl; 416 416 FROG_Element_Event_Candidate* frog_muon = new FROG_Element_Event_Candidate(13,muon->E,muon->Eta,muon->Phi); 417 417 frog_branchMuons->addDaughter(frog_muon); … … 424 424 for(int p=0;p<branchTau->GetEntriesFast();p++){ 425 425 tau = (TRootTauJet*) branchTau->At(p); 426 cout<<"Tau nO"<<p<<" PT: "<<tau->PT<<"Eta "<<tau->Eta<<" Phi"<<tau->Phi<<endl;426 // cout<<"Tau nO"<<p<<" PT: "<<tau->PT<<"Eta "<<tau->Eta<<" Phi"<<tau->Phi<<endl; 427 427 FROG_Element_Event_Candidate* frog_tau = new FROG_Element_Event_Candidate(15,tau->E,tau->Eta,tau->Phi); 428 428 frog_branchTaus->addDaughter(frog_tau); … … 435 435 for(int p=0;p<branchPhoton->GetEntriesFast();p++){ 436 436 photon = (TRootPhoton*) branchPhoton->At(p); 437 cout<<"Photon nO"<<p<<" PT: "<<photon->PT<<"Eta "<<photon->Eta<<" Phi"<<photon->Phi<<endl;437 // cout<<"Photon nO"<<p<<" PT: "<<photon->PT<<"Eta "<<photon->Eta<<" Phi"<<photon->Phi<<endl; 438 438 FROG_Element_Event_Candidate* frog_photon = new FROG_Element_Event_Candidate(22,photon->E,photon->Eta,photon->Phi); 439 439 frog_branchPhotons->addDaughter(frog_photon); … … 446 446 for(int p=0;p<branchJet->GetEntriesFast();p++){ 447 447 jet = (TRootJet*) branchJet->At(p); 448 cout<<"Jet nO"<<p<<" PT: "<<jet->PT<<"Eta "<<jet->Eta<<" Phi"<<jet->Phi<<endl;448 // cout<<"Jet nO"<<p<<" PT: "<<jet->PT<<"Eta "<<jet->Eta<<" Phi"<<jet->Phi<<endl; 449 449 FROG_Element_Event_Jet* frog_jet = new FROG_Element_Event_Jet(jet->E,jet->Eta,jet->Phi); 450 450 frog_branchJets->addDaughter(frog_jet); … … 457 457 for(int p=0;p<branchMET->GetEntriesFast();p++){ 458 458 met = (TRootETmis*) branchMET->At(p); 459 cout<<"MET nO"<<p<<" ET: "<<met->ET<<"Eta "<<0<<" Phi"<<met->Phi<<endl;459 // cout<<"MET nO"<<p<<" ET: "<<met->ET<<"Eta "<<0<<" Phi"<<met->Phi<<endl; 460 460 FROG_Element_Event_MET* frog_met = new FROG_Element_Event_MET(0,met->ET,0,met->Phi, met->ET); 461 461 frog_branchMET->addDaughter(frog_met);
Note:
See TracChangeset
for help on using the changeset viewer.