Changeset 306 in svn for trunk/Delphes.cpp
- Timestamp:
- Mar 9, 2009, 12:38:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Delphes.cpp
r305 r306 296 296 ExRootTreeBranch *branchMuon = treeWriter->NewBranch("Muon", TRootMuon::Class()); 297 297 ExRootTreeBranch *branchPhoton = treeWriter->NewBranch("Photon", TRootPhoton::Class()); 298 //ExRootTreeBranch *branchTracks = treeWriter->NewBranch("Tracks", TRootTracks::Class());299 298 ExRootTreeBranch *branchTrack = treeWriter->NewBranch("Tracks", TRootTracks::Class()); 300 299 ExRootTreeBranch *branchETmis = treeWriter->NewBranch("ETmis", TRootETmis::Class()); … … 318 317 vector<fastjet::PseudoJet> input_particles;//for FastJet algorithm 319 318 vector<fastjet::PseudoJet> sorted_jets; 320 //vector<TLorentzVector> TrackCentral;321 319 vector<TRootTracks> TrackCentral; 322 320 vector<PhysicsTower> towers; 323 //vector<ParticleUtil> electron;324 321 vector<D_Particle> electron; 325 //vector<ParticleUtil> muon;326 322 vector<D_Particle> muon; 327 //vector<ParticleUtil> gamma;328 323 vector<D_Particle> gamma; 329 324 … … 509 504 } 510 505 // 2.1a.2.5 : very forward detectors 511 else if (DET->FLAG_vfd==1) { 512 // for the moment, only protons are transported 513 // BUT !!! could be a beam of other particles! (heavy ions?) 514 // BUT ALSO !!! if very forward muons, or others! 515 VFD->RomanPots(treeWriter,branchRP220,branchFP420,particle); 516 VFD->ZDC(treeWriter,branchZDC,particle); 517 } 518 // 2.1a.2.6: Zero degree calorimeter 519 //else if(DET->FLAG_zdc==1) { 520 //VFD->ZDC(treeWriter,branchZDC,particle); 521 //} 506 else 507 { 508 if (DET->FLAG_RP==1) { 509 // for the moment, only protons are transported 510 // BUT !!! could be a beam of other particles! (heavy ions?) 511 // BUT ALSO !!! if very forward muons, or others! 512 VFD->RomanPots(treeWriter,branchRP220,branchFP420,particle); 513 } 514 // 2.1a.2.6: Zero degree calorimeter 515 if(DET->FLAG_vfd==1) { 516 VFD->ZDC(treeWriter,branchZDC,particle); 517 } 518 } 522 519 523 520 } // 2.1a.2 : if visible particle … … 579 576 elementElec->PhiCalo = electron[i].PhiCalo(); 580 577 elementElec->Charge = sign(electron[i].PID()); 581 //elementElec->IsolFlag = DET->Isolation(electron[i].Phi(),electron[i].Eta(),TrackCentral,2.0,0.5);//isolation based on tracks582 578 elementElec->IsolFlag = DET->Isolation(electron[i].Phi(),electron[i].Eta(),TrackCentral,DET->ISOL_PT,DET->ISOL_Cone);//isolation based on tracks 583 579 } /////////////// HARDCODING … … 589 585 elementMu->EtaCalo = muon[i].EtaCalo(); 590 586 elementMu->PhiCalo = muon[i].PhiCalo(); 591 //elementMu->IsolFlag = DET->Isolation(muon[i].Phi(),muon[i].Eta(),TrackCentral,2.0,0.5); /////////////// HARDCODING592 587 elementMu->IsolFlag = DET->Isolation(muon[i].Phi(),muon[i].Eta(),TrackCentral,DET->ISOL_PT,DET->ISOL_Cone); /////////////// HARDCODING 593 588 }
Note:
See TracChangeset
for help on using the changeset viewer.