Class DetectorEvent

java.lang.Object
org.jlab.clas.detector.DetectorEvent

public class DetectorEvent extends Object
Author:
gavalian
  • Constructor Details

    • DetectorEvent

      public DetectorEvent()
  • Method Details

    • sort

      public void sort()
    • readDetectorEvent

      public static DetectorEvent readDetectorEvent(org.jlab.io.base.DataEvent event)
    • getEventHeader

      public DetectorHeader getEventHeader()
    • getGeneratedEvent

      public org.jlab.clas.physics.PhysicsEvent getGeneratedEvent()
    • getPhysicsEvent

      public org.jlab.clas.physics.PhysicsEvent getPhysicsEvent()
    • matchedParticle

      public DetectorParticle matchedParticle(int pid, int skip)
    • matchedParticle

      public DetectorParticle matchedParticle(org.jlab.clas.physics.Particle p)
    • clear

      public void clear()
    • addEventHeader

      public void addEventHeader(DetectorHeader eventHeader)
    • addParticle

      public void addParticle(DetectorParticle particle)
    • getParticles

      public List<DetectorParticle> getParticles()
    • getParticle

      public DetectorParticle getParticle(int index)
    • getDetectorResponseList

      public List<DetectorResponse> getDetectorResponseList()
      returns detector response list contained in all the particles. first the association is ran to ensure that all detector responses have proper a
      Returns:
    • getCherenkovResponseList

      public List<DetectorResponse> getCherenkovResponseList()
    • getCalorimeterResponseList

      public List<DetectorResponse> getCalorimeterResponseList()
    • getScintillatorResponseList

      public List<DetectorResponse> getScintillatorResponseList()
    • getTaggerResponseList

      public List<DetectorResponse> getTaggerResponseList()
    • getResponseList

      public List<DetectorResponse> getResponseList(org.jlab.detector.base.DetectorType type)
    • getResponseList

      public List<DetectorResponse> getResponseList(org.jlab.detector.base.DetectorType[] types)
    • getCentralParticles

      public List<DetectorParticle> getCentralParticles()
    • moveUp

      public void moveUp(int index)
    • setAssociation

      public void setAssociation()
    • addParticle

      public void addParticle(double px, double py, double pz, double vx, double vy, double vz)
    • getTriggerParticle

      public DetectorParticle getTriggerParticle()
    • toString

      public String toString()
      Overrides:
      toString in class Object