Class Particle

java.lang.Object
org.jlab.clas.decay.analysis.Particle
Direct Known Subclasses:
Decay

public class Particle extends Object
Author:
ziegler
  • Field Details Link icon

    • isEBParticle Link icon

      public boolean isEBParticle
    • keepSameIdx Link icon

      public boolean keepSameIdx
    • isTriggerParticle Link icon

      public boolean isTriggerParticle
    • isUsed Link icon

      public boolean isUsed
    • vIndex Link icon

      public int vIndex
    • buffer Link icon

      public double buffer
  • Constructor Details Link icon

    • Particle Link icon

      public Particle(Particle part1)
      Parameters:
      part1 - the particle
    • Particle Link icon

      public Particle()
    • Particle Link icon

      public Particle(double beta, int pid, double upx, double upy, double upz, double vx, double vy, double vz, int charge)
      Parameters:
      beta - the beta from REC bank
      pid - the pid
      upx - the momentum before any vertex correction x-component
      upy - the momentum before any vertex correction y-component
      upz - the momentum before any vertex correction z-component
      vx - the vertex before any vertex correction x-component
      vy - the vertex before any vertex correction y-component
      vz - the vertex before any vertex correction z-component
      charge - the track charge
    • Particle Link icon

      public Particle(double energy, double beta, double upx, double upy, double upz, double vx, double vy, double vz, int charge)
      Parameters:
      energy - the neutral energy
      beta - the beta from REC bank
      upx - the momentum before any vertex correction x-component
      upy - the momentum before any vertex correction y-component
      upz - the momentum before any vertex correction z-component
      vx - the vertex before any vertex correction x-component
      vy - the vertex before any vertex correction y-component
      vz - the vertex before any vertex correction z-component
      charge - the track charge
    • Particle Link icon

      public Particle(int idx, int pid, double e, double px, double py, double pz, double emc, double erec, double upx, double upy, double upz, double vx, double vy, double vz, int charge, double mass, int[] ndau, int dau1idx, int dau2idx, int dau3idx)
  • Method Details Link icon

    • massConstrE Link icon

      public double massConstrE()
      Returns:
      PDF mass-constrained energy
    • getRecParticle Link icon

      public Particle getRecParticle()
      Returns:
      the recParticle
    • setRecParticle Link icon

      public void setRecParticle(Particle recParticle)
      Parameters:
      recParticle - the recParticle to set
    • getNdau Link icon

      public int[] getNdau()
      Returns:
      the _ndau
    • setNdau Link icon

      public void setNdau(int[] _ndau)
      Parameters:
      _ndau - the _ndau to set
    • getuE Link icon

      public double getuE()
      Returns:
      the _uE
    • setuE Link icon

      public void setuE(double _uE)
      Parameters:
      _uE - the _uE to set
    • getUpx Link icon

      public double getUpx()
      Returns:
      the _upx
    • setUpx Link icon

      public void setUpx(double _upx)
      Parameters:
      _upx - the _upx to set
    • getUpy Link icon

      public double getUpy()
      Returns:
      the _upy
    • setUpy Link icon

      public void setUpy(double _upy)
      Parameters:
      _upy - the _upy to set
    • getUpz Link icon

      public double getUpz()
      Returns:
      the _upz
    • setUpz Link icon

      public void setUpz(double _upz)
      Parameters:
      _upz - the _upz to set
    • getOvx Link icon

      public double getOvx()
      Returns:
      the _uvx
    • setOvx Link icon

      public void setOvx(double _uvx)
      Parameters:
      _uvx - the _uvx to set
    • getOvy Link icon

      public double getOvy()
      Returns:
      the _uvy
    • setOvy Link icon

      public void setOvy(double _uvy)
      Parameters:
      _uvy - the _uvy to set
    • getOvz Link icon

      public double getOvz()
      Returns:
      the _uvz
    • setOvz Link icon

      public void setOvz(double _uvz)
      Parameters:
      _uvz - the _uvz to set
    • getDet Link icon

      public int getDet()
      Returns:
      the _det
    • setDet Link icon

      public void setDet(int _det)
      Parameters:
      _det - the _det to set
    • combine Link icon

      public boolean combine(Particle part1, Particle part2, int pid)
    • combine Link icon

      public boolean combine(Particle part1, Particle part2, int pid, double mLo, double mHi)
    • combine Link icon

      public boolean combine(int q1, double ue1, double e1, double emc1, double v1x, double v1y, double v1z, double p1x, double p1y, double p1z, double up1x, double up1y, double up1z, int q2, double ue2, double e2, double emc2, double v2x, double v2y, double v2z, double p2x, double p2y, double p2z, double up2x, double up2y, double up2z, int pid, double mLo, double mHi)
    • getECM Link icon

      public double getECM()
    • getIdx Link icon

      public int getIdx()
      Returns:
      the _Idx
    • setIdx Link icon

      public void setIdx(int _Idx)
      Parameters:
      _Idx - the _Idx to set
    • getMass Link icon

      public double getMass()
      Returns:
      the _mass
    • setMass Link icon

      public void setMass(double _mass)
      Parameters:
      _mass - the _mass to set
    • getUncormass Link icon

      public double getUncormass()
      Returns:
      the _uncormass
    • setUncormass Link icon

      public void setUncormass(double _uncormass)
      Parameters:
      _uncormass - the _uncormass to set
    • getRecMass Link icon

      public double getRecMass()
      Returns:
      the _mass
    • setRecMass Link icon

      public void setRecMass(double _mass)
      Parameters:
      _recmass - the _mass to set
    • getPid Link icon

      public int getPid()
      Returns:
      the _pid
    • setPid Link icon

      public void setPid(int _pid)
      Parameters:
      _pid - the _pid to set
    • getE Link icon

      public double getE()
      Returns:
      the _E
    • setE Link icon

      public void setE(double _E)
      Parameters:
      _E - the _E to set
    • getMassConstrE Link icon

      public double getMassConstrE()
      Returns:
      the _massConstrE
    • setMassConstrE Link icon

      public void setMassConstrE(double _massConstrE)
      Parameters:
      _massConstrE - the _massConstrE to set
    • getPx Link icon

      public double getPx()
      Returns:
      the _px
    • setPx Link icon

      public void setPx(double _px)
      Parameters:
      _px - the _px to set
    • getPy Link icon

      public double getPy()
      Returns:
      the _py
    • setPy Link icon

      public void setPy(double _py)
      Parameters:
      _py - the _py to set
    • getPz Link icon

      public double getPz()
      Returns:
      the _pz
    • setPz Link icon

      public void setPz(double _pz)
      Parameters:
      _pz - the _pz to set
    • getVx Link icon

      public double getVx()
      Returns:
      the _vx
    • setVx Link icon

      public void setVx(double _vx)
      Parameters:
      _vx - the _vx to set
    • getVy Link icon

      public double getVy()
      Returns:
      the _vy
    • setVy Link icon

      public void setVy(double _vy)
      Parameters:
      _vy - the _vy to set
    • getVz Link icon

      public double getVz()
      Returns:
      the _vz
    • setVz Link icon

      public void setVz(double _vz)
      Parameters:
      _vz - the _vz to set
    • getR Link icon

      public double getR()
      Returns:
      the _r
    • setR Link icon

      public void setR(double _r)
      Parameters:
      _r - the _r to set
    • getP Link icon

      public double getP()
      Returns:
      the _p
    • setP Link icon

      public void setP(double _p)
      Parameters:
      _p - the _p to set
    • getPt Link icon

      public double getPt()
      Returns:
      the _pt
    • setPt Link icon

      public void setPt(double _pt)
      Parameters:
      _pt - the _pt to set
    • getPxcm Link icon

      public double getPxcm()
      Returns:
      the _pxcm
    • setPxcm Link icon

      public void setPxcm(double _pxcm)
      Parameters:
      _pxcm - the _pxcm to set
    • getPycm Link icon

      public double getPycm()
      Returns:
      the _pycm
    • setPycm Link icon

      public void setPycm(double _pycm)
      Parameters:
      _pycm - the _pycm to set
    • getPzcm Link icon

      public double getPzcm()
      Returns:
      the _pzcm
    • setPzcm Link icon

      public void setPzcm(double _pzcm)
      Parameters:
      _pzcm - the _pzcm to set
    • getBeta Link icon

      public double getBeta()
      Returns:
      the _beta
    • setBeta Link icon

      public void setBeta(double _beta)
      Parameters:
      _beta - the _beta to set
    • getCalcBeta Link icon

      public double getCalcBeta()
      Returns:
      the _calcBeta
    • setCalcBeta Link icon

      public void setCalcBeta(double _calcBeta)
      Parameters:
      _calcBeta - the _calcBeta to set
    • getCharge Link icon

      public int getCharge()
      Returns:
      the _charge
    • setCharge Link icon

      public void setCharge(int _charge)
      Parameters:
      _charge - the _charge to set
    • getStatus Link icon

      public int getStatus()
      Returns:
      the _status
    • setStatus Link icon

      public void setStatus(int _status)
      Parameters:
      _status - the _status to set
    • getDaughters Link icon

      public List<Particle> getDaughters()
      Returns:
      the _daughters
    • setDaughters Link icon

      public void setDaughters(List<Particle> _daughters)
      Parameters:
      _daughters - the _daughters to set
    • isFT Link icon

      public boolean isFT()
    • isFD Link icon

      public boolean isFD()
    • isCD Link icon

      public boolean isCD()
    • hasDaughters Link icon

      public boolean hasDaughters()
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object