Package org.jlab.clas.decay.analysis
Class Particle
java.lang.Object
org.jlab.clas.decay.analysis.Particle
- Direct Known Subclasses:
- Decay
- Author:
- ziegler
- 
Field SummaryFieldsModifier and TypeFieldDescriptiondoublebooleanbooleanbooleanbooleanint
- 
Constructor SummaryConstructorsConstructorDescriptionParticle()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 SummaryModifier 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- 
isEBParticlepublic boolean isEBParticle
- 
keepSameIdxpublic boolean keepSameIdx
- 
isTriggerParticlepublic boolean isTriggerParticle
- 
isUsedpublic boolean isUsed
- 
vIndexpublic int vIndex
- 
bufferpublic double buffer
 
- 
- 
Constructor Details- 
Particle- Parameters:
- part1- the particle
 
- 
Particlepublic Particle()
- 
Particlepublic 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
 
- 
Particlepublic 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
 
- 
Particlepublic 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- 
massConstrEpublic double massConstrE()- Returns:
- PDF mass-constrained energy
 
- 
getRecParticle- Returns:
- the recParticle
 
- 
setRecParticle- Parameters:
- recParticle- the recParticle to set
 
- 
getNdaupublic int[] getNdau()- Returns:
- the _ndau
 
- 
setNdaupublic void setNdau(int[] _ndau) - Parameters:
- _ndau- the _ndau to set
 
- 
getuEpublic double getuE()- Returns:
- the _uE
 
- 
setuEpublic void setuE(double _uE) - Parameters:
- _uE- the _uE to set
 
- 
getUpxpublic double getUpx()- Returns:
- the _upx
 
- 
setUpxpublic void setUpx(double _upx) - Parameters:
- _upx- the _upx to set
 
- 
getUpypublic double getUpy()- Returns:
- the _upy
 
- 
setUpypublic void setUpy(double _upy) - Parameters:
- _upy- the _upy to set
 
- 
getUpzpublic double getUpz()- Returns:
- the _upz
 
- 
setUpzpublic void setUpz(double _upz) - Parameters:
- _upz- the _upz to set
 
- 
getOvxpublic double getOvx()- Returns:
- the _uvx
 
- 
setOvxpublic void setOvx(double _uvx) - Parameters:
- _uvx- the _uvx to set
 
- 
getOvypublic double getOvy()- Returns:
- the _uvy
 
- 
setOvypublic void setOvy(double _uvy) - Parameters:
- _uvy- the _uvy to set
 
- 
getOvzpublic double getOvz()- Returns:
- the _uvz
 
- 
setOvzpublic void setOvz(double _uvz) - Parameters:
- _uvz- the _uvz to set
 
- 
getDetpublic int getDet()- Returns:
- the _det
 
- 
setDetpublic void setDet(int _det) - Parameters:
- _det- the _det to set
 
- 
combine
- 
combine
- 
combinepublic 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) 
- 
getECMpublic double getECM()
- 
getIdxpublic int getIdx()- Returns:
- the _Idx
 
- 
setIdxpublic void setIdx(int _Idx) - Parameters:
- _Idx- the _Idx to set
 
- 
getMasspublic double getMass()- Returns:
- the _mass
 
- 
setMasspublic void setMass(double _mass) - Parameters:
- _mass- the _mass to set
 
- 
getUncormasspublic double getUncormass()- Returns:
- the _uncormass
 
- 
setUncormasspublic void setUncormass(double _uncormass) - Parameters:
- _uncormass- the _uncormass to set
 
- 
getRecMasspublic double getRecMass()- Returns:
- the _mass
 
- 
setRecMasspublic void setRecMass(double _mass) - Parameters:
- _recmass- the _mass to set
 
- 
getPidpublic int getPid()- Returns:
- the _pid
 
- 
setPidpublic void setPid(int _pid) - Parameters:
- _pid- the _pid to set
 
- 
getEpublic double getE()- Returns:
- the _E
 
- 
setEpublic void setE(double _E) - Parameters:
- _E- the _E to set
 
- 
getMassConstrEpublic double getMassConstrE()- Returns:
- the _massConstrE
 
- 
setMassConstrEpublic void setMassConstrE(double _massConstrE) - Parameters:
- _massConstrE- the _massConstrE to set
 
- 
getPxpublic double getPx()- Returns:
- the _px
 
- 
setPxpublic void setPx(double _px) - Parameters:
- _px- the _px to set
 
- 
getPypublic double getPy()- Returns:
- the _py
 
- 
setPypublic void setPy(double _py) - Parameters:
- _py- the _py to set
 
- 
getPzpublic double getPz()- Returns:
- the _pz
 
- 
setPzpublic void setPz(double _pz) - Parameters:
- _pz- the _pz to set
 
- 
getVxpublic double getVx()- Returns:
- the _vx
 
- 
setVxpublic void setVx(double _vx) - Parameters:
- _vx- the _vx to set
 
- 
getVypublic double getVy()- Returns:
- the _vy
 
- 
setVypublic void setVy(double _vy) - Parameters:
- _vy- the _vy to set
 
- 
getVzpublic double getVz()- Returns:
- the _vz
 
- 
setVzpublic void setVz(double _vz) - Parameters:
- _vz- the _vz to set
 
- 
getRpublic double getR()- Returns:
- the _r
 
- 
setRpublic void setR(double _r) - Parameters:
- _r- the _r to set
 
- 
getPpublic double getP()- Returns:
- the _p
 
- 
setPpublic void setP(double _p) - Parameters:
- _p- the _p to set
 
- 
getPtpublic double getPt()- Returns:
- the _pt
 
- 
setPtpublic void setPt(double _pt) - Parameters:
- _pt- the _pt to set
 
- 
getPxcmpublic double getPxcm()- Returns:
- the _pxcm
 
- 
setPxcmpublic void setPxcm(double _pxcm) - Parameters:
- _pxcm- the _pxcm to set
 
- 
getPycmpublic double getPycm()- Returns:
- the _pycm
 
- 
setPycmpublic void setPycm(double _pycm) - Parameters:
- _pycm- the _pycm to set
 
- 
getPzcmpublic double getPzcm()- Returns:
- the _pzcm
 
- 
setPzcmpublic void setPzcm(double _pzcm) - Parameters:
- _pzcm- the _pzcm to set
 
- 
getBetapublic double getBeta()- Returns:
- the _beta
 
- 
setBetapublic void setBeta(double _beta) - Parameters:
- _beta- the _beta to set
 
- 
getCalcBetapublic double getCalcBeta()- Returns:
- the _calcBeta
 
- 
setCalcBetapublic void setCalcBeta(double _calcBeta) - Parameters:
- _calcBeta- the _calcBeta to set
 
- 
getChargepublic int getCharge()- Returns:
- the _charge
 
- 
setChargepublic void setCharge(int _charge) - Parameters:
- _charge- the _charge to set
 
- 
getStatuspublic int getStatus()- Returns:
- the _status
 
- 
setStatuspublic void setStatus(int _status) - Parameters:
- _status- the _status to set
 
- 
getDaughters- Returns:
- the _daughters
 
- 
setDaughters- Parameters:
- _daughters- the _daughters to set
 
- 
isFTpublic boolean isFT()
- 
isFDpublic boolean isFD()
- 
isCDpublic boolean isCD()
- 
hasDaughterspublic boolean hasDaughters()
- 
toString
 
-