I created hundreds of cylinders, joined them into a single object, then splitted back by
mesh -> separate -> by loose parts in Edit mode. The splitted-back objects' local coordinates are not on their direction before join, especially they do not have an axis pointing to the cap. As a result I cannot move the cylinders easily in their local coordinates.
So is there any automatic way to rotate each coordinate (not rotate the object) to make them align with each cylinders' caps?