Skip to content
Snippets Groups Projects
Commit 902c48e1 authored by Scott Snyder's avatar Scott Snyder Committed by scott snyder
Browse files

HadronicRecoilData: Comply with ATLAS naming conventions.

Local variables should not start with m_.
parent f7f5a0d7
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ namespace HadronicRecoil {
double phi = 999.;
bool hasOverlap = true;
TRandom3 m_rnd(seed);
TRandom3 rnd(seed);
int nloops = 0;
......@@ -34,10 +34,10 @@ namespace HadronicRecoil {
}
// Phi is generated randomly
phi = m_rnd.Uniform( -(M_PI-radius/2.), M_PI-radius/2.);
phi = rnd.Uniform( -(M_PI-radius/2.), M_PI-radius/2.);
// Eta sign
if( m_rnd.Uniform(-1 , 1) < 0 ){
if( rnd.Uniform(-1 , 1) < 0 ){
eta *= -1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment