Commit 99dc622d authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Merge branch 'jisaidi-master-patch-73140' into 'master'

The PixelHit object now prints also Global spatial coordinates

See merge request allpix-squared/allpix-squared!776
parents cda15ee3 648879be
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -102,7 +102,8 @@ std::vector<const MCParticle*> PixelHit::getPrimaryMCParticles() const {

void PixelHit::print(std::ostream& out) const {
    out << "PixelHit " << this->getIndex().X() << ", " << this->getIndex().Y() << ", " << this->getSignal() << ", "
        << this->getLocalTime() << ", " << this->getGlobalTime();
        << this->getLocalTime() << ", " << this->getGlobalTime() << ", " << this->getPixel().getGlobalCenter().X() << ", "
        << this->getPixel().getGlobalCenter().Y() << ", " << this->getPixel().getGlobalCenter().Z();
}

void PixelHit::loadHistory() {