#include <CmsTrackerLadderBuilder.h>
Private Member Functions | |
virtual void | buildComponent (DDFilteredView &, GeometricDet *, std::string) |
virtual void | sortNS (DDFilteredView &, GeometricDet *) |
Class which builds Pixel Ladders
Definition at line 11 of file CmsTrackerLadderBuilder.h.
void CmsTrackerLadderBuilder::buildComponent | ( | DDFilteredView & | fv, |
GeometricDet * | g, | ||
std::string | s | ||
) | [private, virtual] |
Implements CmsTrackerLevelBuilder.
Definition at line 10 of file CmsTrackerLadderBuilder.cc.
References CmsDetConstruction::buildComponent().
{ CmsDetConstruction theCmsDetConstruction; theCmsDetConstruction.buildComponent(fv,g,s); }
void CmsTrackerLadderBuilder::sortNS | ( | DDFilteredView & | fv, |
GeometricDet * | det | ||
) | [private, virtual] |
Reimplemented from CmsTrackerLevelBuilder.
Definition at line 16 of file CmsTrackerLadderBuilder.cc.
References AlCaHLTBitMon_QueryRunRegistry::comp, GeometricDet::components(), GeometricDet::DetUnit, i, and python::multivaluedict::sort().
{ GeometricDet::GeometricDetContainer & comp = det->components(); if (comp.front()->type()==GeometricDet::DetUnit) std::sort(comp.begin(),comp.end(),LessZ()); else edm::LogError("CmsTrackerLadderBuilder")<<"ERROR - wrong SubDet to sort..... "<<det->components().front()->type(); for(uint32_t i=0; i<comp.size();i++){ comp[i]->setGeographicalID(i+1); } }