Fork me on GitHub

Changeset 186 in svn


Ignore:
Timestamp:
Jan 14, 2009, 1:30:57 PM (16 years ago)
Author:
Xavier Rouby
Message:

less 'cout'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/FrogUtil.cc

    r183 r186  
    381381    }
    382382  for(Int_t entry = 0; entry < nEntryFrog; ++entry){
    383     cout<<"Event n° "<<entry<<endl;
     383//    cout<<"Event n° "<<entry<<endl;
    384384    treeReader   ->ReadEntry(entry);
    385385    treeReaderGen->ReadEntry(entry);
     
    401401    for(int p=0;p<branchElectron->GetEntriesFast();p++){
    402402      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;
    404404      FROG_Element_Event_Candidate* frog_elec = new FROG_Element_Event_Candidate(11,elec->E,elec->Eta,elec->Phi);
    405405     
     
    413413    for(int p=0;p<branchMuon->GetEntriesFast();p++){
    414414      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;
    416416      FROG_Element_Event_Candidate* frog_muon = new FROG_Element_Event_Candidate(13,muon->E,muon->Eta,muon->Phi);
    417417      frog_branchMuons->addDaughter(frog_muon);
     
    424424    for(int p=0;p<branchTau->GetEntriesFast();p++){
    425425      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;
    427427      FROG_Element_Event_Candidate* frog_tau = new FROG_Element_Event_Candidate(15,tau->E,tau->Eta,tau->Phi);
    428428      frog_branchTaus->addDaughter(frog_tau);
     
    435435    for(int p=0;p<branchPhoton->GetEntriesFast();p++){
    436436      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;
    438438      FROG_Element_Event_Candidate* frog_photon = new FROG_Element_Event_Candidate(22,photon->E,photon->Eta,photon->Phi);
    439439      frog_branchPhotons->addDaughter(frog_photon);
     
    446446    for(int p=0;p<branchJet->GetEntriesFast();p++){
    447447      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;
    449449      FROG_Element_Event_Jet* frog_jet = new FROG_Element_Event_Jet(jet->E,jet->Eta,jet->Phi);
    450450      frog_branchJets->addDaughter(frog_jet);
     
    457457    for(int p=0;p<branchMET->GetEntriesFast();p++){
    458458      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;
    460460      FROG_Element_Event_MET* frog_met = new FROG_Element_Event_MET(0,met->ET,0,met->Phi, met->ET);
    461461      frog_branchMET->addDaughter(frog_met);
Note: See TracChangeset for help on using the changeset viewer.