This repository has been archived on 2021-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
2020-07-01 16:29:22 +02:00
|
|
|
#include "iostream"
|
2019-12-17 15:05:27 +01:00
|
|
|
#include "CaloCell.hh"
|
|
|
|
#include "CaloGrid.hh"
|
|
|
|
#include "Point.hh"
|
2020-07-01 16:29:22 +02:00
|
|
|
#include "Calorimeter.hh"
|
2019-12-17 15:05:27 +01:00
|
|
|
|
|
|
|
int main() {
|
|
|
|
CaloCell cell(0, 1) ;
|
|
|
|
Point p ;
|
|
|
|
|
|
|
|
CaloGrid grid(2, 2) ;
|
|
|
|
|
|
|
|
|
|
|
|
grid.cell(1, 1);
|
2020-07-01 16:29:22 +02:00
|
|
|
|
|
|
|
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;
|
2019-12-17 15:05:27 +01:00
|
|
|
}
|