001 #include "EMGrid.h"
002
003 #include <TLine.h>
004
005 EMGrid::EMGrid(void)
006 {
007 TLine* gridline = NULL;
008
009 const double ETAMIN = -4.9;
010 const double ETAMAX = 4.9;
011 const double PHIMIN = 0.;
012 const double PHIMAX = 6.283185;
013
014 const int nxgrids = 7;
015 double xcoord[nxgrids] = {-3.2, -3.1, -2.5, 0, 2.5, 3.1, 3.2};
016 for(int i=0;i<nxgrids;++i) {
017 gridline = new TLine(xcoord[i],PHIMIN,xcoord[i],PHIMAX);
018 gridline->SetLineWidth(2);
019 gridline->SetLineStyle(1);
020 this->addObject(gridline);
021 }
022
023 const int nygrids = 3;
024 double ycoord[nygrids] = {1.5707, 3.14159, 4.71238};
025 for(int i=0;i<nygrids;++i) {
026 gridline = new TLine(ETAMIN,ycoord[i],ETAMAX,ycoord[i]);
027 gridline->SetLineWidth(1);
028 gridline->SetLineStyle(7);
029 this->addObject(gridline);
030 }
031 }
032
| Due to the LXR bug, the updates fail sometimes to remove references to deleted files. The Saturday's full rebuilds fix these problems |
|
This page was automatically generated by the
LXR engine.
|
|