hep.ilc.marlin.adapter.lcio
Class MCParticleAdapter

java.lang.Object
  extended by hep.ilc.marlin.jni.LCObject
      extended by hep.ilc.marlin.jni.MCParticle
          extended by hep.ilc.marlin.adapter.lcio.MCParticleAdapter

public class MCParticleAdapter
extends MCParticle


Field Summary
 
Fields inherited from class hep.ilc.marlin.jni.MCParticle
BITBackscatter, BITCreatedInSimulation, BITDecayedInCalorimeter, BITDecayedInTracker, BITEndpoint, BITLeftDetector, BITStopped, BITVertexIsNotEndpointOfParent
 
Fields inherited from class hep.ilc.marlin.jni.LCObject
swigCMemOwn
 
Constructor Summary
MCParticleAdapter(hep.lcio.event.MCParticle o)
           
 
Method Summary
 LCObject clone()
           
 float getCharge()
           
 MCParticle getDaughter(int i)
           
 MCParticleVector getDaughters()
           
 double[] getEndpoint()
           
 double getEnergy()
           
 int getGeneratorStatus()
           
 double getMass()
           
 double[] getMomentum()
           
 int getNumberOfDaughters()
           
 int getNumberOfParents()
           
 MCParticle getParent(int i)
           
 MCParticleVector getParents()
           
 int getPDG()
           
 int getSimulatorStatus()
           
 float getTime()
           
 double[] getVertex()
           
 boolean hasLeftDetector()
           
 int id()
           
 boolean isBackscatter()
           
 boolean isCreatedInSimulation()
           
 boolean isDecayedInCalorimeter()
           
 boolean isDecayedInTracker()
           
 boolean isStopped()
           
 boolean vertexIsNotEndpointOfParent()
           
 
Methods inherited from class hep.ilc.marlin.jni.MCParticle
delete, equals, finalize, getCPtr, hashCode, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership
 
Methods inherited from class hep.ilc.marlin.jni.LCObject
getCPtr
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCParticleAdapter

public MCParticleAdapter(hep.lcio.event.MCParticle o)
Method Detail

id

public int id()

clone

public LCObject clone()
Overrides:
clone in class Object

getEnergy

public double getEnergy()
Overrides:
getEnergy in class MCParticle

getParents

public MCParticleVector getParents()
Overrides:
getParents in class MCParticle

getDaughters

public MCParticleVector getDaughters()
Overrides:
getDaughters in class MCParticle

getNumberOfParents

public int getNumberOfParents()
Overrides:
getNumberOfParents in class MCParticle

getParent

public MCParticle getParent(int i)
Overrides:
getParent in class MCParticle

getPDG

public int getPDG()
Overrides:
getPDG in class MCParticle

getGeneratorStatus

public int getGeneratorStatus()
Overrides:
getGeneratorStatus in class MCParticle

getSimulatorStatus

public int getSimulatorStatus()
Overrides:
getSimulatorStatus in class MCParticle

isCreatedInSimulation

public boolean isCreatedInSimulation()
Overrides:
isCreatedInSimulation in class MCParticle

isBackscatter

public boolean isBackscatter()
Overrides:
isBackscatter in class MCParticle

vertexIsNotEndpointOfParent

public boolean vertexIsNotEndpointOfParent()
Overrides:
vertexIsNotEndpointOfParent in class MCParticle

isDecayedInTracker

public boolean isDecayedInTracker()
Overrides:
isDecayedInTracker in class MCParticle

isDecayedInCalorimeter

public boolean isDecayedInCalorimeter()
Overrides:
isDecayedInCalorimeter in class MCParticle

hasLeftDetector

public boolean hasLeftDetector()
Overrides:
hasLeftDetector in class MCParticle

isStopped

public boolean isStopped()
Overrides:
isStopped in class MCParticle

getVertex

public double[] getVertex()
Overrides:
getVertex in class MCParticle

getTime

public float getTime()
Overrides:
getTime in class MCParticle

getEndpoint

public double[] getEndpoint()
Overrides:
getEndpoint in class MCParticle

getMomentum

public double[] getMomentum()
Overrides:
getMomentum in class MCParticle

getMass

public double getMass()
Overrides:
getMass in class MCParticle

getCharge

public float getCharge()
Overrides:
getCharge in class MCParticle

getNumberOfDaughters

public int getNumberOfDaughters()
Overrides:
getNumberOfDaughters in class MCParticle

getDaughter

public MCParticle getDaughter(int i)
Overrides:
getDaughter in class MCParticle


Copyright © 2000-2007 FreeHEP. All Rights Reserved.