Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bsunanda:Run2-alca30 Update the codes for IsoTrack and Muon in view of suggestion during calibration activity #12573

Merged
merged 3 commits into from
Dec 11, 2015

Conversation

bsunanda
Copy link
Contributor

IsoTrack and Muons used in HB/HE went through substantial modifications in view of the recent exercise on HCAL calibration. The modified codes are committed here

@bsunanda
Copy link
Contributor Author

@cmsbuild Please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/9959/console

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @bsunanda for CMSSW_8_0_X.

It involves the following packages:

Calibration/HcalCalibAlgos
Calibration/IsolatedParticles

@diguida, @cerminar, @cmsbuild, @franzoni, @mmusich, @davidlange6 can you please review it and eventually sign? Thanks.
@slava77, @Degano, @smuzaffar you are the release manager for this.

Following commands in first line of a comment are recognized

  • +1|approve[d]|sign[ed]: L1/L2's to approve it
  • -1|reject[ed]: L1/L2's to reject it
  • assign <category>[,<category>[,...]]: L1/L2's to request signatures from other categories
  • unassign <category>[,<category>[,...]]: L1/L2's to remove signatures from other categories
  • hold: L1/all L2's/release manager to mark it as on hold
  • unhold: L1/user who put this PR on hold
  • merge: L1/release managers to merge this request
  • [@cmsbuild,] please test: L1/L2 and selected users to start jenkins tests
  • [@cmsbuild,] please test with cms-sw/cmsdist#<PR>: L1/L2 and selected users to start jenkins tests using externals from cmsdist

@bsunanda
Copy link
Contributor Author

@diguida @mmusich I can summarize the requirement in an ALCA meeting

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@mmusich
Copy link
Contributor

mmusich commented Nov 26, 2015

@bsunanda ok, we'll reserve a slot at the next meeting. Thanks

@bsunanda
Copy link
Contributor Author

@cmsbuild Please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/10022/console

@cmsbuild
Copy link
Contributor

Pull request #12573 was updated. @diguida, @cerminar, @cmsbuild, @franzoni, @mmusich, @davidlange6 can you please check and sign again.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 7, 2015

Pull request #12573 was updated. @diguida, @cerminar, @cmsbuild, @franzoni, @mmusich, @davidlange6 can you please check and sign again.

@bsunanda
Copy link
Contributor Author

bsunanda commented Dec 7, 2015

@cmsbuild Please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 7, 2015

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/10188/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 7, 2015

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 7, 2015

}
}
}
if (t_goodPV == 0 && beamSpotH.isValid()) {
leadPV = beamSpotH->position();
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bsunanda IIUC the logic is the following: you want to

  • define a primary vertex selection: being not fake and with at least 5 dof
  • find the first occurrence of a primary vertex passing the selection in a valid non-zero-sized collection of reconstructed vertices, and extract its position
  • enumerate all the vertices in the collection passing the selection;
  • if no selection passed, use the BeamSpot position.

Maybe the code is not optimal here, but can go in, as of now.

@diguida
Copy link
Contributor

diguida commented Dec 10, 2015

+1
Conditional approval. The features presented are implemented:

  • move Calibration/HcalCalibAlgos/src/AnalyzerMinbias.cc to Calibration/HcalCalibAlgos/plugins/AnalyzerMinbias.cc (this was most likely left over by some commits in the branch or previous PR);
  • use TFileService in Calibration/HcalCalibAlgos/plugins/RecAnalyzerMinbias.cc and Calibration/HcalCalibAlgos/plugins/SimAnalyzerMinbias.cc (with corresponding changes in config)
  • move Calibration/HcalCalibAlgos/plugins/HcalIsoTrkAnalyzer.cc to be one module with SharedResources API;
  • possibility to consume the raw energy of a RecHit in HB/HE via a boolean flag in the functions defined in Calibration/IsolatedParticles/interface/FindDistCone.h, Calibration/IsolatedParticles/interface/eCone.h, and Calibration/IsolatedParticles/interface/FindDistCone.h, and Calibration/IsolatedParticles/interface/eHCALMatrix.h, and corresponding usage in Calibration/HcalCalibAlgos/plugins/HcalHBHEMuonAnalyzer.cc, Calibration/HcalCalibAlgos/plugins/HcalIsoTrkAnalyzer.cc
  • definition of a new function propagateHCALBack in Calibration/IsolatedParticles/interface/CaloPropagateTrack.h in order to assure the same HCAL cell is reached by propagating the track to front and back faces of the HCAL, still not used in any analyser code (claimed to happen in HcalRaddamMuon and HcalHBHEMuonAnalyzer)
  • study L1T dependence of the IsoTrack calibration in IsolatedParticles/plugins/IsoTrakCalib.cc (HLT study done in in other analysers): in 2015 the L1T seed used, L1_SingleJet68 was heavily prescaled. Reminder: this requires RAWRECO data tier.

To be done:

  • still a lot of magic numbers in different places (some in the comments here, many more around)
  • use of not-centrally-maintained functions for track geometric properties
  • cleanup of "legacy" modules

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Dec 11, 2015
bsunanda:Run2-alca30 Update the codes for IsoTrack and Muon in view of suggestion during calibration activity
@cmsbuild cmsbuild merged commit 460922a into cms-sw:CMSSW_8_0_X Dec 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants