Information about how the BEMC detectors are indexed (Pre run14)
Oleksandr's Spreadsheet of Towers' Layout (Excel)
Oleksandr's Spreadsheet of Towers' Layout (PDF)
For run 14 there were signal cable swaps for PMT boxes 13->14, 15->16, and 45->46. The updated tower maps are here:
Run14 Tower Layout (Excel)
Run14 Tower Layout (PDF)
In these new spreasheets, the yellow, light blue, and light gray boxes are where the swaps are. On the outsides, the PMT boxes are labeled (PMB) and you can clearly see the swaps. As an example, here's how it would work:
Soft Id's 3521, 3522, 3523, 3524, ...., 3461, 3462, 3463, 3464 were swapped with
3441, 3442, 3443, 3444, ...., 3381, 3382, 3383, 3384
All the details of the mapping problem can be found in this ticket. This page is a summary of the problem, solution, and the implementation.
During Run 10 a problem with the BSMD mapping was discovered (details here). It was decided to continue taking data with the 2 fibers swapped for future running, and simply correct the mapping in the DB to reflect the hardware configuration before production. The mapping for the BSMD phi plane (BSMDP) was corrected (completely swapped 2 fibers in the DB) before produvtion to match the Run 10 hardware configuration, so there were no problems with BSMDP mapping in production.
Problem:
The correction to the BSMD eta plane (BSMDE) mapping, however, was incomplete and did not swap the 2 fibers in the DB completely. Ahmed found this mapping problem in "Phase I" of the 200GeV QM production (production series P10ij). All Run 10 data produced in the P10ih and P10ij production series have this BSMDE mapping issue.
Solution:
a) For "Phase II" of the Run 10 data production in the P10ik production series an updated DBV was used to include the correct mapping for both the BSMDE and BSMDP planes. This data should be analyzed as usual, with no need for a patch.
b) In an effort to recover the data produced with the BSMDE mapping problem (P10ih and P10ij) a patch was included in the SL10k and future libraries to correctly swap the BSMDE channels as an afterburner using StEmcDecoder.
Implementation:
The implementation of part b) of the solution above is similar to the patch for previous tower mapping problems. The software patch includes 3 libraries StEmcDecoder, StEmcADCtoEMaker, StEmcRawMaker.
////////////////////////////////////////////////////////////////////////////////////////////////////////// StEmcDecoder* decoder = new StEmcDecoder(date, time); // date and time correspond to the event timestamp StMuEmcCollection* muEmc = muMk->muDst()->muEmcCollection(); // get the MuEmcCollection from muDST //................... BSMDE ....................
nh=muEmc->getNSmdHits(det); if(det == BSMDE) { for(Int_t j=0;j<nh;j++) { StMuEmcHit* hit=muEmc->getSmdHit(j,det); ID = hit->getId(); ADC = hit->getAdc(); CAP = hit->getCalType(); int shift = 0; decoder->GetSmdBugCorrectionShift(ID,shift); newID = ID + shift; // newID is correct softID for this hit if(newID < 0) continue; // mask lost channels // user code starts here
} } //////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////
StEmcDecoder* decoder = new StEmcDecoder(date, time); // date and time correspond to the event timestamp
StMuEmcCollection* emc = muMk->muDst()->muEmcCollection(); // get the MuEmcCollection from muDST
//................... B T O W ....................
for (int idOld = 1; idOld <= 4800 ; idOld++)
{
int rawAdc= emc->getTowerADC(idOld);
int shift = 0;
decoder->GetTowerBugCorrectionShift(idOld,shift);
idNew = idOld + shift;
// user code starts here
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////
// This method returns values for NON-CORRECTED IDs (old ids, as the tables are saved in DB)
tables = new StBemcTables();
float pedestal, rms;
tables->getPedestal(BTOW, idOld, 0, pedestal, rms);
// This method returns values for CORRECTED IDs
tables = new StBemcTables(kTRUE); // Use kTRUE to enable the BTOW map correction in StBemcTables. Default is kFALSE
float pedestal, rms;
tables->getPedestal(BTOW, idNew, 0, pedestal, rms);
This page was written by Marcia Maria de Moura in January 2005 and ported into Drupal in October 2007
We are interested in determine in which sequence the measurements of the pre-shower "cells" come into the DAQ system.
The path from the detector to the DAQ system is not so trivial. There are many connections and they are all tagged but, sometimes, in order to allow a better assembly of the system, the final sequence in which the data from the cells is sent to DAQ is not an ordinary one.
In order to ilustrate better what is the mapping for the pre-shower, we show the correlation of some connections and also the correlation with the towers.
In figure 1 we show part of the barrel EMC corresponding to three modules. The modules are presented from η=0 to η=1. The coloured boxes are the towers. The four rows correspond to a photomultiplier box (PMB). One PMB corresponds to one entire module plus two halves of neighbor modules on each side of the central one. In the left side of the figure there is the legend for the series of conectors ST1,ST2,ST3 and ST4 for the towers. In the figure it is shown how this connectors are related to the towers.
Figure 1 - Correlation of PMT connectors and towers' positions. For a larger view, click on figure.
In figure 2 we show an example of numbering for towers for the PMB 11W (W stands for west). This numbering is the one used for analysis and we call it software id. By analogy, we aplly the same numbering for the pre-shower cells. For the complete numbering of towers and pre-shower cells, see EMC distribution.
Figure 2 - Example of tower numbering for PMB 11W
In the case of the pre-shower cells, the light is not send to the same photomultiplier tubes as the ones for towers, but to sets of Multi-Anode Photomultipliers (MPMT). There are five sets of MPMT's in each PMB and the conecctors for that are identified by MP1, MP2, MP3 MP4 and MP5. In figure 3 we show the correlation of MPX connections to the pre-shower cells, also for PMB 11W. The distribution looks similar but actually the rows are different from figure 2. In the right side of the figure is indicated which is the correspondence in rows with the figure 2. From Vladimir Petrov we obtained how the MPX connectors are related to some eletronics ids (FEE number, SCA number and SCA channel) which are correlated to the muxwire number. The muxwire number is the one that determines the sequence of data to DAQ. In figure 3 it is shown the muxwire, just below the software id.
From all the eletronics parameters above, the algorythm to associate the software id with the data from DAQ was determined, and is in the StEmcDecoder. In previous attempts. some information about the electronics ids was not updated, which caused to a wrong mapping in the first place. One parameter of the algorythm, an offset (PsdOffset_tmp[40])was wrongly determined. The electronics ids information has been updated and the algorythm has been corrected. In table 1 and 2 we show the values of some parameters for PMB 11W. They are analogous to other PMB's and the only thing that changes is the software id, but the distribution in position is the same. Among the many parameters in table 1 and 2, the updated offset values that are used in the StEmcDecoder are displayed.
Of course there are aditional parameters in the algorythm but there is no meaning in explaining all of it here. For more details, go to StEmcDecoder STAR Computing software guide.
The following image has the power supply number, module, and channel for PMT box 11 on both east and west.