Changeset fd4b326 in git for modules/TreeWriter.cc
- Timestamp:
- Mar 17, 2021, 4:19:54 PM (4 years ago)
- Branches:
- master
- Children:
- 9cc5aeb
- Parents:
- b8a6aa3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/TreeWriter.cc
rb8a6aa3 rfd4b326 320 320 Candidate *particle = 0; 321 321 Track *entry = 0; 322 Double_t pt, signz, cosTheta, eta, rapidity, p, ctgTheta, phi ;322 Double_t pt, signz, cosTheta, eta, rapidity, p, ctgTheta, phi, m; 323 323 const Double_t c_light = 2.99792458E8; 324 324 … … 387 387 p = momentum.P(); 388 388 phi = momentum.Phi(); 389 m = momentum.M(); 389 390 ctgTheta = (TMath::Tan(momentum.Theta()) != 0) ? 1 / TMath::Tan(momentum.Theta()) : 1e10; 390 391 … … 400 401 entry->CtgTheta = ctgTheta; 401 402 entry->C = candidate->C; 403 entry->Mass = m; 402 404 403 405 particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0)); … … 470 472 Candidate *particle = 0; 471 473 ParticleFlowCandidate *entry = 0; 472 Double_t e, pt, signz, cosTheta, eta, rapidity, p, ctgTheta, phi ;474 Double_t e, pt, signz, cosTheta, eta, rapidity, p, ctgTheta, phi, m; 473 475 const Double_t c_light = 2.99792458E8; 474 476 … … 541 543 p = momentum.P(); 542 544 phi = momentum.Phi(); 545 m = momentum.M(); 543 546 ctgTheta = (TMath::Tan(momentum.Theta()) != 0) ? 1 / TMath::Tan(momentum.Theta()) : 1e10; 544 547 … … 550 553 entry->CtgTheta = ctgTheta; 551 554 entry->C = candidate->C; 555 entry->Mass = m; 552 556 553 557 particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0));
Note:
See TracChangeset
for help on using the changeset viewer.