2 #include "G4UnitsTable.hh"
3 #include "G4VVisManager.hh"
4 #include "G4ParticleTypes.hh"
7 #include "G4VisAttributes.hh"
8 #include "G4RotationMatrix.hh"
11 #include "G4PhysicalConstants.hh"
12 #include "G4SystemOfUnits.hh"
48 return (
this==&right) ? 1 : 0;
53 G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
56 G4Transform3D trans(
rot,
pos);
57 G4VisAttributes attribs;
59 G4String volumeName =
pLogV->GetName();
63 if ( volumeName.find(
"glassFaceWCPMT") != std::string::npos ||
64 volumeName.find(
"glassFaceWCPMT_refl") != std::string::npos)
74 attribs.SetColour(colour);
76 attribs.SetForceSolid(
true);
77 pVVisManager->Draw(*
pLogV,attribs,trans);
87 G4cout.setf(std::ios::fixed);
90 G4cout <<
" Tube:" << std::setw(4) <<
tubeID
91 <<
" Track:" << std::setw(6) <<
trackID
93 <<
" Pos:" <<
pos/cm << G4endl
96 for (
int i = 0; i <
totalPe; i++)
98 G4cout <<
time[i]/ns <<
" ";
99 if ( i%10 == 0 && i != 0)
100 G4cout << G4endl <<
"\t";
102 G4cout <<
"size: " <<
time.size() << G4endl;
112 if ( a->
time.size() > 0 )
116 if ( b->
time.size() > 0 )
G4int operator==(const WCSimWCHit &) const
std::vector< G4double > time
G4Allocator< WCSimWCHit > WCSimWCHitAllocator
bool operator()(const WCSimWCHit *const &a, const WCSimWCHit *const &b) const
const WCSimWCHit & operator=(const WCSimWCHit &)