Changeset ce4feac in git
- Timestamp:
- Oct 6, 2015, 10:18:59 AM (9 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- b3c0535
- Parents:
- 4f00e0b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/FastJetFinder.cc
r4f00e0b rce4feac 282 282 Double_t deta, dphi, detaMax, dphiMax; 283 283 Double_t time, timeWeight; 284 Int_t number ;284 Int_t number, ncharged, nneutrals; 285 285 Int_t charge; 286 286 Double_t rho = 0.0; … … 340 340 detaMax = 0.0; 341 341 dphiMax = 0.0; 342 342 343 for(itOutputList = outputList.begin(); itOutputList != outputList.end(); ++itOutputList) 343 344 { … … 356 357 357 358 charge = 0; 359 360 ncharged = 0; 361 nneutrals = 0; 358 362 359 363 inputList.clear(); … … 370 374 if(dphi > dphiMax) dphiMax = dphi; 371 375 376 if(constituent->Charge == 0) nneutrals++; 377 else ncharged++; 378 372 379 time += TMath::Sqrt(constituent->Momentum.E())*(constituent->Position.T()); 373 380 timeWeight += TMath::Sqrt(constituent->Momentum.E()); … … 385 392 candidate->DeltaPhi = dphiMax; 386 393 candidate->Charge = charge; 394 candidate->NNeutrals = nneutrals; 395 candidate->NCharged = ncharged; 396 387 397 //------------------------------------ 388 398 // Trimming
Note:
See TracChangeset
for help on using the changeset viewer.