Go to the documentation of this file.
10 #ifndef HERD_SCDCHANNELGEOINFO_H_
11 #define HERD_SCDCHANNELGEOINFO_H_
77 ScdChannelGeoInfo(
unsigned int nStripsPerLadder,
unsigned int firstReadoutStrip,
unsigned int readoutStripPeriod,
78 unsigned int nLadders);
unsigned int ReadoutStripPeriod()
Gets the readout period.
Definition: ScdChannelGeoInfo.h:135
unsigned int _nStrips
Definition: ScdChannelGeoInfo.h:147
unsigned int _nReadoutStrips
Definition: ScdChannelGeoInfo.h:150
unsigned int NReadoutStrips()
Gets the total number of readout strips in the layer.
Definition: ScdChannelGeoInfo.h:143
unsigned int _firstReadoutStrip
Definition: ScdChannelGeoInfo.h:148
unsigned int _nStripsPerLadder
Definition: ScdChannelGeoInfo.h:146
Object managing the geometry of the Si readout strips in a single layer.
Definition: ScdChannelGeoInfo.h:55
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:22
unsigned int _volumeIDOnLadder
Definition: ScdChannelGeoInfo.h:155
bool IsReadoutStrip(unsigned int stripVolumeID)
Checks if a strip is a readout one.
Definition: ScdChannelGeoInfo.cpp:30
std::optional< unsigned int > ChannelIDFromVolumeID(unsigned int stripVolumeID)
Gets the channel ID of a readout strip.
Definition: ScdChannelGeoInfo.cpp:45
std::optional< unsigned int > VolumeIDFromChannelID(unsigned int stripChannelID)
Gets the volume ID on the layer of a readout strip.
Definition: ScdChannelGeoInfo.cpp:56
unsigned int _readoutStripPeriod
Definition: ScdChannelGeoInfo.h:149
unsigned int _nReadoutStripsPerLadder
Definition: ScdChannelGeoInfo.h:151
virtual ~ScdChannelGeoInfo()=default
Destructor.
unsigned int FirstReadoutStrip()
Gets the volume ID on the ladder of the first readout strip.
Definition: ScdChannelGeoInfo.h:127
ScdChannelGeoInfo()
Default constructor.
Definition: ScdChannelGeoInfo.cpp:16
std::pair< unsigned int, unsigned int > ClosestChannelIDFromVolumeID(unsigned int stripVolumeID)
Gets the closest left readout strip and the inter-readout position.
Definition: ScdChannelGeoInfo.cpp:36