CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
bRod.h
Go to the documentation of this file.
1 #ifndef bRod_H
2 #define bRod_H
3 
16 
17 class MagBRod;
18 
20 public:
22  bRod(handles::const_iterator begin, handles::const_iterator end);
23 
25  ~bRod();
26 
28  const float RN() const {
29  return volumes.front()->RN();
30  }
31 
33  MagBRod* buildMagBRod() const;
34 
35 private:
36  std::vector<bSlab> slabs;
37  handles volumes; // pointers to all volumes in the rod
38  mutable MagBRod* mrod;
39 };
40 
41 #endif
std::vector< volumeHandle * > handles
~bRod()
Destructor.
Definition: bRod.cc:19
std::vector< bSlab > slabs
Definition: bRod.h:36
#define end
Definition: vmac.h:38
MagBRod * buildMagBRod() const
Construct the MagBRod upon request.
Definition: bRod.cc:86
const float RN() const
Distance from center along sector normal.
Definition: bRod.h:28
#define begin
Definition: vmac.h:31
bRod(handles::const_iterator begin, handles::const_iterator end)
Constructor from list of volumes.
Definition: bRod.cc:22