First Comsic Analysis
First look on the cosmic radiation with EPD done by Maria :)
ssh -A -Y ****@rssh.rhic.bnl.gov
ssh -t -A -Y stargw.starp.bnl.gov
rterm -I
stardev (I am trying starnew now, since dev does not work today)
1) New folder:
/star/u/mstefaniak/CosmicAnalysis
2) Copy from /ldaphome/rjreed/EpdReader2023/:
EPDreader.C
StRoot
runEpdTrgHist2023.sh
map_EpdHistos.C
Compile: cons
3) to get dat files from /trgdata one have to run:
for example:
bash runEpdTrgHist2023.sh 121 56 30
Rosi: "The *.dat files are grouped in 10k events, so if the run has 300k collisions, the last argument should be 30 to get all the data."
detailed information what is happening available at: https://drupal.star.bnl.gov/STAR/blog/mstefaniak/How-we-read-dat-files-existing-scripts-some-notes
Takes some time...
4) Mapping (from crates and boards to PP and Tiles):
go to newly created folder
cp ../map_EpdHistos.C .
hadd epdhist.RUNNUMBER.root epdhist.RUNNUMBER.*root
root4star -q -b 'map_EpdHistos.C("epdhist.RUNNUMBER.root")'. for ech file-> CHANGE THE TIME STAMP! Tristan swapped the channel for the dead tile W PP6 TT1!
5) Send .root by mail:
echo "mail text" | mailx -s "mapped_epdhist" -a mapped_epdhist.2412502.root mzs***@gmail.com
6) Run code (attached)
root -l 'AnalyzeCosmics.C("runnumber")'
7) Output for runs: 24134001, 24134002, 24134003, 24134004, 24134005, 24134006, 24134009
- mstefaniak's blog
- Login or register to post comments