The effectiveness factor of a finite cylinder