CMS 3D CMS Logo

Classes | Namespaces | Functions
HGCalMappingTools.h File Reference
#include "DataFormats/ForwardDetId/interface/HGCSiliconDetId.h"
#include "DataFormats/ForwardDetId/interface/HGCScintillatorDetId.h"
#include "DataFormats/HGCalDigi/interface/HGCalElectronicsId.h"
#include <map>

Go to the source code of this file.

Classes

class  hgcal::mappingtools::HGCalEntityList
 

Namespaces

 hgcal
 
 hgcal::mappingtools
 

Functions

uint16_t hgcal::mappingtools::getEcondErx (uint16_t chip, uint16_t half)
 
uint32_t hgcal::mappingtools::getElectronicsId (bool zside, uint16_t fedid, uint16_t captureblock, uint16_t econdidx, int cellchip, int cellhalf, int cellseq)
 
template<class T1 , class T2 >
uint32_t hgcal::mappingtools::getElectronicsIdForSiCell (const T1 &modules, const T2 &cells, uint32_t detid)
 after getting the module/cell indices it returns the sum of the corresponding electronics ids More...
 
template<class T1 , class T2 >
std::pair< int32_t, int32_t > hgcal::mappingtools::getModuleCellIndicesForSiCell (const T1 &modules, const T2 &cells, uint32_t detid)
 matches the module and cell info by detId and returns their indices (-1 is used in case index was not found) More...
 
uint32_t hgcal::mappingtools::getSiDetId (bool zside, int moduleplane, int moduleu, int modulev, int celltype, int celliu, int celliv)
 
uint32_t hgcal::mappingtools::getSiPMDetId (bool zside, int moduleplane, int modulev, int celltype, int celliu, int celliv)