test
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 
15 
16 class MagBSlab;
17 
19 public:
21  bSlab(handles::const_iterator begin, handles::const_iterator end);
22 
24  ~bSlab();
25 
27  const float RN() const {
28  return volumes.front()->RN();
29  }
30 
32  // FIXME: use volumeHandle [max|min]Phi, which returns phi at median of
33  // phi plane (not absolute limits). Used by: bRod ctor (only for dphi)
34  Geom::Phi<float> minPhi() const;
35 
37  Geom::Phi<float> maxPhi() const;
38 
40  MagBSlab* buildMagBSlab() const;
41 
42 private:
43  handles volumes; // pointers to all volumes in the slab
44  mutable MagBSlab* mslab;
45 };
46 
47 #endif
std::vector< volumeHandle * > handles
const float RN() const
Distance from center along sector normal.
Definition: bSlab.h:27
bSlab(handles::const_iterator begin, handles::const_iterator end)
Constructor from list of volumes.
Definition: bSlab.cc:19
~bSlab()
Destructor.
Definition: bSlab.cc:17
#define end
Definition: vmac.h:37
MagBSlab * buildMagBSlab() const
Construct the MagBSlab upon request.
Definition: bSlab.cc:58
#define begin
Definition: vmac.h:30
Geom::Phi< float > maxPhi() const
Boundary in phi.
Definition: bSlab.cc:53
Geom::Phi< float > minPhi() const
Boundary in phi.
Definition: bSlab.cc:49