!:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= !Author: Eric Pooser, pooser@jlab.org, 11/16/2016 !This README defines the locations of detector channels as they are fed into their !respective readout modules residing in their respective crates. The channel numbers !correspond to the channels as defined via the module front panel and not the detector. !The following lists the various HMS crates read out in Hall C !Crate 1 >> Hodoscope (ADC,TDC), Calorimeter (ADC), Aerogel (ADC), Cherenkov (ADC) >> Trigger (ADC,TDC) !Crate 3 >> Drift Chambers (TDC) !Crate 5 >> Hardware Scalers !The shell script "make_cratemap.sh" exists so that the user can create a singular crate map !db_cratemap.dat which contains the necessary information from various crates in both the !HMS & SHMS spectrometer arms to run the analyzer. The script prompts the user to enter !the crate number(s), separated by spaces, in which they would like a crate map to be !generated for. The file "db_cratemap.dat" id created in the current working directory. It !is useful to note that one could do this by hand simply by cat-ing the desired crate maps ! in both the HMS & SHMS MAPS directories. !:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= !Crate 1 >> HMS >> HCCRATE01.JLAB.ORG >> ROC1 >> db_crate1map.dat !:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= Detector: HMS Hodoscope >> Decetor ID: HSCIN_ID= 2 >> Detector Map: hhod.map FADC:h1X[1-16]+ >> Slot 8 >> Chan 0 - 15 FADC:h1X[1-16]- >> Slot 9 >> Chan 0 - 15 FADC:h1Y[1-10]+ >> Slot 10 >> Chan 0 - 9 FADC:h1Y[1-10]- >> Slot 10 >> Chan 10 - 15 >> & >> Slot 13 >> Chan 0 - 3 FADC:h2X[1-16]+ >> Slot 13 >> Chan 4 - 15 >> & >> Slot 14 >> Chan 0 - 3 FADC:h2X[1-16]- >> Slot 14 >> Chan 4 - 15 >> & >> Slot 15 >> Chan 0 - 3 FADC:h2Y[1-10]+ >> Slot 15 >> Chan 4 - 13 FADC:h2Y[1-10]- >> Slot 15 >> Chan 14 - 15 >> & >> Slot 16 >> Chan 0 - 7 TDC:h1X[1-16]+ >> Slot 20 >> Sub-Slot A0 >> Chan 0 - 15 TDC:h1X[1-16]- >> Slot 20 >> Sub-Slot A1 >> Chan 16 - 31 TDC:h1Y[1-10]+ >> Slot 20 >> Sub-Slot B0 >> Chan 32 - 40 >> & Chan 44 TDC:h1Y[1-10]- >> Slot 20 >> Sub-Slot B1 >> Chan 48 - 56 >> & Chan 60 TDC:h2X[1-16]+ >> Slot 20 >> Sub-Slot C0 >> Chan 64 - 79 TDC:h2X[1-16]- >> Slot 20 >> Sub-Slot C1 >> Chan 80 - 95 TDC:h1Y[1-10]+ >> Slot 20 >> Sub-Slot D0 >> Chan 96 - 104 >> & Chan 108 TDC:h1Y[1-10]- >> Slot 20 >> Sub-Slot D1 >> Chan 112 - 120 >> & Chan 124 !:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= Detector: HMS Aerogel >> Decetor ID: HAERO_ID= 7 >> Detector Map: haero.map FADC:hAero[1-8]+ >> Slot 17 >> Chan 0 - 7 FADC:hAero[1-8]- >> Slot 16 >> Chan 8 - 15 !NOTE: As of 11/16/2016 all 16 chanels in the aerogel are noisy and not fit for production !running. This detector will not be used in the Srping 2017 commissioning runs !:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= Detector: Cherenkov >> Detector ID: HCER_ID= 3 >> Detector Map: hcer.map FADC:hCer[1-2] >> Slot 7 >> Chan 14 - 15 !:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= Detector: Calorimeter >> Dectector ID: HCAL_ID= 4 >> Detector Map: hcal.map FADC:hA[1-13]+ >> Slot 3 >> Chan 0 - 12 FADC:hA[1-13]- >> Slot 3 >> Chan 12 - 15 >> & >> Slot 4 >> Chan 0 - 9 FADC:hB[1-13]+ >> Slot 4 >> Chan 10 - 15 >> & >> Slot 5 >> Chan 0 - 6 FADC:hB[1-13]- >> Slot 5 >> Chan 7 - 15 >> & >> Slot 6 >> Chan 0 - 3 FADC:hC[1-13]+ >> Slot 6 >> Chan 4 - 15 >> & >> Slot 7 >> Chan 0 FADC:hD[1-13]+ >> Slot 7 >> Chan 1 - 13 !:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= Detector: Trigger >> Dectector ID: HTRIG_ID= 8 >> Detector Map: htrig.map ! Calorimeter Trigger FADC Channels FADC:hASUM >> Slot 17 >> Chan 8 ! Sum of A+ & A- FADC:hBSUM >> Slot 17 >> Chan 9 ! Sum of B+ & B- FADC:hCSUM >> Slot 17 >> Chan 10 ! Sum of C+ & C- FADC:hDSUM >> Slot 17 >> Chan 11 ! Sum of D+ & D- FADC:hPSHWR >> Slot 17 >> Chan 12 ! Sum of A & B FADC:hSHWR >> Slot 17 >> Chan 13 ! Sum of A, B, C, & D ! Hodoscope Trigger TDC Channels TDC:h1X >> Slot 2 >> Sub-Slot A0 >> Chan 0 ! (OR of +) AND (OR of -) TDC:h1Y >> Slot 2 >> Sub-Slot A0 >> Chan 1 ! (OR of +) AND (OR of -) TDC:h2X >> Slot 2 >> Sub-Slot A0 >> Chan 2 ! (OR of +) AND (OR of -) TDC:h2Y >> Slot 2 >> Sub-Slot A0 >> Chan 3 ! (OR of +) AND (OR of -) TDC:h1T >> Slot 2 >> Sub-Slot A0 >> Chan 4 ! h1x AND h1Y TDC:h2T >> Slot 2 >> Sub-Slot A0 >> Chan 5 ! h2x AND h2y TDC:hT >> Slot 2 >> Sub-Slot A0 >> Chan 6 ! h1T AND h2T TDC:hT >> Slot 20 >> Sub-Slot D1 >> Chan 127 ! h1T AND h2T ! Calorimeter Trigger TDC Channels TDC:hASUM >> Slot 2 >> Sub-Slot A0 >> Chan 7 ! Sum of A+ & A- TDC:hBSUM >> Slot 2 >> Sub-Slot A0 >> Chan 8 ! Sum of B+ & B- TDC:hCSUM >> Slot 2 >> Sub-Slot A0 >> Chan 9 ! Sum of C+ & C- TDC:hDSUM >> Slot 2 >> Sub-Slot A0 >> Chan 10 ! Sum of D+ & D- TDC:hPSHWRLO >> Slot 2 >> Sub-Slot A0 >> Chan 11 ! Sum of A & B, low threshold TDC:hPSHWRHI >> Slot 2 >> Sub-Slot A0 >> Chan 12 ! Sum of A & B, high threshold TDC:hSHWR >> Slot 2 >> Sub-Slot A0 >> Chan 13 ! Sum of A, B, C, & D ! Aerogel Trigger Channel FADC:hAERSUM >> Slot 17 >> Chan 14 ! Sum of channels [1-8]+ & [1-8]- TDC:hAERSUM >> Slot 2 >> Sub-Slot A0 >> Chan 14 ! Sum of channels [1-8]+ & [1-8]- ! Cherenkov Trigger Channel FADC:hCERSUM >> Slot 17 >> Chan 15 ! Sum of channels [1-2] TDC:hCERSUM >> Slot 2 >> Sub-Slot A0 >> Chan 15 ! Sum of channels [1-2] !:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= !=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=| !:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= !Crate 3 >> HMS >> HCCRATE03.JLAB.ORG >> ROC3 >> db_crate3map.dat !:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= Detector: Drift Chamber 1 >> Detector ID: HDC_ID= 1 >> Detector Map: hdc.map TDC:X81-96 >> SN01 >> Slot 4 >> Sub-Slot A0 >> Chan 0 - 15 TDC:X65-80 >> SN02 >> Slot 4 >> Sub-Slot A1 >> Chan 16 - 31 TDC:X49-64 >> SN03 >> Slot 4 >> Sub-Slot B0 >> Chan 32 - 47 TDC:X33-48 >> SN04 >> Slot 4 >> Sub-Slot B1 >> Chan 48 - 63 TDC:X17-32 >> SN05 >> Slot 4 >> Sub-Slot C0 >> Chan 64 - 79 TDC:X1-16 >> SN06 >> Slot 4 >> Sub-Slot C1 >> Chan 80 - 95 TDC:V92-107 >> SN07 >> Slot 4 >> Sub-Slot D0 >> Chan 96 - 111 TDC:X'1-16 >> SN08 >> Slot 4 >> Sub-Slot D1 >> Chan 112 - 127 TDC:U92-107 >> SN09 >> Slot 5 >> Sub-Slot A0 >> Chan 0 - 15 TDC:U77-91 >> SN10 >> Slot 5 >> Sub-Slot A1 >> Chan 16 - 30 TDC:U61-76 >> SN11 >> Slot 5 >> Sub-Slot B0 >> Chan 32 - 47 TDC:U46-60 >> SN12 >> Slot 5 >> Sub-Slot B1 >> Chan 48 - 62 TDC:U30-45 >> SN13 >> Slot 5 >> Sub-Slot C0 >> Chan 64 - 79 TDC:U15-29 >> SN14 >> Slot 5 >> Sub-Slot C1 >> Chan 80 - 94 TDC:U1-14 >> SN15 >> Slot 5 >> Sub-Slot D0 >> Chan 96 - 109 TDC:X'17-32 >> SN16 >> Slot 5 >> Sub-Slot D1 >> Chan 112 - 127 TDC:X'33-48 >> SN17 >> Slot 7 >> Sub-Slot A0 >> Chan 0 - 15 TDC:X'49-64 >> SN18 >> Slot 7 >> Sub-Slot A1 >> Chan 16 - 31 TDC:X'65-80 >> SN19 >> Slot 7 >> Sub-Slot B0 >> Chan 32 - 47 TDC:X'81-96 >> SN20 >> Slot 7 >> Sub-Slot B1 >> Chan 48 - 63 TDC:X'97-112 >> SN21 >> Slot 7 >> Sub-Slot C0 >> Chan 64 - 79 TDC:X97-112 >> SN22 >> Slot 7 >> Sub-Slot C1 >> Chan 80 - 95 TDC:V1-14 >> SN23 >> Slot 7 >> Sub-Slot D0 >> Chan 96 - 109 TDC:V15-29 >> SN24 >> Slot 7 >> Sub-Slot D1 >> Chan 112 - 127 TDC:V30-45 >> SN25 >> Slot 8 >> Sub-Slot A0 >> Chan 0 - 15 TDC:V46-60 >> SN26 >> Slot 8 >> Sub-Slot A1 >> Chan 16 - 30 TDC:V61-76 >> SN27 >> Slot 8 >> Sub-Slot B0 >> Chan 32 - 47 TDC:V77-91 >> SN28 >> Slot 8 >> Sub-Slot B1 >> Chan 48 - 62 TDC:Y1-13 >> SN29 >> Slot 8 >> Sub-Slot C0 >> Chan 64 - 78 TDC:Y14-26 >> SN30 >> Slot 8 >> Sub-Slot C1 >> Chan 80 - 92 TDC:Y27-39 >> SN31 >> Slot 8 >> Sub-Slot D0 >> Chan 96 - 108 TDC:Y40-52 >> SN32 >> Slot 8 >> Sub-Slot D1 >> Chan 112 - 124 TDC:Y'1-13 >> SN33 >> Slot 10 >> Sub-Slot A0 >> Chan 0 - 11 TDC:Y'14-26 >> SN34 >> Slot 10 >> Sub-Slot A1 >> Chan 16 - 28 TDC:Y'27-39 >> SN35 >> Slot 10 >> Sub-Slot B0 >> Chan 32 - 43 TDC:Y'40-52 >> SN36 >> Slot 10 >> Sub-Slot B1 >> Chan 48 - 59 Detector: Drift Chamber 2 >> Detector ID: HDC_ID= 1 >> Detector Map: hdc.map TDC:Y'1-13 >> SN08 >> Slot 10 >> Sub-Slot C0 >> Chan 64 - 75 TDC:Y'14-26 >> SN10 >> Slot 10 >> Sub-Slot C1 >> Chan 80 - 91 TDC:Y'27-39 >> SN31 >> Slot 10 >> Sub-Slot D0 >> Chan 96 - 107 TDC:Y'40-52 >> SN29 >> Slot 10 >> Sub-Slot D1 >> Chan 112 - 123 TDC:X1-16 >> SN36 >> Slot 13 >> Sub-Slot A0 >> Chan 0 - 15 TDC:X17-32 >> SN35 >> Slot 13 >> Sub-Slot A1 >> Chan 16 - 31 TDC:X33-48 >> SN34 >> Slot 13 >> Sub-Slot B0 >> Chan 32 - 47 TDC:X49-64 >> SN21 >> Slot 13 >> Sub-Slot B1 >> Chan 48 - 63 TDC:X65-80 >> SN20 >> Slot 13 >> Sub-Slot C0 >> Chan 64 - 79 TDC:X81-96 >> SN19 >> Slot 13 >> Sub-Slot C1 >> Chan 80 - 95 TDC:X97-112 >> SN18 >> Slot 13 >> Sub-Slot D0 >> Chan 96 - 111 TDC:X'1-16 >> SN07 >> Slot 13 >> Sub-Slot D1 >> Chan 112 - 127 TDC:U30-45 >> SN05 >> Slot 14 >> Sub-Slot A0 >> Chan 0 - 15 TDC:X'17-32 >> SN06 >> Slot 14 >> Sub-Slot A1 >> Chan 16 - 31 TDC:U46-60 >> SN04 >> Slot 14 >> Sub-Slot B0 >> Chan 32 - 47 TDC:U61-76 >> SN03 >> Slot 14 >> Sub-Slot B1 >> Chan 48 - 62 TDC:U77-91 >> SN02 >> Slot 14 >> Sub-Slot C0 >> Chan 64 - 78 TDC:U97-107 >> SN01 >> Slot 14 >> Sub-Slot C1 >> Chan 80 - 90 TDC:V15-29 >> SN23 >> Slot 14 >> Sub-Slot D0 >> Chan 96 - 110 TDC:V30-45 >> SN24 >> Slot 14 >> Sub-Slot D1 >> Chan 112 - 127 TDC:X'33-48 >> SN14 >> Slot 16 >> Sub-Slot A0 >> Chan 0 - 15 TDC:X'49-64 >> SN13 >> Slot 16 >> Sub-Slot A1 >> Chan 16 - 31 TDC:X'65-80 >> SN12 >> Slot 16 >> Sub-Slot B0 >> Chan 32 - 47 TDC:X'81-96 >> SN11 >> Slot 16 >> Sub-Slot B1 >> Chan 48 - 63 TDC:X'97-112 >> SN22 >> Slot 16 >> Sub-Slot C0 >> Chan 64 - 79 TDC:V1-14 >> SN17 >> Slot 16 >> Sub-Slot C1 >> Chan 80 - 93 TDC:U1-14 >> SN16 >> Slot 16 >> Sub-Slot D0 >> Chan 96 - 109 TDC:U15-29 >> SN15 >> Slot 16 >> Sub-Slot D1 >> Chan 112 - 126 TDC:V46-60 >> SN25 >> Slot 17 >> Sub-Slot A0 >> Chan 0 - 14 TDC:V61-76 >> SN26 >> Slot 17 >> Sub-Slot A1 >> Chan 16 - 31 TDC:V77-91 >> SN27 >> Slot 17 >> Sub-Slot B0 >> Chan 32 - 46 TDC:V92-107 >> SN28 >> Slot 17 >> Sub-Slot B1 >> Chan 48 - 63 TDC:Y1-13 >> SN33 >> Slot 17 >> Sub-Slot C0 >> Chan 64 - 76 TDC:Y14-26 >> SN32 >> Slot 17 >> Sub-Slot C1 >> Chan 80 - 92 TDC:Y27-39 >> SN30 >> Slot 17 >> Sub-Slot D0 >> Chan 96 - 108 TDC:Y40-52 >> SN09 >> Slot 17 >> Sub-Slot D1 >> Chan 112 - 124 !:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:= !Crate 5 >> HMS >> HCCRATE05.JLAB.ORG >> ROC5 >> db_crate5map.dat !:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=
Forked from
jlab / hallc / exp / polhe3 / hallc_replay
773 commits behind the upstream repository.