ThinDiskPL::ThinDiskPL(const ThinDiskPL& o) : ThinDisk(o), slope_(o.slope_), Tinner_(o.Tinner_), spectrumBB_(NULL) { if (o.gg_()) gg_=o.gg_->clone(); if (o.spectrumBB_()) spectrumBB_=o.spectrumBB_->clone(); Generic::gg_=gg_; }
ThinDiskPL::ThinDiskPL(const ThinDiskPL& o) : ThinDisk(o), PLSlope_(o.PLSlope_), PLRho_(o.PLRho_), PLRadRef_(o.PLRadRef_), spectrumBB_(NULL) { if (o.gg_()) gg_=o.gg_->clone(); if (o.spectrumBB_()) spectrumBB_=o.spectrumBB_->clone(); Generic::gg_=gg_; }