29 #include "G4VVisManager.hh"
30 #include "G4Circle.hh"
31 #include "G4Colour.hh"
32 #include "G4VisAttributes.hh"
33 #include "G4UnitsTable.hh"
35 #ifdef G4MULTITHREADED
59 if (
this == &from )
return;
65 motherID = from.motherID;
69 detName = from.detName;
70 motherDetName = from.motherDetName;
84 motherID = from.motherID;
88 detName = from.detName;
89 motherDetName = from.motherDetName;
98 return (
this==&from) ? 1 : 0;
103 G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
106 G4Circle circle(pos);
107 circle.SetScreenSize(0.04); circle.SetFillStyle(G4Circle::filled);
109 G4Colour colour(1.,0.,0.);
110 G4VisAttributes attribs(G4Colour(1.,0.,0.)); circle.SetVisAttributes(attribs);
111 pVVisManager->Draw(circle);
117 G4cout <<
"--------------- SToGS::CopClusterHit::Print() --------------------- " << G4endl;
118 G4cout <<
"detID: " << detID
119 <<
", detName: " << detName
120 <<
", motherID: " << motherID
121 <<
", motherDetName: " << motherDetName << G4endl;
122 G4cout <<
"edep: " << edep / CLHEP::keV <<
" keV"
124 <<
", ToF: " << ToF / CLHEP::ns <<
" ns" << G4endl;
125 G4cout <<
"--------------------------------------------------------------" << G4endl;
G4ThreadLocal G4Allocator< CopClusterHit > * CopClusterHitAllocator
void EndOfEvent()
to be applied at the end of an event to calculate properly the mean values
Informations to keep the energy is in a sensitive detector.
G4int operator==(const CopClusterHit &right) const
const CopClusterHit & operator=(const CopClusterHit &right)