53 :
G4VHit(), fColumnID(-1), fRowID(-1), fEdep(0.), fPos(0)
59 :
G4VHit(), fColumnID(iCol), fRowID(iRow), fEdep(0.), fPos(0)
71 fColumnID = right.fColumnID;
72 fRowID = right.fRowID;
83 fColumnID = right.fColumnID;
84 fRowID = right.fRowID;
95 return (fColumnID==right.fColumnID&&fRowID==right.fRowID);
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",
""));
170 G4cout <<
" Cell[" << fRowID <<
", " << fColumnID <<
"] "
171 << fEdep/
MeV <<
" (MeV) " << fPos <<
G4endl;
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
HepRotation inverse() 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
const B5HadCalorimeterHit & operator=(const B5HadCalorimeterHit &right)
std::map< G4String, G4AttDef > * GetInstance(G4String storeKey, G4bool &isNew)
Definition of the B5HadCalorimeterHit class.