1/28/2011

Error 误差

delta x=2cm
delta y=2cm
  • if the two uncertainty are independent, the error of
z=x+y
will be
delta z=sqrt(2^2+2^2)=2.8 cm
the mean value of  x and y has an error of 
delta mean=2.8/2=1.4 cm
  • if you suspect the uncertainties may not be independent, the
error will be
delta z=2+2=4 cm
the mean value of  x and y has an error of 
delta mean=4/2=2 cm

1/27/2011

Creat a list of files

//define the variable
ostringstream hname,
                          htitle;
//put the number in the name
hname.str("");
        hname<< "Group_Num=" <
//use the name
c[l] = new TCanvas(hname.str().c_str(),htitle.str().c_str(),200,10,700,500);

Research 1/27/2011

Count the muons with peak searching method and also group them to see if there is correlation with the MC muon numbers

1/24/2011

install .bin file

chmod +x filename.bin
sudo ./filename.bin

1/23/2011

Research 01/23/2011

N_mu= P1/0.063

1 How well does it work in other core distance
2 in Monte Carlo , use the relationship above, plot the Fe primary and Proton primary curve of N_mu with Energy
3 in the future, counting peaks and compare them with real muons number

1/20/2011

Acer netbook windows xp can not boot

title        Windows XP Professional
root        (hd0,1)
savedefault
makeactive
chainloader    +1

The default number is 0, change it to 1 and give it a try

1/19/2011

Set Statistic box position in root

gStyle->SetStatX(0.5); 

gStyle->SetStatY(0.88); 

This is setting the middle point of the statistic box position on the graph, where the 0.5 and 0.88 was the percentage of the length and width of the canvas.

Edit the Places Menu on Ubuntu

Open the file browser, and from the menu it's Bookmarks/Edit Bookmarks

1/17/2011

Research 1/17/2010

1 Find the linear relation of NumMuons with the fitted parameter p1
2 Use Monte Carlo simulation to see what number of muon my relationship give me compare to the real number of muon.
3 Check NumMuon ~  p1 relation, to see if I can loose the restriction on the distance cut and angle cut or the number of stations needed to do jump fit.

1/14/2011

求余数 C++

英文中 余数 叫 reminder
求余数操作 叫 Modulo
Modulo is the operation that gives the remainder of a division of two values。
在c++中是百分号 %
例如:
a=11;
b=3;
c=a%b;
结果时c=2;

1/07/2011

Research 1/7/2011

Do the fit of stations by stations, then do a scatter plot of the number of muons and fitted parameter. give it a try!!!

When calculating the number of electrons, try no cut at all
Try both electron number and both electron and photon numbers.

1/06/2011

Research 1/6/2010

Try to improve jump method fitting

do a KS test to see which one works better

1 collect the jumps as we do before
2 get the muon and electron component out of it
3 try different method to see which one is working better.

1/04/2011

新的一年开始了,加油加油加油!!!

2011是很重要的一年,
将在我的一生中扮演重要的角色,
加油加油加油!!!