53 fId(id), fTime(time), fPos(0.), fPLogV(nullptr)
96 if (! visManager)
return;
101 if (pVA) attribs = *pVA;
103 attribs.SetColour(colour);
104 attribs.SetForceSolid(
true);
105 visManager->Draw(*
fPLogV,attribs,trans);
117 =
G4AttDef(
"HitType",
"Hit Type",
"Physics",
"",
"G4String");
120 =
G4AttDef(
"ID",
"ID",
"Physics",
"",
"G4int");
123 =
G4AttDef(
"Time",
"Time",
"Physics",
"G4BestUnit",
"G4double");
126 =
G4AttDef(
"Pos",
"Position",
"Physics",
"G4BestUnit",
"G4ThreeVector");
129 =
G4AttDef(
"LVol",
"Logical Volume",
"Physics",
"",
"G4String");
138 auto values =
new std::vector<G4AttValue>;
141 ->push_back(
G4AttValue(
"HitType",
"HodoscopeHit",
""));
B5HodoscopeHit(G4int i, G4double t)
int operator==(const B5HodoscopeHit &right) const
virtual std::vector< G4AttValue > * CreateAttValues() const
static G4VVisManager * GetConcreteInstance()
const B5HodoscopeHit & operator=(const B5HodoscopeHit &right)
const G4VisAttributes * GetVisAttributes() const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
static G4String ConvertToString(G4bool boolVal)
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)
virtual ~B5HodoscopeHit()
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
G4GLOB_DLL std::ostream G4cout
Definition of the B5HodoscopeHit class.
G4ThreadLocal G4Allocator< B5HodoscopeHit > * B5HodoscopeHitAllocator
HepRotation inverse() const
const G4LogicalVolume * fPLogV
const G4String & GetName() const