Changeset 27197df in git for modules/MomentumSmearing.cc
- Timestamp:
- Apr 20, 2021, 6:20:12 PM (4 years ago)
- Branches:
- master
- Children:
- 4739226
- Parents:
- 3b3071a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/MomentumSmearing.cc
r3b3071a r27197df 78 78 fItInputArray = fInputArray->MakeIterator(); 79 79 80 // switch to compute momentum smearing based on momentum vector eta, phi 81 fUseMomentumVector = GetBool("UseMomentumVector", false); 82 80 83 // create output array 81 84 … … 104 107 eta = candidatePosition.Eta(); 105 108 phi = candidatePosition.Phi(); 109 110 if (fUseMomentumVector){ 111 eta = candidateMomentum.Eta(); 112 phi = candidateMomentum.Phi(); 113 } 114 106 115 pt = candidateMomentum.Pt(); 107 116 e = candidateMomentum.E();
Note:
See TracChangeset
for help on using the changeset viewer.