51 :
G4VHit(), fCellID(-1), fEdep(0.), fPos(0), fPLogV(0)
57 :
G4VHit(), fCellID(z), fEdep(0.), fPos(0), fPLogV(0)
69 fCellID = right.fCellID;
73 fPLogV = right.fPLogV;
81 fCellID = right.fCellID;
85 fPLogV = right.fPLogV;
93 return (fCellID==right.fCellID);
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);
114 pVVisManager->
Draw(*fPLogV,attribs,trans);
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",
""));
174 G4cout <<
" Cell[" << fCellID <<
"] " << fEdep/
MeV <<
" (MeV)" <<
G4endl;
virtual void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())=0
virtual ~B5EmCalorimeterHit()
G4ThreadLocal G4Allocator< B5EmCalorimeterHit > * B5EmCalorimeterHitAllocator
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
HepRotation inverse() const
Definition of the B5EmCalorimeterHit class.
G4GLOB_DLL std::ostream G4cout
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
const G4VisAttributes * GetVisAttributes() const
std::map< G4String, G4AttDef > * GetInstance(G4String storeKey, G4bool &isNew)