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

Fix HcalTestThreshold.cc: validId is used before declaration #36767

Merged
merged 1 commit into from Jan 21, 2022

Commits on Jan 21, 2022

  1. Update HcalTestThreshold.cc

    Fixes the following [error](https://cmssdt.cern.ch/SDT/cgi-bin/buildlogs/slc7_amd64_gcc10/CMSSW_12_3_DBG_X_2022-01-20-2300/Calibration/HcalCalibAlgos):
    ```
    /data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/49cdc564aa5d41cf44306c286f822fc4/opt/cmssw/slc7_amd64_gcc10/cms/cmssw/CMSSW_12_3_DBG_X_2022-01-20-2300/src/Calibration/HcalCalibAlgos/test/HcalTestThreshold.cc: In member function 'virtual void HcalTestThreshold::analyze(const edm::Event&, const edm::EventSetup&)':
      /data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/49cdc564aa5d41cf44306c286f822fc4/opt/cmssw/slc7_amd64_gcc10/cms/cmssw/CMSSW_12_3_DBG_X_2022-01-20-2300/src/Calibration/HcalCalibAlgos/test/HcalTestThreshold.cc:99:57: error: 'validId' was not declared in this scope
        99 |   edm::LogVerbatim("HcalIsoTrack") << "\n\nList of " << validId.size() << " valid DetId's of EE";
          |                                                         ^~~~~~~
      gmake: *** [tmp/slc7_amd64_gcc10/src/Calibration/HcalCalibAlgos/test/CalibrationHcalCalibAlgosTest/HcalTestThreshold.cc.o] Error 1
    ```
    iarspider committed Jan 21, 2022
    Copy the full SHA
    28c4f5c View commit details
    Browse the repository at this point in the history