Public Member Functions | |
dchan | encodeDChan (lchan logicalchan) const |
Convert a logical channel ID to a DAQ channel id. More... | |
lchan | encodeLChan (dchan daqchan) const |
Convert a DAQ channel ID to a logical channel id. More... | |
block_t | computeBlock (lchan logicalchan) const |
Which block is this lchan in? More... | |
plane_t | computePlaneInBlock (lchan logicalchan) const |
Which global plane in this lchan in? More... | |
unsigned int | computeModule (lchan logicalchan) const |
Which module in this lchan in? More... | |
fiber_t | computeFiberInModule (dchan daqchan) const |
Which fiber does this dchan readout? More... | |
DetView_TYPE | getView (dchan daqchan) const |
Which view (X or Y) does this daq channel readout? More... | |
unsigned int | getTotalNumberOfDiblocks () const |
How many diblocks does the detector have? More... | |
unsigned int | getNumberOfDCM (DiBlock_TYPE dbt) const |
How many DCMs does this diblock have? More... | |
DiBlock_TYPE | getDiBlockType (dchan chan) const |
What format is the diblock? Only relevant in NDOS. More... | |
NDOSDAQChannelMap () | |
virtual | ~NDOSDAQChannelMap () |
dchan | encodeDChan (int detID, diblock_t diblock, dcm_id_t dcm, feb_t feb, pixel_t pixel) const |
lchan | encodeLChan (int detId, plane_t plane, cell_t cell) const |
int | getDetector (uint32_t anychan) const |
diblock_t | getDiBlock (dchan daqchan) const |
Decode the diblock ID from a dchan. More... | |
dcm_id_t | getDCM (dchan daqchan) const |
Decode the dcm ID from a dchan. More... | |
feb_t | getFEB (dchan daqchan) const |
Decode the feb id from a dchan. More... | |
pixel_t | getPixel (dchan daqchan) const |
Decode the pixel id from a dchan. More... | |
plane_t | getPlane (lchan logicalchan) const |
Decode the plane number from an lchan. More... | |
cell_t | getCell (lchan logicalchan) const |
Decode the cell number from an lchan. More... | |
Static Public Member Functions | |
static DAQChannelMap * | getInstance (int detID) |
Private Member Functions | |
fiber_t | PixelToFiber (pixel_t pixel) const |
pixel_t | FiberToPixel (fiber_t fiber) const |
bool | printBinary (uint32_t) const |
bool | printHex (uint32_t) const |
Definition at line 8 of file NDOSDAQChannelMap.h.
NDOSDAQChannelMap::NDOSDAQChannelMap | ( | ) |
Definition at line 19 of file NDOSDAQChannelMap.cpp.
|
virtual |
Definition at line 23 of file NDOSDAQChannelMap.cpp.
Which block is this lchan in?
Implements daqchannelmap::DAQChannelMap.
Definition at line 41 of file NDOSDAQChannelMap.cpp.
References daqchannelmap::DAQChannelMapOLD::getBlockOffline(), and gsOldDCMap().
Which fiber does this dchan readout?
Implements daqchannelmap::DAQChannelMap.
Definition at line 84 of file NDOSDAQChannelMap.cpp.
References daqchannelmap::DAQChannelMapOLD::getPixel(), gsOldDCMap(), and PixelToFiber().
Which module in this lchan in?
Implements daqchannelmap::DAQChannelMap.
Definition at line 76 of file NDOSDAQChannelMap.cpp.
References getBrightness::cell, and daqchannelmap::DAQChannelMap::getCell().
Which global plane in this lchan in?
Implements daqchannelmap::DAQChannelMap.
Definition at line 69 of file NDOSDAQChannelMap.cpp.
References daqchannelmap::DAQChannelMapOLD::getLocalPlaneInBlockOffline(), and gsOldDCMap().
Convert a logical channel ID to a DAQ channel id.
Implements daqchannelmap::DAQChannelMap.
Definition at line 27 of file NDOSDAQChannelMap.cpp.
References daqchannelmap::DAQChannelMapOLD::encodeDChan(), and gsOldDCMap().
|
inherited |
Encode DAQ format information into a single 32 bit identifier.
detID | - detector ID from NovaDAQConventions |
diblock | - diblock ID number. Starts from 1 |
dcm | - DCM id within diblock, starts from 1 |
feb | - FEB id within DCM, starts from 0 |
pixel | - pixel id within FEB, starts from 0 |
Definition at line 65 of file DAQChannelMap.cpp.
References BITFIELDSET, febshutoff_auto::chan, daqchannelmap::MASK_DCMID, daqchannelmap::MASK_DCMPORT, daqchannelmap::MASK_DETECTOR, daqchannelmap::MASK_DIBLOCK, daqchannelmap::MASK_PIXELID, daqchannelmap::SHIFT_DCMID, daqchannelmap::SHIFT_DCMPORT, daqchannelmap::SHIFT_DETECTOR, daqchannelmap::SHIFT_DIBLOCK, and daqchannelmap::SHIFT_PIXELID.
Referenced by cmap::dataprov::CMap::AddException(), chaninfo::BadChanValidate::BadChansFromOM(), dprf::ChannelPlots::beginRun(), calib::PEResponse::beginRun(), chaninfo::FindSwappedChannels::beginSubRun(), calib::PCHitsList::CellHitToPCHit(), cmap::dataprov::CMap::computeBlock(), rsim::ReadoutSim::CreateRawDigits(), daqchannelmap::HardwareDisplay::DAQToPlaneInBlockModCell(), daqchannelmap::HardwareDisplay::DAQToPlaneModCell(), daqchannelmap::NearDetDAQChannelMap::encodeDChan(), daqchannelmap::FarDetDAQChannelMap::encodeDChan(), daqchannelmap::TestBeamDAQChannelMap::encodeDChan(), cmap::dataprov::CMap::encodeDChan(), cmap::dataprov::CMap::encodeLChan(), chaninfo::FindSwappedChannels::fill_hist_and_tree(), dqsf::DQSpillFlags::FillCountVars(), raw2daq::RawDigit2DAQHit::FillDAQHits(), mcdatadaq::DAQSimulator::fillMicroSlices(), cmap::dataprov::CMap::getCell(), calib::DriftResponseCalc::GetChanID(), evd::GeometryDrawer::GetDCMBoxes(), nova::dbi::RunHistory::GetFEB(), nova::dbi::RunHistory::GetGain(), mcdatadaq::DAQSimulator::getNanoSliceOrder(), calib::Calibrator::GetPECorrToGeVScale(), nova::dbi::RunHistory::GetPedestal(), nova::dbi::RunHistory::GetPixelGain(), nova::dbi::RunHistory::GetPixelGains(), cmap::dataprov::CMap::getPlane(), nova::dbi::RunHistory::GetThreshold(), calib::Calibrator::GetTimingOffset(), nova::dbi::RunHistory::HasAPD(), chaninfo::BadChanList::InDroppedDCM(), mcdatadaq::DAQSimulator::init(), chaninfo::BadChanList::IsBadUncached(), nova::dbi::RunHistory::IsCooled(), chaninfo::BadChanList::LoadNewData(), nova::dbi::RunHistory::LoadPedestals(), calib::Calibrator::MakeCellHit(), evtsum::EventSummary::MakeOutput(), chaninfo::BadChanList::NBadInSubRun(), daqchannelmap::HardwareDisplay::PlaneCellToDAQ(), daq2raw::OnlineUnpack::ProcessRawEvent_(), calib::ResizeDetector::produce(), rsim::ReadoutSim::produce(), nova::dbi::RunHistory::PullAPDInfoFromDB(), rawp::CheckDAQChannelMap::Reco(), DAQChannelMapTests::testBasicChannelGetOnline(), DAQChannelMapTests::testViewLookups(), and om::RawEventUnpacker::UnpackNanoSlice().
Convert a DAQ channel ID to a logical channel id.
Implements daqchannelmap::DAQChannelMap.
Definition at line 34 of file NDOSDAQChannelMap.cpp.
References daqchannelmap::DAQChannelMapOLD::encodeLChan(), and gsOldDCMap().
Encode logical format information (physical detector coordinates) into a single 32 bit identifier.
detID | - detector ID from NovaDAQConventions |
plane | - global plane number, starts from 0 at south |
cell | - global cell number, starts from 0 at bottom |
Definition at line 82 of file DAQChannelMap.cpp.
References BITFIELDSET, febshutoff_auto::chan, daqchannelmap::MASK_OFFLINE_CELL, daqchannelmap::MASK_OFFLINE_DETECTOR, daqchannelmap::MASK_OFFLINE_PLANE, daqchannelmap::SHIFT_OFFLINE_CELL, daqchannelmap::SHIFT_OFFLINE_DETECTOR, and daqchannelmap::SHIFT_OFFLINE_PLANE.
Referenced by cmap::dataprov::CMap::AddException(), align::AlignInspect::analyze(), dprf::ChannelPlots::analyze(), dprf::TrackPlots::analyze(), align::SplitTracks::analyze(), chaninfo::BadChanValidate::BadChansFromOM(), dprf::ChannelPlots::beginRun(), calib::PEResponse::beginRun(), chaninfo::FindSwappedChannels::beginSubRun(), slicer::Slicer::BlockSlice(), calib::PCHitsList::CellHitToPCHit(), rsim::ReadoutSim::CreateRawDigits(), daqchannelmap::HardwareDisplay::DAQToPlaneInBlockModCell(), daqchannelmap::HardwareDisplay::DAQToPlaneModCell(), daqchannelmap::NearDetDAQChannelMap::encodeLChan(), daqchannelmap::FarDetDAQChannelMap::encodeLChan(), daqchannelmap::TestBeamDAQChannelMap::encodeLChan(), cmap::dataprov::CMap::encodeLChan(), chaninfo::FindSwappedChannels::fill_hist_and_tree(), daq2raw::DAQHit2Raw::FillRawDigits(), cmap::dataprov::CMap::GetCell(), calib::DriftResponseCalc::GetChanID(), evd::GeometryDrawer::GetDCMBoxes(), nova::dbi::RunHistory::GetFEB(), nova::dbi::RunHistory::GetGain(), calib::Calibrator::GetPECorrToGeVScale(), nova::dbi::RunHistory::GetPedestal(), nova::dbi::RunHistory::GetPixelGain(), nova::dbi::RunHistory::GetPixelGains(), cmap::dataprov::CMap::GetPlane(), nova::dbi::RunHistory::GetThreshold(), calib::Calibrator::GetTimingOffset(), nova::dbi::RunHistory::HasAPD(), chaninfo::BadChanList::InDroppedDCM(), chaninfo::BadChanList::IsBadUncached(), nova::dbi::RunHistory::IsCooled(), chaninfo::BadChanList::LoadNewData(), nova::dbi::RunHistory::LoadPedestals(), calib::Calibrator::MakeCellHit(), evtsum::EventSummary::MakeOutput(), chaninfo::BadChanList::NBadInSubRun(), daqchannelmap::HardwareDisplay::PlaneCellToDAQ(), daq2raw::OnlineUnpack::ProcessRawEvent_(), rsim::ReadoutSim::produce(), lem::GenFromLib::readNext(), rawp::CheckDAQChannelMap::Reco(), DAQChannelMapTests::testBasicChannelGetOffline(), DAQChannelMapTests::testBasicOfflineChannelGet(), DAQChannelMapTests::testDiBlockLookupsOffline(), DAQChannelMapTests::testPlaneLookupsOffline(), DAQChannelMapTests::testViewLookups(), DAQChannelMapTests::testViewLookupsOffline(), and om::RawEventUnpacker::UnpackNanoSlice().
Definition at line 62 of file NDOSDAQChannelMap.cpp.
References daqchannelmap::fibertopixel.
Decode the cell number from an lchan.
Definition at line 155 of file DAQChannelMap.cpp.
References BITFIELDGET, BOUNDSCHECK, febshutoff_auto::chan, daqchannelmap::ERROR_CELL_OUTRANGE, daqchannelmap::MASK_OFFLINE_CELL, daqchannelmap::NUM_CELLS, and daqchannelmap::SHIFT_OFFLINE_CELL.
Referenced by dprf::ChannelPlots::analyze(), comi::DataCheck::analyze(), chaninfo::BadChanValidate::BadChansFromOM(), dprf::ChannelPlots::beginRun(), calib::PEResponse::beginRun(), chaninfo::FindSwappedChannels::beginSubRun(), daqchannelmap::NearDetDAQChannelMap::computeModule(), daqchannelmap::TestBeamDAQChannelMap::computeModule(), daqchannelmap::FarDetDAQChannelMap::computeModule(), computeModule(), daqchannelmap::HardwareDisplay::DAQToPlaneInBlockModCell(), daqchannelmap::HardwareDisplay::DAQToPlaneModCell(), daqchannelmap::NearDetDAQChannelMap::encodeDChan(), daqchannelmap::TestBeamDAQChannelMap::encodeDChan(), daqchannelmap::FarDetDAQChannelMap::encodeDChan(), chaninfo::FindSwappedChannels::fill_hist_and_tree(), cmap::dataprov::CMap::getCell(), cmap::dataprov::CMap::GetCell(), chaninfo::BadChanList::LoadNewData(), nova::dbi::RunHistory::LoadPedestals(), chaninfo::BadChanList::NBadInSubRun(), and om::RawEventUnpacker::UnpackNanoSlice().
Decode the dcm ID from a dchan.
Definition at line 115 of file DAQChannelMap.cpp.
References BITFIELDGET, BOUNDSCHECK, daqchannelmap::ERROR_DCM_OUTRANGE, daqchannelmap::MASK_DCMID, daqchannelmap::MAX_DCM, daqchannelmap::MIN_DCM, and daqchannelmap::SHIFT_DCMID.
Referenced by febstat::FEBShutoff::analyze(), dprf::TrackPlots::analyze(), febstat::EventFEBStatus::analyze(), comi::DataCheck::analyze(), comi::NearlineAna::analyze(), calib::DriftResponseCalc::beginRun(), calib::PCHitsList::CellHitToPCHit(), airshower::AirSlicer::CountActiveDCM(), chaninfo::BadChanList::CountDCMHits(), daqchannelmap::NearDetDAQChannelMap::encodeLChan(), daqchannelmap::FarDetDAQChannelMap::encodeLChan(), daqchannelmap::TestBeamDAQChannelMap::encodeLChan(), chaninfo::FindSwappedChannels::fill_hist_and_tree(), dqsf::DQSpillFlags::FillCountVars(), mcdatadaq::DAQSimulator::fillMicroSlices(), DataCheck::HardwareStatusCheck::filter(), calib::DriftResponseCalc::GetChanID(), cmap::dataprov::CMap::getDCM(), evd::GeometryDrawer::GetDCMBoxes(), nova::dbi::RunHistory::GetFEB(), calib::Calibrator::getFebType(), mcdatadaq::DAQSimulator::getNanoSliceOrder(), nova::dbi::RunHistory::GetPedestal(), nova::dbi::RunHistory::GetThreshold(), calib::Calibrator::GetTimingOffset(), daqchannelmap::NearDetDAQChannelMap::getView(), daqchannelmap::FarDetDAQChannelMap::getView(), daqchannelmap::TestBeamDAQChannelMap::getView(), nova::dbi::RunHistory::HasAPD(), chaninfo::BadChanList::InDroppedDCM(), chaninfo::BadChanList::IsBadUncached(), nova::dbi::RunHistory::IsCooled(), chaninfo::BadChanList::LoadNewData(), calib::Calibrator::MakeCellHit(), evtsum::EventSummary::MakeOutput(), daqchannelmap::HardwareDisplay::PlaneCellToDAQ(), mcdatadaq::DAQSimulator::print(), daq2raw::OnlineUnpack::ProcessRawEvent_(), MergeTBDaqCollections::MergeTBDaqCollections::produce(), and calib::DriftCorrection::respondToCloseOutputFiles().
|
inherited |
Return the detector type given either a dchan or an lchan identifier - in this case the decoding is the same
Definition at line 95 of file DAQChannelMap.cpp.
References BITFIELDGET, BOUNDSCHECK, daqchannelmap::ERROR_UNKNOWN_DET, novadaq::cnv::kNDetector, novadaq::cnv::kUNKNOWN_DET, daqchannelmap::MASK_DETECTOR, and daqchannelmap::SHIFT_DETECTOR.
Referenced by daqchannelmap::NearDetDAQChannelMap::encodeDChan(), daqchannelmap::TestBeamDAQChannelMap::encodeDChan(), daqchannelmap::FarDetDAQChannelMap::encodeDChan(), daqchannelmap::NearDetDAQChannelMap::encodeLChan(), daqchannelmap::TestBeamDAQChannelMap::encodeLChan(), daqchannelmap::FarDetDAQChannelMap::encodeLChan(), cmap::dataprov::CMap::getDetector(), daqchannelmap::DAQChannelMap::getPlane(), daq2raw::OnlineUnpack::ProcessRawEvent_(), calib::DriftCorrection::respondToCloseOutputFiles(), DAQChannelMapTests::testBasicChannelGetOnline(), DAQChannelMapTests::testBasicOfflineChannelGet(), and DAQChannelMapTests::testViewLookups().
Decode the diblock ID from a dchan.
Definition at line 105 of file DAQChannelMap.cpp.
References BITFIELDGET, BOUNDSCHECK, daqchannelmap::ERROR_DIBLOCK_OUTRANGE, daqchannelmap::MASK_DIBLOCK, daqchannelmap::MAX_DIBLOCK, daqchannelmap::MIN_DIBLOCK, and daqchannelmap::SHIFT_DIBLOCK.
Referenced by dprf::TrackPlots::analyze(), comi::DataCheck::analyze(), comi::NearlineAna::analyze(), calib::DriftResponseCalc::beginRun(), calib::PCHitsList::CellHitToPCHit(), airshower::AirSlicer::CountActiveDCM(), chaninfo::BadChanList::CountDCMHits(), novaddt::ContainedSlice::defineContainmentRegion(), daqchannelmap::NearDetDAQChannelMap::encodeLChan(), daqchannelmap::FarDetDAQChannelMap::encodeLChan(), daqchannelmap::TestBeamDAQChannelMap::encodeLChan(), chaninfo::FindSwappedChannels::fill_hist_and_tree(), dqsf::DQSpillFlags::FillCountVars(), mcdatadaq::DAQSimulator::fillMicroSlices(), DataCheck::HardwareStatusCheck::filter(), calib::DriftResponseCalc::GetChanID(), evd::GeometryDrawer::GetDCMBoxes(), cmap::dataprov::CMap::getDiBlock(), daqchannelmap::NearDetDAQChannelMap::getDiBlockType(), nova::dbi::RunHistory::GetFEB(), mcdatadaq::DAQSimulator::getNanoSliceOrder(), calib::Calibrator::GetPECorrToGeVScale(), nova::dbi::RunHistory::GetPedestal(), nova::dbi::RunHistory::GetThreshold(), calib::Calibrator::GetTimingOffset(), daqchannelmap::NearDetDAQChannelMap::getView(), nova::dbi::RunHistory::HasAPD(), chaninfo::BadChanList::InDroppedDCM(), chaninfo::BadChanList::IsBadUncached(), nova::dbi::RunHistory::IsCooled(), chaninfo::BadChanList::LoadNewData(), calib::Calibrator::MakeCellHit(), evtsum::EventSummary::MakeOutput(), daqchannelmap::HardwareDisplay::PlaneCellToDAQ(), mcdatadaq::DAQSimulator::print(), daq2raw::OnlineUnpack::ProcessRawEvent_(), calib::ResizeDetector::produce(), calib::DriftCorrection::respondToCloseOutputFiles(), DAQChannelMapTests::testBasicChannelGetOnline(), and DAQChannelMapTests::testViewLookups().
|
virtual |
What format is the diblock? Only relevant in NDOS.
Implements daqchannelmap::DAQChannelMap.
Definition at line 106 of file NDOSDAQChannelMap.cpp.
References daqchannelmap::DAQChannelMapOLD::getDiBlockType(), and gsOldDCMap().
Decode the feb id from a dchan.
Definition at line 125 of file DAQChannelMap.cpp.
References BITFIELDGET, BOUNDSCHECK, daqchannelmap::ERROR_PORT_OUTRANGE, daqchannelmap::MASK_DCMPORT, daqchannelmap::MAX_PORT, daqchannelmap::MIN_PORT, and daqchannelmap::SHIFT_DCMPORT.
Referenced by febstat::FEBShutoff::analyze(), febstat::EventFEBStatus::analyze(), comi::DataCheck::analyze(), calib::PCHitsList::CellHitToPCHit(), daqchannelmap::NearDetDAQChannelMap::encodeLChan(), daqchannelmap::FarDetDAQChannelMap::encodeLChan(), daqchannelmap::TestBeamDAQChannelMap::encodeLChan(), chaninfo::FindSwappedChannels::fill_hist_and_tree(), dqsf::DQSpillFlags::FillCountVars(), mcdatadaq::DCMSimulator::generateNanoSlice(), calib::DriftResponseCalc::GetChanID(), cmap::dataprov::CMap::getFEB(), nova::dbi::RunHistory::GetFEB(), mcdatadaq::DAQSimulator::getNanoSliceOrder(), nova::dbi::RunHistory::GetPedestal(), nova::dbi::RunHistory::GetThreshold(), daqchannelmap::TestBeamDAQChannelMap::getView(), nova::dbi::RunHistory::HasAPD(), chaninfo::BadChanList::IsBadUncached(), nova::dbi::RunHistory::IsCooled(), chaninfo::BadChanList::LoadNewData(), daqchannelmap::HardwareDisplay::PlaneCellToDAQ(), mcdatadaq::DAQSimulator::print(), daq2raw::OnlineUnpack::ProcessRawEvent_(), and calib::DriftCorrection::respondToCloseOutputFiles().
|
staticinherited |
Definition at line 16 of file DAQChannelMap.cpp.
References om::cerr, allTimeWatchdog::endl, novadaq::cnv::kFARDET, novadaq::cnv::kNDOS, novadaq::cnv::kNEARDET, and novadaq::cnv::kTESTBEAM.
Referenced by chaninfo::BadChanValidate::BadChansFromOM(), calib::PEResponse::beginRun(), chaninfo::BadChanList::CountDCMHits(), daqchannelmap::HardwareDisplay::DAQToPlaneInBlockModCell(), daqchannelmap::HardwareDisplay::DAQToPlaneModCell(), novaddt::ContainedSlice::defineContainmentRegion(), calib::DCMTimingOffset::endJob(), chaninfo::FindSwappedChannels::filter(), nova::dbi::RunHistory::GetFEB(), nova::dbi::RunHistory::GetGain(), nova::dbi::RunHistory::GetPedestal(), nova::dbi::RunHistory::GetPixelGain(), nova::dbi::RunHistory::GetPixelGains(), nova::dbi::RunHistory::GetThreshold(), nova::dbi::RunHistory::HasAPD(), chaninfo::BadChanList::InDroppedDCM(), chaninfo::BadChanList::IsBadUncached(), nova::dbi::RunHistory::IsCooled(), chaninfo::BadChanList::LoadNewData(), nova::dbi::RunHistory::LoadPedestals(), chaninfo::BadChanList::NBadInSubRun(), daqchannelmap::HardwareDisplay::PlaneCellToDAQ(), cmap::CMap::postBeginRun(), novaddt::OnlineUnpack::ProcessRawEvent_(), daq2raw::OnlineUnpack::ProcessRawEvent_(), NovaDDTHitProducer::produce(), calib::ResizeDetector::produce(), calib::TimingCalibration::produce(), calib::PCHitsList::produce(), nova::dbi::RunHistory::PullAPDInfoFromDB(), DAQChannelMapTests::testBasicChannelGetOffline(), DAQChannelMapTests::testBasicChannelGetOnline(), DAQChannelMapTests::testBasicOfflineChannelGet(), DAQChannelMapTests::testDiBlockLookups(), DAQChannelMapTests::testDiBlockLookupsOffline(), DAQChannelMapTests::testPlaneLookupsOffline(), DAQChannelMapTests::testViewLookups(), DAQChannelMapTests::testViewLookupsOffline(), and om::RawEventUnpacker::UnpackNanoSlice().
|
virtual |
How many DCMs does this diblock have?
Implements daqchannelmap::DAQChannelMap.
Definition at line 99 of file NDOSDAQChannelMap.cpp.
References daqchannelmap::DAQChannelMapBaseOLD::getNumberOfDCM(), gsOldDCMap(), and novadaq::cnv::kNDOS.
Decode the pixel id from a dchan.
Definition at line 135 of file DAQChannelMap.cpp.
References BITFIELDGET, BOUNDSCHECK, daqchannelmap::ERROR_PIXEL_OUTRANGE, daqchannelmap::MASK_PIXELID, daqchannelmap::MAX_PIXEL, daqchannelmap::MIN_PIXEL, and daqchannelmap::SHIFT_PIXELID.
Referenced by febstat::FEBShutoff::analyze(), calib::PCHitsList::CellHitToPCHit(), daqchannelmap::NearDetDAQChannelMap::computeFiberInModule(), daqchannelmap::TestBeamDAQChannelMap::computeFiberInModule(), daqchannelmap::FarDetDAQChannelMap::computeFiberInModule(), rsim::ReadoutSim::CreateRawDigits(), daqchannelmap::NearDetDAQChannelMap::encodeLChan(), daqchannelmap::FarDetDAQChannelMap::encodeLChan(), daqchannelmap::TestBeamDAQChannelMap::encodeLChan(), chaninfo::FindSwappedChannels::fill_hist_and_tree(), dprf::ChannelPlots::FillFebRawPlots(), mcdatadaq::DCMSimulator::generateNanoSlice(), mcdatadaq::DAQSimulator::getNanoSliceOrder(), nova::dbi::RunHistory::GetPedestal(), cmap::dataprov::CMap::getPixel(), nova::dbi::RunHistory::GetPixelGain(), nova::dbi::RunHistory::GetThreshold(), daqchannelmap::HardwareDisplay::PlaneCellToDAQ(), mcdatadaq::DAQSimulator::print(), daq2raw::OnlineUnpack::ProcessRawEvent_(), rsim::ReadoutSim::produce(), and DAQChannelMapTests::testBasicChannelGetOnline().
Decode the plane number from an lchan.
Definition at line 145 of file DAQChannelMap.cpp.
References BITFIELDGET, BOUNDSCHECK, febshutoff_auto::chan, daqchannelmap::ERROR_PLANE_OUTRANGE, daqchannelmap::DAQChannelMap::getDetector(), daqchannelmap::MASK_OFFLINE_PLANE, and daqchannelmap::SHIFT_OFFLINE_PLANE.
Referenced by dprf::ChannelPlots::analyze(), dprf::TrackPlots::analyze(), comi::DataCheck::analyze(), chaninfo::BadChanValidate::BadChansFromOM(), dprf::ChannelPlots::beginRun(), calib::PEResponse::beginRun(), chaninfo::FindSwappedChannels::beginSubRun(), daqchannelmap::NearDetDAQChannelMap::computeBlock(), daqchannelmap::TestBeamDAQChannelMap::computeBlock(), daqchannelmap::FarDetDAQChannelMap::computeBlock(), daqchannelmap::NearDetDAQChannelMap::computePlaneInBlock(), daqchannelmap::TestBeamDAQChannelMap::computePlaneInBlock(), daqchannelmap::FarDetDAQChannelMap::computePlaneInBlock(), daqchannelmap::HardwareDisplay::DAQToPlaneModCell(), daqchannelmap::NearDetDAQChannelMap::encodeDChan(), daqchannelmap::TestBeamDAQChannelMap::encodeDChan(), daqchannelmap::FarDetDAQChannelMap::encodeDChan(), chaninfo::FindSwappedChannels::fill_hist_and_tree(), cmap::dataprov::CMap::getPlane(), cmap::dataprov::CMap::GetPlane(), chaninfo::BadChanList::LoadNewData(), nova::dbi::RunHistory::LoadPedestals(), chaninfo::BadChanList::NBadInSubRun(), calib::ResizeDetector::produce(), and om::RawEventUnpacker::UnpackNanoSlice().
|
virtual |
How many diblocks does the detector have?
Implements daqchannelmap::DAQChannelMap.
Definition at line 92 of file NDOSDAQChannelMap.cpp.
References daqchannelmap::DAQChannelMapBaseOLD::getTotalNumberOfDiblocks(), gsOldDCMap(), and novadaq::cnv::kNDOS.
|
virtual |
Which view (X or Y) does this daq channel readout?
Implements daqchannelmap::DAQChannelMap.
Definition at line 48 of file NDOSDAQChannelMap.cpp.
References daqchannelmap::DAQChannelMapOLD::getView(), and gsOldDCMap().
Definition at line 55 of file NDOSDAQChannelMap.cpp.
References daqchannelmap::pixeltofiber.
Referenced by computeFiberInModule().
|
private |
|
private |