# Weight analysis of the new TPC geometry

Using the TGeoVolume::Weight() method, examine the mass of the main TPC volume and the sub volumes.  What we see is that there is a big mismatch between the analytic and sampled masses in TSWH (the sector + wheel whole assembly).  This amounts to 20% of the total mass of the TSWH volumes in TPCE.  This is a difference of 24 * ( 234.09 kg - 196.768 kg) = 895.7 kg.  The problem is localized to TSHW.

xx Volume: TPCE analytic=5942.111 kg  sampled=4380.262 kg
=========================================================
xx Volume: TPCM analytic=   1.254 kg  sampled=   1.257 kg
xx Volume: TIFC analytic=  64.509 kg  sampled=  64.616 kg
xx Volume: TOFC analytic= 234.090 kg  sampled= 234.850 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg
xx ======================================================
xx sum analytic: 5942.111 kg
xx sum sampled:  5023.157 kg

One level lower in the geometry is TSAW.  It is the only daughter of TSWH.  It has a consistent mass w/ it's mother volume.

One level below TSAW we have...

xx Volume: TPCE analytic=5942.111 kg  sampled=4380.262 kg

xx Volume: TSWH analytic= 235.094 kg  sampled= 196.768 kg

xx Volume: TSAW analytic= 235.094 kg  sampled= 196.570 kg
=======================================
xx Volume: TWRB analytic=   1.874 kg  sampled=   1.873 kg
xx Volume: TWR1 analytic=   4.120 kg  sampled=   4.121 kg
xx Volume: TWR2 analytic=   1.874 kg  sampled=   1.884 kg
xx Volume: TWR3 analytic=   4.120 kg  sampled=   4.126 kg
xx Volume: TWBT analytic=   4.001 kg  sampled=   3.999 kg
xx Volume: TWTR analytic=   1.028 kg  sampled=   1.028 kg
xx Volume: TWMR analytic=   5.124 kg  sampled=   5.111 kg
xx Volume: TC1O analytic=   0.509 kg  sampled=   0.509 kg
xx Volume: TC11 analytic=   0.464 kg  sampled=   0.464 kg
xx Volume: TC12 analytic=   0.419 kg  sampled=   0.419 kg
xx Volume: TC13 analytic=   0.374 kg  sampled=   0.373 kg
xx Volume: TC14 analytic=   0.326 kg  sampled=   0.326 kg
xx Volume: TC15 analytic=   0.284 kg  sampled=   0.284 kg
xx Volume: TC16 analytic=   0.274 kg  sampled=   0.274 kg
xx Volume: TC17 analytic=   0.233 kg  sampled=   0.233 kg
xx Volume: TCAB analytic=  15.051 kg  sampled=  15.019 kg
xx Volume: TCA1 analytic=  15.051 kg  sampled=  15.139 kg
xx Volume: TSAS analytic=  27.216 kg  sampled=  24.707 kg  **** 2.5 kg
xx Volume: TWAS analytic=  13.599 kg  sampled=  12.492 kg
xx Volume: TBRW analytic=   1.102 kg  sampled=   1.102 kg
xx Volume: TBRW analytic=   1.102 kg  sampled=   1.102 kg
xx Volume: TBRW analytic=   1.102 kg  sampled=   1.102 kg
xx Volume: TBRW analytic=   1.102 kg  sampled=   1.102 kg
xx Volume: TBRW analytic=   1.102 kg  sampled=   1.102 kg
xx Volume: TSA1 analytic=  44.745 kg  sampled=  41.923 kg  **** 3 kg
xx Volume: TWA1 analytic=  28.745 kg  sampled=  27.323 kg
xx Volume: TBRW analytic=   1.102 kg  sampled=   1.102 kg
xx Volume: TBRW analytic=   1.102 kg  sampled=   1.102 kg
xx Volume: TBRW analytic=   1.102 kg  sampled=   1.102 kg
xx Volume: TBRW analytic=   1.102 kg  sampled=   1.102 kg
xx Volume: TWRI analytic=  33.107 kg  sampled=  21.412 kg ****  10 kg
xx Volume: TRDO analytic=  22.633 kg  sampled=  19.894 kg ****   3 kg
xx ===========================================
xx sum analytic:  235.094 kg
xx sum sampled:   212.853 kg

Volumes TSAS, TSA1, TWRI and TRDO account for about 1/2 of the missing mass.

Groups: