CMS 3D CMS Logo

Enumerations | Functions | Variables
gpuClustering::pixelStatus Namespace Reference

Enumerations

enum  Status : uint32_t { kEmpty = 0x00, kFound = 0x01, kDuplicate = 0x03 }
 

Functions

static __device__ constexpr uint32_t getIndex (uint16_t x, uint16_t y)
 
__device__ constexpr uint32_t getShift (uint16_t x, uint16_t y)
 
__device__ constexpr Status getStatus (uint32_t const *__restrict__ status, uint16_t x, uint16_t y)
 
__device__ constexpr bool isDuplicate (uint32_t const *__restrict__ status, uint16_t x, uint16_t y)
 
__device__ constexpr void promote (uint32_t *__restrict__ status, const uint16_t x, const uint16_t y)
 

Variables

constexpr uint32_t bits = 2
 
constexpr uint32_t mask = (0x01 << bits) - 1
 
constexpr uint32_t size = pixelSizeX * pixelSizeY / valuesPerWord
 
constexpr uint32_t valuesPerWord = sizeof(uint32_t) * 8 / bits
 

Enumeration Type Documentation

◆ Status

Enumerator
kEmpty 
kFound 
kDuplicate 

Definition at line 23 of file gpuClustering.h.

Function Documentation

◆ getIndex()

static __device__ constexpr uint32_t gpuClustering::pixelStatus::getIndex ( uint16_t  x,
uint16_t  y 
)
inlinestatic

Definition at line 30 of file gpuClustering.h.

References gpuClustering::pixelSizeX, valuesPerWord, and x.

Referenced by l1t::L1TGlobalUtil::getAlgBitFromName(), getStatus(), promote(), l1t::L1TGlobalUtil::retrieveL1Event(), and l1t::L1TGlobalUtil::retrieveL1Setup().

30  {
31  return (pixelSizeX * y + x) / valuesPerWord;
32  }
constexpr uint32_t valuesPerWord
Definition: gpuClustering.h:27
uint16_t *__restrict__ uint16_t const *__restrict__ x
Definition: gpuClustering.h:97
constexpr uint32_t pixelSizeX
Definition: gpuClustering.h:18
uint16_t *__restrict__ uint16_t const *__restrict__ uint16_t const *__restrict__ y
Definition: gpuClustering.h:97

◆ getShift()

__device__ constexpr uint32_t gpuClustering::pixelStatus::getShift ( uint16_t  x,
uint16_t  y 
)
inline

Definition at line 34 of file gpuClustering.h.

References valuesPerWord, and x.

Referenced by getStatus(), and promote().

34 { return (x % valuesPerWord) * 2; }
constexpr uint32_t valuesPerWord
Definition: gpuClustering.h:27
uint16_t *__restrict__ uint16_t const *__restrict__ x
Definition: gpuClustering.h:97

◆ getStatus()

__device__ constexpr Status gpuClustering::pixelStatus::getStatus ( uint32_t const *__restrict__  status,
uint16_t  x,
uint16_t  y 
)
inline

Definition at line 36 of file gpuClustering.h.

References getIndex(), getShift(), mask, edm::shift, gpuClustering::status, and x.

Referenced by DataCertificationJetMET::dqmEndJob(), and isDuplicate().

36  {
37  uint32_t index = getIndex(x, y);
38  uint32_t shift = getShift(x, y);
39  return Status{(status[index] >> shift) & mask};
40  }
uint16_t *__restrict__ uint16_t const *__restrict__ x
Definition: gpuClustering.h:97
constexpr uint32_t mask
Definition: gpuClustering.h:26
uint16_t *__restrict__ uint16_t const *__restrict__ uint16_t const *__restrict__ y
Definition: gpuClustering.h:97
__shared__ uint32_t status[pixelStatusSize]
static __device__ constexpr uint32_t getIndex(uint16_t x, uint16_t y)
Definition: gpuClustering.h:30
__device__ constexpr uint32_t getShift(uint16_t x, uint16_t y)
Definition: gpuClustering.h:34
static unsigned int const shift

◆ isDuplicate()

__device__ constexpr bool gpuClustering::pixelStatus::isDuplicate ( uint32_t const *__restrict__  status,
uint16_t  x,
uint16_t  y 
)
inline

Definition at line 42 of file gpuClustering.h.

References getStatus(), kDuplicate, gpuClustering::status, and x.

42  {
43  return getStatus(status, x, y) == kDuplicate;
44  }
__device__ constexpr Status getStatus(uint32_t const *__restrict__ status, uint16_t x, uint16_t y)
Definition: gpuClustering.h:36
uint16_t *__restrict__ uint16_t const *__restrict__ x
Definition: gpuClustering.h:97
uint16_t *__restrict__ uint16_t const *__restrict__ uint16_t const *__restrict__ y
Definition: gpuClustering.h:97
__shared__ uint32_t status[pixelStatusSize]

◆ promote()

__device__ constexpr void gpuClustering::pixelStatus::promote ( uint32_t *__restrict__  status,
const uint16_t  x,
const uint16_t  y 
)
inline

Definition at line 46 of file gpuClustering.h.

References cms::cudacompat::atomicCAS(), getIndex(), getShift(), kDuplicate, kEmpty, kFound, mask, edm::shift, gpuClustering::status, and x.

46  {
47  uint32_t index = getIndex(x, y);
48  uint32_t shift = getShift(x, y);
49  uint32_t old_word = status[index];
50  uint32_t expected = old_word;
51  do {
52  expected = old_word;
53  Status old_status{(old_word >> shift) & mask};
54  if (kDuplicate == old_status) {
55  // nothing to do
56  return;
57  }
58  Status new_status = (kEmpty == old_status) ? kFound : kDuplicate;
59  uint32_t new_word = old_word | (static_cast<uint32_t>(new_status) << shift);
60  old_word = atomicCAS(&status[index], expected, new_word);
61  } while (expected != old_word);
62  }
T1 atomicCAS(T1 *address, T1 compare, T2 val)
Definition: cudaCompat.h:36
uint16_t *__restrict__ uint16_t const *__restrict__ x
Definition: gpuClustering.h:97
constexpr uint32_t mask
Definition: gpuClustering.h:26
uint16_t *__restrict__ uint16_t const *__restrict__ uint16_t const *__restrict__ y
Definition: gpuClustering.h:97
__shared__ uint32_t status[pixelStatusSize]
static __device__ constexpr uint32_t getIndex(uint16_t x, uint16_t y)
Definition: gpuClustering.h:30
__device__ constexpr uint32_t getShift(uint16_t x, uint16_t y)
Definition: gpuClustering.h:34
static unsigned int const shift

Variable Documentation

◆ bits

constexpr uint32_t gpuClustering::pixelStatus::bits = 2

Definition at line 25 of file gpuClustering.h.

Referenced by AlCaRecoTriggerBitsRcdUpdate::addPathsFromMap(), pos::PixelMaskAllPixels::addROCMaskBits(), AlCaRecoTriggerBitsRcdUpdate::addTriggerLists(), HcalTriggerPrimitiveAlgo::addUpgradeFG(), RPCTTUMonitor::analyze(), l1t::bitShift(), emtf::calc_eta(), emtf::calc_phi_GMT_deg(), emtf::calc_phi_GMT_rad(), emtf::calc_phi_loc_deg(), emtf::calc_phi_loc_rad(), emtf::calc_pt(), trackerTFP::Demonstrator::convert(), pos::PixelCalibConfiguration::disablePixels(), pos::PixelCalibConfiguration::enablePixels(), GEMDQMBase::MEMapInfT< M, K >::FillBits(), L1TMuonBarrelKalmanAlgo::fp_product(), HcalObjRepresent::getBitsSummary(), PtAssignmentEngineAux2017::getCLCT(), PtAssignmentEngineAux2017::getdPhiFromBin(), PtAssignmentEngineAux2016::getdPhiFromBin(), PtAssignmentEngineAux2017::getdTheta(), PtAssignmentEngineAux2016::getEtaFromBin(), PtAssignmentEngineAux2016::getEtaFromEtaInt(), PtAssignmentEngineAux2016::getEtaInt(), PtAssignmentEngineAux2016::getFRLUT(), PtAssignmentEngineAux2017::getNLBdPhi(), PtAssignmentEngineAux2016::getNLBdPhi(), PtAssignmentEngineAux2017::getNLBdPhiBin(), PtAssignmentEngineAux2016::getNLBdPhiBin(), PtAssignmentEngineAux2017::getTheta(), PreparePVTrends::list_files(), l1ct::Jet::pack(), l1gt::Jet::pack(), pos::PixelTrimAllPixels::PixelTrimAllPixels(), TotemSampicFrame::printRawBuffer(), l1t::Stage1Layer2CentralityAlgorithm::processEvent(), TriggerObjectTableProducer::produce(), L1FPGATrackProducer::produce(), l1t::EMTFDaqOut::push_GEM(), l1t::EMTFTrack::push_HitIdx(), l1t::EMTFDaqOut::push_ME(), l1t::EMTFDaqOut::push_RPC(), l1t::EMTFDaqOut::push_SP(), MiniFloatConverter::reduceMantissaToNbits(), MiniFloatConverter::ReduceMantissaToNbitsRounding::ReduceMantissaToNbitsRounding(), MiniFloatConverter::reduceMantissaToNbitsRounding(), AlCaRecoTriggerBitsRcdUpdate::removePathsFromMap(), TriggerObjectTableProducer::SelectedObject::SelectedObject(), l1t::emtf::ME::set_af(), l1t::emtf::ME::set_afef(), l1t::emtf::ME::set_afff(), l1t::EMTFHit::set_alct_quality(), l1t::EMTFDaqOut::set_AMC13Header(), l1t::EMTFDaqOut::set_AMC13Trailer(), l1t::emtf::MTF7Header::set_amc_number(), l1t::emtf::EventTrailer::set_bb(), l1t::emtf::GEM::set_bc0(), l1t::emtf::RPC::set_bc0(), l1t::emtf::ME::set_bc0(), l1t::emtf::SP::set_bc0(), l1t::EMTFHit::set_bc0(), l1t::EMTFHit::set_bend(), l1t::emtf::MTF7Header::set_board_id(), l1t::emtf::EventHeader::set_bsy(), l1t::EMTFHit::set_bt_segment(), l1t::EMTFHit::set_bt_station(), l1t::EMTFRoad::set_bx(), l1t::emtf::SP::set_bx(), l1t::EMTFTrack::set_bx(), l1t::EMTFHit::set_bx(), l1t::emtf::MTF7Header::set_bx_id(), l1t::emtf::AMC13Header::set_bx_id(), l1t::emtf::ME::set_bxe(), l1t::emtf::AMC13Trailer::set_c(), l1t::emtf::SP::set_c(), l1t::EMTFHit::set_chamber(), l1t::EMTFTrack::set_charge(), l1t::emtf::ME::set_cik(), l1t::emtf::ME::set_clct_pattern(), l1t::EMTFHit::set_clct_quality(), l1t::emtf::GEM::set_cluster_id(), l1t::EMTFHit::set_cluster_id(), l1t::emtf::GEM::set_cluster_size(), l1t::EMTFHit::set_cluster_size(), l1t::EMTFDaqOut::set_Counters(), l1t::emtf::EventHeader::set_cppf(), l1t::emtf::EventHeader::set_cppf_crc(), l1t::emtf::AMC13Trailer::set_crc16(), l1t::emtf::EventTrailer::set_crc22(), l1t::emtf::MTF7Trailer::set_crc_32(), l1t::emtf::ME::set_csc_ID(), l1t::EMTFHit::set_csc_ID(), l1t::EMTFHit::set_csc_nID(), l1t::emtf::MTF7Trailer::set_data_length(), l1t::emtf::MTF7Header::set_data_length(), l1t::emtf::MTF7Trailer::set_dataword(), l1t::emtf::MTF7Header::set_dataword(), l1t::emtf::AMC13Trailer::set_dataword(), l1t::emtf::GEM::set_dataword(), l1t::emtf::RPC::set_dataword(), l1t::emtf::EventTrailer::set_dataword(), l1t::emtf::EventHeader::set_dataword(), l1t::emtf::AMC13Header::set_dataword(), l1t::emtf::SP::set_dataword(), l1t::emtf::ME::set_dataword(), l1t::EMTFDaqOut::set_dataword(), l1t::emtf::Counters::set_dataword(), l1t::emtf::EventTrailer::set_dd(), l1t::emtf::EventTrailer::set_ddcsr_bid(), l1t::emtf::EventTrailer::set_ddcsr_lf(), l1t::emtf::EventHeader::set_ddm(), l1t::emtf::SP::set_dxy_GMT(), l1t::emtf::ME::set_eighth_strip(), l1t::EMTFRoad::set_endcap(), l1t::emtf::EventHeader::set_endcap(), l1t::EMTFTrack::set_endcap(), l1t::EMTFHit::set_endcap(), l1t::emtf::ME::set_epc(), l1t::emtf::SP::set_eta_GMT(), l1t::EMTFDaqOut::set_EventHeader(), l1t::EMTFDaqOut::set_EventTrailer(), l1t::emtf::AMC13Trailer::set_evt_lgth(), l1t::emtf::AMC13Trailer::set_evt_stat(), l1t::emtf::AMC13Header::set_evt_ty(), l1t::emtf::AMC13Trailer::set_f(), l1t::EMTFTrack::set_first_bx(), l1t::emtf::AMC13Header::set_fov(), l1t::emtf::RPC::set_frame(), l1t::emtf::ME::set_frame(), l1t::EMTFHit::set_fs_segment(), l1t::EMTFHit::set_fs_zone_code(), l1t::emtf::EventHeader::set_gem(), l1t::emtf::GEM::set_gem_bxn(), l1t::emtf::EventHeader::set_gem_crc(), l1t::EMTFDaqOut::set_GEMCollection(), l1t::EMTFTrack::set_gmt_charge(), l1t::EMTFTrack::set_gmt_charge_valid(), l1t::EMTFTrack::set_gmt_dxy(), l1t::EMTFTrack::set_gmt_eta(), l1t::EMTFTrack::set_gmt_phi(), l1t::EMTFTrack::set_gmt_pt(), l1t::EMTFTrack::set_gmt_pt_dxy(), l1t::EMTFTrack::set_gmt_quality(), l1t::emtf::AMC13Header::set_h(), l1t::EMTFTrack::set_HitIdx(), l1t::emtf::SP::set_hl(), l1t::emtf::EventTrailer::set_hp(), l1t::EMTFRoad::set_key_zhit(), l1t::emtf::EventTrailer::set_l1a(), l1t::emtf::EventHeader::set_l1a(), l1t::emtf::EventHeader::set_l1a_BXN(), l1t::EMTFHit::set_layer(), l1t::EMTFRoad::set_layer_code(), l1t::emtf::EventTrailer::set_lfff(), l1t::emtf::RPC::set_link(), l1t::emtf::GEM::set_link(), l1t::emtf::EventTrailer::set_lp(), l1t::emtf::ME::set_lr(), l1t::emtf::MTF7Trailer::set_lv1_id(), l1t::emtf::MTF7Header::set_lv1_id(), l1t::emtf::AMC13Header::set_lv1_id(), l1t::emtf::SP::set_me1_CSC_ID(), l1t::emtf::SP::set_me1_delay(), l1t::emtf::SP::set_me1_stub_num(), l1t::emtf::SP::set_me1_subsector(), l1t::emtf::EventHeader::set_me1a(), l1t::emtf::Counters::set_me1a_1(), l1t::emtf::Counters::set_me1a_2(), l1t::emtf::Counters::set_me1a_3(), l1t::emtf::Counters::set_me1a_4(), l1t::emtf::Counters::set_me1a_5(), l1t::emtf::Counters::set_me1a_6(), l1t::emtf::Counters::set_me1a_7(), l1t::emtf::Counters::set_me1a_8(), l1t::emtf::Counters::set_me1a_9(), l1t::emtf::Counters::set_me1a_all(), l1t::emtf::EventHeader::set_me1b(), l1t::emtf::Counters::set_me1b_1(), l1t::emtf::Counters::set_me1b_2(), l1t::emtf::Counters::set_me1b_3(), l1t::emtf::Counters::set_me1b_4(), l1t::emtf::Counters::set_me1b_5(), l1t::emtf::Counters::set_me1b_6(), l1t::emtf::Counters::set_me1b_7(), l1t::emtf::Counters::set_me1b_8(), l1t::emtf::Counters::set_me1b_9(), l1t::emtf::Counters::set_me1b_all(), l1t::emtf::Counters::set_me1n_3(), l1t::emtf::Counters::set_me1n_6(), l1t::emtf::Counters::set_me1n_9(), l1t::emtf::EventHeader::set_me2(), l1t::emtf::Counters::set_me2_1(), l1t::emtf::Counters::set_me2_2(), l1t::emtf::Counters::set_me2_3(), l1t::emtf::Counters::set_me2_4(), l1t::emtf::Counters::set_me2_5(), l1t::emtf::Counters::set_me2_6(), l1t::emtf::Counters::set_me2_7(), l1t::emtf::Counters::set_me2_8(), l1t::emtf::Counters::set_me2_9(), l1t::emtf::Counters::set_me2_all(), l1t::emtf::SP::set_me2_CSC_ID(), l1t::emtf::SP::set_me2_delay(), l1t::emtf::SP::set_me2_stub_num(), l1t::emtf::Counters::set_me2n_3(), l1t::emtf::Counters::set_me2n_9(), l1t::emtf::EventHeader::set_me3(), l1t::emtf::Counters::set_me3_1(), l1t::emtf::Counters::set_me3_2(), l1t::emtf::Counters::set_me3_3(), l1t::emtf::Counters::set_me3_4(), l1t::emtf::Counters::set_me3_5(), l1t::emtf::Counters::set_me3_6(), l1t::emtf::Counters::set_me3_7(), l1t::emtf::Counters::set_me3_8(), l1t::emtf::Counters::set_me3_9(), l1t::emtf::Counters::set_me3_all(), l1t::emtf::SP::set_me3_CSC_ID(), l1t::emtf::SP::set_me3_delay(), l1t::emtf::SP::set_me3_stub_num(), l1t::emtf::Counters::set_me3n_3(), l1t::emtf::Counters::set_me3n_9(), l1t::emtf::EventHeader::set_me4(), l1t::emtf::Counters::set_me4_1(), l1t::emtf::Counters::set_me4_2(), l1t::emtf::Counters::set_me4_3(), l1t::emtf::Counters::set_me4_4(), l1t::emtf::Counters::set_me4_5(), l1t::emtf::Counters::set_me4_6(), l1t::emtf::Counters::set_me4_7(), l1t::emtf::Counters::set_me4_8(), l1t::emtf::Counters::set_me4_9(), l1t::emtf::Counters::set_me4_all(), l1t::emtf::SP::set_me4_CSC_ID(), l1t::emtf::SP::set_me4_delay(), l1t::emtf::SP::set_me4_stub_num(), l1t::emtf::Counters::set_me4n_3(), l1t::emtf::Counters::set_me4n_9(), l1t::emtf::Counters::set_me_all(), l1t::emtf::ME::set_me_bxn(), l1t::EMTFDaqOut::set_MECollection(), l1t::emtf::Counters::set_meN_all(), l1t::emtf::EventTrailer::set_mm(), l1t::emtf::SP::set_mode(), l1t::EMTFTrack::set_mode(), l1t::EMTFTrack::set_mode_inv(), l1t::EMTFHit::set_mpc_link(), l1t::EMTFDaqOut::set_MTF7Header(), l1t::EMTFDaqOut::set_MTF7Trailer(), l1t::EMTFHit::set_muon_shower_inTime(), l1t::EMTFHit::set_muon_shower_outOfTime(), l1t::EMTFHit::set_muon_shower_valid(), l1t::emtf::SP::set_mus(), l1t::emtf::ME::set_mus_inTime(), l1t::emtf::ME::set_mus_outOfTime(), l1t::emtf::ME::set_musv(), l1t::emtf::AMC13Header::set_namc(), l1t::EMTFHit::set_neighbor(), l1t::emtf::ME::set_nit(), l1t::emtf::SP::set_nn_pt_valid(), l1t::emtf::MTF7Header::set_orbit_number(), l1t::emtf::AMC13Header::set_orn(), l1t::emtf::EventHeader::set_osy(), l1t::emtf::GEM::set_pad(), l1t::EMTFHit::set_pad(), l1t::EMTFHit::set_pad_hi(), l1t::EMTFHit::set_pad_low(), l1t::emtf::GEM::set_partition(), l1t::EMTFHit::set_partition(), l1t::EMTFRoad::set_pattern(), l1t::EMTFHit::set_pattern(), l1t::EMTFHit::set_pattern_run3(), l1t::EMTFHit::set_pc_chamber(), l1t::EMTFHit::set_pc_sector(), l1t::EMTFHit::set_pc_segment(), l1t::EMTFHit::set_pc_station(), l1t::EMTFTrack::set_ph_num(), l1t::EMTFTrack::set_ph_q(), l1t::emtf::RPC::set_phi(), l1t::EMTFTrack::set_phi_fp(), l1t::EMTFHit::set_phi_fp(), l1t::emtf::SP::set_phi_full(), l1t::emtf::SP::set_phi_GMT(), l1t::emtf::SP::set_pt_dxy_GMT(), l1t::emtf::SP::set_pt_GMT(), l1t::emtf::SP::set_pt_LUT_addr(), l1t::EMTFTrack::set_PtLUT(), l1t::emtf::ME::set_quality(), l1t::EMTFHit::set_quality(), l1t::EMTFRoad::set_quality_code(), l1t::emtf::SP::set_quality_GMT(), l1t::emtf::ME::set_quarter_strip(), l1t::emtf::AMC13Trailer::set_r(), l1t::EMTFTrack::set_rank(), l1t::emtf::EventHeader::set_rdy(), l1t::emtf::AMC13Header::set_res(), l1t::EMTFHit::set_ring(), l1t::EMTFHit::set_roll(), l1t::emtf::RPC::set_rpc_bxn(), l1t::emtf::EventHeader::set_rpca(), l1t::EMTFDaqOut::set_RPCCollection(), l1t::emtf::ME::set_run3_pattern(), l1t::emtf::SP::set_se(), l1t::emtf::ME::set_se(), l1t::EMTFTrack::set_second_bx(), l1t::EMTFRoad::set_sector(), l1t::emtf::EventHeader::set_sector(), l1t::EMTFTrack::set_sector(), l1t::EMTFHit::set_sector(), l1t::EMTFRoad::set_sector_idx(), l1t::EMTFTrack::set_sector_idx(), l1t::EMTFHit::set_sector_idx(), l1t::EMTFHit::set_sector_RPC(), l1t::emtf::EventHeader::set_skip(), l1t::emtf::ME::set_slope(), l1t::EMTFHit::set_slope(), l1t::emtf::ME::set_sm(), l1t::emtf::AMC13Header::set_source_id(), l1t::emtf::EventHeader::set_sp_addr(), l1t::emtf::EventTrailer::set_sp_ersv(), l1t::emtf::EventHeader::set_sp_ersv(), l1t::emtf::EventTrailer::set_sp_ladr(), l1t::emtf::EventTrailer::set_sp_padr(), l1t::emtf::EventHeader::set_sp_TS(), l1t::emtf::EventHeader::set_spa(), l1t::EMTFDaqOut::set_SPCollection(), l1t::emtf::EventTrailer::set_spcsr_scc(), l1t::emtf::ME::set_station(), l1t::EMTFHit::set_station(), l1t::EMTFRoad::set_straightness(), l1t::emtf::ME::set_strip(), l1t::EMTFHit::set_strip(), l1t::EMTFHit::set_strip_eighth(), l1t::EMTFHit::set_strip_eighth_bit(), l1t::EMTFHit::set_strip_hi(), l1t::EMTFHit::set_strip_low(), l1t::EMTFHit::set_strip_quart(), l1t::EMTFHit::set_strip_quart_bit(), l1t::emtf::ME::set_stub_num(), l1t::EMTFHit::set_stub_num(), l1t::EMTFHit::set_subsector(), l1t::EMTFHit::set_subsector_RPC(), l1t::EMTFHit::set_subsystem(), l1t::EMTFHit::set_sync_err(), l1t::emtf::AMC13Trailer::set_t(), l1t::emtf::GEM::set_tbin(), l1t::emtf::RPC::set_tbin(), l1t::emtf::EventHeader::set_tbin(), l1t::emtf::ME::set_tbin(), l1t::emtf::SP::set_tbin(), l1t::emtf::RPC::set_theta(), l1t::EMTFTrack::set_theta_fp(), l1t::EMTFHit::set_theta_fp(), l1t::EMTFTrack::set_track_num(), l1t::EMTFHit::set_track_num(), l1t::emtf::AMC13Trailer::set_tts(), l1t::emtf::AMC13Header::set_ufov(), l1t::emtf::MTF7Header::set_user_id(), l1t::EMTFHit::set_valid(), l1t::emtf::SP::set_vc(), l1t::emtf::GEM::set_vp(), l1t::emtf::RPC::set_vp(), l1t::emtf::ME::set_vp(), l1t::emtf::SP::set_vt(), l1t::EMTFRoad::set_winner(), l1t::EMTFTrack::set_winner(), l1t::emtf::ME::set_wire(), l1t::EMTFHit::set_wire(), l1t::emtf::EventHeader::set_wof(), l1t::emtf::RPC::set_word(), l1t::emtf::AMC13Header::set_x(), l1t::emtf::EventTrailer::set_yy(), l1t::EMTFRoad::set_zone(), l1t::EMTFTrack::set_zone(), l1t::EMTFHit::set_zone_code(), l1t::EMTFHit::set_zone_hit(), L1MuGMTDebugBlock::SetCancelBits(), l1t::RegionalMuonCand::setDataword(), RunPNErrorsDat::setErrorBits(), RunMemTTErrorsDat::setErrorBits(), RunCrystalErrorsDat::setErrorBits(), RunMemChErrorsDat::setErrorBits(), RunTTErrorsDat::setErrorBits(), l1t::MuonCaloSum::setEtaBits(), l1t::MuonCaloSum::setEtBits(), egHLT::OffEvt::setEvtTrigBits(), l1t::RegionalMuonCand::setHwDXY(), l1t::RegionalMuonCand::setHwEta(), l1t::RegionalMuonCand::setHwPhi(), l1t::RegionalMuonCand::setHwPt(), l1t::RegionalMuonCand::setHwPtUnconstrained(), l1t::RegionalMuonCand::setHwQual(), l1t::GMTInternalMuon::setHwRank(), l1t::RegionalMuonCand::setHwSign(), l1t::RegionalMuonCand::setHwSignValid(), l1t::MuonCaloSum::setPhiBits(), pos::PixelROCMaskBits::setROCMaskBits(), pos::PixelROCTrimBits::setROCTrimBits(), egHLT::OffPho::setTrigBits(), egHLT::OffEle::setTrigBits(), Phase2L1GMT::twos_complement(), l1t::stage2::emtf::TwosCompl(), l1ct::Jet::unpack(), l1gt::Jet::unpack(), PtAssignmentEngineAux2017::unpackCLCT(), PtAssignmentEngineAux2017::unpackdTheta(), L1GTTInputProducer::unpackSignedValue(), l1t::TkJetWord::unpackSignedValue(), l1t::VertexWord::unpackSignedValue(), PtAssignmentEngineAux2017::unpackSt1Ring2(), PtAssignmentEngineAux2017::unpackTheta(), and cms::DDCMSDetElementCreator::~DDCMSDetElementCreator().

◆ mask

constexpr uint32_t gpuClustering::pixelStatus::mask = (0x01 << bits) - 1

Definition at line 26 of file gpuClustering.h.

Referenced by pat::helper::MultiIsolator::addIsolator(), l1t::TriggerSystem::addMask(), cscdqm::Detector::AddressFromString(), DetIdSelector::addSelection(), TrackingNtuple::addStripMatchedHit(), AbsElectronicODERHS::allParametersSet(), SiPixelDynamicInefficiencyDB::analyze(), L1TdeGCT::analyze(), L1TGlobalSummary::analyze(), L1TDEMON::analyze(), SiPixelBadModuleReader::analyze(), L1GtRunSettingsViewer::analyze(), l1t::GtRecordDump::analyze(), FFTJetCorrectionProducer::applyCorrections(), MuonIdProducer::arbitrateMuons(), TotemT2DQMSource::areChannelsTriggered(), hcaldqm::DQClient::beginLuminosityBlock(), GEMRecHitProducer::beginRun(), cms::cuda::HistoContainer< T, NBINS, SIZE, S, I, NHISTS >::bin(), L1GlobalCaloTrigger::build(), PFMultiDepthClusterizer::buildClusters(), RPixDetClusterizer::buildClusters(), SiPixelClusterSource::buildStructure(), SiPixelDigiSource::buildStructure(), SiPixelRawDataErrorSource::buildStructure(), SiPixelRecHitSource::buildStructure(), PixelLumiDQM::calculateBunchMask(), VFATFrame::calculateCRC(), L1TMuonBarrelKalmanAlgo::calculateEta(), L1TMuonBarrelKalmanAlgo::chain(), L1GtConditionEvaluation::checkBit(), l1t::ConditionEvaluation::checkBit(), EcalRecHit::checkFlagMask(), GlobalTrackingRegion::checkTracks(), CosmicTrackingRegion::checkTracks(), RectangularEtaPhiTrackingRegion::checkTracks(), ECALPFSeedCleaner::clean(), FlagsCleanerECAL::clean(), RBXAndHPDCleaner::clean(), SpikeAndDoubleSpikeCleaner::clean(), MuonTrajectoryCleaner::clean(), Phase2L1GMT::TrackMuonMatchAlgorithm::clean(), Phase2L1GMT::TrackMuonMatchAlgorithm::cleanNeighbor(), PhiMemoryImage::clear_bit(), TrackingNtuple::clearVariables(), L1TMuonBarrelKalmanLUTs::coarseEta(), magfieldparam::poly2d_base::Collect(), L1TMuonBarrelParamsHelper::configFromDB(), L1TMuonBarrelParamsHelper::configFromPy(), l1t::MTF7Payload::count(), GEMVFAT::crc_cal(), SiPixelFEDChannelContainerFromQualityConverter::createFromSiPixelQuality(), FastSiPixelFEDChannelContainerFromQuality::createFromSiPixelQuality(), DEutils< T >::de_equal(), L1MuGMTCancelOutUnit::decide(), DEutils< T >::DEDigi(), FFTJetProducer::determineGriddedConstituents(), FFTJetProducer::determineVectorConstituents(), SiStripFineDelayHit::detId(), GEMClusterizer::doAction(), PulseChiSqSNNLS::DoFit(), hcaldqm::DQHarvester::dqmBeginLuminosityBlock(), EcalSeverityLevelAlgo::EcalSeverityLevelAlgo(), L1TGlobalSummary::endRun(), trklet::TrackletProcessor::execute(), PFMultiDepthClusterizer::expandCluster(), Phase2Tracker::extract64(), TFParams::f3deg(), FFTGenericScaleCalculator::FFTGenericScaleCalculator(), HGCROCChannelDataFrame< D >::fillPacket(), TrackingNtuple::fillPixelHits(), TrackingNtuple::fillStripRphiStereoHits(), l1t::Stage2Layer2ClusterAlgorithmFirmwareImp1::filtering(), LocalMaximumSeedFinder::findSeeds(), ticl::LinkingAlgoByDirectionGeometric::findTrackstersInWindow(), tmtt::Sector::forceBitWidth(), TSFit::fpol3dg(), CPPFMaskReClusterizer::get(), RPCMaskReClusterizer::get(), GEMMaskReClusterizer::get(), VFATFrame::getActiveChannels(), sistrip::fedchannelunpacker::detail::getADC_B1(), sistrip::fedchannelunpacker::detail::getADC_B2(), L1TMuonBarrelKalmanAlgo::getByCode(), vid::CutFlowResult::getCutFlowResultMasking(), DCCTBBlockPrototype::getDataWord(), L1GTTInputProducer::getEtaBits(), RPCAMCLinkEvents::getEventName(), CaloRecHitAuxSetter::getField(), TrackerTopology::getField(), RPCAMCLink::getMask(), RPCDCCLink::getMask(), ApvAnalysisFactory::getMask(), RPCLBLink::getMask(), l1t::L1TGlobalUtil::getMaskByBit(), l1t::L1TGlobalUtil::getMaskByName(), HGCTriggerDetId::getMaskedId(), FWGeometry::getMatchedIds(), L1MuGMTReadoutRecord::getMIPbit(), L1GTTInputProducer::getPtBits(), L1MuGMTReadoutRecord::getQuietbit(), getStatus(), reco::HitPattern::getTrackerLayerCase(), reco::HitPattern::getTrackerMonoStereo(), HGCSample::getWord(), hcaldqm::DQTask::globalBeginLuminosityBlock(), gluedId(), L1TMuonBarrelKalmanAlgo::hitPattern(), reco::ElectronSeed::hitsMask(), L1MuPseudoSignedPacking::idxFromPacked(), GeneralTracksImporter::importToBlock(), HcalObjRepresent::IntToBinary(), l1t::Stage2Layer2TauAlgorithmFirmwareImp1::is3x3Maximum(), DEutils< T >::is_empty(), mkfit::isFinite(), edm::isFinite(), l1t::TriggerSystem::isMasked(), CmsTrackerDetIdBuilder::iterate(), L1GctEmulator::L1GctEmulator(), L1TGlobalPrescalesVetosESProducer::L1TGlobalPrescalesVetosESProducer(), L1TGlobalPrescalesVetosFractESProducer::L1TGlobalPrescalesVetosFractESProducer(), HGVHistoProducerAlgo::layerClusters_to_SimClusters(), LzmaDec_DecodeReal(), HGCGraphT< TILES >::makeAndConnectDoublets(), EcalUncalibRecHitMultiFitAlgo::makeRecHit(), HGCalWaferMask::maskCell(), HGCalDDDConstants::maskCell(), GEMDQMEfficiencySourceBase::maskChamberWithError(), RPCHalfSorter::maskHSBInput(), pat::Flags::maskToString(), edm::EventSelector::maskTriggerResults(), FWGeometry::match_id(), L1GctChannelMaskOnlineProd::newObject(), L1MuGMTChannelMaskOnlineProducer::newObject(), L1RPCHsbConfigOnlineProd::newObject(), L1TGlobalPrescalesVetosOnlineProd::newObject(), DCCEventBlock::next_tower_search(), cscdqm::Detector::NextAddress(), cscdqm::Detector::NextAddressBox(), reco::parser::test_bit_f::operator()(), PhysicsTools::VarProcessor::ConfIterator::operator()(), pos::operator<<(), operator<<(), PhysicsTools::VarProcessor::ConfIterator::operator<<(), operator>>(), TotemDAQMappingESSourceXML::ParseTreeDiamond(), CTPPSPixelDAQMappingESSourceXML::ParseTreePixel(), TotemDAQMappingESSourceXML::ParseTreeRP(), TotemDAQMappingESSourceXML::ParseTreeTotemT2(), TotemDAQMappingESSourceXML::ParseTreeTotemTiming(), CTPPSPixelDAQMappingESSourceXML::ParseXML(), TotemDAQMappingESSourceXML::ParseXML(), EgammaCutBasedEleId::PassWP(), VFATFrame::Print(), EgammaCutBasedEleId::PrintDebug(), EcalFenixMaxof2::process(), EcalFenixStripFgvbEE::process(), EcalFenixTcpFgvbEE::process(), EcalFenixEtTot::process(), EcalFenixFgvbEB::process(), RecHitProcessor::process(), RecHitProcessor::processLook(), PFClusterProducer::produce(), RPCRecHitProducer::produce(), GEMRecHitProducer::produce(), TrackSelectorByRegion::produce(), CTPPSPixelClusterProducer::produce(), CTPPSPixelLocalTrackProducer::produce(), L1MuGlobalMuonTrigger::produce(), pat::PATTriggerProducer::produce(), TotemDAQMappingESSourceXML::produce(), L1GctConfigProducers::produceChanMask(), CTPPSPixelDAQMappingESSourceXML::produceCTPPSPixelAnalysisMask(), CTPPSPixelDAQMappingESSourceXML::produceCTPPSPixelDAQMapping(), SiStripFineDelayHit::produceNoTracking(), ecaldqm::LaserClient::producePlots(), ecaldqm::LedClient::producePlots(), ecaldqm::PedestalClient::producePlots(), ecaldqm::PNIntegrityClient::producePlots(), ecaldqm::PresampleClient::producePlots(), ecaldqm::TestPulseClient::producePlots(), ecaldqm::TrigPrimClient::producePlots(), ecaldqm::OccupancyClient::producePlots(), ecaldqm::RawDataClient::producePlots(), ecaldqm::TimingClient::producePlots(), ecaldqm::SummaryClient::producePlots(), ecaldqm::IntegrityClient::producePlots(), ecaldqm::MLClient::producePlots(), promote(), PFMultiDepthClusterizer::prune(), SiPixelDynamicInefficiency::putDetIdmask(), MatacqTBRawEvent::read32(), MatacqRawEvent::read32(), L1MuRegionalCand::readDataField(), L1MuGMTCand::readDataField(), HGCROCChannelDataFrame< D >::readPacket(), L1MuGMTPSB::receiveData(), RPCRecHitBaseAlgo::reconstruct(), GEMRecHitBaseAlgo::reconstruct(), MiniFloatConverter::reduceMantissaToNbits(), PhiMemoryImage::rotl(), PhiMemoryImage::rotr(), Matriplex::round_up_align64(), RPCLogCone::RPCLogCone(), CTPPSPixelClusterProducer::run(), rpcrawtodigi::EventRecords::samePartition(), CSCDCCExaminer::scanbuf(), PhiMemoryImage::set_bit(), FixedFlatOccupancy1d::set_ExclusionMask(), sistrip::TrackerSpecialHeader::setAPVAddressErrorForFEUnit(), sistrip::FEDAPVErrorHeader::setAPVStatusBit(), L1GctRegion::setBit(), sistrip::FEDStatusRegister::setBit(), sistrip::FEDBackendStatusRegister::setBit(), sistrip::FEDFullDebugHeader::setBit(), L1MuGMTDebugBlock::SetCancelBits(), DTStatusFlag::setCellFEMask(), DTStatusFlag::setCellTDCMask(), DTStatusFlag::setCellTrigMask(), l1t::CaloParamsHelper::setCentralityRegionMask(), l1t::CaloParamsHelperO2O::setCentralityRegionMask(), pos::PixelFEDCard::setChannel(), L1GlobalCaloTrigger::setChannelMask(), BTLSample::setDataWord(), EcalSampleMask::setEcalSampleMaskRecordEB(), EcalSampleMask::setEcalSampleMaskRecordEE(), l1t::CaloParamsHelperO2O::setEgEtaCut(), l1t::CaloParamsHelper::setEgEtaCut(), sistrip::TrackerSpecialHeader::setFEEnableForFEUnit(), sistrip::TrackerSpecialHeader::setFEOverflowForFEUnit(), CaloRecHitAuxSetter::setField(), BTLSample::setFlagWord(), L1RPCHsbConfig::setHsbMask(), l1t::CaloParamsHelperO2O::setJetRegionMask(), l1t::CaloParamsHelper::setJetRegionMask(), FFTJetProducer::setJetStatusBit(), CmsShowMain::setLiveMode(), mathSSE::Vec4< double >::setMask(), CSCDCCExaminer::setMask(), EcalRecHit::setMasked(), HGCTriggerDetId::setMaskedId(), L1MuGMTReadoutRecord::setMIPbit(), DTConfigBti::setPTMSflag(), L1MuGMTReadoutRecord::setQuietbit(), FFTJetPFPileupCleaner::setRemovalBit(), DataAdderTableManager::setSelection(), l1t::CaloParamsHelperO2O::setTauRegionMask(), l1t::CaloParamsHelper::setTauRegionMask(), pos::PixelROCTrimBits::setTrim(), DTConfigTraco::setUsedBti(), DTConfigBti::setWENflag(), FTLSample::setWord(), ETLSample::setWord(), HGCSample::setWord(), MkFitProducer::stripClusterChargeCut(), pat::Flags::test(), PhiMemoryImage::test_bit(), EgammaCutBasedEleId::TestWP(), TrackingNtuple::TrackingNtuple(), Phase2L1GMT::twos_complement(), L1MuGMTLUT::u2vec(), sistrip::fedchannelunpacker::detail::unpackRawB(), sistrip::fedchannelunpacker::detail::unpackZSB(), L1TMuonBarrelKalmanAlgo::update(), L1TMuonBarrelKalmanAlgo::updateLUT(), HGCalTopology::valid(), HcalTriggerPrimitiveAlgo::validChannel(), cscdqm::Summary::WriteChamberState(), L1MuRegionalCand::writeDataField(), L1MuGMTCand::writeDataField(), and HcalHTRData::zsBunchMask().

◆ size

constexpr uint32_t gpuClustering::pixelStatus::size = pixelSizeX * pixelSizeY / valuesPerWord

Definition at line 28 of file gpuClustering.h.

◆ valuesPerWord

constexpr uint32_t gpuClustering::pixelStatus::valuesPerWord = sizeof(uint32_t) * 8 / bits

Definition at line 27 of file gpuClustering.h.

Referenced by getIndex(), and getShift().