51 :
G4VHit(), fCellID(-1), fEdep(0.), fPos(0), fPLogV(0)
57 :
G4VHit(), fCellID(z), fEdep(0.), fPos(0), fPLogV(0)
101 if (pVVisManager&&(
fEdep>0.))
107 if (pVA) attribs = *pVA;
109 if (rcol>1.) rcol = 1.;
110 if (rcol<0.4) rcol = 0.4;
112 attribs.SetColour(colour);
113 attribs.SetForceSolid(
true);
123 std::map<G4String,G4AttDef>* store
128 =
G4AttDef(
"HitType",
"Hit Type",
"Physics",
"",
"G4String");
131 =
G4AttDef(
"ID",
"ID",
"Physics",
"",
"G4int");
134 =
G4AttDef(
"Energy",
"Energy Deposited",
"Physics",
"G4BestUnit",
138 =
G4AttDef(
"Pos",
"Position",
"Physics",
"G4BestUnit",
142 =
G4AttDef(
"LVol",
"Logical Volume",
"Physics",
"",
"G4String");
151 std::vector<G4AttValue>* values =
new std::vector<G4AttValue>;
154 ->push_back(
G4AttValue(
"HitType",
"EmCalorimeterHit",
""));
virtual void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())=0
virtual ~B5EmCalorimeterHit()
static G4VVisManager * GetConcreteInstance()
virtual std::vector< G4AttValue > * CreateAttValues() const
static G4String ConvertToString(G4bool boolVal)
const B5EmCalorimeterHit & operator=(const B5EmCalorimeterHit &right)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
int operator==(const B5EmCalorimeterHit &right) const
Definition of the B5EmCalorimeterHit class.
G4GLOB_DLL std::ostream G4cout
const G4LogicalVolume * fPLogV
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
const G4VisAttributes * GetVisAttributes() const
G4ThreadLocal G4Allocator< B5EmCalorimeterHit > * B5EmCalorimeterHitAllocator
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)