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);
const TrackerGeometry * tkGeom_
virtual int ncolumns() const =0
int quadrant(const DetId &detid)
virtual int rowsperroc() const =0
int side(const DetId &detid)
std::map< int, std::pair< int, int > > fSensors_
virtual int nrows() const =0
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
int half(const DetId &detid)
const SiPixelFedCablingMap * cablingMap_
void onlineRocColRow(const DetId &detId, const SiPixelFedCablingMap *cablingMap, int fedId, int offlineRow, int offlineCol, int &roc, int &row, int &col)
identify pixel inside single ROC
std::map< int, std::pair< int, int > > fSensorLayout_
bool isHalfModule() const
full or half module
virtual int colsperroc() const =0
HalfCylinder halfCylinder() const
std::map< int, std::map< int, int > > fRocIds_
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
const TrackerTopology * tkTopo_
std::vector< int > fDetIds_
double collumn and pixel ID in double collumn representation
int indexROC(int irow, int icol, int nROCcolumns)
unsigned int pxfSide(const DetId &id) const
constexpr uint32_t rawId() const
get the raw id
void init(const TrackerGeometry *trackerGeometry, const TrackerTopology *trackerTopology, const SiPixelFedCablingMap *siPixelFedCablingMap)
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
std::unordered_map< uint32_t, unsigned int > det2fedMap() const final
std::unordered_map< uint32_t, unsigned int > fFedIds_
unsigned int idInDetUnit() const
id of this ROC in DetUnit etermined by token path