diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml
index 4f8fdc24b..e1f143143 100644
--- a/.github/workflows/validation.yml
+++ b/.github/workflows/validation.yml
@@ -182,14 +182,6 @@ jobs:
# source $(root-config --bindir)/thisroot.sh
# cd framework/pipeline/metadata/gas/
# restRoot -b -q GenerateDummyGas.C
- - name: Generate Readout
- run: |
- source ${{ env.REST_PATH }}/thisREST.sh
- cd framework/pipeline/metadata/readout/
- restManager --c generateReadout.rml --o readout.root
- restRoot -b -q PrintReadout.C'("readout.root")' > /dev/null
- # We need to introduce basic validation here
- # - diff validation.txt print.txt
- name: Basic Readout
run: |
source ${{ env.REST_PATH }}/thisREST.sh
diff --git a/examples/01.alphaTrack/readout/GenerateReadouts.C b/examples/01.alphaTrack/readout/GenerateReadouts.C
new file mode 100644
index 000000000..be2d9f49a
--- /dev/null
+++ b/examples/01.alphaTrack/readout/GenerateReadouts.C
@@ -0,0 +1,11 @@
+Int_t GenerateReadouts() {
+ TRestDetectorReadout* readout = new TRestDetectorReadout("readouts.rml", "readout");
+ TRestDetectorReadout* cathode = new TRestDetectorReadout("readouts.rml", "cathode");
+
+ TFile* f = new TFile("readouts.root", "RECREATE");
+ readout->Write("readout");
+ cathode->Write("cathode");
+ f->Close();
+
+ return 0;
+}
diff --git a/examples/01.alphaTrack/readout/readouts.rml b/examples/01.alphaTrack/readout/readouts.rml
index 6af7afe56..f3b495c12 100644
--- a/examples/01.alphaTrack/readout/readouts.rml
+++ b/examples/01.alphaTrack/readout/readouts.rml
@@ -1,45 +1,37 @@
-
+
-
+
-
+
-
+
-
-
-
+
-
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
+
-
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/examples/01.alphaTrack/readout/readouts.root b/examples/01.alphaTrack/readout/readouts.root
index f8294571b..bebc65a10 100644
Binary files a/examples/01.alphaTrack/readout/readouts.root and b/examples/01.alphaTrack/readout/readouts.root differ
diff --git a/examples/readouts.rml b/examples/readouts.rml
index cfa3416a0..de55d44b5 100644
--- a/examples/readouts.rml
+++ b/examples/readouts.rml
@@ -1,330 +1,84 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
//The Microbulk MicroMegas
-
+
// Y-strips (pixel has fixed x coordinate)
-
-
-
-
-
-
-
-
+
// Last strip is special
-
-
-
-
-
-
-
+
// X-strips (pixel has fixed y coordinate)
// First strip is special
-
-
-
+
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
-
-
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
// 4 modules
-
-
-
+
// 6-modules
-
-
-
+
// 7-modules
-
-
-
+
// 7-modules
-
-
-
+
// 7-modules
-
-
-
+
// 6-modules
-
-
-
+
// 4-modules
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
+
// 2 modules
-
-
-
+
// 5-modules
-
-
-
+
// 6-modules
-
-
-
+
// 7-modules
-
-
-
+
// 6-modules
-
-
-
+
// 5-modules
-
-
-
+
// 2-modules
-
-
-
-
-
-
+
+
diff --git a/examples/saveMetadataFile.rml b/examples/saveMetadataFile.rml
index 3452234c5..d50d34f8a 100644
--- a/examples/saveMetadataFile.rml
+++ b/examples/saveMetadataFile.rml
@@ -1,5 +1,4 @@
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
see the readout plane configuration here : https://pandax.physics.sjtu.edu.cn/docdb3/0004/000496/005/Data_taking_prototype%20_1130.pdf
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pipeline/pandaxiii_MC/readout-140kg.rml b/pipeline/pandaxiii_MC/readout-140kg.rml
index e44415e5d..e4ff8fc72 100644
--- a/pipeline/pandaxiii_MC/readout-140kg.rml
+++ b/pipeline/pandaxiii_MC/readout-140kg.rml
@@ -1,137 +1,51 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
//The Microbulk MicroMegas
-
+
// Y-strips (pixel has fixed x coordinate)
-
-
-
-
-
-
-
-
+
// Last strip is special
-
-
-
-
-
-
-
+
// X-strips (pixel has fixed y coordinate)
// First strip is special
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
+
// 4 modules
-
-
-
+
// 6-modules
-
-
-
+
// 8-modules
-
-
-
+
// 8-modules
-
-
-
+
// 8-modules
-
-
-
+
// 8-modules
-
-
-
+
// 6-modules
-
-
-
+
// 4-modules
-
-
-
-
-
-
+
-
+
diff --git a/projects/basic-examples b/projects/basic-examples
index b4024cdee..66a87137a 160000
--- a/projects/basic-examples
+++ b/projects/basic-examples
@@ -1 +1 @@
-Subproject commit b4024cdee6e77c806ff3e83fa3c8b1dad1ec1100
+Subproject commit 66a87137abe46feaa6be8eecbc05b690d813a9a3