27#include "MdcGeom/MdcSuperLayer.h"
52static const char rscid[] =
"$Id: MdcSuperLayer.cxx,v 1.3 2010/03/24 00:40:06 zhangy Exp $";
53static const int _layInSuper = 4;
63 _radius = _delphi = _delphiinv = 0;
64 layers[0] = layers[1] = layers[2] = layers[3] = 0;
67 _next = _prev = _nextInView = _prevInView = 0;
82void MdcSuperLayer::addLayer(
int index,
const MdcLayer* lay ) {
108 if ( _delphi != 0. ) _delphiinv = 1. / _delphi;
115 o << setw( 3 ) <<
index() << setw( 3 ) <<
whichView() << setw( 3 ) <<
exist() << setw( 10 )
116 <<
rEnd() << setw( 10 ) <<
rad0() << setw( 10 ) <<
zEnd() << setw( 10 ) <<
stDip()
118 << setw( 3 ) <<
nLayers() << std::endl;
ostream & operator<<(ostream &o, MdcSuperLayer &sl)
const MdcSuperLayer * next(void) const
const MdcLayer * lastLayer(void) const
void print(std::ostream &o=std::cout) const
MdcSuperLayer(int number)
int whichView(void) const
const MdcLayer * layer(int i) const
double delPhiinv(void) const
const MdcSuperLayer * prev(void) const
const MdcLayer * firstLayer(void) const
double delPhi(void) const