- Timestamp:
- Mar 3, 2009, 12:45:22 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/LHCOConverter.cc
r284 r288 179 179 pmu.SetPtEtaPhiE(particle->PT, particle->Eta, particle->Phi, particle->E); 180 180 jmass = pmu.M(); 181 unsigned int ntrk = 0; 181 float ntrk = 0.0; 182 if(lhcoID == lhcoElectronID) { TRootElectron elec(*((TRootElectron*) branch->At(i))); ntrk = elec.Charge; } 183 else if (lhcoID == lhcoMuonID) { TRootMuon muon(*((TRootMuon*) branch->At(i))); ntrk = muon.Charge; } 184 else if (lhcoID == lhcoTauJetID) { TRootTauJet taujet(*((TRootTauJet*) branch->At(i))); ntrk = taujet.Charge; } 182 185 float btag =0; 183 186 double ratioE = 0;
Note:
See TracChangeset
for help on using the changeset viewer.