Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/mvtx/SegmentationAlpide.h>
Public Member Functions | |
SegmentationAlpide ()=default | |
~SegmentationAlpide ()=default | |
Static Public Member Functions | |
static bool | localToDetector (float x, float z, int &iRow, int &iCol) |
static void | localToDetectorUnchecked (float xRow, float zCol, int &iRow, int &iCol) |
same but w/o check for row/column range | |
static bool | detectorToLocal (int iRow, int iCol, float &xRow, float &zCol) |
static bool | detectorToLocal (float row, float col, float &xRow, float &zCol) |
static bool | detectorToLocal (float row, float col, TVector3 &loc) |
static void | detectorToLocalUnchecked (int iRow, int iCol, float &xRow, float &zCol) |
static void | detectorToLocalUnchecked (float row, float col, float &xRow, float &zCol) |
static void | detectorToLocalUnchecked (float row, float col, TVector3 &loc) |
static constexpr float | getFirstRowCoordinate () |
static constexpr float | getFirstColCoordinate () |
static void | print () |
Static Public Attributes | |
static constexpr int | NCols = 1024 |
static constexpr int | NRows = 512 |
static constexpr int | NPixels = NRows * NCols |
static constexpr float | PitchCol = 29.24e-4 |
static constexpr float | PitchRow = 26.88e-4 |
static constexpr float | PassiveEdgeReadOut = 0.12f |
static constexpr float | PassiveEdgeTop = 37.44e-4 |
static constexpr float | PassiveEdgeSide = 29.12e-4 |
static constexpr float | ActiveMatrixSizeCols = PitchCol * NCols |
static constexpr float | ActiveMatrixSizeRows = PitchRow * NRows |
static constexpr float | SensorLayerThicknessEff = 22.e-4 |
static constexpr float | SensorLayerThickness = 30.e-4 |
static constexpr float | SensorSizeCols = ActiveMatrixSizeCols + PassiveEdgeSide + PassiveEdgeSide |
static constexpr float | SensorSizeRows = ActiveMatrixSizeRows + PassiveEdgeTop + PassiveEdgeReadOut |
Definition at line 12 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 12 of file SegmentationAlpide.h
|
default |
|
default |
|
inlinestatic |
Transformation from Detector cell coordiantes to Geant detector centered local coordinates (cm)
int | iRow Detector x cell coordinate. Has the range 0 <= iRow < mNumberOfRows |
int | iCol Detector z cell coordinate. Has the range 0 <= iCol < mNumberOfColumns |
float | x Detector local coordinate x in cm with respect to the center of the sensitive volume. |
float | z Detector local coordinate z in cm with respect to the center of the sensitive volulme. If iRow and or iCol is outside of the segmentation range a value of -0.5*Dx() or -0.5*Dz() is returned. |
Definition at line 128 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 128 of file SegmentationAlpide.h
References detectorToLocalUnchecked(), NCols, and NRows.
Referenced by MvtxPrototype2Geom::detectorToGlobal(), and CylinderGeom_Mvtx::get_local_coords_from_pixel().
|
inlinestatic |
Definition at line 137 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 137 of file SegmentationAlpide.h
References detectorToLocalUnchecked(), NCols, and NRows.
|
inlinestatic |
Definition at line 146 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 146 of file SegmentationAlpide.h
References detectorToLocalUnchecked(), NCols, and NRows.
|
inlinestatic |
Definition at line 108 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 108 of file SegmentationAlpide.h
References getFirstColCoordinate(), getFirstRowCoordinate(), PitchCol, and PitchRow.
Referenced by detectorToLocal().
|
inlinestatic |
Definition at line 115 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 115 of file SegmentationAlpide.h
References getFirstColCoordinate(), getFirstRowCoordinate(), PitchCol, and PitchRow.
|
inlinestatic |
Definition at line 122 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 122 of file SegmentationAlpide.h
References f, getFirstColCoordinate(), getFirstRowCoordinate(), PitchCol, and PitchRow.
|
inlinestatic |
Definition at line 73 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 73 of file SegmentationAlpide.h
References ActiveMatrixSizeCols, and PitchCol.
Referenced by detectorToLocalUnchecked().
|
inlinestatic |
Definition at line 69 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 69 of file SegmentationAlpide.h
References ActiveMatrixSizeRows, PassiveEdgeReadOut, PassiveEdgeTop, and PitchRow.
Referenced by detectorToLocalUnchecked().
|
inlinestatic |
Transformation from Geant detector centered local coordinates (cm) to Pixel cell numbers iRow and iCol. Returns kTRUE if point x,z is inside sensitive volume, kFALSE otherwise. A value of -1 for iRow or iCol indicates that this point is outside of the detector segmentation as defined.
float | x Detector local coordinate x in cm with respect to the center of the sensitive volume. |
float | z Detector local coordinate z in cm with respect to the center of the sensitive volulme. |
int | iRow Detector x cell coordinate. Has the range 0 <= iRow < mNumberOfRows |
int | iCol Detector z cell coordinate. Has the range 0 <= iCol < mNumberOfColumns |
Definition at line 93 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 93 of file SegmentationAlpide.h
References ActiveMatrixSizeCols, ActiveMatrixSizeRows, PassiveEdgeReadOut, PassiveEdgeTop, PitchCol, and PitchRow.
Referenced by CylinderGeom_Mvtx::get_pixel_from_local_coords().
|
inlinestatic |
same but w/o check for row/column range
Definition at line 79 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 79 of file SegmentationAlpide.h
References ActiveMatrixSizeCols, ActiveMatrixSizeRows, PassiveEdgeReadOut, PassiveEdgeTop, PitchCol, and PitchRow.
|
static |
Definition at line 9 of file SegmentationAlpide.cc.
View newest version in sPHENIX GitHub at line 9 of file SegmentationAlpide.cc
References ActiveMatrixSizeCols, ActiveMatrixSizeRows, NCols, NRows, PassiveEdgeReadOut, PassiveEdgeSide, PassiveEdgeTop, PitchCol, PitchRow, printf(), SensorSizeCols, and SensorSizeRows.
Definition at line 23 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 23 of file SegmentationAlpide.h
Referenced by MvtxPrototype2Geom::extractMatrixSensor(), CylinderGeom_Mvtx::get_pixel_from_local_coords(), getFirstColCoordinate(), localToDetector(), localToDetectorUnchecked(), and print().
Definition at line 24 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 24 of file SegmentationAlpide.h
Referenced by CylinderGeom_Mvtx::get_pixel_from_local_coords(), getFirstRowCoordinate(), localToDetector(), localToDetectorUnchecked(), and print().
|
static |
Definition at line 15 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 15 of file SegmentationAlpide.h
Referenced by MvtxPrototype2Geom::detectorToGlobal(), detectorToLocal(), CylinderGeom_Mvtx::get_NZ(), print(), and AnaMvtxTestBeam2019::process_event().
Definition at line 17 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 17 of file SegmentationAlpide.h
|
static |
Definition at line 16 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 16 of file SegmentationAlpide.h
Referenced by MvtxPrototype2Geom::detectorToGlobal(), detectorToLocal(), CylinderGeom_Mvtx::get_NX(), and print().
|
static |
Definition at line 20 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 20 of file SegmentationAlpide.h
Referenced by getFirstRowCoordinate(), localToDetector(), localToDetectorUnchecked(), and print().
|
static |
Definition at line 22 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 22 of file SegmentationAlpide.h
Referenced by MvtxPrototype2Geom::extractMatrixSensor(), and print().
|
static |
Definition at line 21 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 21 of file SegmentationAlpide.h
Referenced by getFirstRowCoordinate(), localToDetector(), localToDetectorUnchecked(), and print().
|
static |
Definition at line 18 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 18 of file SegmentationAlpide.h
Referenced by MvtxPrototype2Clusterizer::ClusterMvtx(), detectorToLocalUnchecked(), getFirstColCoordinate(), localToDetector(), localToDetectorUnchecked(), print(), and AnaMvtxTestBeam2019::process_event().
|
static |
Definition at line 19 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 19 of file SegmentationAlpide.h
Referenced by MvtxPrototype2Clusterizer::ClusterMvtx(), detectorToLocalUnchecked(), getFirstRowCoordinate(), localToDetector(), localToDetectorUnchecked(), print(), and AnaMvtxTestBeam2019::process_event().
|
static |
Definition at line 28 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 28 of file SegmentationAlpide.h
|
static |
Definition at line 27 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 27 of file SegmentationAlpide.h
Referenced by MvtxPrototype2Clusterizer::ClusterMvtx(), and MvtxPrototype2Geom::extractMatrixSensor().
|
static |
Definition at line 29 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 29 of file SegmentationAlpide.h
Referenced by print().
|
static |
Definition at line 30 of file SegmentationAlpide.h.
View newest version in sPHENIX GitHub at line 30 of file SegmentationAlpide.h
Referenced by print(), PHG4MvtxSubsystem::SetDefaultParameters(), and PHG4EICMvtxSubsystem::SetDefaultParameters().