CMS 3D CMS Logo

bRod.h
Go to the documentation of this file.
1 #ifndef bRod_H
2 #define bRod_H
3 
14 
15 class MagBRod;
16 
18 public:
20  bRod(handles::const_iterator begin, handles::const_iterator end);
21 
23  ~bRod();
24 
26  const float RN() const {
27  return volumes.front()->RN();
28  }
29 
31  MagBRod* buildMagBRod() const;
32 
33 private:
34  std::vector<bSlab> slabs;
35  handles volumes; // pointers to all volumes in the rod
36  mutable MagBRod* mrod;
37 };
38 
39 #endif
std::vector< volumeHandle * > handles
~bRod()
Destructor.
Definition: bRod.cc:17
std::vector< bSlab > slabs
Definition: bRod.h:34
#define end
Definition: vmac.h:37
MagBRod * buildMagBRod() const
Construct the MagBRod upon request.
Definition: bRod.cc:84
const float RN() const
Distance from center along sector normal.
Definition: bRod.h:26
#define begin
Definition: vmac.h:30
bRod(handles::const_iterator begin, handles::const_iterator end)
Constructor from list of volumes.
Definition: bRod.cc:20