View Javadoc

1   /*
2    * IDResolutionTables.java
3    *
4    * Created on July 6, 2005, 7:13 PM
5    *
6    * @version "$Id: IDResolutionTables.java,v 1.2 2006/09/08 03:19:45 ngraf Exp $"
7    */
8   
9   package org.lcsim.mc.fast.reconstructedparticle;
10  
11  import org.lcsim.conditions.ConditionsSet;
12  
13  /**
14   *
15   * @author Daniel
16   */
17  public class IDResolutionTables {
18  
19      private double ElectronEff;
20      private double MuonEff;
21      private double ProtonEff;
22      private double KaonEff;
23      private double NeutronEff;
24      private double WtChgTrkCal;
25  
26      /** Creates a new instance of IDResolutionTables */
27      IDResolutionTables(ConditionsSet set) {
28          ElectronEff = set.getDouble("Electron");
29          MuonEff = set.getDouble("Muon");
30          ProtonEff = set.getDouble("Proton");
31          KaonEff = set.getDouble("Kaon");
32          NeutronEff = set.getDouble("Neutron");
33          WtChgTrkCal = set.getDouble("wt_charged_track_calorimeter_energy");
34      }
35  
36      public double getElectronEff() {
37          return ElectronEff;
38      }
39  
40      public double getMuonEff() {
41          return MuonEff;
42      }
43  
44      public double getProtonEff() {
45          return ProtonEff;
46      }
47  
48      public double getKaonEff() {
49          return KaonEff;
50      }
51  
52      public double getNeutronEff() {
53          return NeutronEff;
54      }
55  
56      public double getWtChgTrkCal() {
57          return WtChgTrkCal;
58      }
59  }