- Timestamp:
- Apr 20, 2021, 6:20:12 PM (4 years ago)
- Branches:
- master
- Children:
- 4739226
- Parents:
- 3b3071a
- Location:
- modules
- Files:
-
- 2 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(); -
modules/MomentumSmearing.h
r3b3071a r27197df 55 55 TObjArray *fOutputArray; //! 56 56 57 Double_t fUseMomentumVector; //! 58 57 59 ClassDef(MomentumSmearing, 1) 58 60 };
Note:
See TracChangeset
for help on using the changeset viewer.