1.homework_1.C is used for calculating the S/B which satisfies the situation 90% signal events are reserved. 2.homework_2.C is used for calculating the global S/#sqrt{B} 3.homework_3.C is used for fitting the signal based on the single cut point we choosed. 4.homework_4.C is used for showing the evolution about different cut.