Skip to content

Commit

Permalink
Merge pull request #40800 from Dr15Jones/removeUnusedRecoVertexBeamSp…
Browse files Browse the repository at this point in the history
…otProducer

Remove unused variables from RecoVertex/BeamSpotProducer
  • Loading branch information
cmsbuild committed Feb 21, 2023
2 parents 918a7fc + 96f2552 commit 51c2170
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions RecoVertex/BeamSpotProducer/test/BeamFit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ void fitAll() {
fit(xmat, Verr); // get initial values
fnthite++;

Double_t chi2cut = 20;
//Double_t chi2cut = 20;

int fminNtrks = 100;
double fconvergence = 0.9;
Expand All @@ -405,7 +405,7 @@ void fitAll() {

fit(xmat, Verr);
fd0cut /= 1.5;
chi2cut /= 1.5;
//chi2cut /= 1.5;
if (tmpNtrks_ > fconvergence * zdata.size() && tmpNtrks_ > fminNtrks)
fnthite++;
}
Expand Down
4 changes: 1 addition & 3 deletions RecoVertex/BeamSpotProducer/test/NtupleHelper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,12 @@ zData NtupleHelper::Loop(int maxEvents) {

std::cout << " total number of entries: " << fChain->GetEntries() << std::endl;

Int_t nbytes = 0, nb = 0;
int theevent = 0;
for (Long64_t jentry = 0; jentry < nentries; jentry++) {
Long64_t ientry = LoadTree(jentry);
if (ientry < 0)
break;
nb = fChain->GetEntry(jentry);
nbytes += nb;
fChain->GetEntry(jentry);
// if (sigmaD <0.05&&pt>4.0)
// {

Expand Down

0 comments on commit 51c2170

Please sign in to comment.