1 package org.lcsim.event.base;
2
3
4
5
6
7 import org.lcsim.event.ParticleID;
8
9 public class CheatParticleID implements ParticleID
10 {
11 int pdg;
12
13 public CheatParticleID(int id)
14 {
15 pdg = id;
16 }
17
18
19 public int getType()
20 {
21 return 0;
22 }
23
24
25
26 public int getPDG()
27 {
28 return pdg;
29 }
30
31
32
33 public double getLikelihood()
34 {
35 return 0.;
36 }
37
38
39
40
41 public int getAlgorithmType()
42 {
43 return 0;
44 }
45
46
47
48
49 public double[] getParameters()
50 {
51 double[] result = new double[1];
52 result[0] = 0.;
53 return result;
54 }
55
56 }