24 using namespace sipixelobjects;
42 for(TrackerGeometry::DetContainer::const_iterator it = pDD->dets().begin(); it != pDD->dets().end(); it++){
44 if(dynamic_cast<PixelGeomDetUnit*>((*it))!=0){
46 DetId detId = (*it)->geographicalId();
47 uint32_t
id = detId();
49 DetToFedMap.insert(pair< uint32_t,std::vector<CablingPathToDetUnit> > (
id,paths));
59 int fedId = (int) path[0].fed;
67 typedef std::vector<CablingPathToDetUnit>::const_iterator
IT;
68 for (IT it = path.begin(); it != path.end(); ++it) {
74 if(!local.
valid())
continue;
75 short link = (short) it->link;
85 typedef std::vector<CablingPathToDetUnit>::const_iterator
IT;
86 for (IT it = path.begin(); it != path.end(); ++it) {
92 if(!local.
valid())
continue;
93 short rocInLink = (short) roc->
idInLink();
103 typedef std::vector<CablingPathToDetUnit>::const_iterator
IT;
104 for (IT it = path.begin(); it != path.end(); ++it) {
110 if(!local.
valid())
continue;
121 typedef std::vector<CablingPathToDetUnit>::const_iterator
IT;
122 for (IT it = path.begin(); it != path.end(); ++it) {
128 if(!local.
valid())
continue;
virtual const sipixelobjects::PixelROC * findItem(const sipixelobjects::CablingPathToDetUnit &) const =0
virtual std::vector< sipixelobjects::CablingPathToDetUnit > pathToDetUnit(uint32_t rawDetId) const =0
unsigned int idInLink() const
id of this ROC in parent Link.
void buildStructure(edm::EventSetup const &)
identify pixel inside single ROC
global coordinates (row and column in DetUnit, as in PixelDigi)
SiPixelFrameReverter(const edm::EventSetup &, const SiPixelFedCabling *map)
std::string link(std::string &nm, std::string &ns)
int findFedId(uint32_t detId)
LocalPixel toLocal(const GlobalPixel &gp) const
unsigned int idInDetUnit() const
id of this ROC in DetUnit etermined by token path
std::vector< LinkConnSpec >::const_iterator IT
short findRocInLink(uint32_t detId, sipixelobjects::GlobalPixel global)
short findRocInDet(uint32_t detId, sipixelobjects::GlobalPixel global)
const SiPixelFedCabling * map_
std::map< uint32_t, std::vector< sipixelobjects::CablingPathToDetUnit > > DetToFedMap
row and collumn in ROC representation
sipixelobjects::LocalPixel findPixelInRoc(uint32_t detId, sipixelobjects::GlobalPixel global)
short findLinkInFed(uint32_t detId, sipixelobjects::GlobalPixel global)