lcsim/src/org/lcsim/contrib/timb/mc/fast/reconstructedparticle
diff -N IDResolutionTables.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ IDResolutionTables.java 26 May 2006 07:21:49 -0000 1.1
@@ -0,0 +1,68 @@
+/*
+ * IDResolutionTables.java
+ *
+ * Created on July 6, 2005, 7:13 PM
+ *
+ * To change this template, choose Tools | Options and locate the template under
+ * the Source Creation and Management node. Right-click the template and choose
+ * Open. You can then make changes to the template in the Source Editor.
+ */
+
+package org.lcsim.mc.fast.reconstructedparticle;
+
+import org.lcsim.conditions.ConditionsSet;
+
+/**
+ *
+ * @author Daniel
+ */
+public class IDResolutionTables {
+
+ private double ElectronEff;
+ private double MuonEff;
+ private double ProtonEff;
+ private double KaonEff;
+ private double NeutronEff;
+ private double WtChgTrkCal;
+
+ /** Creates a new instance of IDResolutionTables */
+ IDResolutionTables(ConditionsSet set)
+ {
+ ElectronEff = set.getDouble("Electron");
+ MuonEff = set.getDouble("Muon");
+ ProtonEff = set.getDouble("Proton");
+ KaonEff = set.getDouble("Kaon");
+ NeutronEff = set.getDouble("Neutron");
+ WtChgTrkCal = set.getDouble("wt_charged_track_calorimeter_energy");
+ }
+
+ public double getElectronEff()
+ {
+ return ElectronEff;
+ }
+
+ public double getMuonEff()
+ {
+ return MuonEff;
+ }
+
+ public double getProtonEff()
+ {
+ return ProtonEff;
+ }
+
+ public double getKaonEff()
+ {
+ return KaonEff;
+ }
+
+ public double getNeutronEff()
+ {
+ return NeutronEff;
+ }
+
+ public double getWtChgTrkCal()
+ {
+ return WtChgTrkCal;
+ }
+}