46 std::map<G4String,G4AttDef> RE05CalorimeterHit::fAttDefs;
52 fZCellID(-1),fPhiCellID(-1),fEdep(0.),fPos(),fRot(),fLogV(0)
59 fZCellID(z), fPhiCellID(phi),fEdep(0.),fPos(),fRot(),fLogV(logVol)
72 fZCellID = right.fZCellID;
73 fPhiCellID = right.fPhiCellID;
84 fZCellID = right.fZCellID;
85 fPhiCellID = right.fPhiCellID;
97 return ((fZCellID==right.fZCellID)&&(fPhiCellID==right.fPhiCellID));
110 if(pVA) attribs = *pVA;
114 pVVisManager->
Draw(*fLogV,attribs,trans);
123 if (fAttDefs.empty()) {
124 fAttDefs[
"HitType"] =
125 G4AttDef(
"HitType",
"Type of hit",
"Physics",
"",
"G4String");
126 fAttDefs[
"ZID"] =
G4AttDef(
"ZID",
"Z Cell ID",
"Physics",
"",
"G4int");
127 fAttDefs[
"PhiID"] =
G4AttDef(
"PhiID",
"Phi Cell ID",
"Physics",
"",
"G4int");
129 G4AttDef(
"EDep",
"Energy defPosited",
"Physics",
"G4BestUnit",
"G4double");
139 std::vector<G4AttValue>* attValues =
new std::vector<G4AttValue>;
141 (
G4AttValue(
"HitType",
"RE05CalorimeterHit",
""));
virtual void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())=0
void SetColour(const G4Colour &)
Definition of the RE05CalorimeterHit class.
static G4VVisManager * GetConcreteInstance()
G4ThreadLocal G4Allocator< RE05CalorimeterHit > * RE05CalorimeterHitAllocator
static G4String ConvertToString(G4bool boolVal)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
void SetForceSolid(G4bool=true)
virtual ~RE05CalorimeterHit()
G4int operator==(const RE05CalorimeterHit &right) const
const G4VisAttributes * GetVisAttributes() const
virtual std::vector< G4AttValue > * CreateAttValues() const
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
const RE05CalorimeterHit & operator=(const RE05CalorimeterHit &right)