53 :
G4VHit(), fColumnID(-1), fRowID(-1), fEdep(0.), fPos(0)
59 :
G4VHit(), fColumnID(iCol), fRowID(iRow), fEdep(0.), fPos(0)
103 if (pVVisManager&&(
fEdep>0.))
109 attribs.SetColour(colour);
110 attribs.SetForceSolid(
true);
112 pVVisManager->
Draw(box,attribs,trans);
121 std::map<G4String,G4AttDef>* store
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 std::vector<G4AttValue>* values =
new std::vector<G4AttValue>;
152 ->push_back(
G4AttValue(
"HitType",
"HadCalorimeterHit",
""));
virtual void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())=0
Definition of the B5DetectorConstruction class.
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
G4GLOB_DLL std::ostream G4cout
virtual ~B5HadCalorimeterHit()
G4ThreadLocal G4Allocator< B5HadCalorimeterHit > * B5HadCalorimeterHitAllocator
int operator==(const B5HadCalorimeterHit &right) const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)
const B5HadCalorimeterHit & operator=(const B5HadCalorimeterHit &right)
Definition of the B5HadCalorimeterHit class.