Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Mu2eG4/geom/TransportSolenoid_v08.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ int pbarwedge.nStrips = 2;
vector<double> pbarwedge.stripThicknesses = { 0.127, 0.127 }; // mm
vector<double> pbarwedge.stripHeights = { 90.0, 140.0 }; // mm

// Switch the COL5 material name, but the underlying material is G4_POLYETHYLENE
string ts.coll5.material1Name = "COL5Poly";

// This tells emacs to view this file in c++ mode.
// Local Variables:
// mode:c++
Expand Down
8 changes: 8 additions & 0 deletions Mu2eG4/src/ConstructMaterials.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1832,6 +1832,14 @@ namespace mu2e {
Ti6Al4V->AddMaterial(findMaterialOrThrow("G4_V"),VPercentage*CLHEP::perCent);
}

// COL5 poly
mat = uniqueMaterialOrThrow("COL5Poly");
{
G4Material* met = findMaterialOrThrow("G4_POLYETHYLENE");
G4Material* poly = new G4Material(mat.name, met->GetDensity(), 1);
poly->AddMaterial(met, 1.);
}

// Add new materials before this line

}
Expand Down