Report problems to ATLAS LXR Team (with time and IP address indicated)

The LXR Cross Referencer

source navigation ]
diff markup ]
identifier search ]
general search ]
 
 
Architecture: linux ]
Version: head ] [ nightly ] [ GaudiDev ]
  Links to LXR source navigation pages for stable releases [ 12.*.* ]   [ 13.*.* ]   [ 14.*.* ]   [ 15.*.* ] 

001 #include "HADGrid.h"
002 
003 #include <TLine.h>
004 #include <TBox.h>
005 #include <TLatex.h>
006 
007 HADGrid::HADGrid(void)
008 {
009         TLine* gridline = NULL;
010 
011         const double ETAMIN = -4.9;
012         const double ETAMAX = 4.9;
013         const double PHIMIN = 0.;
014         const double PHIMAX = 6.283185;
015         
016         const int nxgrids = 7;
017         double xcoord[nxgrids] = {-3.2, -3.1, -2.5, 0, 2.5, 3.1, 3.2};
018         for(int i=0;i<nxgrids;++i) {
019                 gridline = new TLine(xcoord[i],PHIMIN,xcoord[i],PHIMAX);
020                 gridline->SetLineWidth(2);
021                 gridline->SetLineStyle(1);
022                 this->addObject(gridline);
023         }
024         
025         const int nygrids = 3;
026         double ycoord[nygrids] = {1.5707, 3.14159, 4.71238};
027         for(int i=0;i<nygrids;++i) {
028                 gridline = new TLine(ETAMIN,ycoord[i],ETAMAX,ycoord[i]);
029                 gridline->SetLineWidth(1);
030                 gridline->SetLineStyle(7);
031                 this->addObject(gridline);
032         }
033         
034         TBox* pBox = 0;
035         pBox = new TBox(3.2,PHIMIN,4.05,PHIMAX);
036         //pBox->SetFillColor(kGreen);

037         pBox->SetLineColor(17);
038         pBox->SetFillStyle(3002);
039         pBox->SetFillColor(41);
040         this->addObject(pBox);
041 
042         pBox = new TBox(4.05,PHIMIN,4.9,PHIMAX);
043         pBox->SetLineColor(17);
044         pBox->SetFillStyle(3002);
045         pBox->SetFillColor(42);
046         this->addObject(pBox);
047 
048         pBox = new TBox(-4.05,PHIMIN,-3.2,PHIMAX);
049         //pBox->SetFillColor(kGreen);

050         pBox->SetLineColor(17);
051         pBox->SetFillStyle(3002);
052         pBox->SetFillColor(41);
053         this->addObject(pBox);
054 
055         pBox = new TBox(-4.9,PHIMIN,-4.05,PHIMAX);
056         pBox->SetLineColor(17);
057         pBox->SetFillStyle(3002);
058         pBox->SetFillColor(42);
059         this->addObject(pBox);
060 
061         TLatex* pLatexLayer2 = new TLatex(3.625,3.14,"FCAL layer 2");
062         pLatexLayer2->SetTextAngle(90);
063         pLatexLayer2->SetTextAlign(22);
064         pLatexLayer2->SetTextSize(0.03);
065         this->addObject(pLatexLayer2);
066 
067         TLatex* pLatexLayer3 = new TLatex(4.475,3.14,"FCAL layer 3");
068         pLatexLayer3->SetTextAngle(90);
069         pLatexLayer3->SetTextAlign(22);
070         pLatexLayer3->SetTextSize(0.03);
071         this->addObject(pLatexLayer3);
072 
073         TLatex* pLatexLayer2m = new TLatex(-3.625,3.14,"FCAL layer 2");
074         pLatexLayer2m->SetTextAngle(90);
075         pLatexLayer2m->SetTextAlign(22);
076         pLatexLayer2m->SetTextSize(0.03);
077         this->addObject(pLatexLayer2m);
078 
079         TLatex* pLatexLayer3m = new TLatex(-4.475,3.14,"FCAL layer 3");
080         pLatexLayer3m->SetTextAngle(90);
081         pLatexLayer3m->SetTextAlign(22);
082         pLatexLayer3m->SetTextSize(0.03);
083         this->addObject(pLatexLayer3m);
084 
085 }
086 

source navigation ] diff markup ] identifier search ] general search ]

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. Valid HTML 4.01!