53 fId(id), fTime(time), fPos(0.), fPLogV(nullptr)
80 fPLogV = right.fPLogV;
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",
""));
161 G4cout <<
" Hodoscope[" << fId <<
"] " << fTime/
ns <<
" (nsec)" <<
G4endl;
static G4VVisManager * GetConcreteInstance()
static G4String ConvertToString(G4bool boolVal)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
virtual std::vector< G4AttValue > * CreateAttValues() const
HepRotation inverse() const
B5HodoscopeHit(G4int i, G4double t)
G4GLOB_DLL std::ostream G4cout
const G4VisAttributes * GetVisAttributes() const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
virtual ~B5HodoscopeHit()
Definition of the B5HodoscopeHit class.
int operator==(const B5HodoscopeHit &right) const
const B5HodoscopeHit & operator=(const B5HodoscopeHit &right)
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)
const G4String & GetName() const
G4ThreadLocal G4Allocator< B5HodoscopeHit > * B5HodoscopeHitAllocator