Go to the documentation of this file.
33 for (TrackerGeometry::DetContainer::const_iterator it =
tkGeom_->
dets().begin(); it !=
tkGeom_->
dets().end();
40 DetId detId = (*it)->geographicalId();
41 int detid = detId.
rawId();
52 fSensors_[detid] = std::make_pair(rowsperroc, colsperroc);
55 std::map<int, int> rocIdMap;
56 for (
int irow = 0; irow < nROCrows; irow++) {
57 for (
int icol = 0; icol < nROCcolumns; icol++) {
58 int dummyOfflineRow = (rowsperroc / 2 - 1) + irow * rowsperroc;
59 int dummeOfflineColumn = (colsperroc / 2 - 1) + icol * colsperroc;
62 int roc(-1), rocR(-1), rocC(-1);
118 return int(icol + irow * nROCcolumns);
unsigned int pxfSide(const DetId &id) const
int quadrant(const DetId &detid)
virtual int colsperroc() const =0
const TrackerGeometry * tkGeom_
int half(const DetId &detid)
HalfCylinder halfCylinder() const
const SiPixelFedCablingMap * cablingMap_
int side(const DetId &detid)
std::map< int, std::pair< int, int > > fSensors_
identify pixel inside single ROC
void onlineRocColRow(const DetId &detId, const SiPixelFedCablingMap *cablingMap, int fedId, int offlineRow, int offlineCol, int &roc, int &row, int &col)
std::map< int, std::pair< int, int > > fSensorLayout_
virtual int ncolumns() const =0
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
std::map< int, std::map< int, int > > fRocIds_
const TrackerTopology * tkTopo_
std::unordered_map< uint32_t, unsigned int > det2fedMap() const final
double collumn and pixel ID in double collumn representation
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
int indexROC(int irow, int icol, int nROCcolumns)
std::vector< int > fDetIds_
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
virtual int rowsperroc() const =0
constexpr uint32_t rawId() const
get the raw id
void init(const TrackerGeometry *trackerGeometry, const TrackerTopology *trackerTopology, const SiPixelFedCablingMap *siPixelFedCablingMap)
std::unordered_map< uint32_t, unsigned int > fFedIds_
virtual int nrows() const =0
bool isHalfModule() const
full or half module
unsigned int idInDetUnit() const
id of this ROC in DetUnit etermined by token path