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

Compiling under CMSSW_5_3_X broken since commit 7ece9bf8 #4

Closed
frmeier opened this issue Dec 1, 2014 · 8 comments
Closed

Compiling under CMSSW_5_3_X broken since commit 7ece9bf8 #4

frmeier opened this issue Dec 1, 2014 · 8 comments

Comments

@frmeier
Copy link
Contributor

frmeier commented Dec 1, 2014

I tried to test the instructions on https://twiki.cern.ch/twiki/bin/view/CMS/Bmm4HowtoAnalyze and did so in CMSSW_5_3_22_patch1, what I found to be the latest available release on t3.unl.edu. Unfortunately the last command scramv1 b -j8 failed with output as follows:

----- snip ----
>> Compiling edm plugin /home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpGenerator.cc 
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cc: In function 'void fillAnaTrack(TAnaTrack*, const reco::Track&, int, int, const VertexCollection*, const MuonCollection*, const reco::BeamSpot*)':
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cc:198:34: error: 'TRACK_HITS' is not a member of 'reco::HitPattern'
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cc:201:36: error: 'TRACK_HITS' is not a member of 'reco::HitPattern'
>> Compiling edm plugin /home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc 
>> Compiling edm plugin /home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpPhotons.cc 
>> Compiling edm plugin /home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpStuff.cc 
gmake: *** [tmp/slc5_amd64_gcc462/src/Bmm/CmsswAnalysis/src/BmmCmsswAnalysis/HFDumpUtilities.o] Error 1
gmake: *** Waiting for unfinished jobs....
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc: In member function 'void HFDumpMuons::fillMuon(const reco::Muon&, int)':
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc:223:69: error: 'MISSING_OUTER_HITS' is not a member of 'reco::HitPattern'
gmake: *** [tmp/slc5_amd64_gcc462/src/Bmm/CmsswAnalysis/plugins/BmmCmsswAnalysisPlugins/HFDumpMuons.o] Error 1
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2

With git blame HFDumpUtilities.cc I identified commit 7ece9bf as culprit. Reverting it using

git revert 7ece9bf8

Did the trick. I did not commit such a change, I only did it locally to test.
But: What to do? Do we need to support 5_3_X? If yes, then likely we'll need a separate branch. If not, then forget about.

@heistera
Copy link

heistera commented Dec 1, 2014

Hi all!

There are also compilation errors for the CMSSW_7 receipt (see below). Without looking who made the last commit can this be fixed by the guilty one, please!? ;-)

Thanks and cheers, Arno

[lxplus0056] ~/scratch1/CMSSW_7_0_7_patch1/src $ scramv1 b -j8

Local Products Rules ..... started
Local Products Rules ..... done
Building CMSSW version CMSSW_7_0_7_patch1 ----
Entering Package GeneratorInterface/ExternalDecays
Creating project symlinks
Entering Package Bmm/CmsswAnalysis
Entering Package Bmm/RootAnalysis
src/GeneratorInterface/ExternalDecays/python -> python/GeneratorInterface/ExternalDecays
Leaving Package Bmm/RootAnalysis
Package Bmm/RootAnalysis built
src/Bmm/CmsswAnalysis/python -> python/Bmm/CmsswAnalysis
Entering library rule at src/GeneratorInterface/ExternalDecays/test
Entering library rule at GeneratorInterface/ExternalDecays
Entering library rule at Bmm/CmsswAnalysis
Entering library rule at src/GeneratorInterface/ExternalDecays/plugins
Entering library rule at src/Bmm/CmsswAnalysis/plugins
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/GeneratorInterface/ExternalDecays/test/EvtGenTestAnalyzer.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/GeneratorInterface/ExternalDecays/test/EvtGenTestAnalyzer.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBd2DstarPi.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBd2DstarPi.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBs2JpsiPhi.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBs2JpsiPhi.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBu2JpsiKp.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBu2JpsiKp.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDiTracks.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDiTracks.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDstar.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDstar.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpGenerator.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpGenerator.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpPhotons.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpPhotons.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpStuff.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpStuff.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTracks.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTracks.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTrigger.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTrigger.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenDimuon.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenDimuon.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenFilter.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenFilter.cc
/afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc:http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc: In member function 'void HFDumpMuons::fillMuon(const reco::Muon&, int)':
/afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc:223:69:http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc:223:69: error: 'MISSING_OUTER_HITS' is not a member of 'reco::HitPattern'
pM->fNumberOfLostTrkHits = track_hp.numberOfLostTrackerHits(HitPattern::MISSING_OUTER_HITS); //4
^
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFLambdas.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFLambdas.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFPythiaDauVFilter.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFPythiaDauVFilter.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFSkipEvents.cchttp://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFSkipEvents.cc
gmake: *** [tmp/slc6_amd64_gcc481/src/Bmm/CmsswAnalysis/plugins/BmmCmsswAnalysisPlugins/HFDumpMuons.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2
[lxplus0056] ~/scratch1/CMSSW_7_0_7_patch1/src $

On 01.12.2014, at 05:21, Frank Meier <notifications@github.commailto:notifications@github.com> wrote:

I tried to test the instructions on https://twiki.cern.ch/twiki/bin/view/CMS/Bmm4HowtoAnalyze and did so in CMSSW_5_3_22_patch1, what I found to be the latest available release on t3.unl.eduhttp://t3.unl.edu. Unfortunately the last command scramv1 b -j8 failed with output as follows:

----- snip ----

Compiling edm plugin /home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpGenerator.cchttp://HFDumpGenerator.cc
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cchttp://HFDumpUtilities.cc: In function 'void fillAnaTrack(TAnaTrack_, const reco::Track&, int, int, const VertexCollection_, const MuonCollection_, const reco::BeamSpot_)':
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cchttp://HFDumpUtilities.cc:198:34: error: 'TRACK_HITS' is not a member of 'reco::HitPattern'
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cchttp://HFDumpUtilities.cc:201:36: error: 'TRACK_HITS' is not a member of 'reco::HitPattern'
Compiling edm plugin /home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cchttp://HFDumpMuons.cc
Compiling edm plugin /home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpPhotons.cchttp://HFDumpPhotons.cc
Compiling edm plugin /home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpStuff.cchttp://HFDumpStuff.cc
gmake: *** [tmp/slc5_amd64_gcc462/src/Bmm/CmsswAnalysis/src/BmmCmsswAnalysis/HFDumpUtilities.o] Error 1
gmake: *** Waiting for unfinished jobs....
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cchttp://HFDumpMuons.cc: In member function 'void HFDumpMuons::fillMuon(const reco::Muon&, int)':
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cchttp://HFDumpMuons.cc:223:69: error: 'MISSING_OUTER_HITS' is not a member of 'reco::HitPattern'
gmake: *** [tmp/slc5_amd64_gcc462/src/Bmm/CmsswAnalysis/plugins/BmmCmsswAnalysisPlugins/HFDumpMuons.o] Error 1
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2

With git blame HFDumpUtilities.cchttp://HFDumpUtilities.cc I identified commit 7ece9bfhttps://github.com/Bmm4/Bmm/commit/7ece9bf83051ef08424fa66e121d2a440e68018c as culprit. Reverting it using

git revert 7ece9bf

Did the trick. I did not commit such a change, I only did it locally to test.
But: What to do? Do we need to support 5_3_X? If yes, then likely we'll need a separate branch. If not, then forget about.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4.

@ursl
Copy link
Contributor

ursl commented Dec 1, 2014

Hi all,

without checking I think that CMSSW_7_3_0_preX should compile. It seems to
be the release for which we have relvals with appropriate triggers.

Cheers,
--U.

On Mon, Dec 1, 2014 at 9:38 AM, heistera notifications@github.com wrote:

Hi all!

There are also compilation errors for the CMSSW_7 receipt (see below).
Without looking who made the last commit can this be fixed by the guilty
one, please!? ;-)

Thanks and cheers, Arno

[lxplus0056] ~/scratch1/CMSSW_7_0_7_patch1/src $ scramv1 b -j8

Local Products Rules ..... started
Local Products Rules ..... done
Building CMSSW version CMSSW_7_0_7_patch1 ----
Entering Package GeneratorInterface/ExternalDecays
Creating project symlinks
Entering Package Bmm/CmsswAnalysis
Entering Package Bmm/RootAnalysis
src/GeneratorInterface/ExternalDecays/python ->
python/GeneratorInterface/ExternalDecays
Leaving Package Bmm/RootAnalysis
Package Bmm/RootAnalysis built
src/Bmm/CmsswAnalysis/python -> python/Bmm/CmsswAnalysis
Entering library rule at src/GeneratorInterface/ExternalDecays/test
Entering library rule at GeneratorInterface/ExternalDecays
Entering library rule at Bmm/CmsswAnalysis
Entering library rule at src/GeneratorInterface/ExternalDecays/plugins
Entering library rule at src/Bmm/CmsswAnalysis/plugins
Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/GeneratorInterface/ExternalDecays/test/EvtGenTestAnalyzer.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/GeneratorInterface/ExternalDecays/test/EvtGenTestAnalyzer.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBd2DstarPi.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBd2DstarPi.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBs2JpsiPhi.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBs2JpsiPhi.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBu2JpsiKp.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBu2JpsiKp.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDiTracks.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDiTracks.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDstar.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDstar.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpGenerator.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpGenerator.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpPhotons.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpPhotons.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpStuff.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpStuff.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTracks.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTracks.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTrigger.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTrigger.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenDimuon.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenDimuon.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenFilter.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenFilter.cc>

/afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc
:<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc:>
In member function 'void HFDumpMuons::fillMuon(const reco::Muon&, int)':
/afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc:223:69
:<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc:223:69:>
error: 'MISSING_OUTER_HITS' is not a member of 'reco::HitPattern'
pM->fNumberOfLostTrkHits =
track_hp.numberOfLostTrackerHits(HitPattern::MISSING_OUTER_HITS); //4
^

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFLambdas.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFLambdas.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFPythiaDauVFilter.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFPythiaDauVFilter.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFSkipEvents.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFSkipEvents.cc>

gmake: ***
[tmp/slc6_amd64_gcc481/src/Bmm/CmsswAnalysis/plugins/BmmCmsswAnalysisPlugins/HFDumpMuons.o]
Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [There are compilation/build errors. Please see the detail log
above.] Error 2
[lxplus0056] ~/scratch1/CMSSW_7_0_7_patch1/src $

On 01.12.2014, at 05:21, Frank Meier <notifications@github.com<mailto:
notifications@github.com>> wrote:

I tried to test the instructions on
https://twiki.cern.ch/twiki/bin/view/CMS/Bmm4HowtoAnalyze and did so in
CMSSW_5_3_22_patch1, what I found to be the latest available release on
t3.unl.eduhttp://t3.unl.edu. Unfortunately the last command scramv1 b
-j8 failed with output as follows:

----- snip ----

Compiling edm plugin
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpGenerator.cc<
http://HFDumpGenerator.cc>

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cc<
http://HFDumpUtilities.cc>: In function 'void fillAnaTrack(TAnaTrack_,
const reco::Track&, int, int, const VertexCollection_, const
MuonCollection_, const reco::BeamSpot_)':

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cc<
http://HFDumpUtilities.cc>:198:34: error: 'TRACK_HITS' is not a member of
'reco::HitPattern'

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cc<
http://HFDumpUtilities.cc>:201:36: error: 'TRACK_HITS' is not a member of
'reco::HitPattern'

Compiling edm plugin
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc<
http://HFDumpMuons.cc>
Compiling edm plugin
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpPhotons.cc<
http://HFDumpPhotons.cc>
Compiling edm plugin
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpStuff.cc<
http://HFDumpStuff.cc>
gmake: ***
[tmp/slc5_amd64_gcc462/src/Bmm/CmsswAnalysis/src/BmmCmsswAnalysis/HFDumpUtilities.o]
Error 1
gmake: *** Waiting for unfinished jobs....

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc<
http://HFDumpMuons.cc>: In member function 'void
HFDumpMuons::fillMuon(const reco::Muon&, int)':

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc<
http://HFDumpMuons.cc>:223:69: error: 'MISSING_OUTER_HITS' is not a
member of 'reco::HitPattern'
gmake: ***
[tmp/slc5_amd64_gcc462/src/Bmm/CmsswAnalysis/plugins/BmmCmsswAnalysisPlugins/HFDumpMuons.o]
Error 1
gmake: *** [There are compilation/build errors. Please see the detail log
above.] Error 2

With git blame HFDumpUtilities.cchttp://HFDumpUtilities.cc I identified
commit 7ece9bf<
7ece9bf83051ef08424fa66e121d2a440e68018c>
as culprit. Reverting it using

git revert 7ece9bf

Did the trick. I did not commit such a change, I only did it locally to
test.
But: What to do? Do we need to support 5_3_X? If yes, then likely we'll
need a separate branch. If not, then forget about.


Reply to this email directly or view it on GitHub<
https://github.com/Bmm4/Bmm/issues/4>.


Reply to this email directly or view it on GitHub
#4 (comment).

@heistera
Copy link

heistera commented Dec 1, 2014

Arno, Frank,
There were some changes between 71X and 72X in the HitPattern class.
These changes are not backward compatible, so the HEAD version of the code will only compile
with 72X or higher.
I tried to make a tag for the old version, you can try to use this tag if you really need older versions.
It seems that there will be even more changes in 73X, so I suggest that we just decide that we will
be using versions 73X and higher.
We can discuss it today at the meeting.

Best regards,
Danek


Danek Bohdan Kotlinski
danek.kotlinski@psi.ch
Phone: +41 563104030 (PSI), 0764875909 or 165909 (CERN)
Paul Scherrer Institut OFLC/004

On 1 Dec 2014, at 09:38, Arno Heister Arno.Heister@cern.ch wrote:

Hi all!

There are also compilation errors for the CMSSW_7 receipt (see below). Without looking who made the last commit can this be fixed by the guilty one, please!? ;-)

Thanks and cheers, Arno

[lxplus0056] ~/scratch1/CMSSW_7_0_7_patch1/src $ scramv1 b -j8

Local Products Rules ..... started
Local Products Rules ..... done
Building CMSSW version CMSSW_7_0_7_patch1 ----
Entering Package GeneratorInterface/ExternalDecays
Creating project symlinks
Entering Package Bmm/CmsswAnalysis
Entering Package Bmm/RootAnalysis
src/GeneratorInterface/ExternalDecays/python -> python/GeneratorInterface/ExternalDecays
Leaving Package Bmm/RootAnalysis
Package Bmm/RootAnalysis built
src/Bmm/CmsswAnalysis/python -> python/Bmm/CmsswAnalysis
Entering library rule at src/GeneratorInterface/ExternalDecays/test
Entering library rule at GeneratorInterface/ExternalDecays
Entering library rule at Bmm/CmsswAnalysis
Entering library rule at src/GeneratorInterface/ExternalDecays/plugins
Entering library rule at src/Bmm/CmsswAnalysis/plugins
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/GeneratorInterface/ExternalDecays/test/EvtGenTestAnalyzer.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBd2DstarPi.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBs2JpsiPhi.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBu2JpsiKp.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDiTracks.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDstar.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpGenerator.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpPhotons.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpStuff.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTracks.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTrigger.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenDimuon.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenFilter.cc
/afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc: In member function 'void HFDumpMuons::fillMuon(const reco::Muon&, int)':
/afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc:223:69: error: 'MISSING_OUTER_HITS' is not a member of 'reco::HitPattern'
pM->fNumberOfLostTrkHits = track_hp.numberOfLostTrackerHits(HitPattern::MISSING_OUTER_HITS); //4
^
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFLambdas.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFPythiaDauVFilter.cc
Compiling edm plugin /afs/cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFSkipEvents.cc
gmake: *** [tmp/slc6_amd64_gcc481/src/Bmm/CmsswAnalysis/plugins/BmmCmsswAnalysisPlugins/HFDumpMuons.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2
[lxplus0056] ~/scratch1/CMSSW_7_0_7_patch1/src $

On 01.12.2014, at 05:21, Frank Meier notifications@github.com wrote:

I tried to test the instructions on https://twiki.cern.ch/twiki/bin/view/CMS/Bmm4HowtoAnalyze and did so in CMSSW_5_3_22_patch1, what I found to be the latest available release on t3.unl.edu. Unfortunately the last command scramv1 b -j8 failed with output as follows:

----- snip ----

Compiling edm plugin /home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpGenerator.cc
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cc: In function 'void fillAnaTrack(TAnaTrack_, const reco::Track&, int, int, const VertexCollection_, const MuonCollection_, const reco::BeamSpot_)':
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cc:198:34: error: 'TRACK_HITS' is not a member of 'reco::HitPattern'
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cc:201:36: error: 'TRACK_HITS' is not a member of 'reco::HitPattern'
Compiling edm plugin /home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc
Compiling edm plugin /home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpPhotons.cc
Compiling edm plugin /home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpStuff.cc
gmake: *** [tmp/slc5_amd64_gcc462/src/Bmm/CmsswAnalysis/src/BmmCmsswAnalysis/HFDumpUtilities.o] Error 1
gmake: *** Waiting for unfinished jobs....
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc: In member function 'void HFDumpMuons::fillMuon(const reco::Muon&, int)':
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc:223:69: error: 'MISSING_OUTER_HITS' is not a member of 'reco::HitPattern'
gmake: *** [tmp/slc5_amd64_gcc462/src/Bmm/CmsswAnalysis/plugins/BmmCmsswAnalysisPlugins/HFDumpMuons.o] Error 1
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2
With git blame HFDumpUtilities.cc I identified commit 7ece9bf as culprit. Reverting it using

git revert 7ece9bf

Did the trick. I did not commit such a change, I only did it locally to test.
But: What to do? Do we need to support 5_3_X? If yes, then likely we'll need a separate branch. If not, then forget about.


Reply to this email directly or view it on GitHub.

You received this message because you are subscribed to the Google Groups "BMM4" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cmsbmm4+unsubscribe@googlegroups.com.
To post to this group, send email to cmsbmm4@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cmsbmm4/0D275742-30A2-4829-A161-178574750D89%40cern.ch.
For more options, visit https://groups.google.com/d/optout.

@heistera
Copy link

heistera commented Dec 1, 2014

Hi Urs!

Yes, CMSSW_7_3_0_pre3 works. I have changed the twiki instructions accordingly.

THanks!

Cheers, Arno

On 01.12.2014, at 09:40, Urs Langenegger notifications@github.com wrote:

Hi all,

without checking I think that CMSSW_7_3_0_preX should compile. It seems to
be the release for which we have relvals with appropriate triggers.

Cheers,
--U.

On Mon, Dec 1, 2014 at 9:38 AM, heistera notifications@github.com wrote:

Hi all!

There are also compilation errors for the CMSSW_7 receipt (see below).
Without looking who made the last commit can this be fixed by the guilty
one, please!? ;-)

Thanks and cheers, Arno

[lxplus0056] ~/scratch1/CMSSW_7_0_7_patch1/src $ scramv1 b -j8

Local Products Rules ..... started
Local Products Rules ..... done
Building CMSSW version CMSSW_7_0_7_patch1 ----
Entering Package GeneratorInterface/ExternalDecays
Creating project symlinks
Entering Package Bmm/CmsswAnalysis
Entering Package Bmm/RootAnalysis
src/GeneratorInterface/ExternalDecays/python ->
python/GeneratorInterface/ExternalDecays
Leaving Package Bmm/RootAnalysis
Package Bmm/RootAnalysis built
src/Bmm/CmsswAnalysis/python -> python/Bmm/CmsswAnalysis
Entering library rule at src/GeneratorInterface/ExternalDecays/test
Entering library rule at GeneratorInterface/ExternalDecays
Entering library rule at Bmm/CmsswAnalysis
Entering library rule at src/GeneratorInterface/ExternalDecays/plugins
Entering library rule at src/Bmm/CmsswAnalysis/plugins
Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/GeneratorInterface/ExternalDecays/test/EvtGenTestAnalyzer.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/GeneratorInterface/ExternalDecays/test/EvtGenTestAnalyzer.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBd2DstarPi.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBd2DstarPi.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBs2JpsiPhi.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBs2JpsiPhi.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBu2JpsiKp.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBu2JpsiKp.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDiTracks.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDiTracks.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDstar.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDstar.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpGenerator.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpGenerator.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpPhotons.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpPhotons.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpStuff.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpStuff.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTracks.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTracks.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTrigger.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTrigger.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenDimuon.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenDimuon.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenFilter.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenFilter.cc>

/afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc
:<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc:>
In member function 'void HFDumpMuons::fillMuon(const reco::Muon&, int)':
/afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc:223:69
:<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc:223:69:>
error: 'MISSING_OUTER_HITS' is not a member of 'reco::HitPattern'
pM->fNumberOfLostTrkHits =
track_hp.numberOfLostTrackerHits(HitPattern::MISSING_OUTER_HITS); //4
^

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFLambdas.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFLambdas.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFPythiaDauVFilter.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFPythiaDauVFilter.cc>

Compiling edm plugin /afs/
cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFSkipEvents.cc
<
http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFSkipEvents.cc>

gmake: ***
[tmp/slc6_amd64_gcc481/src/Bmm/CmsswAnalysis/plugins/BmmCmsswAnalysisPlugins/HFDumpMuons.o]
Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [There are compilation/build errors. Please see the detail log
above.] Error 2
[lxplus0056] ~/scratch1/CMSSW_7_0_7_patch1/src $

On 01.12.2014, at 05:21, Frank Meier <notifications@github.com<mailto:
notifications@github.com>> wrote:

I tried to test the instructions on
https://twiki.cern.ch/twiki/bin/view/CMS/Bmm4HowtoAnalyze and did so in
CMSSW_5_3_22_patch1, what I found to be the latest available release on
t3.unl.eduhttp://t3.unl.edu. Unfortunately the last command scramv1 b
-j8 failed with output as follows:

----- snip ----

Compiling edm plugin
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpGenerator.cc<
http://HFDumpGenerator.cc>

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cc<
http://HFDumpUtilities.cc>: In function 'void fillAnaTrack(TAnaTrack_,
const reco::Track&, int, int, const VertexCollection_, const
MuonCollection_, const reco::BeamSpot_)':

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cc<
http://HFDumpUtilities.cc>:198:34: error: 'TRACK_HITS' is not a member of
'reco::HitPattern'

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cc<
http://HFDumpUtilities.cc>:201:36: error: 'TRACK_HITS' is not a member of
'reco::HitPattern'

Compiling edm plugin
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc<
http://HFDumpMuons.cc>
Compiling edm plugin
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpPhotons.cc<
http://HFDumpPhotons.cc>
Compiling edm plugin
/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpStuff.cc<
http://HFDumpStuff.cc>
gmake: ***
[tmp/slc5_amd64_gcc462/src/Bmm/CmsswAnalysis/src/BmmCmsswAnalysis/HFDumpUtilities.o]
Error 1
gmake: *** Waiting for unfinished jobs....

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc<
http://HFDumpMuons.cc>: In member function 'void
HFDumpMuons::fillMuon(const reco::Muon&, int)':

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc<
http://HFDumpMuons.cc>:223:69: error: 'MISSING_OUTER_HITS' is not a
member of 'reco::HitPattern'
gmake: ***
[tmp/slc5_amd64_gcc462/src/Bmm/CmsswAnalysis/plugins/BmmCmsswAnalysisPlugins/HFDumpMuons.o]
Error 1
gmake: *** [There are compilation/build errors. Please see the detail log
above.] Error 2

With git blame HFDumpUtilities.cchttp://HFDumpUtilities.cc I identified
commit 7ece9bf<
7ece9bf83051ef08424fa66e121d2a440e68018c>
as culprit. Reverting it using

git revert 7ece9bf

Did the trick. I did not commit such a change, I only did it locally to
test.
But: What to do? Do we need to support 5_3_X? If yes, then likely we'll
need a separate branch. If not, then forget about.


Reply to this email directly or view it on GitHub<
https://github.com/Bmm4/Bmm/issues/4>.


Reply to this email directly or view it on GitHub
#4 (comment).


Reply to this email directly or view it on GitHub.

@ursl
Copy link
Contributor

ursl commented Dec 1, 2014

Hi all,

I changed the GT in test.py and I verified that I can run on

/RelValBsToMuMu_13/CMSSW_7_3_0_pre2-MCRUN2_73_V1-v1/GEN-SIM-RECO

and ancient files

/Summer12_DR53X/BuToJPsiK_K2MuPtEtaEtaFilter_8TeV-pythia6-evtgen/AODSIM/PU_S10_START53_V7A-v2

At the moment I think we can live off one HEAD in 7_3_X

Cheers,
--U.

On Mon, Dec 1, 2014 at 9:50 AM, heistera notifications@github.com wrote:

Hi Urs!

Yes, CMSSW_7_3_0_pre3 works. I have changed the twiki instructions
accordingly.

THanks!

Cheers, Arno

On 01.12.2014, at 09:40, Urs Langenegger notifications@github.com
wrote:

Hi all,

without checking I think that CMSSW_7_3_0_preX should compile. It seems
to
be the release for which we have relvals with appropriate triggers.

Cheers,
--U.

On Mon, Dec 1, 2014 at 9:38 AM, heistera notifications@github.com
wrote:

Hi all!

There are also compilation errors for the CMSSW_7 receipt (see below).
Without looking who made the last commit can this be fixed by the
guilty
one, please!? ;-)

Thanks and cheers, Arno

[lxplus0056] ~/scratch1/CMSSW_7_0_7_patch1/src $ scramv1 b -j8

Local Products Rules ..... started
Local Products Rules ..... done
Building CMSSW version CMSSW_7_0_7_patch1 ----
Entering Package GeneratorInterface/ExternalDecays
Creating project symlinks
Entering Package Bmm/CmsswAnalysis
Entering Package Bmm/RootAnalysis
src/GeneratorInterface/ExternalDecays/python ->
python/GeneratorInterface/ExternalDecays
Leaving Package Bmm/RootAnalysis
Package Bmm/RootAnalysis built
src/Bmm/CmsswAnalysis/python -> python/Bmm/CmsswAnalysis
Entering library rule at src/GeneratorInterface/ExternalDecays/test
Entering library rule at GeneratorInterface/ExternalDecays
Entering library rule at Bmm/CmsswAnalysis
Entering library rule at src/GeneratorInterface/ExternalDecays/plugins
Entering library rule at src/Bmm/CmsswAnalysis/plugins
Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/GeneratorInterface/ExternalDecays/test/EvtGenTestAnalyzer.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/GeneratorInterface/ExternalDecays/test/EvtGenTestAnalyzer.cc>

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBd2DstarPi.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBd2DstarPi.cc>

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBs2JpsiPhi.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBs2JpsiPhi.cc>

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBu2JpsiKp.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFBu2JpsiKp.cc>

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDiTracks.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDiTracks.cc>

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDstar.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDstar.cc>

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpGenerator.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpGenerator.cc>

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc>

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpPhotons.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpPhotons.cc>

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpStuff.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpStuff.cc>

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTracks.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTracks.cc>

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTrigger.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpTrigger.cc>

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenDimuon.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenDimuon.cc>

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenFilter.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFGenFilter.cc>

/afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc
:<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc:>

In member function 'void HFDumpMuons::fillMuon(const reco::Muon&,
int)':
/afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc:223:69
:<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc:223:69:>

error: 'MISSING_OUTER_HITS' is not a member of 'reco::HitPattern'
pM->fNumberOfLostTrkHits =
track_hp.numberOfLostTrackerHits(HitPattern::MISSING_OUTER_HITS); //4
^

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFLambdas.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFLambdas.cc>

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFPythiaDauVFilter.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFPythiaDauVFilter.cc>

Compiling edm plugin /afs/

cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFSkipEvents.cc
<

http://cern.ch/work/h/heistera/CMSSW_7_0_7_patch1/src/Bmm/CmsswAnalysis/plugins/HFSkipEvents.cc>

gmake: ***

[tmp/slc6_amd64_gcc481/src/Bmm/CmsswAnalysis/plugins/BmmCmsswAnalysisPlugins/HFDumpMuons.o]

Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [There are compilation/build errors. Please see the detail
log
above.] Error 2
[lxplus0056] ~/scratch1/CMSSW_7_0_7_patch1/src $

On 01.12.2014, at 05:21, Frank Meier <notifications@github.com<mailto:
notifications@github.com>> wrote:

I tried to test the instructions on
https://twiki.cern.ch/twiki/bin/view/CMS/Bmm4HowtoAnalyze and did so
in
CMSSW_5_3_22_patch1, what I found to be the latest available release
on
t3.unl.eduhttp://t3.unl.edu. Unfortunately the last command scramv1
b
-j8 failed with output as follows:

----- snip ----

Compiling edm plugin

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpGenerator.cc<

http://HFDumpGenerator.cc>

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cc<

http://HFDumpUtilities.cc>: In function 'void
fillAnaTrack(TAnaTrack_,
const reco::Track&, int, int, const VertexCollection_, const
MuonCollection_, const reco::BeamSpot_)':

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cc<

http://HFDumpUtilities.cc>:198:34: error: 'TRACK_HITS' is not a
member of
'reco::HitPattern'

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/src/HFDumpUtilities.cc<

http://HFDumpUtilities.cc>:201:36: error: 'TRACK_HITS' is not a
member of
'reco::HitPattern'

Compiling edm plugin

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc<

http://HFDumpMuons.cc>

Compiling edm plugin

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpPhotons.cc<

http://HFDumpPhotons.cc>

Compiling edm plugin

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpStuff.cc<

http://HFDumpStuff.cc>
gmake: ***

[tmp/slc5_amd64_gcc462/src/Bmm/CmsswAnalysis/src/BmmCmsswAnalysis/HFDumpUtilities.o]

Error 1
gmake: *** Waiting for unfinished jobs....

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc<

http://HFDumpMuons.cc>: In member function 'void
HFDumpMuons::fillMuon(const reco::Muon&, int)':

/home/dominguez/frmeier/CMSSW_5_3_22_patch1/src/Bmm/CmsswAnalysis/plugins/HFDumpMuons.cc<

http://HFDumpMuons.cc>:223:69: error: 'MISSING_OUTER_HITS' is not a
member of 'reco::HitPattern'
gmake: ***

[tmp/slc5_amd64_gcc462/src/Bmm/CmsswAnalysis/plugins/BmmCmsswAnalysisPlugins/HFDumpMuons.o]

Error 1
gmake: *** [There are compilation/build errors. Please see the detail
log
above.] Error 2

With git blame HFDumpUtilities.cchttp://HFDumpUtilities.cc I
identified
commit 7ece9bf<

7ece9bf83051ef08424fa66e121d2a440e68018c>

as culprit. Reverting it using

git revert 7ece9bf

Did the trick. I did not commit such a change, I only did it locally
to
test.
But: What to do? Do we need to support 5_3_X? If yes, then likely
we'll
need a separate branch. If not, then forget about.


Reply to this email directly or view it on GitHub<
https://github.com/Bmm4/Bmm/issues/4>.


Reply to this email directly or view it on GitHub
#4 (comment).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#4 (comment).

@frmeier
Copy link
Contributor Author

frmeier commented Dec 1, 2014

In today's meeting we decided to deprecate the use of old release. Therefore I close this issue. I've added a warning to https://twiki.cern.ch/twiki/bin/save/CMS/Bmm4HowtoAnalyze (but did not remove the 53X example, as there might still be some use).

@frmeier frmeier closed this as completed Dec 1, 2014
@heistera
Copy link

Hello,
I have added a new parameter to the cuts file:
DSNAME - the data set name, e.g. Charmonium.
If not specified the default �Charmonium� is used.

Now in CandAna::triggerSelection() only those triggers are considered
which are in the corresponding data set.

Best regards,
Danek

@dkotlins
Copy link
Contributor

Sorry, wrong list!
Danek

On 11 Sep 2015, at 12:07, heistera <notifications@github.commailto:notifications@github.com> wrote:

Hello,
I have added a new parameter to the cuts file:
DSNAME - the data set name, e.g. Charmonium.
If not specified the default �Charmonium� is used.

Now in CandAna::triggerSelection() only those triggers are considered
which are in the corresponding data set.

Best regards,
Danek

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

No branches or pull requests

4 participants