Changeset 107 in svn
- Timestamp:
- Dec 22, 2008, 9:48:14 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Delphes.cpp
r100 r107 194 194 Long64_t entry, allEntries = treeReader->GetEntries(); 195 195 cout << "** Chain contains " << allEntries << " events" << endl; 196 for(entry = 0; entry < allEntries; ++entry)196 for(entry = 0; entry < 200; ++entry) 197 197 { 198 198 TLorentzVector PTmis(0,0,0,0); … … 334 334 for(unsigned int i=0; i < towers.size(); i++) 335 335 { 336 Att.SetPxPyPzE(towers[i].fourVector.px, towers[i].fourVector.py, towers[i].fourVector.pz, towers[i].fourVector.E);337 if(fabs(Att.Eta())<DET->CEN_max_calo_fwd)338 {339 PTmis = PTmis + Att;340 // create a fastjet::PseudoJet with these components and put it onto341 // back of the input_particles vector342 input_particles.push_back(fastjet::PseudoJet(towers[i].fourVector.px,towers[i].fourVector.py,towers[i].fourVector.pz,towers[i].fourVector.E));343 }336 Att.SetPxPyPzE(towers[i].fourVector.px, towers[i].fourVector.py, towers[i].fourVector.pz, towers[i].fourVector.E); 337 if(fabs(Att.Eta()) < DET->CEN_max_calo_fwd) 338 { 339 PTmis = PTmis + Att; 340 // create a fastjet::PseudoJet with these components and put it onto 341 // back of the input_particles vector 342 input_particles.push_back(fastjet::PseudoJet(towers[i].fourVector.px,towers[i].fourVector.py,towers[i].fourVector.pz,towers[i].fourVector.E)); 343 } 344 344 } 345 345 elementEtmis = (TRootETmis*) branchETmis->NewEntry(); -
trunk/Utilities/FROG/Includes/FROG/FROG_Element_Event_Candidate.h
r95 r107 65 65 glPushMatrix(); 66 66 glRotatef(57.29*Phi_ ,0,0,1); 67 glRotatef(57.29*FROG_COORD::EtaToTheta(Eta_),0,1,0); 67 glRotatef(57.29*FROG_COORD::EtaToTheta(Eta_),1,0,0); 68 cout<<"eta "<<Eta_<<" et le theta "<<FROG_COORD::EtaToTheta(Eta_)<<" et ce qu'on utilise pour tourner "<<57.29*FROG_COORD::EtaToTheta(Eta_)<<endl; 68 69 69 70 float dphi = 0.62832; -
trunk/Utilities/FROG/Includes/FROG/FROG_Element_Event_Jet.h
r95 r107 93 93 glPushMatrix(); 94 94 glRotatef(57.29*Phi_ ,0,0,1); 95 glRotatef(57.29*FROG_COORD::EtaToTheta(Eta_),0,1,0); 95 glRotatef(57.29*FROG_COORD::EtaToTheta(Eta_),1,0,0); 96 cout<<"eta du jet "<<Eta_<<" theta du jet "<<FROG_COORD::EtaToTheta(Eta_)<<" et en degre "<<57.29*FROG_COORD::EtaToTheta(Eta_)<<endl; 96 97 float dphi = 0.62832; 97 98 -
trunk/Utilities/FROG/config.txt
r106 r107 4 4 5 5 GeomToDisplay = {910000000,920000000,930000000,940000000}; 6 //GeomToDisplay = {910000000}; 6 7 EventToDisplay = {21000000}; 7 8 … … 61 62 //COLORS 62 63 ZAxis_Color = {0.14 , 0.026 , 0.026 , 1.0}; // ZAXIS (Z Opacity to 0, in order to switch it off) 63 BackGround_Color = { 0.0 , 0.0 , 0.0 , 0.0};64 BackGround_Color = {1.0 , 1.0 , 1.0 , 1.0}; 64 65 65 66 Id_900000000_Color = {1.0 , 1.0 , 0.0 , 1.0}; // Detecteur … … 67 68 Id_920000000_Color = {0.0 , 0.3 , 0.3 , 1.0}; // Calo 68 69 Id_930000000_Color = {0.0 , 0.0 , 0.3 , 1.0}; // FWCalo 69 Id_940000000_Color = {0.25 , 0.01 , 0.05 , 1.0}; // Muon70 Id_940000000_Color = {0.25 , 0.01 , 0.05 , 1.0}; // FWCalo 70 71 //Id_9000020_Color = {1.0 , 0.0 , 1.0 , 1.0}; // Tracker 71 72 //Id_9000010_Color = {0.3 , 1.0 , 0.3 , 1.0}; // PIB … … 80 81 Id_21004000_Color = {1.0 , 1.0 , 0.0 , 1.0}; // Photons 81 82 Id_21005000_Color = {0.0 , 1.0 , 1.0 , 1.0}; // Jets 82 Id_21006000_Color = {1.0 , 1.0 , 1.0 , 1.0}; // MET83 Id_21006000_Color = {1.0 , 0.0 , 1.0 , 1.0}; // MET 83 84 84 85 -
trunk/data/DataCardDet.dat
r104 r107 46 46 47 47 # Thresholds for reconstructed objetcs 48 PTCUT_elec 10.049 PTCUT_muon 10.050 PTCUT_jet 10.051 PTCUT_gamma 10.052 PTCUT_taujet 10.048 PTCUT_elec 0.0 49 PTCUT_muon 0.0 50 PTCUT_jet 0.0 51 PTCUT_gamma 0.0 52 PTCUT_taujet 0.0 53 53 54 54 # General jet variable … … 87 87 88 88 # In case FROG event display allowed 89 NEvents_Frog 289 NEvents_Frog 100 90 90 -
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.