5 #include <Geant4/G4Colour.hh>
6 #include <Geant4/G4LogicalVolume.hh>
7 #include <Geant4/G4VisAttributes.hh>
23 if (!detailed) std::cout <<
"PHG4ForwardEcalDisplayAction::disabled detailed view of towers" << std::endl;
49 if (
it.second ==
"Absorber")
57 else if (
it.second ==
"Coating")
65 else if (
it.second ==
"Clamp")
67 visatt->
SetColour(4 * 21. / 255, 4 * 27. / 255, 4 * 31. / 255);
74 else if (
it.second ==
"Envelope")
80 else if (
it.second ==
"Fiber")
83 visatt->
SetColour(152. / 255, 251. / 255, 152. / 255, 0.4);
89 else if (
it.second ==
"Scintillator")
93 visatt->
SetColour(127. / 255, 255. / 255, 212. / 255, 0.2);
99 else if (
it.second ==
"SingleTower")
102 visatt->
SetColour(4 * 21. / 255, 4 * 27. / 255, 4 * 31. / 255);
109 else if (
it.second ==
"miniblock")
117 std::cout <<
"unknown logical volume " <<
it.second << std::endl;