51 :
G4VHit(), fZCellID(z), fPhiCellID(phi), fEdep(0.0),
52 fPos(0),fRot(0.,0.,0.),fPLogV(logVol),fEdepByATrack(0.0),fTrackInfo()
68 if(pVA) attribs = *pVA;
81 std::map<G4String,G4AttDef>* store
85 (*store)[hitType] =
G4AttDef(hitType,
"Hit Type",
"Physics",
"",
"G4String");
88 (*store)[zCellID] =
G4AttDef(zCellID,
"Z Cell ID",
"Physics",
"",
"G4int");
91 (*store)[phiCellID] =
G4AttDef(phiCellID,
"Phi Cell ID",
"Physics",
"",
"G4int");
94 (*store)[
energy] =
G4AttDef(energy,
"Energy Deposited",
"Physics",
"G4BestUnit",
98 (*store)[eTrack] =
G4AttDef(eTrack,
"Energy Deposited By Track",
"Physics",
99 "G4BestUnit",
"G4double");
103 "Physics",
"G4BestUnit",
"G4ThreeVector");
106 (*store)[lvol] =
G4AttDef(lvol,
"Logical Volume",
"Physics",
"",
"G4String");
115 std::vector<G4AttValue>* values =
new std::vector<G4AttValue>;
117 values->push_back(
G4AttValue(
"HitType",
"RE01CalorimeterHit",
""));
virtual void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())=0
void SetColour(const G4Colour &)
Definition of the RE01CalorimeterHit class.
void SetForceWireframe(G4bool)
G4ThreadLocal G4Allocator< RE01CalorimeterHit > * RE01CalorimeterHitAllocator
static G4VVisManager * GetConcreteInstance()
static G4String ConvertToString(G4bool boolVal)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
void SetForceSolid(G4bool)
G4GLOB_DLL std::ostream G4cout
virtual ~RE01CalorimeterHit()
const G4VisAttributes * GetVisAttributes() const
RE01CalorimeterHit(G4LogicalVolume *logVol, G4int z, G4int phi)
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
G4double energy(const ThreeVector &p, const G4double m)
const G4LogicalVolume * fPLogV
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)
virtual std::vector< G4AttValue > * CreateAttValues() const
static const G4double pos