Package org.jlab.service.recoil
Class RecoilStrip
java.lang.Object
org.jlab.service.recoil.RecoilStrip
- All Implemented Interfaces:
Comparable
recoil strip, defined based on ADC bank information and 3D line provided
by the geometry service
- Author:
- bondi, devita, niccolai
-
Constructor Summary
ConstructorsConstructorDescriptionRecoilStrip(int sector, int layer, int component) RecoilStrip(int sector, int layer, int component, int ADC, int TDC) -
Method Summary
Modifier and TypeMethodDescriptionintintgetADC()intintdoubleintgetId()intgetLayer()getLine()intintstatic List<RecoilStrip>getStrips(DataEvent event, RecoilStripFactory factory, ConstantsManager ccdb) intgetTDC()doublegetTime()booleanisInTime(RecoilStrip strip) booleanisNeighbour(RecoilStrip strip) voidsetADC(int ADC) voidsetChamber(int chamber) voidsetClusterId(int clusterId) voidvoidsetEnergy(double energy) voidsetId(int id) voidvoidsetStatus(int status) voidsetTDC(int TDC) voidsetTime(double time) toString()
-
Constructor Details
-
RecoilStrip
public RecoilStrip(int sector, int layer, int component) -
RecoilStrip
public RecoilStrip(int sector, int layer, int component, int ADC, int TDC)
-
-
Method Details
-
getDescriptor
-
setDescriptor
-
getSector
public int getSector() -
getLayer
public int getLayer() -
getChamber
public int getChamber() -
setChamber
public void setChamber(int chamber) -
getADC
public int getADC() -
setADC
public void setADC(int ADC) -
getTDC
public int getTDC() -
setTDC
public void setTDC(int TDC) -
getId
public int getId() -
setId
public void setId(int id) -
getClusterId
public int getClusterId() -
setClusterId
public void setClusterId(int clusterId) -
getLine
-
setLine
-
getEnergy
public double getEnergy() -
setEnergy
public void setEnergy(double energy) -
getTime
public double getTime() -
setTime
public void setTime(double time) -
getStatus
public int getStatus() -
setStatus
public void setStatus(int status) -
isNeighbour
-
isInTime
-
compareTo
- Specified by:
compareToin interfaceComparable
-
getStrips
public static List<RecoilStrip> getStrips(DataEvent event, RecoilStripFactory factory, ConstantsManager ccdb) -
toString
-