Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SegmentationAlpide Class Reference

#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
 

Detailed Description

Definition at line 12 of file SegmentationAlpide.h.

View newest version in sPHENIX GitHub at line 12 of file SegmentationAlpide.h

Constructor & Destructor Documentation

SegmentationAlpide::SegmentationAlpide ( )
default
SegmentationAlpide::~SegmentationAlpide ( )
default

Member Function Documentation

bool SegmentationAlpide::detectorToLocal ( int  iRow,
int  iCol,
float &  xRow,
float &  zCol 
)
inlinestatic

Transformation from Detector cell coordiantes to Geant detector centered local coordinates (cm)

Parameters
intiRow Detector x cell coordinate. Has the range 0 <= iRow < mNumberOfRows
intiCol Detector z cell coordinate. Has the range 0 <= iCol < mNumberOfColumns
floatx Detector local coordinate x in cm with respect to the center of the sensitive volume.
floatz 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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool SegmentationAlpide::detectorToLocal ( float  row,
float  col,
float &  xRow,
float &  zCol 
)
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.

+ Here is the call graph for this function:

bool SegmentationAlpide::detectorToLocal ( float  row,
float  col,
TVector3 &  loc 
)
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.

+ Here is the call graph for this function:

void SegmentationAlpide::detectorToLocalUnchecked ( int  iRow,
int  iCol,
float &  xRow,
float &  zCol 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void SegmentationAlpide::detectorToLocalUnchecked ( float  row,
float  col,
float &  xRow,
float &  zCol 
)
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.

+ Here is the call graph for this function:

void SegmentationAlpide::detectorToLocalUnchecked ( float  row,
float  col,
TVector3 &  loc 
)
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.

+ Here is the call graph for this function:

static constexpr float SegmentationAlpide::getFirstColCoordinate ( )
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().

+ Here is the caller graph for this function:

static constexpr float SegmentationAlpide::getFirstRowCoordinate ( )
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().

+ Here is the caller graph for this function:

bool SegmentationAlpide::localToDetector ( float  x,
float  z,
int &  iRow,
int &  iCol 
)
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.

Parameters
floatx Detector local coordinate x in cm with respect to the center of the sensitive volume.
floatz Detector local coordinate z in cm with respect to the center of the sensitive volulme.
intiRow Detector x cell coordinate. Has the range 0 <= iRow < mNumberOfRows
intiCol 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().

+ Here is the caller graph for this function:

void SegmentationAlpide::localToDetectorUnchecked ( float  xRow,
float  zCol,
int &  iRow,
int &  iCol 
)
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.

void SegmentationAlpide::print ( )
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.

+ Here is the call graph for this function:

Member Data Documentation

constexpr float SegmentationAlpide::ActiveMatrixSizeCols = PitchCol * NCols
static
constexpr float SegmentationAlpide::ActiveMatrixSizeRows = PitchRow * NRows
static

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().

constexpr int SegmentationAlpide::NCols = 1024
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().

constexpr int SegmentationAlpide::NPixels = NRows * NCols
static

Definition at line 17 of file SegmentationAlpide.h.

View newest version in sPHENIX GitHub at line 17 of file SegmentationAlpide.h

constexpr int SegmentationAlpide::NRows = 512
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().

constexpr float SegmentationAlpide::PassiveEdgeReadOut = 0.12f
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().

constexpr float SegmentationAlpide::PassiveEdgeSide = 29.12e-4
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().

constexpr float SegmentationAlpide::PassiveEdgeTop = 37.44e-4
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().

constexpr float SegmentationAlpide::PitchCol = 29.24e-4
static
constexpr float SegmentationAlpide::PitchRow = 26.88e-4
static
constexpr float SegmentationAlpide::SensorLayerThickness = 30.e-4
static

Definition at line 28 of file SegmentationAlpide.h.

View newest version in sPHENIX GitHub at line 28 of file SegmentationAlpide.h

constexpr float SegmentationAlpide::SensorLayerThicknessEff = 22.e-4
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().

constexpr float SegmentationAlpide::SensorSizeCols = ActiveMatrixSizeCols + PassiveEdgeSide + PassiveEdgeSide
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().

constexpr float SegmentationAlpide::SensorSizeRows = ActiveMatrixSizeRows + PassiveEdgeTop + PassiveEdgeReadOut
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().


The documentation for this class was generated from the following files: