Changeset e79c954 in git
- Timestamp:
- Jul 2, 2020, 7:23:40 PM (4 years ago)
- Branches:
- master
- Children:
- 942a705
- Parents:
- 46c8df8
- Location:
- modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/Efficiency.cc
r46c8df8 re79c954 78 78 fItInputArray = fInputArray->MakeIterator(); 79 79 80 // switch to compute efficiency 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/Efficiency.h
r46c8df8 re79c954 53 53 TObjArray *fOutputArray; //! 54 54 55 Double_t fUseMomentumVector; //! 56 55 57 ClassDef(Efficiency, 1) 56 58 };
Note:
See TracChangeset
for help on using the changeset viewer.