Package org.jlab.clas.detector
Class CalorimeterResponse
java.lang.Object
org.jlab.clas.detector.DetectorResponse
org.jlab.clas.detector.CalorimeterResponse
- Author:
- jnewton
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidint[]floatgetSize()static List<DetectorResponse>readHipoEvent(DataEvent event, String bankName, DetectorType type) Read just the main calorimeter cluster bank.static List<DetectorResponse>readHipoEvent(DataEvent event, String bankName, DetectorType type, String momentsBankName) Read the main calorimeter cluster bank and its moments partner bank.static List<DetectorResponse>readHipoEvent(DataEvent event, String bankName, DetectorType type, String momentsBankName, String extrasBankName) Read the main calorimeter cluster bank and its moments and extras partner banks.voidsetCoordUVW(float u, float v, float w) voidsetPeakFADCTime(float u, float v, float w) voidsetPeakStatus(int u, int v, int w) voidsetPeakTDCTime(float u, float v, float w) voidsetRawPeakEnergy(float u, float v, float w) voidsetReconPeakEnergy(float u, float v, float w) voidsetSecondMomentUVW(float u, float v, float w) voidsetSize(float s) voidsetThirdMomentUVW(float u, float v, float w) voidsetWidthUVW(float u, float v, float w) Methods inherited from class org.jlab.clas.detector.DetectorResponseaddAssociation, clearAssociations, copy, getAssociation, getAssociation, getDescriptor, getEnergy, getHitIndex, getListByEnergy, getListByLayer, getListBySector, getListBySectorLayer, getMatchedDistance, getMatchedPosition, getNAssociations, getPath, getPindexMask, getPosition, getSector, getSector, getStatus, getTime, hasAssociation, readHipoEvent, setAssociation, setEnergy, setHitIndex, setMatchPosition, setPath, setPosition, setStatus, setTime, toString
- 
Constructor Details- 
CalorimeterResponsepublic CalorimeterResponse()
- 
CalorimeterResponse
- 
CalorimeterResponsepublic CalorimeterResponse(int sector, int layer, int component) 
 
- 
- 
Method Details- 
copy
- 
setWidthUVWpublic void setWidthUVW(float u, float v, float w) 
- 
setCoordUVWpublic void setCoordUVW(float u, float v, float w) 
- 
setSecondMomentUVWpublic void setSecondMomentUVW(float u, float v, float w) 
- 
setThirdMomentUVWpublic void setThirdMomentUVW(float u, float v, float w) 
- 
getWidthUVW
- 
getCoordUVW
- 
getSecondMomentUVW
- 
getThirdMomentUVW
- 
setPeakStatuspublic void setPeakStatus(int u, int v, int w) 
- 
getPeakStatuspublic int[] getPeakStatus()
- 
getRawPeakEnergy
- 
getReconPeakEnergy
- 
getPeakTDCTime
- 
getPeakFADCTime
- 
setRawPeakEnergypublic void setRawPeakEnergy(float u, float v, float w) 
- 
setReconPeakEnergypublic void setReconPeakEnergy(float u, float v, float w) 
- 
setPeakTDCTimepublic void setPeakTDCTime(float u, float v, float w) 
- 
setPeakFADCTimepublic void setPeakFADCTime(float u, float v, float w) 
- 
setSizepublic void setSize(float s) 
- 
getSizepublic float getSize()
- 
readHipoEventpublic static List<DetectorResponse> readHipoEvent(DataEvent event, String bankName, DetectorType type) Read just the main calorimeter cluster bank.- Parameters:
- event-
- bankName-
- type-
- Returns:
 
- 
readHipoEventpublic static List<DetectorResponse> readHipoEvent(DataEvent event, String bankName, DetectorType type, String momentsBankName) Read the main calorimeter cluster bank and its moments partner bank.- Parameters:
- event-
- bankName-
- type-
- momentsBankName-
- Returns:
 
- 
readHipoEventpublic static List<DetectorResponse> readHipoEvent(DataEvent event, String bankName, DetectorType type, String momentsBankName, String extrasBankName) Read the main calorimeter cluster bank and its moments and extras partner banks.- Parameters:
- event-
- bankName-
- type-
- momentsBankName-
- extrasBankName-
- Returns:
 
 
-