27 for(
int p = 0;
p < 256; ++
p){
28 for(
int c = 0;
c < 256; ++
c){
29 const int idx =
p*256+
c;
31 const int newp = ((
p>>(factor+1))<<1)+
p%2;
32 const int newc = c>>factor;
35 const int newidx = (newp<<(8-factor))+newc;
T max(const caf::Proxy< T > &a, T b)
Map of electrostatic potential at each cell.
Map of electrostatic potential at each cell.
assert(nhit_max >=nhit_nbins)
Potential Downsampled(int factor) const