[Halld-offline] errors in current sim-recon commissioning associated with BField map
Shepherd, Matthew
mashephe at indiana.edu
Thu Jan 29 13:00:09 EST 2015
I sent a previous message about a compilation failure
libraries/TRACKING/DTrackCandidate_factory_THROWN.cc: In constructor 'DTrackCandidate_factory_THROWN::DTrackCandidate_factory_THROWN()':
libraries/TRACKING/DTrackCandidate_factory_THROWN.cc:32: error: 'bfield' was not declared in this scope
libraries/TRACKING/DTrackCandidate_factory_THROWN.cc: In member function 'virtual jerror_t DTrackCandidate_factory_THROWN::brun(jana::JEventLoop*, int)':
libraries/TRACKING/DTrackCandidate_factory_THROWN.cc:41: error: 'bfield' was not declared in this scope
libraries/TRACKING/DTrackCandidate_factory_THROWN.cc: In member function 'virtual jerror_t DTrackCandidate_factory_THROWN::evnt(jana::JEventLoop*, int)':
libraries/TRACKING/DTrackCandidate_factory_THROWN.cc:109: error: 'bfield' was not declared in this scope
I was able to fix this in my local copy by:
forward delcaring the DMagneticFieldMap class
and adding member data:
DMagneticFieldMap* bfield;
to the DTrackCandidate_factor_THROWN.h file.
I didn't check this in because I wasn't sure that compiles implies correct
Then I ran into this:
libraries/TRACKING/DTrackHitSelectorALT2.cc:47: error: prototype for 'DTrackHitSelectorALT2::DTrackHitSelectorALT2(jana::JEventLoop*, int)' does not match any in class 'DTrackHitSelectorALT2'
libraries/TRACKING/DTrackHitSelectorALT2.h:18: error: candidates are: DTrackHitSelectorALT2::DTrackHitSelectorALT2(const DTrackHitSelectorALT2&)
libraries/TRACKING/DTrackHitSelectorALT2.h:20: error: DTrackHitSelectorALT2::DTrackHitSelectorALT2(jana::JEventLoop*)
This one is a little more intertwined with other code.
Multiple modifications are needed associated with
getting the run number through the right place.
It seems like a good strategy for now is for me to roll
back to yesterday's code until these changes get made.
Matt
---------------------------------------------------------------------
Matthew Shepherd, Associate Professor
Department of Physics, Indiana University, Swain West 265
727 East Third Street, Bloomington, IN 47405
Office Phone: +1 812 856 5808
More information about the Halld-offline
mailing list