Skip to content

Commit 21b46b5

Browse files
feat(rpc):Update readme
Minor changes Co-authored-by: ManuelXarepe <mxarepe@lip.pt>
1 parent 9c2762e commit 21b46b5

5 files changed

Lines changed: 55 additions & 23 deletions

File tree

rpc/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
##############################################################################
2-
# Copyright (C) 2022 GSI Helmholtzzentrum für Schwerionenforschung GmbH #
3-
# Copyright (C) 2022-2025 Members of R3B Collaboration #
2+
# Copyright (C) 2021 GSI Helmholtzzentrum fur Schwerionenforschung GmbH #
3+
# Copyright (C) 2021-2025 Members of R3B Collaboration #
44
# #
55
# This software is distributed under the terms of the #
66
# GNU General Public Licence (GPL) version 3, #

rpc/README.md

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,46 @@
11
# Overview of the Resistive Plate Chamber (RPC) classes
22

3-
TClonesArray data (typically FairMultiLinkedData)
4-
Event data on various levels.
3+
The **RPC detector** consists of **two multigap RPC modules**, each enclosed in a permanently sealed plastic gas-tight box, equipped with feed-throughs for **gas** and **High Voltage (HV)** connections.
54

6-
Generally in
5+
## Structure
76

8-
- ../r3bdata/
7+
- Each RPC module has **six gas gaps**, defined by **seven 1 mm thick float glass electrodes** (~1550 × 1250 mm²), separated by **0.3 mm nylon monofilaments**.
8+
- The HV electrodes are formed by a **semi-conductive layer** applied with airbrush techniques on the outer surfaces of the outermost glasses.
9+
- Both modules are read out in parallel by a **readout strip plane** consisting of:
10+
- **41 copper strips** (29 mm width, 30 mm pitch, 1600 mm long),
11+
- Located between the two modules.
12+
- Two ground planes (top and bottom of the stack) complete the readout system.
13+
- The whole structure is enclosed in an **aluminum box** providing:
14+
- Electromagnetic insulation
15+
- Mechanical rigidity
916

17+
## Readout Electronics
1018

19+
- Strips are read from both sides by **fast Front End Electronics (FEE)** capable of encoding:
20+
- **Time** (leading edge) with precision **<30 ps**
21+
- **Charge** (pulse width), obtained via **Time over Threshold (TToT)**
22+
- Integration constant ≈ **100 ns**
23+
- Output is handled by a **TDC-and-Readout Board (TRB, version 3)**:
24+
- Equipped with **128 multihit TDC channels** (TDC-in-FPGA technology)
25+
- Time precision better than **20 ps**
26+
- Together with a **TRBv3sc** (logic unit and trigger distribution), they form an **autonomous DAQ system** that:
27+
- Exports data
28+
- Synchronizes via **White Rabbit protocol** with the **R3B DAQ system**
29+
30+
## Operation
31+
32+
- The RPC operates in an **open gas loop** with a mixture of:
33+
- **98% C₂H₂F₄**
34+
- **2% SF₆**
35+
- Gas pressure: a few millibars below atmospheric pressure
36+
- Atmospheric compression defines the gap width (no mechanical compression required)
37+
- Detector working point: ~**3000 kV/gap**
38+
39+
## Data Structures
40+
41+
Data structures for the **mapped, precal, cal and hit levels** can be found at:
42+
43+
[`../r3bdata/rpcData`](../r3bdata/rpcData)
44+
45+
---
1146

rpc/RpcLinkDef.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// clang-format off
22

33
/******************************************************************************
4-
* Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
5-
* Copyright (C) 2019-2025 Members of R3B Collaboration *
4+
* Copyright (C) 2021 GSI Helmholtzzentrum fur Schwerionenforschung GmbH *
5+
* Copyright (C) 2021-2025 Members of R3B Collaboration *
66
* *
77
* This software is distributed under the terms of the *
88
* GNU General Public Licence (GPL) version 3, *

rpc/sim/R3BRpc.cxx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/******************************************************************************
2-
* Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3-
* Copyright (C) 2019-2025 Members of R3B Collaboration *
2+
* Copyright (C) 2022 GSI Helmholtzzentrum fur Schwerionenforschung GmbH *
3+
* Copyright (C) 2022-2025 Members of R3B Collaboration *
44
* *
55
* This software is distributed under the terms of the *
66
* GNU General Public Licence (GPL) version 3, *
@@ -20,9 +20,9 @@
2020
#include "R3BRpc.h"
2121
#include "R3BRpcPoint.h"
2222

23-
#include "TClonesArray.h"
24-
#include "TGeoManager.h"
25-
#include "TVirtualMC.h"
23+
#include <TClonesArray.h>
24+
#include <TGeoManager.h>
25+
#include <TVirtualMC.h>
2626

2727
R3BRpc::R3BRpc()
2828
: R3BRpc("")
@@ -102,7 +102,7 @@ Bool_t R3BRpc::ProcessHits(FairVolume* vol)
102102
gMC->CurrentEvent());
103103

104104
// Increment number of RpcPoints for this track
105-
R3BStack* stack = dynamic_cast<R3BStack*>(gMC->GetStack());
105+
auto* stack = dynamic_cast<R3BStack*>(gMC->GetStack());
106106
stack->AddPoint(kRPC);
107107
ResetParameters();
108108
}
@@ -191,4 +191,4 @@ Bool_t R3BRpc::CheckIfSensitive(std::string name)
191191
return kFALSE;
192192
}
193193

194-
ClassImp(R3BRpc);
194+
ClassImp(R3BRpc)

rpc/sim/R3BRpc.h

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/******************************************************************************
2-
* Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3-
* Copyright (C) 2019-2025 Members of R3B Collaboration *
2+
* Copyright (C) 2022 GSI Helmholtzzentrum fur Schwerionenforschung GmbH *
3+
* Copyright (C) 2022-2025 Members of R3B Collaboration *
44
* *
55
* This software is distributed under the terms of the *
66
* GNU General Public Licence (GPL) version 3, *
@@ -11,12 +11,11 @@
1111
* or submit itself to any jurisdiction. *
1212
******************************************************************************/
1313

14-
#ifndef R3BRPC_H
15-
#define R3BRPC_H 1
14+
#pragma once
1615

1716
#include "R3BDetector.h"
18-
#include "Rtypes.h"
19-
#include "TLorentzVector.h"
17+
#include <Rtypes.h>
18+
#include <TLorentzVector.h>
2019

2120
class TClonesArray;
2221
class R3BRpcPoint;
@@ -142,5 +141,3 @@ inline void R3BRpc::ResetParameters()
142141
fTime = fLength = fELoss = 0;
143142
fPosIndex = 0;
144143
};
145-
146-
#endif /* R3BRPC_H */

0 commit comments

Comments
 (0)