50 detPhysicalVolume(0), g4ableName(name), sensitivity(false),
89 G4cout <<
"NOTE: You decided to skip the construction of "
94 G4cout <<
tab <<
"CCalG4Able::PhysicalVolume(...) --> time spent: "
107 G4cout <<
"CCalG4Able::setVisType: Constructing G4VisAttributes for "
121 <<
"Wireframe: " << wf <<
tab
122 <<
"Visible: " << visible <<
G4endl;
146 os <<
"Physical volume already constructed." <<
G4endl;
148 os <<
"Physical volume still not constructed." <<
G4endl;
151 os <<
"and it is Sensitive" << G4endl;
153 os <<
"and it is not Sensitive" <<
G4endl;
G4VPhysicalVolume * PhysicalVolume(G4VPhysicalVolume *)
void setVisType(CCalVisualisable::visType, G4LogicalVolume *)
const char * name(G4int ptype)
CCalG4Able(G4String name)
CCalG4AbleTable theG4DetectorsInside
std::ostream & operator<<(std::ostream &os, const CCalG4Able &det)
G4bool isSensitive() const
static CCalSensitiveConfiguration * getInstance()
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
void SetVisibility(G4bool=true)
std::ostream & tab(std::ostream &)
G4VisAttributes * g4VisAtt[CCalVisualisable::TotalVisTypes]
double colorBlue(visType v) const
static CCalGeometryConfiguration * getInstance()
G4VPhysicalVolume * detPhysicalVolume
double colorRed(visType v) const
int getSensitiveFlag(const G4String &n)
bool isVisible(visType v) const
const G4String & GetName() const
G4bool operator==(const CCalG4Able &right) const
virtual void constructSensitive()
virtual G4VPhysicalVolume * constructIn(G4VPhysicalVolume *)=0
CCalVisualisable visProperties
void SetForceWireframe(G4bool=true)
void SetVisAttributes(const G4VisAttributes *pVA)
bool isWireFrame(visType v) const
double colorGreen(visType v) const
void AddCCalG4Able(CCalG4Able *)