12 #include "FairLogger.h"
32 if(new_sensor_grid == 0) LOG(FATAL) <<
"Allocation of sensor failed.";
36 grid =
new BasicGrid( -1.5900/2.0, 1.5900/2.0, 1.0, 1 ,
37 -0.672, 0.0064, 0.0064, 105 );
38 if(grid == 0) LOG(FATAL) <<
"Allocation of sensor failed.";
43 grid =
new BasicGrid( 0.0, 1.5900/2.0, 1.0, 1 ,
44 -0.672, 0.0064, 0.0064, 105 );
45 if(grid == 0) LOG(FATAL) <<
"Allocation of sensor failed.";
51 grid =
new BasicGrid( -1.5900/2.0, 1.5900/2.0, 1.0, 1 ,
52 0.0, 0.0064, 0.0064, 105 );
53 if(grid == 0) LOG(FATAL) <<
"Allocation of sensor failed.";
59 grid =
new BasicGrid( 0.0, 1.5900/2.0, 1.0, 1 ,
60 0.0, 0.0064, 0.0064, 105 );
61 if(grid == 0) LOG(FATAL) <<
"Allocation of sensor failed.";
67 double active_cell_fraction = 0.9;
68 double SPAD_DCR = 25.0;
76 grid =
new BasicGrid( -2.55, 1.6, 1.7, 3 ,
77 -2.5, 0.05, 0.05, 100 );
78 if(grid == 0) LOG(FATAL) <<
"Allocation of sensor failed.";
A generic regular pixel grid with dead space between cells.
void SetUserRowOffset(int ofs)
A grid to group other grids or to create nested grids.
void SetUserColumnOffset(int ofs)
void Init(SensorGridBase *sensor_grid_, bool per_pixel_traits_, double const &efficiency_init, double const &noise_rate_init, double const &time_res_init)
Initialization - can also be used in derived class ctors (avoid code duplication).
void AddGrid(SensorGridBase *grid)