- Timestamp:
- Jun 16, 2010, 11:05:05 AM (14 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/JetsUtil.cc
r547 r567 122 122 } 123 123 124 vector<fastjet::PseudoJet> JetsUtil::RunJets(const vector<fastjet::PseudoJet>& input_particles, const vector<TRootTracks> & TrackCentral, vector<int> &NTrackJet, vector<float> &EHADEEM,D_CaloTowerList list_of_active_towers )124 vector<fastjet::PseudoJet> JetsUtil::RunJets(const vector<fastjet::PseudoJet>& input_particles, const vector<TRootTracks> & TrackCentral, vector<int> &NTrackJet, vector<float> &EHADEEM,D_CaloTowerList list_of_active_towers, vector<int> &NCALO) 125 125 { 126 126 inclusive_jets.clear(); … … 144 144 DET->BinEtaPhi(TrackCentral[t].PhiOuter,TrackCentral[t].EtaOuter,iPhiTrack[t],iEtaTrack[t]); 145 145 else { 146 iPhiTrack[t] = TrackCentral[t].Phi Outer; iEtaTrack[t] = TrackCentral[t].EtaOuter;146 iPhiTrack[t] = TrackCentral[t].Phi; iEtaTrack[t] = TrackCentral[t].Eta; // should NOT be PhiOuter and EtaOuter 147 147 } 148 148 } … … 163 163 //now, get EHad over EEm 164 164 float EmVal=0,HadVal=0; 165 NCALO.push_back(constituents.size()); 165 166 for (unsigned int j = 0; j < constituents.size(); j++) 166 167 { … … 197 198 198 199 199 void JetsUtil::RunJetBtagging(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchJet,const vector<fastjet::PseudoJet> & sorted_jets,const TSimpleArray<TRootC::GenParticle>& NFCentralQ, const vector<int> &NTrackJet, const vector<float> &EHADEEM )200 void JetsUtil::RunJetBtagging(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchJet,const vector<fastjet::PseudoJet> & sorted_jets,const TSimpleArray<TRootC::GenParticle>& NFCentralQ, const vector<int> &NTrackJet, const vector<float> &EHADEEM, const vector<int> &NCALO) 200 201 { 201 202 TRootJet *elementJet; … … 209 210 elementJet->NTracks = NTrackJet[i]; 210 211 elementJet->EHoverEE = EHADEEM[i]; 212 elementJet->NCalo = NCALO[i]; 211 213 212 214 // b-jets … … 218 220 } 219 221 220 void JetsUtil::RunTauJets(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchTauJet,const vector<fastjet::PseudoJet> & sorted_jets,const vector<PhysicsTower> & towers, const vector<TRootTracks> & TrackCentral, const vector<int> &NTrackJet, const vector<float> &EHADEEM )222 void JetsUtil::RunTauJets(ExRootTreeWriter *treeWriter, ExRootTreeBranch *branchTauJet,const vector<fastjet::PseudoJet> & sorted_jets,const vector<PhysicsTower> & towers, const vector<TRootTracks> & TrackCentral, const vector<int> &NTrackJet, const vector<float> &EHADEEM,const vector<int> &NCALO) 221 223 { 222 224 TRootTauJet *elementTauJet; … … 240 242 elementTauJet->Charge = charge; 241 243 elementTauJet->EHoverEE = EHADEEM[i]; 244 elementTauJet->NCalo = NCALO[i]; 242 245 } // if tau jet 243 246 } // if JET.eta < tracker - tau_cone : Tau jet identification -
trunk/src/SmearUtil.cc
r558 r567 27 27 ** Louvain-la-Neuve, Belgium ** 28 28 ** ** 29 ** Copyright (C) 2008-20 09, **29 ** Copyright (C) 2008-2010, ** 30 30 ** All rights reserved. ** 31 31 ** ** … … 138 138 // General jet variable 139 139 JET_coneradius = 0.7; // generic jet radius ; not for tau's !!! 140 JET_jetalgo = 1; // 1 for Cone algorithm, 2 for MidPoint algorithm, 3 for SIScone algorithm, 4 for kt algorithm140 JET_jetalgo = 2; // 1 for Cone algorithm, 2 for MidPoint algorithm, 3 for SIScone algorithm, 4 for kt algorithm 141 141 JET_seed = 1.0; // minimum seed to start jet reconstruction 142 JET_Eflow = 1; // 1 for Energy flow in jets reco ; 0 if not142 JET_Eflow = 0; // 1 for Energy flow in jets reco ; 0 if not 143 143 144 144 // Tagging definition … … 774 774 f_out <<"** of a generic collider experiment **"<< endl; 775 775 f_out <<"** **"<< endl; 776 f_out <<"** --- Version 1. 8of Delphes --- **"<< endl;777 f_out <<"** Last date of change: 16 August 2009**"<< endl;776 f_out <<"** --- Version 1.9 of Delphes --- **"<< endl; 777 f_out <<"** Last date of change: 7 May 2010 **"<< endl; 778 778 f_out <<"** **"<< endl; 779 779 f_out <<"** **"<< endl; … … 1767 1767 cout <<"** arXiv:0903.2225v1 [hep-ph] **"<< endl; 1768 1768 cout <<"** **"<< endl; 1769 cout <<"** --- Version 1. 8of Delphes --- **"<< endl;1770 cout <<"** Last date of change: 16 August 2009**"<< endl;1769 cout <<"** --- Version 1.9 of Delphes --- **"<< endl; 1770 cout <<"** Last date of change: 7 May 2010 **"<< endl; 1771 1771 cout <<"** **"<< endl; 1772 1772 cout <<"** **"<< endl;
Note:
See TracChangeset
for help on using the changeset viewer.