Pegnitz is a town in the Bayreuth district in Upper Franconia , Bavaria , Germany , with a population of about 15,000 . Pegnitz is a town in the Bayreuth district in Upper Franconia , Bavaria , Germany , with a population of approximately 15,000 inhabitants .