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

Clean-up CSC Examiner related code and configs #24318

Open
perrotta opened this issue Aug 16, 2018 · 8 comments
Open

Clean-up CSC Examiner related code and configs #24318

perrotta opened this issue Aug 16, 2018 · 8 comments

Comments

@perrotta
Copy link
Contributor

While reviewing #24295 it was noticed that (see #24295 (comment) and #24295 (comment)):

  • There are several (test and DQM) configs which define different ExaminerMask's:
    http://cmslxr.fnal.gov/search?_filestring=&_string=ExaminerMask&_casesensitive=1
    Those masks are ideally supposed to be the same. The problem is that that most of those configs are obsolete, and need to be removed from the repository (or alternatively brought up to date)

  • There is a fTMB_Scope flag in the CSCDCCExaminer which was originally supposed to be for a handling of the debugging mode feature of CSC hardware, which is not used in the production. It being defined and never used generates a complain in the static analyzer. The code in /EventFilter/CSCRawToDigi/src/CSCDCCExaminer.cc must be cleaned up of it, and of whatever else obsolete is in it

@barvic @Martin-Grunewald @slava77

@perrotta
Copy link
Contributor Author

assign reconstruction

@cmsbuild
Copy link
Contributor

New categories assigned: reconstruction

@slava77,@perrotta you have been requested to review this Pull request/Issue and eventually sign? Thanks

@cmsbuild
Copy link
Contributor

A new Issue was created by @perrotta .

@davidlange6, @Dr15Jones, @smuzaffar, @fabiocos, @kpedro88 can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@perrotta
Copy link
Contributor Author

The dead assignment of fTMB_Scope and related flags was fixed by #26574

The cleaning of the configs with different ExaminerMask's implemented in them is still pending. According to what was written by @barvic in #24295 (comment):

  • Those test config files with .cfg extensions are obsolete and unusable (from pre-python era). Most likely will be just removed for general clean up purposes at some point
  • Those in DQM looks like old L1T monitoring-related and in principle it would be better to be updated as well for consistency, but I think that particular DQM module is obsolete in Run2

@ptcox

@ptcox
Copy link
Contributor

ptcox commented May 13, 2019 via email

@kpedro88
Copy link
Contributor

@ptcox old code is always available in the git history in case it needs to be revived. Leaving large chunks of commented-out code (or completely broken configs) is discouraged because it is messy and confusing for any future observer or developer.

@ptcox
Copy link
Contributor

ptcox commented May 13, 2019 via email

@kpedro88
Copy link
Contributor

@ptcox this is one of the primary purposes of version control systems. There are numerous resources available to become more familiar with Git, including a tutorial I wrote specifically for CMS: https://twiki.cern.ch/twiki/bin/view/CMS/CMSGitTutorial.

Additionally, we usually clean up old code only in the development branch. All the previous branches, corresponding to older release cycles of CMSSW, will still have the old code present, so it is quite easy to locate it (without e.g. memorizing some commit hash).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants