ID |
Date |
Author |
Category |
Subject |
Year |
377
|
Sat May 22 03:50:18 2021 |
Cobus, Michele | Runs | Run 0064 | 2021 |
open file : e127b_run0064.lmd
beam: 124Xe54+
energy: 7 MeV/u
cooler voltage:
purpose:
Reference measurement
Detector position (Si): -25 mm
GE01DD1IG position (Scraper): out/not used
run start: 03:49:36 22-05-2021
run stop: 04:49:37 22-05-2021
_______________________________________________________________________________
ON Rates
Si_ON_bdt: 60 Hz
Xray_ON_bdt: 500 Hz
BaF_OR: ---
Si voltage: 100.0 V
Si leakage current: 340 uA
SIS particles before: 1.0e8
ESR current at injection: 3.0e7
ESR particles after decel.: 2.5e6
Target ON density: 1.0e14
|
376
|
Sat May 22 02:50:40 2021 |
Cobus, Michele | Runs | Run 0063 | 2021 |
open file : e127b_run0063.lmd
beam: 124Xe54+
energy: 7 MeV/u
cooler voltage:
purpose:
Reference measurement
Detector position (Si): -25 mm
GE01DD1IG position (Scraper): out/not used
run start: 02:50:16 22-05-2021
run stop: 03:49:22 22-05-2021
_______________________________________________________________________________
ON Rates
Si_ON_bdt: 60 Hz
Xray_ON_bdt: 600 Hz
BaF_OR: ---
Si voltage: 100.0 V
Si leakage current: 340 uA
SIS particles before: 1.25e8
ESR current at injection: 3.1e7
ESR particles after decel.: 2.5e6
Target ON density: 1.0e14
Comment: Beam back to normal.
Si off rate over 120 at ~ 03:32 |
375
|
Sat May 22 02:48:44 2021 |
Cobus, Michele | Runs | Run 0062 | 2021 |
open file : e127b_run0062.lmd
beam: 124Xe54+
energy: 7 MeV/u
cooler voltage:
purpose:
Reference measurement
Detector position (Si): -25 mm
GE01DD1IG position (Scraper): out/not used
run start: 02:41: 22-05-2021
run stop: 02:48:21 22-05-2021
_______________________________________________________________________________
ON Rates
Si_ON_bdt: 30 Hz
Xray_ON_bdt: 300 Hz
BaF_OR: ---
Si voltage: 100.0 V
Si leakage current: 340 uA
SIS particles before: 3.0e7
ESR current at injection: 1.07e7
ESR particles after decel.:
Target ON density: 9.8e13
Comment: Running with low intensity beam (factor of 4 below normal).
Operator working on problem. |
374
|
Sat May 22 01:53:23 2021 |
Cobus, Michele | Runs | Run 0061 | 2021 |
open file : e127b_run0061.lmd
beam: 124Xe54+
energy: 7 MeV/u
cooler voltage:
purpose:
Reference measurement
Detector position (Si): -25 mm
GE01DD1IG position (Scraper): out/not used
run start: 01:52:23 22-05-2021
run stop: 02:36:18 22-05-2021
_______________________________________________________________________________
ON Rates
Si_ON_bdt: 70 Hz
Xray_ON_bdt: 650 Hz
BaF_OR: ---
Si voltage: 100.0 V
Si leakage current: 340 uA
SIS particles before: 1.1e8
ESR current at injection: 3.7e7
ESR particles after decel.: 2.5e6
Target ON density: 9.8e13
Comment: Beam intensity dropped by factor of 4 near end of run.
|
373
|
Sat May 22 00:53:06 2021 |
Cobus, Michele | Runs | Run 0060 | 2021 |
open file : e127b_run0060.lmd
beam: 124Xe54+
energy: 7 MeV/u
cooler voltage:
purpose:
Reference measurement
Detector position (Si): -25 mm
GE01DD1IG position (Scraper): out/not used
run start: 00:52:17 22-05-2021
run stop: 01:52:18 22-05-2021
_______________________________________________________________________________
ON Rates
Si_ON_bdt: 60-70 Hz
Xray_ON_bdt: 520-650 Hz
BaF_OR: ---
Si voltage: 100.0 V
Si leakage current: 340 uA
SIS particles before: 1.2e8 - 1.0e8
ESR current at injection: 3.0e7 - 4.0e7
ESR particles after decel.: 2.5e6 - 3.5e6
Target ON density: 9.8e13 |
372
|
Fri May 21 22:01:32 2021 |
Cobus, Michele, Jan | Runs | Run 0059 | 2021 |
open file : e127b_run0059.lmd
beam: 124Xe54+
energy: 7 MeV/u
cooler voltage:
purpose:
Reference measurement
Detector position (Si): -25 mm
GE01DD1IG position (Scraper): out/not used
run start: 23:51:28 21-05-2021
run stop: 00:51:28 22-05-2021
_______________________________________________________________________________
ON Rates
Si_ON_bdt: 50 Hz
Xray_ON_bdt: 500 Hz
BaF_OR: ---
Si voltage: 100.0 V
Si leakage current: 340 uA
SIS particles before: 6.5e7
ESR current at injection: 2.3e7
ESR particles after decel.: 3e6
Target ON density: 9.8e13 |
371
|
Fri May 21 21:02:53 2021 |
Jan | Runs | Run 0058 | 2021 |
open file : e127b_run0058.lmd
beam: 124Xe54+
energy: 7 MeV/u
cooler voltage:
purpose:
Illumination of the detector to see if the gain settings are ok.
Spectra look reasonable, rates are low.
Detector position (Si): -25 mm
GE01DD1IG position (Scraper): out/not used
run start: 21:01:58 21-05-2021
run stop: 22:00:05 21-05-2021
_______________________________________________________________________________
ON Rates
Si_bdt: 94 Hz
Xray_35: 581 Hz
Xray_90: 15 Hz
Xray_145: 123 Hz
BaF_OR: ---
Si voltage: 100.0 V
Si leakage current: 340 uA
SIS particles before: 7.4e7
ESR current at injection: 2.8e7
ESR particles after decel.: 2.5e6
Target ON density: 9.8e13 |
370
|
Fri May 21 20:09:00 2021 |
Jan | Runs | Run 0057 | 2021 |
open file : e127b_run0057.lmd
beam: 124Xe54+
energy: 7 MeV/u
cooler voltage:
purpose:
Illumination of the detector to see if the gain settings are ok.
Spectra look reasonable, rates are low.
Detector position (Si): -25 mm
GE01DD1IG position (Scraper): out/not used
run start: 20:08:08 21-05-2021
run stop: 21:01:58 21-05-2021
_______________________________________________________________________________
ON Rates
Si_bdt: 73 Hz
Xray_35: 584 Hz
Xray_90: 20 Hz
Xray_145: 130 Hz
BaF_OR: ---
Si voltage: 100.0 V
Si leakage current: 340 uA
SIS particles before: 9e7
ESR current at injection: 2.5e7
ESR particles after decel.: 4e6
Target ON density: 9e13 |
369
|
Fri May 21 19:36:46 2021 |
Jan | Runs | Run 0056 | 2021 |
open file : e127b_run0056.lmd
beam: 124Xe54+
energy: 7 MeV/u
cooler voltage:
purpose:
Illumination of the detector to see if the gain settings are ok.
Spectra look reasonable, rates are low.
Detector position (Si): -25 mm
GE01DD1IG position (Scraper): out/not used
run start: 19:19:52 21-05-2021
run stop: 20:08:08 21-05-2021
_______________________________________________________________________________
ON Rates
Si_bdt: 81 Hz
Xray_35: 514 Hz
Xray_90: 20 Hz
Xray_145: 127 Hz
BaF_OR: ---
Si voltage: 100.0 V
Si leakage current: 340 uA
SIS particles before: 9e7
ESR current at injection: 4e7
ESR particles after decel.: 4e6
Target ON density: 9e13 |
368
|
Fri May 21 19:20:54 2021 |
Laszlo | General | misalignment in the pattern | 2021 |
for some reason the event number of the target ON and OFF was misaligned with the pattern.
This means that the last few runs (run53, run52...) measured not in the target on phase but one before (at 10 instead of 11). Therefore, with these
runs we measured the TargetOFF phase instead TargetON (that is why the pg peak seem to disappear...) |
367
|
Fri May 21 15:20:54 2021 |
Rui-Jiu Chen | Runs | Stop DAQ | 2021 |
Sergey is optimizing beam cycle. |
366
|
Fri May 21 15:15:59 2021 |
Jan | Runs | Run 0055 | 2021 |
open file : e127b_run0055.lmd
beam: 124Xe54+
energy: 7 MeV/u
cooler voltage:
purpose:
Illumination of the detector to see if the gain settings are ok.
Spectra look reasonable, rates are low.
Detector position (Si): -25 mm
GE01DD1IG position (Scraper): out/not used
run start: 15:14:48 21-05-2021
run stop: 15:10:10 21-05-2021
_______________________________________________________________________________
ON Rates
Si_bdt: 21 Hz
Xray_35: 143 Hz
Xray_90: 7 Hz
Xray_145: 63 Hz
BaF_OR: ---
Si voltage: 100.0 V
Si leakage current: 350 uA
SIS particles before:
ESR current at injection:
ESR particles after decel.:
Target ON density: 10e13 |
365
|
Fri May 21 14:06:23 2021 |
Jan | Runs | Run 0054 | 2021 |
open file : e127b_run0054.lmd
beam: 124Xe54+
energy: 7 MeV/u
cooler voltage:
purpose:
Illumination of the detector to see if the gain settings are ok.
Spectra look reasonable, rates are low.
Detector position (Si): -25 mm
GE01DD1IG position (Scraper): out/not used
run start: 14:06:04 21-05-2021
run stop: 15:14:48 21-05-2021
_______________________________________________________________________________
ON Rates
Si_bdt: 31 Hz
Xray_35: 145 Hz
Xray_90: 10 Hz
Xray_145: 56 Hz
BaF_OR: ---
Si voltage: 100.0 V
Si leakage current: 350 uA
SIS particles before:
ESR current at injection: 3e7
ESR particles after decel.: 5e6
Target ON density: 9e13 |
364
|
Fri May 21 12:21:57 2021 |
Jan | Runs | Run 0053 | 2021 |
open file : e127b_run0053.lmd
beam: 124Xe54+
energy: 7 MeV/u
cooler voltage:
purpose:
Illumination of the detector to see if the gain settings are ok.
Spectra look reasonable, rates are low.
Detector position (Si): -25 mm
GE01DD1IG position (Scraper): out/not used
run start: 12:21:34 21-05-2021
run stop: 14:05:27 21-05-2021
_______________________________________________________________________________
ON Rates
Si_bdt: 15 Hz
Xray_35: 20 Hz
Xray_90: 200 Hz
Xray_145: 70 Hz
BaF_OR: ---
Si voltage: 100.0 V
Si leakage current: 360 uA
SIS particles before:
ESR current at injection: 3e7
ESR particles after decel.: 5e6
Target ON density: 9e13 |
363
|
Fri May 21 11:55:24 2021 |
Jan | Detectors | SI MSCF settings v1 | 2021 |
attached are the settings for all MSCFs.
Settings are optimized for DSSD only, not BaF! |
Attachment 1: setting_test.1621590878
|
1621590878
Fri May 21 11:54:38 CEST 2021
e127pi:mrcc:mscf1:getGainCommon 5
e127pi:mrcc:mscf1:getShapingTimeCommon 3
e127pi:mrcc:mscf1:getThresholdCommon 8
e127pi:mrcc:mscf1:getPzCommon 100
e127pi:mrcc:mscf2:getGainCommon 5
e127pi:mrcc:mscf2:getShapingTimeCommon 3
e127pi:mrcc:mscf2:getThresholdCommon 8
e127pi:mrcc:mscf2:getPzCommon 100
e127pi:mrcc:mscf1:getGain1 4
e127pi:mrcc:mscf1:getGain2 4
e127pi:mrcc:mscf1:getGain3 4
e127pi:mrcc:mscf1:getGain4 4
e127pi:mrcc:mscf1:getShapingTime1 1
e127pi:mrcc:mscf1:getShapingTime2 1
e127pi:mrcc:mscf1:getShapingTime3 1
e127pi:mrcc:mscf1:getShapingTime4 1
e127pi:mrcc:mscf2:getGain1 9
e127pi:mrcc:mscf2:getGain2 4
e127pi:mrcc:mscf2:getGain3 8
e127pi:mrcc:mscf2:getGain4 8
e127pi:mrcc:mscf2:getShapingTime1 2
e127pi:mrcc:mscf2:getShapingTime2 2
e127pi:mrcc:mscf2:getShapingTime3 2
e127pi:mrcc:mscf2:getShapingTime4 2
e127pi:mrcc:mscf1:getThreshold1 4
e127pi:mrcc:mscf1:getThreshold2 4
e127pi:mrcc:mscf1:getThreshold3 4
e127pi:mrcc:mscf1:getThreshold4 1
e127pi:mrcc:mscf1:getThreshold5 4
e127pi:mrcc:mscf1:getThreshold6 4
e127pi:mrcc:mscf1:getThreshold7 4
e127pi:mrcc:mscf1:getThreshold8 4
e127pi:mrcc:mscf1:getThreshold9 4
e127pi:mrcc:mscf1:getThreshold10 5
e127pi:mrcc:mscf1:getThreshold11 5
e127pi:mrcc:mscf1:getThreshold12 5
e127pi:mrcc:mscf1:getThreshold13 3
e127pi:mrcc:mscf1:getThreshold14 4
e127pi:mrcc:mscf1:getThreshold15 5
e127pi:mrcc:mscf1:getThreshold16 5
e127pi:mrcc:mscf1:getPz1 128
e127pi:mrcc:mscf1:getPz2 128
e127pi:mrcc:mscf1:getPz3 128
e127pi:mrcc:mscf1:getPz4 128
e127pi:mrcc:mscf1:getPz5 128
e127pi:mrcc:mscf1:getPz6 128
e127pi:mrcc:mscf1:getPz7 128
e127pi:mrcc:mscf1:getPz8 128
e127pi:mrcc:mscf1:getPz9 128
e127pi:mrcc:mscf1:getPz10 128
e127pi:mrcc:mscf1:getPz11 128
e127pi:mrcc:mscf1:getPz12 128
e127pi:mrcc:mscf1:getPz13 128
e127pi:mrcc:mscf1:getPz14 128
e127pi:mrcc:mscf1:getPz15 128
e127pi:mrcc:mscf1:getPz16 128
e127pi:mrcc:mscf2:getThreshold1 255
e127pi:mrcc:mscf2:getThreshold2 255
e127pi:mrcc:mscf2:getThreshold3 0
e127pi:mrcc:mscf2:getThreshold4 255
e127pi:mrcc:mscf2:getThreshold5 255
e127pi:mrcc:mscf2:getThreshold6 255
e127pi:mrcc:mscf2:getThreshold7 255
e127pi:mrcc:mscf2:getThreshold8 255
e127pi:mrcc:mscf2:getThreshold9 255
e127pi:mrcc:mscf2:getThreshold10 255
e127pi:mrcc:mscf2:getThreshold11 0
e127pi:mrcc:mscf2:getThreshold12 255
e127pi:mrcc:mscf2:getThreshold13 255
e127pi:mrcc:mscf2:getThreshold14 255
e127pi:mrcc:mscf2:getThreshold15 0
e127pi:mrcc:mscf2:getThreshold16 255
e127pi:mrcc:mscf2:getPz1 128
e127pi:mrcc:mscf2:getPz2 128
e127pi:mrcc:mscf2:getPz3 87
e127pi:mrcc:mscf2:getPz4 255
e127pi:mrcc:mscf2:getPz5 255
e127pi:mrcc:mscf2:getPz6 255
e127pi:mrcc:mscf2:getPz7 255
e127pi:mrcc:mscf2:getPz8 255
e127pi:mrcc:mscf2:getPz9 255
e127pi:mrcc:mscf2:getPz10 255
e127pi:mrcc:mscf2:getPz11 85
e127pi:mrcc:mscf2:getPz12 255
e127pi:mrcc:mscf2:getPz13 255
e127pi:mrcc:mscf2:getPz14 255
e127pi:mrcc:mscf2:getPz15 85
e127pi:mrcc:mscf2:getPz16 255
e127pi:mrcc:mscf1:getSingleChMode 0
e127pi:mrcc:mscf2:getSingleChMode 0
e127pi:mrcc:mscf1:getRcMode 1
e127pi:mrcc:mscf2:getRcMode 1
e127pi:mrcc:mscf1:getAutoPZ 0
e127pi:mrcc:mscf2:getAutoPZ 0
e127pi:mrcc:mscf1:getMultiplicityHi 8
e127pi:mrcc:mscf2:getMultiplicityHi 8
e127pi:mrcc:mscf1:getMultiplicityLo 4
e127pi:mrcc:mscf2:getMultiplicityLo 4
e127pi:mrcc:mscf1:getSumTrgThresh 10
e127pi:mrcc:mscf2:getSumTrgThresh 10
e127pi:mrcc:mscf1:getBlrOn 1
e127pi:mrcc:mscf2:getBlrOn 1
e127pi:mrcc:mscf1:getCoincTime 128
e127pi:mrcc:mscf2:getCoincTime 128
e127pi:mrcc:mscf1:getThreshOffset 100
e127pi:mrcc:mscf2:getThreshOffset 100
e127pi:mrcc:mscf1:getShaperOffset 100
e127pi:mrcc:mscf2:getShaperOffset 100
e127pi:mrcc:mscf1:getBlrThresh 25
e127pi:mrcc:mscf2:getBlrThresh 25
e127pi:mrcc:mscf1:getECLDelay 0
e127pi:mrcc:mscf2:getECLDelay 0
atpnuc006:mrcc:mscf1:getGainCommon 15
atpnuc006:mrcc:mscf1:getShapingTimeCommon 3
atpnuc006:mrcc:mscf1:getThresholdCommon 6
atpnuc006:mrcc:mscf1:getPzCommon 6
atpnuc006:mrcc:mscf1:getGain1 6
atpnuc006:mrcc:mscf1:getGain2 6
atpnuc006:mrcc:mscf1:getGain3 6
atpnuc006:mrcc:mscf1:getGain4 6
atpnuc006:mrcc:mscf1:getShapingTime1 3
atpnuc006:mrcc:mscf1:getShapingTime2 3
atpnuc006:mrcc:mscf1:getShapingTime3 3
atpnuc006:mrcc:mscf1:getShapingTime4 3
atpnuc006:mrcc:mscf1:getThreshold1 6
atpnuc006:mrcc:mscf1:getThreshold2 6
atpnuc006:mrcc:mscf1:getThreshold3 6
atpnuc006:mrcc:mscf1:getThreshold4 6
atpnuc006:mrcc:mscf1:getThreshold5 6
atpnuc006:mrcc:mscf1:getThreshold6 6
atpnuc006:mrcc:mscf1:getThreshold7 6
atpnuc006:mrcc:mscf1:getThreshold8 6
atpnuc006:mrcc:mscf1:getThreshold9 6
atpnuc006:mrcc:mscf1:getThreshold10 6
atpnuc006:mrcc:mscf1:getThreshold11 6
atpnuc006:mrcc:mscf1:getThreshold12 6
atpnuc006:mrcc:mscf1:getThreshold13 6
atpnuc006:mrcc:mscf1:getThreshold14 6
atpnuc006:mrcc:mscf1:getThreshold15 6
atpnuc006:mrcc:mscf1:getThreshold16 6
atpnuc006:mrcc:mscf1:getPz1 6
atpnuc006:mrcc:mscf1:getPz2 3
atpnuc006:mrcc:mscf1:getPz3 3
atpnuc006:mrcc:mscf1:getPz4 1
atpnuc006:mrcc:mscf1:getPz5 35
atpnuc006:mrcc:mscf1:getPz6 35
atpnuc006:mrcc:mscf1:getPz7 35
atpnuc006:mrcc:mscf1:getPz8 35
atpnuc006:mrcc:mscf1:getPz9 35
atpnuc006:mrcc:mscf1:getPz10 35
atpnuc006:mrcc:mscf1:getPz11 6
atpnuc006:mrcc:mscf1:getPz12 6
atpnuc006:mrcc:mscf1:getPz13 6
atpnuc006:mrcc:mscf1:getPz14 6
atpnuc006:mrcc:mscf1:getPz15 6
atpnuc006:mrcc:mscf1:getPz16 6
atpnuc006:mrcc:mscf1:getSingleChMode 0
atpnuc006:mrcc:mscf1:getRcMode 1
atpnuc006:mrcc:mscf1:getAutoPZ 0
atpnuc006:mrcc:mscf1:getMultiplicityHi 8
atpnuc006:mrcc:mscf1:getMultiplicityLo 1
atpnuc006:mrcc:mscf1:getSumTrgThresh 100
atpnuc006:mrcc:mscf1:getBlrOn 0
atpnuc006:mrcc:mscf1:getCoincTime 100
atpnuc006:mrcc:mscf1:getThreshOffset 1
atpnuc006:mrcc:mscf1:getShaperOffset 100
atpnuc006:mrcc:mscf1:getBlrThresh 10
atpnuc006:mrcc:mscf1:getECLDelay 0
|
362
|
Fri May 21 11:27:31 2021 |
Sophia, Mario, Laszlo | Runs | Run 0052 | 2021 |
open file : e127b_run0052.lmd
beam: 124Xe54+
energy: 7 MeV/u
cooler voltage:
purpose:
Illumination of the detector to see if the gain settings are ok.
Spectra look reasonable, rates are low.
Detector position (Si): -25 mm
GE01DD1IG position (Scraper): out/not used
run start: 11:23:58 21-05-2021
run stop: 12:13:53 21-05-2021
_______________________________________________________________________________
ON Rates
Si_bdt: 15 Hz
Xray_35: 20 Hz
Xray_90: 200 Hz
Xray_145: 70 Hz
BaF_OR: ---
Si voltage: 100.0 V
Si leakage current: 360 uA
SIS particles before:
ESR current at injection: 3e7
ESR particles after decel.: 5e6
Target ON density: 9e13 |
361
|
Fri May 21 10:00:51 2021 |
Jan | Accelerator | target bump | 2021 |
The target overlap was optimized on xray and si rates.
The setting now is -10mm in SC9 |
360
|
Fri May 21 01:17:37 2021 |
Laszlo | Analysis | simple analysis code | 2021 |
//a simple code (template) for offline analysis
//made by Laszlo, serves as a simple demonstration for enthusiastic shifters
//it creates a "no double counting Si 2D pos" histo
//usage:
//
//save the file as eg. "simple_code.c"
//root -l
//.L simple_code.c++
//run()
//when counter finished: ".q"
#define INPUT1 "input.root"//first unpack the lmd, then give the path of the unpacked .root file.
#define OUTPUT "./"//folder of the output. minimum input: "./"
#define ROOT_NAME "dummy.root"//name of the output
#include <cmath>
#include <string>
#include <sstream>
#include <cstdlib>
#include <cstdio>
#include <ctime>
#include <fstream>
#include <iostream>
#include <stdint.h>
#include "TROOT.h"
#include "TAttText.h"
#include "TAxis.h"
#include "TCanvas.h"
#include "TChain.h"
#include "TCut.h"
#include "TF1.h"
#include "TFile.h"
#include "TGraph.h"
#include "TGraphAsymmErrors.h"
#include "TGraphErrors.h"
#include "TH1.h"
#include "TH2.h"
#include "THistPainter.h"
#include "TKey.h"
#include "TLatex.h"
#include "TLegend.h"
#include "TMath.h"
#include "TMatrixD.h"
#include "TMinuit.h"
#include "TMultiGraph.h"
#include "TNtuple.h"
#include "TPave.h"
#include "TPaveText.h"
#include "TPoint.h"
#include "TRandom.h"
#include "TRint.h"
#include "TStyle.h"
#include "TString.h"
#include "TTree.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TSystem.h"
#include "TProfile.h"
#include "TVirtualFitter.h"
#include "TCanvas.h"
#include "TLegend.h"
#include "TColor.h"
#include <time.h>
using namespace std;
inline bool exists_test0 (const std::string& name) {
ifstream f(name.c_str());
return f.good();
}
///////////////////////////////////////////////////////////////////////////////////////////////
void loop(TChain *fChain){
//setting pedestal values
int PEDESTAL_LOW=400;
int PEDESTAL_HIGH=8000;
//this normally should be in a separate header, branches are defined.
UInt_t trigger;
fChain->SetBranchAddress("TRIGGER",&trigger);
UInt_t E_SiY[17];
UInt_t E_SiX[17];
UInt_t t_SiY[17];
UInt_t t_SiX[17];
for(int a=1;a<17;a++){
fChain->SetBranchAddress(Form("E_SiY%d",a),&E_SiY[a]);
fChain->SetBranchAddress(Form("E_SiX%d",a),&E_SiX[a]);
fChain->SetBranchAddress(Form("t_SiY%d",a),&t_SiY[a]);
fChain->SetBranchAddress(Form("t_SiX%d",a),&t_SiX[a]);
}
//creating histos
TH2D *h_pos_si_xy=new TH2D("h_pos_si_xy", "h_pos_si_xy",16,0.5,16.5,16,0.5,16.5);
//creating and initializing some variables used in the event loop (for "no double counting")
int r_pos_x=0,r_pos_y=0;
int dc_Ex_max=-999;
int dc_Ey_max=-999;
Long64_t nentries = fChain->GetEntries();
Long64_t nbytes = 0;
//starting the entry loop
for (Long64_t i=0; i<nentries;i++){
nbytes += fChain->GetEntry(i);
//event countdown
if ((float(i)/100000.)==int(i/100000)){cout << "event: " << i << " \tof " << nentries << endl;}
if(trigger==1){//trigger 1 = TargetON
dc_Ex_max=-999;
dc_Ey_max=-999;
for(int i_x=1;i_x<17;i_x++){
for(int i_y=1;i_y<17;i_y++){
if( ((int)t_SiX[i_x])>0 && ((int)t_SiY[i_y])>0){
if( PEDESTAL_LOW<((int)E_SiX[i_x]) && PEDESTAL_HIGH>((int)E_SiX[i_x]) &&
PEDESTAL_LOW<((int)E_SiY[i_y]) && PEDESTAL_HIGH>((int)E_SiY[i_y])){
//assign the hit to StripX and StripY where the most energy is deposited (rel. Ecalibration is needed, but roughly ok)
if(dc_Ex_max<((int)E_SiX[i_x]) && dc_Ey_max<((int)E_SiY[i_y])){
r_pos_x=i_x;
r_pos_y=i_y;
dc_Ex_max=E_SiX[i_x];
dc_Ey_max=E_SiY[i_y];
}
}
}
}
}
//Filling pos. histo
if(dc_Ex_max!=-999 && dc_Ey_max!=-999){h_pos_si_xy -> Fill(r_pos_x,r_pos_y);}
}//trigger==1
}//entry loop
//writing out the root output file
TFile *graphfile = TFile::Open((OUTPUT + (string)("") + ROOT_NAME).c_str(), "RECREATE");
graphfile -> mkdir("map");
graphfile -> cd("map");
h_pos_si_xy -> Write();
graphfile -> Close();
}//loop
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
void run(){
const char *command = new char[1000];
char filename[100];
TChain *fChain = new TChain("h101");
sprintf(filename,INPUT1);
if(exists_test0(INPUT1) && exists_test0(OUTPUT)){
cout<<"\033[0;37m//loading run: "<<filename << "\033[0m" <<endl;
fChain->Add(filename);
loop(fChain);
}
else{cout<<"\033[0;31mError 404: non-existing INPUT1 or OUTPUT file!\033[0m" <<endl;}
command = "rm *.so";
gSystem->Exec(command);
command = "rm *.d";
gSystem->Exec(command);
return;
}
int main(){
run();
return(0);
} |
359
|
Thu May 20 18:13:55 2021 |
Laszlo | General | Vacuum change while Si movement | 2021 |
The vacuum remained in the E-10 range after moving the dsssd. The oscillation in the vacuum.values are due to the
magnets ramping up and down |
Attachment 1: IMG_20210520_174632.jpg
|
|
358
|
Thu May 20 18:11:24 2021 |
Laszlo | General | Touching the beam with Dsssd - current change | 2021 |
|
Attachment 1: IMG_20210520_180857.jpg
|
|