53 fLayerID(-1), fTime(0.), fLocalPos(0), fWorldPos(0)
60 fLayerID(layerID), fTime(0.), fLocalPos(0), fWorldPos(0)
72 fLayerID(right.fLayerID),
74 fLocalPos(right.fLocalPos),
75 fWorldPos(right.fWorldPos)
101 if (! visManager)
return;
109 visManager->Draw(circle);
121 =
G4AttDef(
"HitType",
"Hit Type",
"Physics",
"",
"G4String");
124 =
G4AttDef(
"ID",
"ID",
"Physics",
"",
"G4int");
127 =
G4AttDef(
"Time",
"Time",
"Physics",
"G4BestUnit",
"G4double");
130 =
G4AttDef(
"Pos",
"Position",
"Physics",
"G4BestUnit",
"G4ThreeVector");
140 auto values =
new std::vector<G4AttValue>;
143 ->push_back(
G4AttValue(
"HitType",
"DriftChamberHit",
""));
159 <<
" (nsec) --- local (x,y) " <<
fLocalPos.
x()
Definition of the B5DriftChamberHit class.
int operator==(const B5DriftChamberHit &right) const
static G4VVisManager * GetConcreteInstance()
void SetScreenSize(G4double)
virtual std::vector< G4AttValue > * CreateAttValues() const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
virtual ~B5DriftChamberHit()
const B5DriftChamberHit & operator=(const B5DriftChamberHit &right)
#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)
G4ThreadLocal G4Allocator< B5DriftChamberHit > * B5DriftChamberHitAllocator
G4GLOB_DLL std::ostream G4cout
void SetVisAttributes(const G4VisAttributes *)
void SetFillStyle(FillStyle)