Package org.jlab.clas.detector
Class CalorimeterResponse
java.lang.Object
org.jlab.clas.detector.DetectorResponse
org.jlab.clas.detector.CalorimeterResponse
- Author:
- jnewton
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
int[]
float
getSize()
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.void
setCoordUVW
(float u, float v, float w) void
setPeakFADCTime
(float u, float v, float w) void
setPeakStatus
(int u, int v, int w) void
setPeakTDCTime
(float u, float v, float w) void
setRawPeakEnergy
(float u, float v, float w) void
setReconPeakEnergy
(float u, float v, float w) void
setSecondMomentUVW
(float u, float v, float w) void
setSize
(float s) void
setThirdMomentUVW
(float u, float v, float w) void
setWidthUVW
(float u, float v, float w) Methods inherited from class org.jlab.clas.detector.DetectorResponse
addAssociation, 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
-
CalorimeterResponse
public CalorimeterResponse() -
CalorimeterResponse
-
CalorimeterResponse
public CalorimeterResponse(int sector, int layer, int component)
-
-
Method Details
-
copy
-
setWidthUVW
public void setWidthUVW(float u, float v, float w) -
setCoordUVW
public void setCoordUVW(float u, float v, float w) -
setSecondMomentUVW
public void setSecondMomentUVW(float u, float v, float w) -
setThirdMomentUVW
public void setThirdMomentUVW(float u, float v, float w) -
getWidthUVW
-
getCoordUVW
-
getSecondMomentUVW
-
getThirdMomentUVW
-
setPeakStatus
public void setPeakStatus(int u, int v, int w) -
getPeakStatus
public int[] getPeakStatus() -
getRawPeakEnergy
-
getReconPeakEnergy
-
getPeakTDCTime
-
getPeakFADCTime
-
setRawPeakEnergy
public void setRawPeakEnergy(float u, float v, float w) -
setReconPeakEnergy
public void setReconPeakEnergy(float u, float v, float w) -
setPeakTDCTime
public void setPeakTDCTime(float u, float v, float w) -
setPeakFADCTime
public void setPeakFADCTime(float u, float v, float w) -
setSize
public void setSize(float s) -
getSize
public float getSize() -
readHipoEvent
public static List<DetectorResponse> readHipoEvent(DataEvent event, String bankName, DetectorType type) Read just the main calorimeter cluster bank.- Parameters:
event
-bankName
-type
-- Returns:
-
readHipoEvent
public 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:
-
readHipoEvent
public 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:
-