- Timestamp:
- Dec 22, 2008, 9:48:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/FrogUtil.cc
r100 r107 434 434 photon = (TRootPhoton*) branchPhoton->At(p); 435 435 cout<<"Photon nO"<<p<<" PT: "<<photon->PT<<"Eta "<<photon->Eta<<" Phi"<<photon->Phi<<endl; 436 FROG_Element_Event_Candidate* frog_photon = new FROG_Element_Event_Candidate( 15,photon->E,photon->Eta,photon->Phi);436 FROG_Element_Event_Candidate* frog_photon = new FROG_Element_Event_Candidate(22,photon->E,photon->Eta,photon->Phi); 437 437 frog_branchPhotons->addDaughter(frog_photon); 438 438 } 439 439 440 440 //SIM JETS 441 //Create a new sub-branch in the SIM branch with name Jets: this sub branch will contais all the Jets 441 442 //Create a new sub-branch in the SIM branch with name Jets: this sub branch will contais all the Jets 442 443 FROG_Element_Base_With_DetId_And_Name* frog_branchJets = new FROG_Element_Base_With_DetId_And_Name(EVTID_SIM+5000,"Jets"); 443 444 frog_branchSIM->addDaughter(frog_branchJets); … … 445 446 jet = (TRootJet*) branchJet->At(p); 446 447 cout<<"Jet nO"<<p<<" PT: "<<jet->PT<<"Eta "<<jet->Eta<<" Phi"<<jet->Phi<<endl; 448 cout<<"eta du jet "<<jet->Eta<<" theta du jet "<<FROG_COORD::EtaToTheta(jet->Eta)<<" et en degre "<<57.29*FROG_COORD::EtaToTheta(jet->Eta)<<endl; 447 449 FROG_Element_Event_Jet* frog_jet = new FROG_Element_Event_Jet(jet->E,jet->Eta,jet->Phi); 448 450 frog_branchJets->addDaughter(frog_jet); … … 493 495 494 496 int plus=1; 495 int NumPhi=4; 496 497 498 int NumPhi=20; 499 500 501 502 503 497 504 //************************************************Tracker************************************************* 498 505 //********************************************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.