/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Geometry/RPCGeometry/interface/RPCRoll.h
50 строк
1 KB
Shahzad Malik Muzaffar
[GEOMETRY] Drop Geometry/CommonDetUnit package
28 май 2026, 13:09
28 май 2026, 13:09
bcab810
Код
Авторство
О чём код?
#ifndef Geometry_RPCSimAlgo_RPCRoll_H #define Geometry_RPCSimAlgo_RPCRoll_H #include "Geometry/CommonTopologies/interface/GeomDet.h" #include "Geometry/CommonTopologies/interface/GeomDetType.h" #include "DataFormats/MuonDetId/interface/RPCDetId.h" #include "DataFormats/GeometryVector/interface/GlobalPoint.h" class StripTopology; class RPCRollSpecs; class RPCChamber; class RPCRoll : public GeomDetUnit { public: RPCRoll(RPCDetId id, const BoundPlane::BoundPlanePointer& bp, RPCRollSpecs* rrs); ~RPCRoll() override; const RPCRollSpecs* specs() const; RPCDetId id() const; const Topology& topology() const override; const StripTopology& specificTopology() const; const GeomDetType& type() const override; /// Return the chamber this roll belongs to const RPCChamber* chamber() const; int nstrips() const; LocalPoint centreOfStrip(int strip) const; LocalPoint centreOfStrip(float strip) const; LocalError localError(float strip) const; float strip(const LocalPoint& lp) const; float pitch() const; float localPitch(const LocalPoint& lp) const; bool isBarrel() const; bool isForward() const; bool isIRPC() const { return (((this->id()).region() != 0) && (((this->id()).station() == 3) || ((this->id()).station() == 4)) && ((this->id()).ring() == 1)); } private: void setChamber(const RPCChamber* ch); private: RPCDetId _id; RPCRollSpecs* _rrs; const RPCChamber* theCh; // NOT owned }; #endif