[Halld-offline] run-dependent magnetic field settings

Sean Dobbs s-dobbs at northwestern.edu
Thu Jan 29 14:42:42 EST 2015


Hi all,

I've pushed another change so that the programs quit if a magnetic field is
requested from the CCDB and is not found.  A help message is printed in
that case, illustrating options for specifying magnetic fields on the
command line.  The corresponding changes to the CCDB to remove default
magnetic field settings are still ongoing.

Also, note that any other configuration changes related to the magnetic
field (e.g. using the straight line track fitter when there is no magnetic
field) still need to be specified.

Cheers,
Sean

On Thu, Jan 29, 2015 at 10:03 AM, Shepherd, Matthew <mashephe at indiana.edu>
wrote:

>
> I agree with David.
>
> I also noticed this with a fresh checkout.
>
> It looks like maybe a header file (that declares bfield) didn't get
> checked in?
>
> Can someone correct it?
>
> 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
>
>
>
> ---------------------------------------------------------------------
> 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
>
> > On Jan 29, 2015, at 8:45 AM, David Lawrence <davidl at jlab.org> wrote:
> >
> >
> > Hi Sean,
> >
> >  Great! We have needed this for a long time. I do wonder though if we
> should maybe have it exit if
> > there is no CCDB entry for the run being processed (as opposed to using
> a default 1200A map). A
> > message could be printed telling the user how to specify the map on the
> command line so they could
> > run the program again, but forcing them to pay attention to what is
> going on. If we automatically use
> > a default, I could see someone losing a lot of time not realizing the
> wrong map was being used.
> >
> > Just my 2 cents.
> >
> > Regards,
> > -David
> >
> > On Jan 28, 2015, at 6:05 PM, Sean Dobbs <s-dobbs at northwestern.edu>
> wrote:
> >
> >> Hi Offliners,
> >>
> >> I just checked in a change where the magnetic field map to be used by
> one of the standard DANA programs (e.g. hd_ana/hd_root) for a given run
> will be pulled from the CCDB.  If the information in the CCDB cannot be
> found, it will default to the standard 1200A field.  Any magnetic field
> settings passed as command line parameters will still override this
> setting.  Hopefully this will reduce the amount of bookkeeping that will
> need to be done when analyzing data taken during the commissioning running.
> >>
> >> I have loaded the CCDB parameters for the runs taken last year to the
> best of my understanding.  Let me know if any changes need to be made.
> >>
> >> Cheers,
> >> Sean
> >>
> >> --
> >> Sean Dobbs
> >> Department of Physics & Astronomy
> >> Northwestern University
> >> phone: 847-467-2826
> >> _______________________________________________
> >> Halld-offline mailing list
> >> Halld-offline at jlab.org
> >> https://mailman.jlab.org/mailman/listinfo/halld-offline
> >
> >
> > _______________________________________________
> > Halld-offline mailing list
> > Halld-offline at jlab.org
> > https://mailman.jlab.org/mailman/listinfo/halld-offline
>
>


-- 
Sean Dobbs
Department of Physics & Astronomy
Northwestern University
phone: 847-467-2826
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20150129/3b6922d1/attachment-0002.html>


More information about the Halld-offline mailing list