Class Particle
java.lang.Object
org.jlab.clas.decay.analysis.Particle
- Direct Known Subclasses:
Decay
- Author:
- ziegler
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoublebooleanbooleanbooleanbooleanint -
Constructor Summary
ConstructorsConstructorDescriptionParticle()Particle(double energy, double beta, double upx, double upy, double upz, double vx, double vy, double vz, int charge) Particle(double beta, int pid, double upx, double upy, double upz, double vx, double vy, double vz, int charge) 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 Summary
Modifier and TypeMethodDescriptionbooleancombine(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) booleanbooleandoublegetBeta()doubleintintgetDet()doublegetE()doublegetECM()intgetIdx()doublegetMass()doubleint[]getNdau()doublegetOvx()doublegetOvy()doublegetOvz()doublegetP()intgetPid()doublegetPt()doublegetPx()doublegetPxcm()doublegetPy()doublegetPycm()doublegetPz()doublegetPzcm()doublegetR()doubleintdoublegetuE()doubledoublegetUpx()doublegetUpy()doublegetUpz()doublegetVx()doublegetVy()doublegetVz()booleanbooleanisCD()booleanisFD()booleanisFT()doublevoidsetBeta(double _beta) voidsetCalcBeta(double _calcBeta) voidsetCharge(int _charge) voidsetDaughters(List<Particle> _daughters) voidsetDet(int _det) voidsetE(double _E) voidsetIdx(int _Idx) voidsetMass(double _mass) voidsetMassConstrE(double _massConstrE) voidsetNdau(int[] _ndau) voidsetOvx(double _uvx) voidsetOvy(double _uvy) voidsetOvz(double _uvz) voidsetP(double _p) voidsetPid(int _pid) voidsetPt(double _pt) voidsetPx(double _px) voidsetPxcm(double _pxcm) voidsetPy(double _py) voidsetPycm(double _pycm) voidsetPz(double _pz) voidsetPzcm(double _pzcm) voidsetR(double _r) voidsetRecMass(double _mass) voidsetRecParticle(Particle recParticle) voidsetStatus(int _status) voidsetuE(double _uE) voidsetUncormass(double _uncormass) voidsetUpx(double _upx) voidsetUpy(double _upy) voidsetUpz(double _upz) voidsetVx(double _vx) voidsetVy(double _vy) voidsetVz(double _vz) toString()
-
Field Details
-
isEBParticle
public boolean isEBParticle -
keepSameIdx
public boolean keepSameIdx -
isTriggerParticle
public boolean isTriggerParticle -
isUsed
public boolean isUsed -
vIndex
public int vIndex -
buffer
public double buffer
-
-
Constructor Details
-
Particle
- Parameters:
part1- the particle
-
Particle
public Particle() -
Particle
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 bankpid- the pidupx- the momentum before any vertex correction x-componentupy- the momentum before any vertex correction y-componentupz- the momentum before any vertex correction z-componentvx- the vertex before any vertex correction x-componentvy- the vertex before any vertex correction y-componentvz- the vertex before any vertex correction z-componentcharge- the track charge
-
Particle
public Particle(double energy, double beta, double upx, double upy, double upz, double vx, double vy, double vz, int charge) - Parameters:
energy- the neutral energybeta- the beta from REC bankupx- the momentum before any vertex correction x-componentupy- the momentum before any vertex correction y-componentupz- the momentum before any vertex correction z-componentvx- the vertex before any vertex correction x-componentvy- the vertex before any vertex correction y-componentvz- the vertex before any vertex correction z-componentcharge- the track charge
-
Particle
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
-
massConstrE
public double massConstrE()- Returns:
- PDF mass-constrained energy
-
getRecParticle
- Returns:
- the recParticle
-
setRecParticle
- Parameters:
recParticle- the recParticle to set
-
getNdau
public int[] getNdau()- Returns:
- the _ndau
-
setNdau
public void setNdau(int[] _ndau) - Parameters:
_ndau- the _ndau to set
-
getuE
public double getuE()- Returns:
- the _uE
-
setuE
public void setuE(double _uE) - Parameters:
_uE- the _uE to set
-
getUpx
public double getUpx()- Returns:
- the _upx
-
setUpx
public void setUpx(double _upx) - Parameters:
_upx- the _upx to set
-
getUpy
public double getUpy()- Returns:
- the _upy
-
setUpy
public void setUpy(double _upy) - Parameters:
_upy- the _upy to set
-
getUpz
public double getUpz()- Returns:
- the _upz
-
setUpz
public void setUpz(double _upz) - Parameters:
_upz- the _upz to set
-
getOvx
public double getOvx()- Returns:
- the _uvx
-
setOvx
public void setOvx(double _uvx) - Parameters:
_uvx- the _uvx to set
-
getOvy
public double getOvy()- Returns:
- the _uvy
-
setOvy
public void setOvy(double _uvy) - Parameters:
_uvy- the _uvy to set
-
getOvz
public double getOvz()- Returns:
- the _uvz
-
setOvz
public void setOvz(double _uvz) - Parameters:
_uvz- the _uvz to set
-
getDet
public int getDet()- Returns:
- the _det
-
setDet
public void setDet(int _det) - Parameters:
_det- the _det to set
-
combine
-
combine
-
combine
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
public double getECM() -
getIdx
public int getIdx()- Returns:
- the _Idx
-
setIdx
public void setIdx(int _Idx) - Parameters:
_Idx- the _Idx to set
-
getMass
public double getMass()- Returns:
- the _mass
-
setMass
public void setMass(double _mass) - Parameters:
_mass- the _mass to set
-
getUncormass
public double getUncormass()- Returns:
- the _uncormass
-
setUncormass
public void setUncormass(double _uncormass) - Parameters:
_uncormass- the _uncormass to set
-
getRecMass
public double getRecMass()- Returns:
- the _mass
-
setRecMass
public void setRecMass(double _mass) - Parameters:
_recmass- the _mass to set
-
getPid
public int getPid()- Returns:
- the _pid
-
setPid
public void setPid(int _pid) - Parameters:
_pid- the _pid to set
-
getE
public double getE()- Returns:
- the _E
-
setE
public void setE(double _E) - Parameters:
_E- the _E to set
-
getMassConstrE
public double getMassConstrE()- Returns:
- the _massConstrE
-
setMassConstrE
public void setMassConstrE(double _massConstrE) - Parameters:
_massConstrE- the _massConstrE to set
-
getPx
public double getPx()- Returns:
- the _px
-
setPx
public void setPx(double _px) - Parameters:
_px- the _px to set
-
getPy
public double getPy()- Returns:
- the _py
-
setPy
public void setPy(double _py) - Parameters:
_py- the _py to set
-
getPz
public double getPz()- Returns:
- the _pz
-
setPz
public void setPz(double _pz) - Parameters:
_pz- the _pz to set
-
getVx
public double getVx()- Returns:
- the _vx
-
setVx
public void setVx(double _vx) - Parameters:
_vx- the _vx to set
-
getVy
public double getVy()- Returns:
- the _vy
-
setVy
public void setVy(double _vy) - Parameters:
_vy- the _vy to set
-
getVz
public double getVz()- Returns:
- the _vz
-
setVz
public void setVz(double _vz) - Parameters:
_vz- the _vz to set
-
getR
public double getR()- Returns:
- the _r
-
setR
public void setR(double _r) - Parameters:
_r- the _r to set
-
getP
public double getP()- Returns:
- the _p
-
setP
public void setP(double _p) - Parameters:
_p- the _p to set
-
getPt
public double getPt()- Returns:
- the _pt
-
setPt
public void setPt(double _pt) - Parameters:
_pt- the _pt to set
-
getPxcm
public double getPxcm()- Returns:
- the _pxcm
-
setPxcm
public void setPxcm(double _pxcm) - Parameters:
_pxcm- the _pxcm to set
-
getPycm
public double getPycm()- Returns:
- the _pycm
-
setPycm
public void setPycm(double _pycm) - Parameters:
_pycm- the _pycm to set
-
getPzcm
public double getPzcm()- Returns:
- the _pzcm
-
setPzcm
public void setPzcm(double _pzcm) - Parameters:
_pzcm- the _pzcm to set
-
getBeta
public double getBeta()- Returns:
- the _beta
-
setBeta
public void setBeta(double _beta) - Parameters:
_beta- the _beta to set
-
getCalcBeta
public double getCalcBeta()- Returns:
- the _calcBeta
-
setCalcBeta
public void setCalcBeta(double _calcBeta) - Parameters:
_calcBeta- the _calcBeta to set
-
getCharge
public int getCharge()- Returns:
- the _charge
-
setCharge
public void setCharge(int _charge) - Parameters:
_charge- the _charge to set
-
getStatus
public int getStatus()- Returns:
- the _status
-
setStatus
public void setStatus(int _status) - Parameters:
_status- the _status to set
-
getDaughters
-
setDaughters
-
isFT
public boolean isFT() -
isFD
public boolean isFD() -
isCD
public boolean isCD() -
hasDaughters
public boolean hasDaughters() -
toString
-