Public Member Functions | List of all members
novaddt::utils::_detail::NDOSUtil Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-04-11/DDTUtilities/DetectorUtils.h"

Inheritance diagram for novaddt::utils::_detail::NDOSUtil:
novaddt::utils::_detail::VirtualDetUtil

Public Member Functions

double GetPigtail (const DAQHit &) const
 
double GetDCMoffset (const DAQHit &) const
 
double GetCellLength (const novaddt::View &v) const
 

Detailed Description

Definition at line 36 of file DetectorUtils.h.

Member Function Documentation

double novaddt::utils::_detail::NDOSUtil::GetCellLength ( const novaddt::View v) const
inlinevirtual

Implements novaddt::utils::_detail::VirtualDetUtil.

Definition at line 40 of file DetectorUtils.h.

References novaddt::View::val, and daqchannelmap::X_VIEW.

41  {
42  return (v.val==daqchannelmap::X_VIEW)?920:1000;
43  }
Identifier for the X measuring view of the detector (top)
value_type val
Definition: BaseProducts.h:137
double _detail::NDOSUtil::GetDCMoffset ( const DAQHit hit) const
virtual

Implements novaddt::utils::_detail::VirtualDetUtil.

Definition at line 50 of file DetectorUtils.cxx.

References getBrightness::cell, novaddt::DAQHit::Cell(), novaddt::Cell::val, novaddt::View::val, novaddt::DAQHit::View(), and daqchannelmap::Y_VIEW.

51 {
52  uint16_t cell=hit.Cell().val;
53  // Cell number starts from 1
54  if (hit.View().val == daqchannelmap::Y_VIEW)
55  if (cell > 31 && cell < 64) return -26;
56  else if (cell > 63) return -40;
57  else return 0;
58  else // X_VIEW
59  if (cell > 7 && cell < 32) return -10;
60  else if (cell > 31) return 5;
61  else return 0;
62 }
Identifier for the Y measuring view of the detector (side)
Definition: structs.h:12
double _detail::NDOSUtil::GetPigtail ( const DAQHit hit) const
virtual

methods for NDOS

Implements novaddt::utils::_detail::VirtualDetUtil.

Definition at line 45 of file DetectorUtils.cxx.

46 {
47  return 0;
48 }

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