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)
82 fLayerID = right.fLayerID;
84 fLocalPos = right.fLocalPos;
85 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",
""));
158 G4cout <<
" Layer[" << fLayerID <<
"] : time " << fTime/
ns
159 <<
" (nsec) --- local (x,y) " << fLocalPos.
x()
160 <<
", " << fLocalPos.
y() <<
G4endl;
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
static G4VVisManager * GetConcreteInstance()
void SetFillStyle(FillStyle)
int operator==(const B5DriftChamberHit &right) const
static G4String ConvertToString(G4bool boolVal)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
virtual ~B5DriftChamberHit()
virtual std::vector< G4AttValue > * CreateAttValues() const
G4GLOB_DLL std::ostream G4cout
void SetVisAttributes(const G4VisAttributes *)
const B5DriftChamberHit & operator=(const B5DriftChamberHit &right)
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)
G4ThreadLocal G4Allocator< B5DriftChamberHit > * B5DriftChamberHitAllocator
Definition of the B5DriftChamberHit class.
void SetScreenSize(G4double)