Skip to content
Snippets Groups Projects
Commit 5c471c8e authored by Alexey Boldyrev's avatar Alexey Boldyrev
Browse files

Merge remote-tracking branch 'origin/SimpleGeometry' into SimpleGeometry

parents df115a74 73ca9fe0
Branches SimpleGeometry
Tags
1 merge request!1Simple geometry
......@@ -26,8 +26,8 @@ void pi0mass_SimpleRes(const char* filename) {
//Double_t x_i, y_i, z_i, x_t, y_t, z_t;
//Double_t theta, thetaX_i, thetaX_t, thetaY_i, thetaY_t;
Double_t alpha = 0.1 * 1E-3; // Default: 0.1
Double_t beta = 0.01 * 1E-3; // Default: 0.01
Double_t alpha = 0.1; // Default: 0.1
Double_t beta = 0.01; // Default: 0.01
Double_t factor = alpha*TMath::Sqrt(1000/(1+beta*beta));
......@@ -92,6 +92,10 @@ void pi0mass_SimpleRes(const char* filename) {
p_t = p_i;
//px_t = px_i;
//py_t = py_i;
//pz_t = pz_i;
px_t = xRec_i - xGen_i;
py_t = yRec_i - yGen_i;
pz_t = zRec_i - zGen_i;
......@@ -166,6 +170,7 @@ void pi0mass_SimpleRes(const char* filename) {
//if (M > Mmin && M < Mmax){
hM->Fill(M);
//}
break;
}
}
//hM->Draw();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment