From 67f8b74e98013fec985e4040327f3ad6945b32d7 Mon Sep 17 00:00:00 2001 From: Sylvester Joosten <sjoosten@anl.gov> Date: Wed, 19 May 2021 19:04:13 +0000 Subject: [PATCH] Add macro to optimize refdet viewing --- .gitlab-ci.yml | 1 + macros/athena.C | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 macros/athena.C diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a37f352..2f52751 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,7 @@ pages: script: - git clone -b 6.1.0 https://github.com/root-project/jsroot.git public - cp .htaccess public/. + - cp -r macros public/. - cd public && ln -s index.htm index.html && cd .. #- cp index.htm public/. #- cp -r `root-config --prefix`/js public diff --git a/macros/athena.C b/macros/athena.C new file mode 100644 index 0000000..64fbf30 --- /dev/null +++ b/macros/athena.C @@ -0,0 +1,7 @@ +void athena() { + // make barrel trackers visible + gGeoManager->GetVolume("AllSiliconVtx_10")->InvisibelAll(false); + gGeoManager->GetVolume("AllSiliconTrkBarrel1_12")->InvisibelAll(false); + gGeoManager->GetVolume("AllSiliconTrkBarrel2_14")->InvisibelAll(false); + gGeoManager->GetVolume("RWellTrackerBarrel_23")->InvisibelAll(false); +} -- GitLab