# Presentation: 107528

## Coincidence Filter and the 1X8 Data

- E. Gregores, M. Souza, S.F.N.

**	****	****  ****	****  ****	****     ****PDT (drift tube) ****	****        **
**	****	****WAMUS (central) :                                        ****A (A********)**
**	****	****	****	****     ****CMSC (scintillator)  ****B**
**Muon Detector****:  ****	****	****	****  ****	****           ****C (****Cosmic Cap)**
**	****	****	****                    ****MDT (drift tube)**
**	****	****FAMUS (forward) : **
**	****	****	****	****      ****FMSC (scintillator)**
- 	8 octants in the transversal plane
- 	3, 4 or 5 barrels along the z-axis
- 	The B and C layer central counters have two PMT’s
- Purpose : pass events with coincidence between A and C layers

## Slide 2

## // Run the muon unpacker and check if there are at least 2 hits

**int nHit =_muoUnpack->getMuoHitCollection()->getMSCHits().size();          **
- // Gets the collection of muon hits.
**const MSCHitCollection& mscCollection = _muoUnpack->**
**      ****getMuoHitCollection()->getMSCHits();**
- // Checks for hits at layer-octant 1
**for(chanId = _param1[1]; chanId <= _param1[2] && !haveHit; chanId++)**
**	****{  index = generic.getMuoIndex(_param1[0], chanId);         **
**	****  ****nHit = mscCollection.getNHits(index);**
**	****  ****if(nHit != 0) haveHit = true; }**
- // Checks for hits at layer-octant 2
**if(haveHit){**
**for(chanId = _param2[1]; chanId <= _param2[2] && !_gotCoinc;chanId++)     ****	****{ index = generic.getMuoIndex(_param2[0], chanId);      **
**	****  ****nHit = mscCollection.getNHits(index);**
**	****  ****if(nHit != 0) _gotCoinc = true; }      **

## 0

**0**

**1**

**2**

**3**

**4**

**5**

**6**

**7**

**West**

**East**

**C Layer**

**A Layer**

## We construct the RCP file to list the relevant channel ID:

**15    14,13   12,11   10,9,8     7       6,5,4,3,2,1,0**
**Type  Region  Layer   Octant   Sub-Oct       PMT #**
- Drift        Central       A, B, C          0, ... , 7
- Scint       N or S
- Addresses for A & C layers and octants 0 to 7 in the RCP file:
**	****	****	****          ****crate  initial  final**
**    ****	****                   ********      ********       ******
**	****	****       ****int A0 = (  80    32768    32943  )**
**	****	****              ********            ******
**	****	****       ****int C7 = (  80    38656    38815  )**** **
- Tool parameters in the trigger list:
**MUOHITCOINC L3TMuoHitCoinc(layeroctant1="A1", layeroctant2="C1")**

## Coincidences in the 1X8 Data

**We used two raw data sets:**
**store_1x8_0000117016_004.raw  [04/Apr]**
**store_1x8_0000117086_001.raw  [05/Apr]**
**We looked for coincidence in the layer-octants:**
**A1-C1   A2-C2   A3-C3   A4-C4   A5-C5   A6-C6    A7-C7**
**We got:**
**71 coincidences in 4737 events**
**2160 coincidences  in 8859 events**

## 9

**0**

**1**

**2**

**3**

**4**

**5**

**6**

**7**

**9**

**1**

**27**

**24**

**0**

**0**

**0**

**10**

**4737 events**

## 3

**0**

**1**

**2**

**3**

**4**

**5**

**6**

**7**

**3**

**641**

**874**

**443**

**194**

**4**

**1**

** ****0**

**8859 events**

## Some special events

- 3 Layer Coincidence:   Octant 2: 35179, 36117, 38442
-       		                              Octant 3: 36080
- 2 Coincidences:             Octants 0 & 0: 35482
-    		                Octants 0 & 2: 35587
-    		                Octants 2 & 4: 35520
-    		                Octants 3 & 3: 37002
- 3 Coincidence:                Octants 0, 3 & 4: 33794
- 4 Coincidence:                Octants 2, 2, 3 & 3 : 36389

## Run number: 117016, Event Number: 35587

**Data MSC Hit Address:**
**MuoSectionIndex: region=0; type=1; layer=0; octant=0; barrel=1**
**MuoCellIndex: plane = 0; eta = 2; phi = 2; tube = 0**
**Data MSC Hit Address:**
**MuoSectionIndex: region=0; type=1; layer=0; octant=2; barrel=2**
**MuoCellIndex: plane=0; eta=0; phi=8; tube=0**
**Data MSC Hit Address:**
**MuoSectionIndex: region=0; type=1; layer=0; octant=2; barrel=3**
**MuoCellIndex: plane=0; eta=1; phi=8; tube=0**
**Data MSC Hit Address:**
**MuoSectionIndex: region=0; type=1; layer=2; octant=0; barrel=3**
**MuoCellIndex: plane = 0; eta = 0; phi = 0; tube = 0**
**Data MSC Hit Address:**
**MuoSectionIndex: region=0; type=1; layer=2; octant=2; barrel=3**
**MuoCellIndex: plane = 0; eta = 3; phi = 1; tube = 0**

## Future improvements

**Future improvements**
-        Implement the method
-            **getTime()** and **getTimeError() **[Hedin/Fortner]
- to access the first and second time in the  **MSCHits **of both
- PMT’s in the C layer.