23 lines
387 B
C++
23 lines
387 B
C++
#include "iostream"
|
|
#include "CaloCell.hh"
|
|
#include "CaloGrid.hh"
|
|
#include "Point.hh"
|
|
#include "Calorimeter.hh"
|
|
|
|
int main() {
|
|
CaloCell cell(0, 1) ;
|
|
Point p ;
|
|
|
|
CaloGrid grid(2, 2) ;
|
|
|
|
|
|
grid.cell(1, 1);
|
|
|
|
int nx = 2;
|
|
int ny = 2;
|
|
|
|
Calorimeter calo(nx, ny) ;
|
|
|
|
std::cout << calo.grid().cell(0,0)->getId() << std::endl;
|
|
std::cout << calo.grid().cell(nx-1,ny-1)->getId() << std::endl;
|
|
}
|