#include <CaloWindow.h>
Public Member Functions | |
void | doTest () |
TestCaloWindow () | |
virtual | ~TestCaloWindow () |
Definition at line 171 of file CaloWindow.h.
pftools::TestCaloWindow::TestCaloWindow | ( | ) | [inline] |
Definition at line 173 of file CaloWindow.h.
{ }
virtual pftools::TestCaloWindow::~TestCaloWindow | ( | ) | [inline, virtual] |
Definition at line 176 of file CaloWindow.h.
{ }
void TestCaloWindow::doTest | ( | ) |
Definition at line 257 of file CaloWindow.cc.
References pftools::CaloWindow::addHit(), and gather_cfg::cout.
{ CaloWindow cw(0.0, 0.0, 3, 0.1, 4); std::cout << cw << std::endl; cw.addHit(0, 0.05, 1.0); cw.addHit(0.22, 0.05, 2.0); cw.addHit(0, 0.8, 4.0); cw.addHit(0.2, 0, 1.0); cw.addHit(0.15, 0.15, 2.0); cw.addHit(0.0, 0.2, 3.0); cw.addHit(-0.15, 0.15, 4.0); cw.addHit(-0.2, 0, 5.0); cw.addHit(-0.15, -0.15, 6.0); cw.addHit(-0.0, -0.2, 7.0); cw.addHit(0.15, -0.15, 8.0); std::cout << cw << std::endl; std::cout << "bye bye" << std::endl; }