54 fColumnID(-1), fRowID(-1), fEdep(0.), fPos(0)
61 fColumnID(columnID), fRowID(rowID), fEdep(0.), fPos(0)
73 fColumnID(right.fColumnID),
105 if (! visManager || (
fEdep==0.))
return;
111 attribs.SetColour(colour);
112 attribs.SetForceSolid(
true);
114 visManager->Draw(box,attribs,trans);
126 =
G4AttDef(
"HitType",
"Hit Type",
"Physics",
"",
"G4String");
129 =
G4AttDef(
"Column",
"Column ID",
"Physics",
"",
"G4int");
132 =
G4AttDef(
"Row",
"Row ID",
"Physics",
"",
"G4int");
135 =
G4AttDef(
"Energy",
"Energy Deposited",
"Physics",
"G4BestUnit",
139 =
G4AttDef(
"Pos",
"Position",
"Physics",
"G4BestUnit",
149 auto values =
new std::vector<G4AttValue>;
152 ->push_back(
G4AttValue(
"HitType",
"HadCalorimeterHit",
""));
virtual ~B5HadCalorimeterHit()
static constexpr double MeV
const B5HadCalorimeterHit & operator=(const B5HadCalorimeterHit &right)
Definition of the B5HadCalorimeterHit class.
int operator==(const B5HadCalorimeterHit &right) const
G4ThreadLocal G4Allocator< B5HadCalorimeterHit > * B5HadCalorimeterHitAllocator
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
static G4VVisManager * GetConcreteInstance()
static constexpr double m
Definition of the B5DetectorConstruction class.
#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)
G4GLOB_DLL std::ostream G4cout
static constexpr double cm
virtual std::vector< G4AttValue > * CreateAttValues() const
static constexpr double GeV
HepRotation inverse() const