test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RPCRoll.h
Go to the documentation of this file.
1 #ifndef Geometry_RPCSimAlgo_RPCRoll_H
2 #define Geometry_RPCSimAlgo_RPCRoll_H
3 
8 
9 class StripTopology;
10 class RPCRollSpecs;
11 class RPCChamber;
12 class RPCRoll : public GeomDetUnit{
13 
14  public:
15 
16  RPCRoll(RPCDetId id, BoundPlane::BoundPlanePointer bp, RPCRollSpecs* rrs);
17  ~RPCRoll();
18  const RPCRollSpecs* specs() const;
19  RPCDetId id() const;
20  const Topology& topology() const;
21  const StripTopology& specificTopology() const;
22  const GeomDetType& type() const;
23 
25  const RPCChamber* chamber() const;
26 
27  int nstrips() const;
28 
29  LocalPoint centreOfStrip(int strip) const;
30  LocalPoint centreOfStrip(float strip) const;
31  LocalError localError(float strip) const;
32 
33  float strip(const LocalPoint& lp) const;
34  float pitch() const;
35  float localPitch(const LocalPoint& lp) const;
36  bool isBarrel() const;
37  bool isForward() const;
38 
39  private:
40  void setChamber(const RPCChamber* ch);
41 
42  private:
45  const RPCChamber* theCh; // NOT owned
46 };
47 
48 #endif
float strip(const LocalPoint &lp) const
Definition: RPCRoll.cc:71
LocalPoint centreOfStrip(int strip) const
Definition: RPCRoll.cc:52
const Topology & topology() const
Definition: RPCRoll.cc:30
void setChamber(const RPCChamber *ch)
Definition: RPCRoll.cc:116
int nstrips() const
Definition: RPCRoll.cc:46
const RPCRollSpecs * specs() const
Definition: RPCRoll.cc:18
const StripTopology & specificTopology() const
Definition: RPCRoll.cc:107
bool isBarrel() const
Definition: RPCRoll.cc:92
RPCDetId id() const
Definition: RPCRoll.cc:24
LocalError localError(float strip) const
Definition: RPCRoll.cc:65
const GeomDetType & type() const
Definition: RPCRoll.cc:36
const RPCChamber * chamber() const
Return the chamber this roll belongs to.
Definition: RPCRoll.cc:41
RPCRollSpecs * _rrs
Definition: RPCRoll.h:44
~RPCRoll()
Definition: RPCRoll.cc:12
float localPitch(const LocalPoint &lp) const
Definition: RPCRoll.cc:78
float pitch() const
Definition: RPCRoll.cc:85
RPCRoll(RPCDetId id, BoundPlane::BoundPlanePointer bp, RPCRollSpecs *rrs)
Definition: RPCRoll.cc:6
bool isForward() const
Definition: RPCRoll.cc:98
RPCDetId _id
Definition: RPCRoll.h:43
const RPCChamber * theCh
Definition: RPCRoll.h:45