14#include "G4Allocator.hh"
15#include "G4THitsCollection.hh"
16#include "G4ThreeVector.hh"
18#include "Identifier/Identifier.h"
31 inline void*
operator new( size_t );
32 inline void operator delete(
void* );
40 TotalEdepCrystal += de;
41 TotalTrackLengthCrystal += dl;
47 void SetPosCrystal( G4ThreeVector position ) { PositionCrystal = position; };
73 G4double TotalEdepCrystal, TotalTrackLengthCrystal;
74 G4double EdepCrystal, TrackLengthCrystal;
76 G4ThreeVector PositionCrystal;
78 G4int PartId, NumTheta, NumPhi;
92inline void* BesEmcHit::operator
new( size_t ) {
100inline void BesEmcHit::operator
delete(
void* aHit ) {
115 inline void*
operator new( size_t );
116 inline void operator delete(
void* );
128 inline void SetEDep( G4double de ) { m_edep = de; }
131 inline void SetPosition( G4ThreeVector pos ) { m_position = pos; }
145 std::map<Identifier, G4double>::const_iterator
Begin()
const;
146 std::map<Identifier, G4double>::const_iterator
End()
const;
166 G4double m_PDGCharge;
168 G4String m_particleName;
172 G4ThreeVector m_momentum;
173 G4ThreeVector m_position;
174 std::map<Identifier, G4double> m_hitMap;
183inline void* BesEmcTruthHit::operator
new( size_t ) {
189inline void BesEmcTruthHit::operator
delete(
void* aHit ) {
**********INTEGER nmxhep !maximum number of particles DOUBLE PRECISION vhep INTEGER jdahep COMMON hepevt $ !serial number $ !number of particles $ !status code $ !particle ident KF $ !parent particles $ !childreen particles $ !four momentum
G4Allocator< BesEmcTruthHit > BesEmcTruthHitAllocator
G4THitsCollection< BesEmcTruthHit > BesEmcTruthHitsCollection
G4Allocator< BesEmcHit > BesEmcHitAllocator
G4THitsCollection< BesEmcHit > BesEmcHitsCollection
void SetNumCrystal(G4int id, G4int numTheta, G4int numPhi)
G4double GetTotalEdepCrystal()
G4double GetTimeCrystal()
void SetEdepCrystal(G4double de)
void SetEdepCasing(G4double de)
void SetMomentum(G4ThreeVector momen)
G4ThreeVector GetPosCrystal()
G4double GetEdepCrystal()
G4ThreeVector GetMomentum()
BesEmcHit(const BesEmcHit &)
void SetPosCrystal(G4ThreeVector position)
int operator==(const BesEmcHit &) const
G4int GetNumThetaCrystal()
G4double GetTotalTrakCrystal()
void AddCrystal(G4double de, G4double dl)
void SetTimeCrystal(G4double t)
void SetTrakCrystal(G4double dl)
void SetG4Index(G4int index)
const BesEmcHit & operator=(const BesEmcHit &)
G4double GetTrakCrystal()
void SetTrackIndex(G4int index)
void SetIdentify(Identifier id)
G4int GetTrackIndex() const
BesEmcTruthHit(const BesEmcTruthHit &)
void SetMomentum(G4ThreeVector p)
void SetPosition(G4ThreeVector pos)
G4ThreeVector GetPosition() const
void AddEHit(Identifier, G4double)
void SetPDGCode(G4int code)
void SetTrackIndex(G4int index)
std::map< Identifier, G4double >::const_iterator End() const
std::map< Identifier, G4double >::const_iterator Find(Identifier) const
const BesEmcTruthHit & operator=(const BesEmcTruthHit &)
void Insert(Identifier, G4double)
G4double GetPDGCharge() const
G4int operator==(const BesEmcTruthHit &) const
virtual ~BesEmcTruthHit()
void SetG4TrackId(G4int trackId)
G4int GetG4TrackId() const
void SetEDep(G4double de)
G4double GetEHit(Identifier)
G4String GetParticleName() const
std::map< Identifier, G4double >::const_iterator Begin() const
G4ThreeVector GetMomentum() const
void SetParticleName(G4String name)
void SetTime(G4double time)
void SetPDGCharge(G4double charge)
Identifier GetIdentify() const