You can get the cell pointer and thread pointer using the following inside DEFINE_DPM_DRAG:
cell_t c = RP_CELL(&(p->cCell));
Thread *t = RP_THREAD(&(p->cCell));
Once you know the thread and cell containing the particle you can calculate the cell DPM concentration using:
C_DPMS_CONCENTRATION(c,t);