(updated code 기준) Sanghoon Jeon

Slides:



Advertisements
Similar presentations
전자통신연구실 1 확률과 랜덤 해석 잡음 분석 확률 - 실험 (experiment) - 결과 (outcome) - 사건 (event)
Advertisements

버킷 리스트 중 하나였던 “ 남도 맛 기행 ”.. 이라고 하면 왠지 거창한 느낌이지만, 사실 저주받은 미각으로써 왠만한 건 다 맛있는 나로써는 “ 맛 기행 ” 이라는 표현은 어울리지 않다. 그럼에도 불구하고 “ 맛 기행 ” 이라는 테마를 잡은 건 남도하면 역시 “ 맛 ”
Reflow 1. 구조 및 특성 2.Software 의 구성 3.Hardware 4. 온도 Profile 의 특성 5. 납땜 불량 대책 및 유지 보수.
EMLAB Modeling of Digital Communication Systems using Simulink Chap2. Sinusoidal Simulink Model Chap3. Digital Communications BER Performance in AWGN (BPSK.
1. 기관별 맞춤형 집중교육 : 실습 및 개인별 집중지도    1. 기관별 맞춤형 집중교육 : 실습 및 개인별 집중지도 (상설) 기관별 맞춤형 교육 - 당 교육기관에서.
강의 #2 소중한 만남 우리의 삶은 만남에서 시작됩니다.
Hamming Code 이근용. 2 Error Control Error Detection Parity Check CRC Check Error Correction Hamming Code.
전자파 연구실 Fast Beamforming of Electronically Steerable Parasitic Array Radiator Antennas: Theory and Experiment 세미나 자료 발표자 : 이동현 1.
Chapter 4. Post Layout Simulation
Shortest Path Algorithm
제 5장 기업의 생산활동 5.1 기업이란? 5.2 생산기술 5.3 생산비용 5.4 규모의 경제와 범위의 경제
R 실행. 2014년 가을학기 손시운 지도 교수: 문양세 교수님.
온도 측정 최적제어 Process를 운전중에 Operator가 가장 많은 고심을 하는것 중의 하나가 Controller의 PID-Tuning으로 생각된다. 보다 쉬운 방법으로 운전시 적용을 할수있는 PID-설정방법을 설명 한다. PID설정시 고려사항 PID-Tuning을.
Ⅱ.녹색 가정생활의 실천.
기술 통계학 (Descriptive Statistics)
각 행 (row) 에서 같은 첨자가 있는 곳은 비워두고, 그 밖에 cell에 수준수 (level) 또는 반복수를 기입
의료의 질 평가 분석 기법 김 민 경.
UNIT 15 Timer & Watch Dog 로봇 SW 교육원 조용수.
제9장 샘플링과 오차 표본: 시료, Sample 모집단 : 공정, Lot Sampling
실습 (using SPSS) Department of Biostatistics, Samsung Biomedical Research Institute Samsung Medical Center.
제 4 장 클래스 작성 Lab 4- 2.
가장 가까운 항성, 태양.
제9장 채널용량(Channel capacity)
Perl File Handling FileHandle : Name for I/O connection
SqlParameter 클래스 선문 비트 18기 발표자 : 박성한.
Progress Seminar 신희안.
논문을 위한 통계 논문과 통계의 기초 개념 하성욱 한성대학교 대학원.
Medical Instrumentation
4-1 Gaussian Distribution
Parallel software Lab. 박 창 규
13. 연산자 오버로딩.
2015년도 2학기 제 7 장 척도의 평가 마케팅조사.
MATLAB
퀵 가이드 Quick Guide 차량용 블랙박스
인터넷응용프로그래밍 JavaScript(Intro).
자동제어 개념 1 1.
4. 도표 다루기.
LCD Controller Colorbar
플래시 CS3 사운드 활용하기 지리학과 염순성.
Association between two measurement variables Correlation
감마선스펙트럼 방사능측정 불확도 Environmental Metrology Center
기존 REC거래시스템 회원사의 신재생 통합포털 회원가입 설명서.
Progress Seminar 신희안.
(Single dish) calibration
Statistical inference I (통계적 추론)
Frequency distributions and Graphic presentation of data
PSD센서 명령어 이해하기 목차 재료준비 및 브레드 보드 배선 구성하기 PSD센서 명령어 이해 및 실습 응용 작품 만들기.
1.Memory Card Parameter Set up
The normal distribution (정규분포)
천문영역 학습자료 태양의 특성 2008 충북 교사 천문연구회.
은지지구 생태전원마을 입주예정자 모집 공고 입주예정자 모집 공고 위 치 도 광역위치도
2. 가속도에 영향을 주는 요소는 무엇인가? 학습목표 가속도를 더 크게 하는 방법을 말할 수 있다.
Canary value 스택 가드(Stack Guard).
저널클럽 검출기 조기현.
Signature, Strong Typing
Eliminating noise and other sources of error
Signature, Strong Typing
Excel 일차 강사 : 박영민.
가장 가까운 항성, 태양.
최소의 실험 횟수에서 최대의 정보를 얻기 위한 계획방법 분석방법: 분산분석(Analysis of Variance, ANOVA)
기 술 통 계 학 6 1 기술통계학 2 자료의 정리 3 위치척도 4 산포의 척도.
Energy Band (고체속의 전자구조)에 대해서 쉬운 얘기를 한 후에 Bloch state 로 다시 돌아 가겠습니다.
maria db JDBC PROGRAMMING 5
유예 X-FILE *조사자* 1301권희원 1315이예지 1317장아정 1322홍자현.
NACST progress report 신수용.
(updated code 기준) Sanghoon Jeon
Progress Seminar 권순빈.
Progress Seminar 양승만.
Progress Seminar 양승만.
Progress Seminar 권순빈.
Presentation transcript:

(updated code 기준) Sanghoon Jeon 마크 코드를 파헤쳐보자 (updated code 기준) Sanghoon Jeon

결과부터 봅시당

cpViolation(unknown MH)

cpViolation(known MH)

cpPrecision

massHierarchy

코드를 파헤쳐보자

Executables cpPrecision fitting을 통해 얻은 deltaCP 값의 오차 cpViolation fitting을 통해 얻은 cpviolation 여부의 신뢰도 massHierarchy fitting을 통해 얻은 massHierarchy의 신뢰도

Inputs Command Line ./bin/cpPrecision -c1 input_hk.card –c2 input_kd_1p5 –o output.root –co osc_param.card –cs syst_param_total.card –d 0

Input 1. Input card file(input_kd_1p5.root) 1줄 : flux weights file 2~25줄 짝수줄 : mc weights 홀수줄 : event rate predictions in bins of true neutrino energy and reconstructed neutrino energy 각각의 file안의 histogram들은 바로 위에 있는 POT weight가 곱해진다. 26줄 : baseline in [km] 27줄 : average matter density in [g/cm^3] 28줄 : fiducial mass in [kton] 29줄 : neutrino mode POT in [10^21] 30줄 : anti-neutrino mode POT in [10^21]

Input 2. osc_param.card(6 params)

Input 3. syst_param_total.card(23 params)

Systematic Error Table (from mark’s ppt)

Code Structure input 불러옴 이전 for loop로부터 얻어낸 least Chi2를 output으로 보냄. input card file, osc. parameters, syst. Parameters로 simulated data를 만듬 for loop(discrete fitting param.(mh(CPP, CPV만 해당), oct, dcp(CPV, MH만 해당))) 1. fitting을 통해 fitting parameter들이 변하면서 해당 parameter들로 predicted data를 만듬. 2. 초기의 (predicted data, parmeters)와 변화된 (predicted data, parameters)로 Chi2 계산. 3. least Chi2를 얻음. 4. 이 discrete fitting을 위한 for loop중에서도 가장 작은 least Chi2를 얻음

5번 osc. param.(dcp) : fixed cpPrecision(1) Fitting for loop(mh o, oct o, dcp x) 0~4번 osc. param. : floated 5번 osc. param.(dcp) : fixed 0~22번 syst. Param. : floated 19개의 least chi2 => TGraph

cpPrecision(2) 1 차이/2 101개의 true dcp에 대해 101회 run Executable을 run 할 때 input으로 넣은 true dcp 한 개 당 값 한 개

5번 osc. param.(dcp) : fixed cpViolation MinUnknown : mh floated MinKnown : mh fixed(true mh) 0 or PI Fitting for loop(mh, oct o, dcp o) 0~4번 osc. param. : floated 5번 osc. param.(dcp) : fixed 0~22번 syst. Param. : floated 101개의 true dcp에 대해 101회 run 1개의 least chi2

5번 osc. param.(dcp) : floated massHierarchy dcp는 0 ~ 2PI의 균일한 간격의 16개 값으로 fitting Fitting for loop(mh x, oct o, dcp o) 0~4번 osc. param. : floated 5번 osc. param.(dcp) : floated 0~22번 syst. Param. : floated 101개의 true dcp에 대해 101회 run 2개의 least chi2의 차이

Chi2 Data Chi2 Oscillation Parameter Chi2 Systematic Parameter Chi2

(1) Data Chi2 electron muon

(1) Data Chi2 Loglikelihood에 들어가지 않는 electron flux neutrino mode / anti-neutrino mode bin electron Loglikelihood에 들어가지 않는 electron flux energy < 0.1(muon의 경우 0.2) energy > 1.2 & baseline < 300 (muon의 경우 해당x) Terms of loglikelihood

Data Histogram & Pred Histogram main() cardfile로부터 flux weight, POT weight를 가져옴 completed data histogram discrete fitting for loop for() myFcn() updating pred histogram during continuous fitting & discrete fitting Chi2 += DataChi2 + O.P.Chi2 + S.P.Chi2

(2) Oscillation Parameter Chi2 Terms of Chi2

(3) Systematic Parameter Chi2 Terms of Chi2

아직 제대로 이해하지 못한 부분

Data Histogram & Pred Histogram main() cardfile로부터 flux weight, POT weight를 가져옴 flux weight, POT weight, prob로부터 fake data를 얻어내는 과정이 너무 방대…아마 이 부분이 NUET simulation인 듯 completed data histogram discrete fitting for loop for() myFcn() updating pred histogram during continuous fitting & discrete fitting Chi2 += DataChi2 + O.P.Chi2 + S.P.Chi2

inputs object particle POT mode

inputs channel 1Re : single electron-like ring candidates 1Rmu : single muon-like ring candidates

CP Violation study(Unknown M.H.)

Data를 만들어보자

준비물 Oscillation cardfile Systematic cardfile 각 detector의 cardfile - 각 detector의 cardfile에서 지정하는 flux weight 1-D hist file, detector energy resolution 2-D hist file - 위 2개 hist file은 “inputs” directory에 들어있음.

Oscillation cardfile

Systematic cardfile

Emin, Emax : 보정되는 bin의 energy range Value Error Emin, Emax : 보정되는 bin의 energy range FluxMode : “true particle” X “rec. particle” 인 것으로 추정 -> XsecMode : channel -> “CCQE”, “CCnQE”, “NC” PIDType : rec. event type을 의미하는 것으로 추정 -> “1Re event” or “1Rmu event” PolarityMode : accelerator mode -> “FHC(nu mode)” or “RHC(anti-nu mode)” Detectors : Det. ID -> “1번 detector”(HK) or “2번 detector”(KD) Type : systematic param. 분류 -> 0 : Erec/1 : Etrue/2 : energy scale/3 : matter density Correlation : Systematic param. Random generation할 때/Chi^2 fitting 할 때 고려되는 것으로 추정

Detector cardfile 1줄 : flux weights file 2~25줄 26줄 : baseline in [km] 짝수줄 : mc weights 홀수줄 : event rate predictions in bins of true neutrino energy and reconstructed neutrino energy 각각의 file안의 histogram들은 바로 위에 있는 POT weight가 곱해진다. 26줄 : baseline in [km] 27줄 : average matter density in [g/cm^3] 28줄 : fiducial mass in [kton] 29줄 : neutrino mode POT in [10^21] 30줄 : anti-neutrino mode POT in [10^21]

FluxWeights file particle POT mode

TrueE x RecE hist. file channel 1Re : single electron-like ring candidates 1Rmu : single muon-like ring candidates Y축 recE X축 trueE

Data를 만드는 과정 MakeHistograms ApplyFluxWeights ApplyOscillations GetPredictions

1. MakeHistograms Detector cardfile을 입력 받아 아래 hist. 선언 1. Flux weight file로부터 1-D hist. 8개 fluxRatio[i][l] -> i : mode(0-FHC, 1-RHC) l : particle(0-nmu, 1-nmub, 2-ne, 3-nebar) 2. trueE x recE hist file로부터 2-D hist. 72개 raw1Re[i][j][k] raw1Rmu[i][j][k] -> i : mode(0-FHC, 1-RHC) j : flavor(0~5) k : channel(0-CCQE, 1-CCnQE, 2-NC) Rec E True E

ApplyFluxWeights MakeHistograms 이후, raw1Re[i][j][k] raw1Rmu[i][j][k] 의 각 bin * fweight * mcWeights[i][j] * massWeight * potWeight[i]로 보정 fweight : MakeHistograms의 fluxRatio[i][l]로부터 얻은 값 mcWeights[i][j] : detector card file의 짝수 줄에 있는 factors massWeight : detector card file의 fiducial mass potWeight[i] : detector card file의 pot weight(nu mode, nubar mode) Rec E True E

ApplyOscillations ApplyFluxWeights 이후, raw1Re[i][j][k] raw1Rmu[i][j][k] 의 각 bin * w -> raw1ReOsc[i][j][k] raw1RmuOsc[i][j][k] 에 대입 w : osc. prob. weight로써 “ProbWrapper” class로부터 얻음 **특이한 점은 k=2, 즉 NC channel에서는 j=0,1,2,3의 경우 w=1 j=4,5의 경우 w=0 => NC channel의 경우 nu의 flavor가 바뀔 수 없음을 나타내는 것으로 추정 Rec E True E

GetPredictions (without systematics) ApplyOscillations 이후, raw1ReOsc[i][j][k] => pred1Re[i][j][k] raw1RmuOsc[i][j][k] => pred1Rmu[i][j][k] 2-D hist. (Y축(recE)으로 projection) 1-D hist. pred1Re[0][j][k] => hists1Re[0] pred1Re[1][j][k] => hists1Re[1] pred1Rmu[0][j][k] => hists1Rmu[0] pred1Rmu[1][j][k] => hists1Rmu[1] 1-D hist. (각 6(j)*3(k)=18개 hist. 모두 더함.) 1-D hist. Rec E True E Χ 2

Systemactic Param. Type Systematic parameter type - 0 : reconstructed E - 1 : true E - 2 : energy scale - 3 : matter density 0, 1은 GetPredictions의 raw1ReOsc[i][j][k] raw1RmuOsc[i][j][k] 에서 보정 2는 GetPredictions의 hists1Re[i] hists1Rmu[i] 에서 보정 3은 ApplyOscillations의 “ProbWrapper” class 내에서 osc. prob. weight를 계산할 때 보정되는 것으로 추정 현재 “1 : true E” type의 param.는 없음.

GetPredictions (with systematics) Type 0, 1 correction ApplyOscillations 이후, raw1ReOsc[i][j][k] => pred1Re[i][j][k] raw1RmuOsc[i][j][k] => pred1Rmu[i][j][k] 2-D hist. (Y축(recE)으로 projection) 1-D hist. pred1Re[0][j][k] => hists1Re[0] pred1Re[1][j][k] => hists1Re[1] pred1Rmu[0][j][k] => hists1Rmu[0] pred1Rmu[1][j][k] => hists1Rmu[1] 1-D hist. (각 6(j)*3(k)=18개 hist. 모두 더함.) 1-D hist. Rec E True E Type 2 correction Χ 2

Rec E systematics ApplyOscillations 이후, raw1ReOsc[i][j][k] raw1RmuOsc[i][j][k] 의 y축 each bin에 systematic param.마다 random generation된 value를 곱해서 보정 (단, 각 systematic param.가 적용되는 Emin~Emax에 해당하는 bin만 보정) Rec E True E E max E min

Energy scale systematics 1-D hist. hists1Re[i](이하 hist)을 energy scale systematics로 보정하는 과정(escale은 random generation된 energy scale param. value) 1) l : hist의 bin index일 때, X축 : hist의 lth bin center value * escale Y축 : hist의 lth bin content value / ( hist의 lth bin width * escale) => 단위 rec E 당 event(content) 밀도를 의미하는 것으로 추정 로 하는 graph를 만든다.( 즉, graph의 # of point는 hist의 빈수와 같음) 2) graph에서 interpolation을 통해, 기존 hist의 lth bin center value가 x축 에 대응되는 point를 찾아, 그 point의 y축에 대응되는 단위 rec E 당 event 밀도를 구함. 3) 그 밀도 값을 기존 hist의 lth content에 곱해서 reset. 4) 위 2), 3)을 모든 l에 대해 반복. => 즉, hist의 모든 bin에 대해 보정.

1. FluxMode A x B A : osc 전 particle/B : osc 후 particle 2. CCQE 는 signal/CCnQE, NC는 background => hists1Re, hists1Rmu에는 signal, background 둘다 포함 3. CCQE, CCnQE, NC로 나뉘는 channel(xSecMode)는 channel in J-PARK? or channel in detector? => 아직 답변 없음. 4. Systematic param. value를 random generation하는 부분에 대해 공부하는 중.