test_class.file: common-tools/clas-physics/src/test/java/org/jlab/clas/physics/ParticleTest.java
test_class.identifier: ParticleTest
test_case.body: @Test
  	public void testParticle() {
  		Particle p = new Particle(11, 0.0, 0.0, 11.0, 0.0, 0.0, 0.0);
  		assertEquals(p.mass(), 0.0005, 1e-4);
  		assertEquals(p.mass2(), 0.0005*0.0005, 1e-4);
  		assertEquals(p.charge(), -1);
  		assertEquals(p.px(), 0.0, 1e-6);
  		assertEquals(p.py(), 0.0, 1e-6);
  		assertEquals(p.pz(), 11.0, 1e-6);
  		assertEquals(p.p(), 11.0, 1e-6);
  		assertEquals(p.theta(), 0.0, 1e-6);
  		assertEquals(p.vertex().x(), 0.0, 1e-6);
  		assertEquals(p.vertex().y(), 0.0, 1e-6);
  		assertEquals(p.vertex().z(), 0.0, 1e-6);
  		assertEquals(p.vx(), 0.0, 1e-6);
  		assertEquals(p.vy(), 0.0, 1e-6);
  		assertEquals(p.vz(), 0.0, 1e-6);
  
  		Particle p2 = new Particle(p);
  		assertEquals(p2.mass(), 0.0005, 1e-4);
  		assertEquals(p2.mass2(), 0.0005*0.0005, 1e-4);
  		assertEquals(p2.charge(), -1);
  		assertEquals(p2.px(), 0.0, 1e-6);
  		assertEquals(p2.py(), 0.0, 1e-6);
  		assertEquals(p2.pz(), 11.0, 1e-6);
  		assertEquals(p2.p(), 11.0, 1e-6);
  		assertEquals(p2.theta(), 0.0, 1e-6);
  		assertEquals(p2.vertex().x(), 0.0, 1e-6);
  		assertEquals(p2.vertex().y(), 0.0, 1e-6);
  		assertEquals(p2.vertex().z(), 0.0, 1e-6);
  		assertEquals(p2.vx(), 0.0, 1e-6);
  		assertEquals(p2.vy(), 0.0, 1e-6);
  		assertEquals(p2.vz(), 0.0, 1e-6);
  	}
test_case.class_method_signature: ParticleTest.testParticle()
test_case.full_signature: @Test public void testParticle()
test_case.identifier: testParticle
test_case.invocations: assertEquals mass assertEquals mass2 assertEquals charge assertEquals px assertEquals py assertEquals pz assertEquals p assertEquals theta assertEquals x vertex assertEquals y vertex assertEquals z vertex assertEquals vx assertEquals vy assertEquals vz assertEquals mass assertEquals mass2 assertEquals charge assertEquals px assertEquals py assertEquals pz assertEquals p assertEquals theta assertEquals x vertex assertEquals y vertex assertEquals z vertex assertEquals vx assertEquals vy assertEquals vz
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testParticle()
focal_class.declarator: partVector
focal_class.original_string: LorentzVector partVector;
focal_class.type: LorentzVector
focal_class.var_name: partVector
focal_class.declarator: partVertex
focal_class.original_string: Vector3 partVertex;
focal_class.type: Vector3
focal_class.var_name: partVertex
focal_class.declarator: particleID
focal_class.original_string: int particleID;
focal_class.type: int
focal_class.var_name: particleID
focal_class.declarator: particleGeantID
focal_class.original_string: int particleGeantID;
focal_class.type: int
focal_class.var_name: particleGeantID
focal_class.declarator: particleCharge
focal_class.original_string: byte particleCharge;
focal_class.type: byte
focal_class.var_name: particleCharge
focal_class.declarator: particleProperties
focal_class.original_string: HashMap<String, Double> particleProperties;
focal_class.type: HashMap<String, Double>
focal_class.var_name: particleProperties
focal_class.file: common-tools/clas-physics/src/main/java/org/jlab/clas/physics/Particle.java
focal_class.identifier: Particle
focal_class.class_method_signature: Particle.Particle()
focal_class.full_signature: public  Particle()
focal_class.identifier: Particle
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  Particle()
focal_class.class_method_signature: Particle.Particle(Particle p)
focal_class.full_signature: public  Particle(Particle p)
focal_class.identifier: Particle
focal_class.modifiers: public
focal_class.parameters: (Particle p)
focal_class.signature:  Particle(Particle p)
focal_class.class_method_signature: Particle.Particle(int pid, double px, double py, double pz, double vx, double vy, double vz)
focal_class.full_signature: public  Particle(int pid, double px, double py, double pz, double vx, double vy, double vz)
focal_class.identifier: Particle
focal_class.modifiers: public
focal_class.parameters: (int pid, double px, double py, double pz, double vx, double vy, double vz)
focal_class.signature:  Particle(int pid, double px, double py, double pz, double vx, double vy, double vz)
focal_class.class_method_signature: Particle.Particle(int pid, double px, double py, double pz)
focal_class.full_signature: public  Particle(int pid, double px, double py, double pz)
focal_class.identifier: Particle
focal_class.modifiers: public
focal_class.parameters: (int pid, double px, double py, double pz)
focal_class.signature:  Particle(int pid, double px, double py, double pz)
focal_class.class_method_signature: Particle.Particle(int pid, double mass, byte charge, double px, double py, double pz, double vx, double vy, double vz)
focal_class.full_signature: public  Particle(int pid, double mass, byte charge, double px, double py, double pz, double vx, double vy, double vz)
focal_class.identifier: Particle
focal_class.modifiers: public
focal_class.parameters: (int pid, double mass, byte charge, double px, double py, double pz, double vx, double vy, double vz)
focal_class.signature:  Particle(int pid, double mass, byte charge, double px, double py, double pz, double vx, double vy, double vz)
focal_class.class_method_signature: Particle.createWithMassCharge(double mass, int charge ,double px, double py, double pz, double vx, double vy, double vz)
focal_class.full_signature: public static Particle createWithMassCharge(double mass, int charge ,double px, double py, double pz, double vx, double vy, double vz)
focal_class.identifier: createWithMassCharge
focal_class.modifiers: public static
focal_class.parameters: (double mass, int charge ,double px, double py, double pz, double vx, double vy, double vz)
focal_class.return: Particle
focal_class.signature: Particle createWithMassCharge(double mass, int charge ,double px, double py, double pz, double vx, double vy, double vz)
focal_class.class_method_signature: Particle.createWithPid(int pid ,double px, double py, double pz, double vx, double vy, double vz)
focal_class.full_signature: public static Particle createWithPid(int pid ,double px, double py, double pz, double vx, double vy, double vz)
focal_class.identifier: createWithPid
focal_class.modifiers: public static
focal_class.parameters: (int pid ,double px, double py, double pz, double vx, double vy, double vz)
focal_class.return: Particle
focal_class.signature: Particle createWithPid(int pid ,double px, double py, double pz, double vx, double vy, double vz)
focal_class.class_method_signature: Particle.initParticleWithMass(double mass, double px, double py, double pz, double vx, double vy, double vz)
focal_class.full_signature: public final void initParticleWithMass(double mass, double px, double py, double pz, double vx, double vy, double vz)
focal_class.identifier: initParticleWithMass
focal_class.modifiers: public final
focal_class.parameters: (double mass, double px, double py, double pz, double vx, double vy, double vz)
focal_class.return: void
focal_class.signature: void initParticleWithMass(double mass, double px, double py, double pz, double vx, double vy, double vz)
focal_class.class_method_signature: Particle.initParticle(int pid, double px, double py, double pz, double vx, double vy, double vz)
focal_class.full_signature: public final void initParticle(int pid, double px, double py, double pz, double vx, double vy, double vz)
focal_class.identifier: initParticle
focal_class.modifiers: public final
focal_class.parameters: (int pid, double px, double py, double pz, double vx, double vy, double vz)
focal_class.return: void
focal_class.signature: void initParticle(int pid, double px, double py, double pz, double vx, double vy, double vz)
focal_class.class_method_signature: Particle.setP(double mom)
focal_class.full_signature: public void setP(double mom)
focal_class.identifier: setP
focal_class.modifiers: public
focal_class.parameters: (double mom)
focal_class.return: void
focal_class.signature: void setP(double mom)
focal_class.class_method_signature: Particle.setTheta(double theta)
focal_class.full_signature: public void setTheta(double theta)
focal_class.identifier: setTheta
focal_class.modifiers: public
focal_class.parameters: (double theta)
focal_class.return: void
focal_class.signature: void setTheta(double theta)
focal_class.class_method_signature: Particle.changePid(int pid)
focal_class.full_signature: public void changePid(int pid)
focal_class.identifier: changePid
focal_class.modifiers: public
focal_class.parameters: (int pid)
focal_class.return: void
focal_class.signature: void changePid(int pid)
focal_class.class_method_signature: Particle.setParticleWithMass(double mass, byte charge, double px, double py, double pz, double vx, double vy, double vz)
focal_class.full_signature: public void setParticleWithMass(double mass, byte charge, double px, double py, double pz, double vx, double vy, double vz)
focal_class.identifier: setParticleWithMass
focal_class.modifiers: public
focal_class.parameters: (double mass, byte charge, double px, double py, double pz, double vx, double vy, double vz)
focal_class.return: void
focal_class.signature: void setParticleWithMass(double mass, byte charge, double px, double py, double pz, double vx, double vy, double vz)
focal_class.class_method_signature: Particle.setVector(int pid, double px, double py, double pz, double vx, double vy, double vz)
focal_class.full_signature: public void setVector(int pid, double px, double py, double pz, double vx, double vy, double vz)
focal_class.identifier: setVector
focal_class.modifiers: public
focal_class.parameters: (int pid, double px, double py, double pz, double vx, double vy, double vz)
focal_class.return: void
focal_class.signature: void setVector(int pid, double px, double py, double pz, double vx, double vy, double vz)
focal_class.class_method_signature: Particle.px()
focal_class.full_signature: public double px()
focal_class.identifier: px
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double px()
focal_class.class_method_signature: Particle.py()
focal_class.full_signature: public double py()
focal_class.identifier: py
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double py()
focal_class.class_method_signature: Particle.pz()
focal_class.full_signature: public double pz()
focal_class.identifier: pz
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double pz()
focal_class.class_method_signature: Particle.p()
focal_class.full_signature: public double p()
focal_class.identifier: p
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double p()
focal_class.class_method_signature: Particle.theta()
focal_class.full_signature: public double theta()
focal_class.identifier: theta
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double theta()
focal_class.class_method_signature: Particle.phi()
focal_class.full_signature: public double phi()
focal_class.identifier: phi
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double phi()
focal_class.class_method_signature: Particle.e()
focal_class.full_signature: public double e()
focal_class.identifier: e
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double e()
focal_class.class_method_signature: Particle.vx()
focal_class.full_signature: public double vx()
focal_class.identifier: vx
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double vx()
focal_class.class_method_signature: Particle.vy()
focal_class.full_signature: public double vy()
focal_class.identifier: vy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double vy()
focal_class.class_method_signature: Particle.vz()
focal_class.full_signature: public double vz()
focal_class.identifier: vz
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double vz()
focal_class.class_method_signature: Particle.clearProperties()
focal_class.full_signature: public void clearProperties()
focal_class.identifier: clearProperties
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearProperties()
focal_class.class_method_signature: Particle.setVector(int pid, Vector3 nvect, Vector3 nvert)
focal_class.full_signature: public void setVector(int pid, Vector3 nvect, Vector3 nvert)
focal_class.identifier: setVector
focal_class.modifiers: public
focal_class.parameters: (int pid, Vector3 nvect, Vector3 nvert)
focal_class.return: void
focal_class.signature: void setVector(int pid, Vector3 nvect, Vector3 nvert)
focal_class.class_method_signature: Particle.euclideanDistance(Particle part)
focal_class.full_signature: public double euclideanDistance(Particle part)
focal_class.identifier: euclideanDistance
focal_class.modifiers: public
focal_class.parameters: (Particle part)
focal_class.return: double
focal_class.signature: double euclideanDistance(Particle part)
focal_class.class_method_signature: Particle.cosTheta(Particle part)
focal_class.full_signature: public double cosTheta(Particle part)
focal_class.identifier: cosTheta
focal_class.modifiers: public
focal_class.parameters: (Particle part)
focal_class.return: double
focal_class.signature: double cosTheta(Particle part)
focal_class.class_method_signature: Particle.initParticleWithMassSquare(double mass2, double px, double py, double pz, double vx, double vy, double vz)
focal_class.full_signature:  void initParticleWithMassSquare(double mass2, double px, double py, double pz, double vx, double vy, double vz)
focal_class.identifier: initParticleWithMassSquare
focal_class.parameters: (double mass2, double px, double py, double pz, double vx, double vy, double vz)
focal_class.return: void
focal_class.signature: void initParticleWithMassSquare(double mass2, double px, double py, double pz, double vx, double vy, double vz)
focal_class.class_method_signature: Particle.initParticleWithPidMassSquare(int pid, int charge, double mass2, double px, double py, double pz, double vx, double vy,
  	        double vz)
focal_class.full_signature: public void initParticleWithPidMassSquare(int pid, int charge, double mass2, double px, double py, double pz, double vx, double vy,
  	        double vz)
focal_class.identifier: initParticleWithPidMassSquare
focal_class.modifiers: public
focal_class.parameters: (int pid, int charge, double mass2, double px, double py, double pz, double vx, double vy,
  	        double vz)
focal_class.return: void
focal_class.signature: void initParticleWithPidMassSquare(int pid, int charge, double mass2, double px, double py, double pz, double vx, double vy,
  	        double vz)
focal_class.class_method_signature: Particle.setVector(LorentzVector nvec, Vector3 nvert)
focal_class.full_signature: public void setVector(LorentzVector nvec, Vector3 nvert)
focal_class.identifier: setVector
focal_class.modifiers: public
focal_class.parameters: (LorentzVector nvec, Vector3 nvert)
focal_class.return: void
focal_class.signature: void setVector(LorentzVector nvec, Vector3 nvert)
focal_class.class_method_signature: Particle.mass()
focal_class.full_signature: public double mass()
focal_class.identifier: mass
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double mass()
focal_class.class_method_signature: Particle.mass2()
focal_class.full_signature: public double mass2()
focal_class.identifier: mass2
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double mass2()
focal_class.class_method_signature: Particle.charge()
focal_class.full_signature: public int charge()
focal_class.identifier: charge
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int charge()
focal_class.class_method_signature: Particle.pid()
focal_class.full_signature: public int pid()
focal_class.identifier: pid
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int pid()
focal_class.class_method_signature: Particle.gid()
focal_class.full_signature: public int gid()
focal_class.identifier: gid
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int gid()
focal_class.class_method_signature: Particle.vector()
focal_class.full_signature: public LorentzVector vector()
focal_class.identifier: vector
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: LorentzVector
focal_class.signature: LorentzVector vector()
focal_class.class_method_signature: Particle.vertex()
focal_class.full_signature: public Vector3 vertex()
focal_class.identifier: vertex
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Vector3
focal_class.signature: Vector3 vertex()
focal_class.class_method_signature: Particle.getProperty(String pname)
focal_class.full_signature: public double getProperty(String pname)
focal_class.identifier: getProperty
focal_class.modifiers: public
focal_class.parameters: (String pname)
focal_class.return: double
focal_class.signature: double getProperty(String pname)
focal_class.class_method_signature: Particle.inFrame(Particle parent)
focal_class.full_signature: public Particle inFrame(Particle parent)
focal_class.identifier: inFrame
focal_class.modifiers: public
focal_class.parameters: (Particle parent)
focal_class.return: Particle
focal_class.signature: Particle inFrame(Particle parent)
focal_class.class_method_signature: Particle.get(String pname)
focal_class.full_signature: public double get(String pname)
focal_class.identifier: get
focal_class.modifiers: public
focal_class.parameters: (String pname)
focal_class.return: double
focal_class.signature: double get(String pname)
focal_class.class_method_signature: Particle.hasProperty(String pname)
focal_class.full_signature: public boolean hasProperty(String pname)
focal_class.identifier: hasProperty
focal_class.modifiers: public
focal_class.parameters: (String pname)
focal_class.return: boolean
focal_class.signature: boolean hasProperty(String pname)
focal_class.class_method_signature: Particle.setProperty(String pname, double value)
focal_class.full_signature: public void setProperty(String pname, double value)
focal_class.identifier: setProperty
focal_class.modifiers: public
focal_class.parameters: (String pname, double value)
focal_class.return: void
focal_class.signature: void setProperty(String pname, double value)
focal_class.class_method_signature: Particle.propertyString()
focal_class.full_signature: public String propertyString()
focal_class.identifier: propertyString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String propertyString()
focal_class.class_method_signature: Particle.toLundString()
focal_class.full_signature: public String toLundString()
focal_class.identifier: toLundString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toLundString()
focal_class.class_method_signature: Particle.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: Particle.copyParticle(Particle part)
focal_class.full_signature: public void copyParticle(Particle part)
focal_class.identifier: copyParticle
focal_class.modifiers: public
focal_class.parameters: (Particle part)
focal_class.return: void
focal_class.signature: void copyParticle(Particle part)
focal_class.class_method_signature: Particle.copy(Particle part)
focal_class.full_signature: public void copy(Particle part)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (Particle part)
focal_class.return: void
focal_class.signature: void copy(Particle part)
focal_class.class_method_signature: Particle.combine(Particle cpart, int sign)
focal_class.full_signature: public void combine(Particle cpart, int sign)
focal_class.identifier: combine
focal_class.modifiers: public
focal_class.parameters: (Particle cpart, int sign)
focal_class.return: void
focal_class.signature: void combine(Particle cpart, int sign)
focal_class.class_method_signature: Particle.particleDoca(Particle cpart)
focal_class.full_signature: public Vector3 particleDoca(Particle cpart)
focal_class.identifier: particleDoca
focal_class.modifiers: public
focal_class.parameters: (Particle cpart)
focal_class.return: Vector3
focal_class.signature: Vector3 particleDoca(Particle cpart)
focal_method.body: public Particle() {
  		this.initParticleWithMass(0.0, 0., 0., 0., 0., 0., 0.);
  	}
focal_method.class_method_signature: Particle.Particle()
focal_method.full_signature: public  Particle()
focal_method.identifier: Particle
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.signature:  Particle()