BOS/F Chamber Infos @ LMU ATLAS MDT Teststand
read())) {
if(preg_match("/^(Bo[sf](x|\d)[ACac](res\d|\d{2})(_middle)?)/",$entry,$match)){
$file[$n_file]=$entry;
$n_file++;
}
}
$d->close();
sort($file);
############################################
# logsheets
##########
$directorylog="log/";
$filelog=array();
$n_filelog=0;
$matchlog=array();
$dlog=dir("$directorylog");
while (false !== ($entry=$dlog->read())) {
if(preg_match("/^(bo[sf](x|\d)[ACac](res\d|\d{2})(_middle)?)/",$entry,$matchlog)){
$filelog[$n_filelog]=$entry;
$n_filelog++;
}
}
$dlog->close();
sort($filelog);
############################################
# noisetest
##########
$directorynt="noisedata/";
$filent=array();
$n_filent=0;
$matchnt=array();
$dnt=dir("$directorynt");
while (false !== ($entry=$dnt->read())) {
if(preg_match("/^(BO[SF]_(x|\d)[AC]_(Res\d|\d{2})(_middle)?)/",$entry,$matchnt)){
$filent[$n_filent]=$entry;
$n_filent++;
}
}
$dnt->close();
sort($filent);
############################################
# analysis
##########
$directoryana="../cosmic_ray_data_summary/";
$fileana=array();
$n_fileana=0;
$matchana=array();
$dana=dir("$directoryana");
while (false !== ($entry=$dana->read())) {
if(preg_match("/^(BO[SF]_(X|\d)[AC]_?)/",$entry,$matchana)){
$fileana[$n_fileana]=$entry;
$n_fileana++;
}
}
$dana->close();
sort($fileana);
####################################################
# leak
###
$j=0;
echo "Leaktest: ";
#####################################################
# log
######
$k=0;
echo "Logsheets: ";
#####################################################
# noisetest
######
$m=0;
echo "Noisetest: ";
#####################################################
# ana
######
$l=0;
echo "Analysis: ";
?>
Tested BOS/F MDT chamber list (with APIN)
by JE