/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Geometry/DTGeometry/src/DTLayer.cc
47 строк
1 KB
Cms Build
Clang-Format
11 май 2019, 12:09
11 май 2019, 12:09
02cea70
Код
Авторство
О чём код?
/** \file * * \author : Stefano Lacaprara - INFN Padova <stefano.lacaprara@pd.infn.it> * */ /* This Class Header */ #include "Geometry/DTGeometry/interface/DTLayer.h" /* Collaborating Class Header */ #include "Geometry/DTGeometry/interface/DTSuperLayer.h" /* Base Class Headers */ /* C++ Headers */ /* ====================================================================== */ /* Constructor */ DTLayer::DTLayer(const DTLayerId& id, ReferenceCountingPointer<BoundPlane>& plane, const DTTopology& topo, const DTLayerType& type, const DTSuperLayer* sl) : GeomDetUnit(*&plane), theId(id), theTopo(topo), theType(type), theSL(sl) { setDetId(id); } /* Destructor */ DTLayer::~DTLayer() {} /* Operations */ const Topology& DTLayer::topology() const { return theTopo; } const GeomDetType& DTLayer::type() const { return theType; } const DTTopology& DTLayer::specificTopology() const { return theTopo; } DTLayerId DTLayer::id() const { return theId; } bool DTLayer::operator==(const DTLayer& l) const { return id() == l.id(); } const DTSuperLayer* DTLayer::superLayer() const { return theSL; } const DTChamber* DTLayer::chamber() const { return (theSL) ? theSL->chamber() : nullptr; } std::vector<const GeomDet*> DTLayer::components() const { return std::vector<const GeomDet*>(); }