Skip to content

Commit

Permalink
miscellaneous fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Nov 9, 2020
1 parent 30fe1f2 commit 89aecdb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Alignment/OfflineValidation/macros/FitPVResiduals.C
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,8 @@ std::array<float, nPtBins_ + 1> mypT_bins = {{0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1

// inline function
int check(const double a[], int n) {
while (--n > 0 && a[n] == a[0])
//while (--n > 0 && a[n] == a[0]) // exact match
while (--n > 0 && (a[n]-a[0])<0.01) // merged input files, protection agains numerical precision
;
return n != 0;
}
Expand Down
1 change: 1 addition & 0 deletions Alignment/OfflineValidation/test/PVValidation_T_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ def switchClusterizerParameters(da):
# Configure the PVValidation Analyzer module
####################################################################
process.PVValidation = cms.EDAnalyzer("PrimaryVertexValidation",
numberOfBins = cms.untracked.int32(48),
TrackCollectionTag = cms.InputTag("FinalTrackRefitter"),
VertexCollectionTag = cms.InputTag("VERTEXTYPETEMPLATE"),
Debug = cms.bool(False),
Expand Down

0 comments on commit 89aecdb

Please sign in to comment.