CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
bSlab.h
Go to the documentation of this file.
1 #ifndef bSlab_H
2 #define bSlab_H
3 
17 
18 class MagBSlab;
19 
21 public:
23  bSlab(handles::const_iterator begin, handles::const_iterator end);
24 
26  ~bSlab();
27 
29  const float RN() const {
30  return volumes.front()->RN();
31  }
32 
34  // FIXME: use volumeHandle [max|min]Phi, which returns phi at median of
35  // phi plane (not absolute limits). Used by: bRod ctor (only for dphi)
36  Geom::Phi<float> minPhi() const;
37 
39  Geom::Phi<float> maxPhi() const;
40 
42  MagBSlab* buildMagBSlab() const;
43 
44 private:
45  handles volumes; // pointers to all volumes in the slab
46  mutable MagBSlab* mslab;
47 };
48 
49 #endif
std::vector< volumeHandle * > handles
const float RN() const
Distance from center along sector normal.
Definition: bSlab.h:29
bSlab(handles::const_iterator begin, handles::const_iterator end)
Constructor from list of volumes.
Definition: bSlab.cc:21
~bSlab()
Destructor.
Definition: bSlab.cc:19
#define end
Definition: vmac.h:38
MagBSlab * buildMagBSlab() const
Construct the MagBSlab upon request.
Definition: bSlab.cc:60
#define begin
Definition: vmac.h:31
Geom::Phi< float > maxPhi() const
Boundary in phi.
Definition: bSlab.cc:55
Geom::Phi< float > minPhi() const
Boundary in phi.
Definition: bSlab.cc:51