Difference between revisions of "MainPage:Nuclear:KaonDetector:Commissioning"

From cua_phy
Jump to navigation Jump to search
m (Moving Stuff)
 
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Setting up JLab account==
+
 
 +
==Hardware (Detector Commissioning)==
 +
 
 +
SHMS Aerogel Cherenkov detector commissioning plan
 +
 
 +
[https://hallcweb.jlab.org/wiki/index.php/Detector_Working_Group_Meetings Link to Hall C Detector Wiki]
 +
 
 +
==Software (Analyzer)==
 +
===Information you should read===
 +
 
 +
* [https://hallcweb.jlab.org/DocDB/0008/000868/001/Counting_House_TipsTricks-Jun2017.pdf Do and Don't do] Start from slide 8 (Go to a Data Analysis Workshop if you have the chance, it is around the same date of JLab user meetings).
 +
* [https://scicomp.jlab.org/docs/node/17 Filesystem explanation] You will need to read it you don't know where you are (if <code>$pwd</code> and <code>$whoami</code> are not enough)
 +
* [https://hallcweb.jlab.org/wiki/index.php/Summer_2017_Analysis_Workshop Analysis workshop slides] Go through these slides
 +
 
 +
===hcana How-To (IFarm version)===
 +
 
 +
All the analysis can be done from ifarm, no need to use <code>cdaql*</code> computers
 +
 
 +
<pre>
 +
# JLab Login
 +
ssh -Y username@login.jlab.org
 +
ssh ifarm
 +
 
 +
# On Ifarm
 +
mkdir $HOME/Analysis
 +
cd $HOME/Analysis
 +
 
 +
# Build hcana from source code
 +
git clone https://github.com/JeffersonLab/hcana
 +
cd hcana
 +
git submodule init #hcana depends on podd (HallA Analyzer)
 +
git submodule update #so we also need podd's source code
 +
scons #compile
 +
 
 +
#If errors are given then delete old hcana, then in the same place and from ifarm1401:
 +
source /apps/root/5.34.36/setroot_CUE.csh
 +
git clone git@github.com:JeffersonLab/hcana.git
 +
cd hcana
 +
source setup.csh
 +
git submodule init
 +
git submodule sync
 +
git submodule update
 +
make
 +
scons -j10
 +
 
 +
# Get HallC_Replay scripts
 +
cd $HOME/Analysis
 +
git clone git@github.com:JeffersonLab/hallc_replay.git
 +
cd hallc_replay
 +
ln -s /cache/hallc/spring17/raw #Change Spring17 if needed
 +
ln -s /volatile/hallc/spring17/<your username>/ROOTfiles
 +
ln -s ../hcana/hcana
 +
 
 +
#Ask Brad Sawatzky <brads@jlab.org> to create a directory
 +
#in the /volatile file system and grant you access to it
 +
 
 +
mkdir /lustre/expphy/volatile/hallc/spring17/$USER/ROOTfiles #Change Spring17 if needed
 +
ln -s /lustre/expphy/volatile/hallc/spring17/$USER/ROOTfiles ./ #Change Spring17 if needed
 +
 
 +
# Make sure the run kinematics are defined here:
 +
# hallc_replay/DBASE/SHMS/STD/standard.kinematics
 +
 
 +
# Replay can be done with:
 +
hcana "SCRIPTS/SHMS/PRODUCTION/replay_production_all_shms.C(RunNumber,-1)" #-1 Replay all available events
 +
# can take long
 +
 
 +
cd $HOME/Analysis
 +
source hcana/setup.csh
 +
source hallc_replay/setup.csh
 +
alias hcana='$HOME/Analysis/hcana/hcana'
 +
</pre>
 +
 
 +
Now that you can execute <code>$hcana</code> You are ready to go!
  
 
==SHMS Aerogel Detector==
 
==SHMS Aerogel Detector==
Line 19: Line 91:
 
| [[File:GxyNpe r464.png|thumbnail|GxyNpe r464]]
 
| [[File:GxyNpe r464.png|thumbnail|GxyNpe r464]]
 
| [[File:HShPreSh r464.png|thumbnail|HShPreSh r464]]
 
| [[File:HShPreSh r464.png|thumbnail|HShPreSh r464]]
 +
| [[File:XyNpeProjNpe_464.png‎ |thumbnail|XyNpeProjNpe r464]]
 
|}
 
|}
  
Line 31: Line 104:
 
| [[File:GxyNpe r488.png|thumbnail|GxyNpe r488]]
 
| [[File:GxyNpe r488.png|thumbnail|GxyNpe r488]]
 
| [[File:HShPreSh r488.png|thumbnail|HShPreSh r488]]
 
| [[File:HShPreSh r488.png|thumbnail|HShPreSh r488]]
 +
| [[File:XyNpeProjNpe_488.png‎ |thumbnail|XyNpeProjNpe r488]]
 
|}
 
|}
  
Line 42: Line 116:
 
| [[File:GxyNpe r929.png|thumbnail|GxyNpe r929]]
 
| [[File:GxyNpe r929.png|thumbnail|GxyNpe r929]]
 
| [[File:HShPreSh r929.png|thumbnail|HShPreSh r929]]
 
| [[File:HShPreSh r929.png|thumbnail|HShPreSh r929]]
 +
| [[File:XyNpeProjNpe_929.png‎ |thumbnail|XyNpeProjNpe r929]]
 
|}
 
|}

Latest revision as of 13:24, 12 July 2018

Hardware (Detector Commissioning)

SHMS Aerogel Cherenkov detector commissioning plan

Link to Hall C Detector Wiki

Software (Analyzer)

Information you should read

hcana How-To (IFarm version)

All the analysis can be done from ifarm, no need to use cdaql* computers

# JLab Login
ssh -Y username@login.jlab.org
ssh ifarm

# On Ifarm
mkdir $HOME/Analysis
cd $HOME/Analysis

# Build hcana from source code
git clone https://github.com/JeffersonLab/hcana
cd hcana
git submodule init		#hcana depends on podd (HallA Analyzer)
git submodule update		#so we also need podd's source code
scons				#compile

#If errors are given then delete old hcana, then in the same place and from ifarm1401:
source /apps/root/5.34.36/setroot_CUE.csh
git clone git@github.com:JeffersonLab/hcana.git
cd hcana
source setup.csh
git submodule init
git submodule sync
git submodule update
make
scons -j10

# Get HallC_Replay scripts
cd $HOME/Analysis
git clone git@github.com:JeffersonLab/hallc_replay.git
cd hallc_replay
ln -s /cache/hallc/spring17/raw	#Change Spring17 if needed
ln -s /volatile/hallc/spring17/<your username>/ROOTfiles
ln -s ../hcana/hcana

#Ask Brad Sawatzky <brads@jlab.org> to create a directory 
#in the /volatile file system and grant you access to it

mkdir /lustre/expphy/volatile/hallc/spring17/$USER/ROOTfiles		#Change Spring17 if needed
ln -s /lustre/expphy/volatile/hallc/spring17/$USER/ROOTfiles ./		#Change Spring17 if needed

# Make sure the run kinematics are defined here:
# hallc_replay/DBASE/SHMS/STD/standard.kinematics

# Replay can be done with:
hcana "SCRIPTS/SHMS/PRODUCTION/replay_production_all_shms.C(RunNumber,-1)" #-1 Replay all available events 
# can take long

cd $HOME/Analysis
source hcana/setup.csh
source hallc_replay/setup.csh
alias hcana='$HOME/Analysis/hcana/hcana'

Now that you can execute $hcana You are ready to go!

SHMS Aerogel Detector

The following set of slides shows aspects of the development and design concept of the SHMS Aerogel detector:

HallC Logbook - Run 464

Error creating thumbnail: Unable to save thumbnail to destination
X-Y-Npe Distribution Run:464 (Production Run) Most of the single track events generate less than 25Pe and are centered at (0,0)
Error creating thumbnail: Unable to save thumbnail to destination
SpacialAerogelDistribution Run:464
Error creating thumbnail: Unable to save thumbnail to destination
SignalvsY COL Run:464
Error creating thumbnail: Unable to save thumbnail to destination
GxyNpe r464
Error creating thumbnail: Unable to save thumbnail to destination
HShPreSh r464
Error creating thumbnail: Unable to save thumbnail to destination
XyNpeProjNpe r464


HallC Logbook - Run 488

Error creating thumbnail: Unable to save thumbnail to destination
X-Y-Npe Distribution Run:488 (Production Run)
Error creating thumbnail: Unable to save thumbnail to destination
SpacialAerogelDistribution Run:488
Error creating thumbnail: Unable to save thumbnail to destination
SignalvsY COL Run:488
Error creating thumbnail: Unable to save thumbnail to destination
GxyNpe r488
Error creating thumbnail: Unable to save thumbnail to destination
HShPreSh r488
Error creating thumbnail: Unable to save thumbnail to destination
XyNpeProjNpe r488

HallC Logbook - Run 929

Error creating thumbnail: Unable to save thumbnail to destination
X-Y-Npe Distribution Run:929 (Cosmics Run) Most of the events generate less than 10Pe and are not centered 929
Error creating thumbnail: Unable to save thumbnail to destination
SpacialAerogelDistribution Run:929
Error creating thumbnail: Unable to save thumbnail to destination
SignalvsY COL Run:929
Error creating thumbnail: Unable to save thumbnail to destination
GxyNpe r929
Error creating thumbnail: Unable to save thumbnail to destination
HShPreSh r929
Error creating thumbnail: Unable to save thumbnail to destination
XyNpeProjNpe r929