From 5d6c3a01c9bc793a326b4f8627c4c70ec4714fb8 Mon Sep 17 00:00:00 2001
From: Jamil <jamil@jlab.org>
Date: Thu, 16 May 2013 14:33:32 -0400
Subject: [PATCH] Change nplusminus assignment

---
 src/THcDriftChamber.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/THcDriftChamber.cxx b/src/THcDriftChamber.cxx
index 59312b7..f82632c 100644
--- a/src/THcDriftChamber.cxx
+++ b/src/THcDriftChamber.cxx
@@ -882,7 +882,7 @@ void THcDriftChamber::LeftRight()
       cout << "THcDriftChamber::LeftRight: numhits-2 = 0" << endl;
     }
     Int_t nplaneshit = Count1Bits(bitpat);
-    Int_t nplusminus = pow(2,nhits-2);
+    Int_t nplusminus = 1<<(nhits-2);
     
     // Use bit value of integer word to set + or -
     // Loop over all combinations of left right.
-- 
GitLab