#include <NswT0Data.h>
Definition at line 16 of file NswT0Data.h.
◆ ChannelArray
◆ NswT0Data()
Definition at line 12 of file NswT0Data.cxx.
16 m_data_mmg.resize((idHelper.detectorElement_hash_max()+1)*idHelper.gasGapMax());
20 m_data_stg.resize((idHelper.detectorElement_hash_max() +1)*(idHelper.gasGapMax()*3 ));
◆ ~NswT0Data()
NswT0Data::~NswT0Data |
( |
| ) |
|
|
default |
◆ getT0()
bool NswT0Data::getT0 |
( |
const Identifier & |
channelId, |
|
|
float & |
channelT0 |
|
) |
| const |
◆ identToModuleIdx()
unsigned int NswT0Data::identToModuleIdx |
( |
const Identifier & |
chan_id | ) |
const |
|
private |
Definition at line 25 of file NswT0Data.cxx.
29 return static_cast<unsigned int>(
hash)*(idHelper.gasGapMax()) + (idHelper.gasGap(chan_id) -1);
32 return static_cast<unsigned int>(
hash)*(idHelper.gasGapMax() * 3 ) +
33 (idHelper.gasGap(chan_id) -1 + idHelper.gasGapMax() * idHelper.channelType(chan_id));
◆ setData()
Definition at line 39 of file NswT0Data.cxx.
45 if(
data.at(
idx).empty())
data.at(
idx).resize(idHelper.channelMax(
id), 0.f);
46 channelIdx = idHelper.channel(
id) -1;
49 if(
data.at(
idx).empty())
data.at(
idx).resize(idHelper.channelMax(
id), 0.f);
50 channelIdx = idHelper.channel(
id) -1;
◆ m_data_mmg
◆ m_data_stg
◆ m_idHelperSvc
The documentation for this class was generated from the following files: