test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
bSector.h
Go to the documentation of this file.
1 #ifndef bSector_H
2 #define bSector_H
3 
14 
15 class MagBSector;
16 
18 public:
20  bSector();
21 
23  bSector(handles::const_iterator begin, handles::const_iterator end);
24 
26  ~bSector();
27 
29  const float RN() const {
30  return volumes.front()->RN();
31  }
32 
34  const handles & getVolumes() const {return volumes;}
35 
37  MagBSector* buildMagBSector() const;
38 
39 private:
40  std::vector<bRod> rods; // the rods in this layer
41  handles volumes; // pointers to all volumes in the sector
42  mutable MagBSector* msector;
43 };
44 #endif
std::vector< volumeHandle * > handles
std::vector< bRod > rods
Definition: bSector.h:40
const float RN() const
Distance from center along normal of sectors.
Definition: bSector.h:29
bSector()
Default ctor is needed to have arrays.
Definition: bSector.cc:23
#define end
Definition: vmac.h:37
const handles & getVolumes() const
Return all volumes in this sector.
Definition: bSector.h:34
MagBSector * buildMagBSector() const
Construct the MagBSector upon request.
Definition: bSector.cc:135
#define begin
Definition: vmac.h:30