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 
16 
17 class MagBSector;
18 
20 public:
22  bSector();
23 
25  bSector(handles::const_iterator begin, handles::const_iterator end);
26 
28  ~bSector();
29 
31  const float RN() const {
32  return volumes.front()->RN();
33  }
34 
36  const handles & getVolumes() const {return volumes;}
37 
39  MagBSector* buildMagBSector() const;
40 
41 private:
42  std::vector<bRod> rods; // the rods in this layer
43  handles volumes; // pointers to all volumes in the sector
44  mutable MagBSector* msector;
45 };
46 #endif
std::vector< volumeHandle * > handles
std::vector< bRod > rods
Definition: bSector.h:42
const float RN() const
Distance from center along normal of sectors.
Definition: bSector.h:31
bSector()
Default ctor is needed to have arrays.
Definition: bSector.cc:25
#define end
Definition: vmac.h:38
const handles & getVolumes() const
Return all volumes in this sector.
Definition: bSector.h:36
MagBSector * buildMagBSector() const
Construct the MagBSector upon request.
Definition: bSector.cc:136
#define begin
Definition: vmac.h:31