Re: [BLAST_ANAWARE] electronics map

From: Tancredi Botto (tancredi@mitlns.mit.edu)
Date: Fri Jul 04 2003 - 18:10:02 EDT


hi doug,

although the electronic map does not in principle affect data taking (only
it's decoding) the plan is to save it under elog with the usual archive
method/trick of storing an incremental file name. Indeed elog does that
now for epics, scalers, trigger

About your second question: depending on the version of reconstruction you
can select the e-map in the blastrc file or with a call like TBLRaw
raw("electronics.map");

The default blastrc file is in $BLAST_PARAM, essentially it is up to you where
that is. You can keep multiple copies and toggle within your environment..
The old version (through TBLRaw) used Find_Param_File below

TString Find_Param_File(const char *filename,Bool_t fatal)
{
//
// Check for filename in current directory, if
// accessible, use it.
// If not check for file in the dir pointed to by
// the BLAST_PARAM environment variable. If it
// does not exist, check if ../Blast_Params exist.
// If the file is found, return the full path.
// If file is not found, issue a warning, and
// optionally, exit.
//
// This is implemented as an independent function.
// It can be used as: TString S_file = Find_Param_File("hello.map");
// without having to instantiate TBLRaw.
//

 --
________________________________________________________________________________
Tancredi Botto, phone: +1-617-253-9204 mobile: +1-978-490-4124
research scientist MIT/Bates, 21 Manning Av Middleton MA, 01949
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

On Thu, 3 Jul 2003, Douglas Hasell wrote:

> Hi,
>
> I was able to fix a "hole" in the WC data caused by a few bad TDC
> channels. Basically the cable for R11 has been moved from slot 16 80-95 to
> slot 24 48-63. Data prior to run 1269 should use the old electronics map.
> Data after 1269 should use the new electronics map. And run 1269 should be
> ignored.
>
> The new electronics map is called electronics.map and the old one
> is electronics_old.map. Both are in Blast_Params. Perhaps someone who
> knows what they are doing can put these into CVS and/or mySQL properly.
> Also if would be useful if there was a call to the effect of Get_Map( run
> #) which did the sensible thing. But again I leave this to some unnamed
> clever person.
>



This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:29 EST