company income (as defined in section 543(a) without regard to paragraph (2)(B) thereof) if such trade or business were a corporation, and (D) that portion of an interest in a trade or business that is attributable to— (i) cash or marketable securities, or both, in excess of the reasonably expected day-to-day working capital needs of such trade or business, and (ii) any other assets of the trade or business (other than assets used in the active conduct of a trade or business described in section 542(c)(2)), which produce, or are held for the production of, personal holding company income (as defined in subparagraph (C)) or income described in section 954(c)(1) (determined without regard to subparagraph (A) thereof and by substituting trade or business for controlled foreign corporation ). In the case of a lease of property on a net cash basis by the decedent to a member of the decedent’s family, income from such lease shall not be treated as personal holding company income for purposes of subparagraph (C), and such property shall not be treated as an asset described in subparagraph (D)(ii), if such income and property would not be so treated if the lessor had engaged directly in the activities engaged in by the lessee with respect to such property. (3) Rules regarding ownership (A) Ownership of entities For purposes of paragraph (1)(B)— (i) Corporations Ownership of a corporation shall be determined by the holding of stock possessing the appropriate percentage of the total combined voting power of all classes of stock entitled to vote and the appropriate percentage of the total value of shares of all classes of stock. (ii) Partnerships Ownership of a partnership shall be determined by the owning of the appropriate percentage of the capital interest in such partnership. (B) Ownership of tiered entities For purposes of this section, if by reason of holding an interest in a trade or business, a decedent, any member of the decedent’s family, any qualified heir, or any member of any qualified heir’s family is treated