11#include "BesMdcHit.hh"
12#include "G4UnitsTable.hh"
13#include "G4VVisManager.hh"
16#include "G4VisAttributes.hh"
33 trackID = right.trackID;
34 layerNo = right.layerNo;
35 cellNo = right.cellNo;
38 driftD = right.driftD;
39 driftT = right.driftT;
40 globalT = right.globalT;
42 enterAngle= right.enterAngle;
43 posFlag = right.posFlag;
50 trackID = right.trackID;
51 layerNo = right.layerNo;
52 cellNo = right.cellNo;
55 driftD = right.driftD;
56 driftT = right.driftT;
57 globalT = right.globalT;
59 enterAngle= right.enterAngle;
60 posFlag = right.posFlag;
68 return (
this==&right) ? 1 : 0;
75 G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
79 circle.SetScreenSize(2.);
80 circle.SetFillStyle(G4Circle::filled);
81 G4Colour colour(1.,0.,0.);
82 G4VisAttributes attribs(colour);
83 circle.SetVisAttributes(attribs);
84 pVVisManager->Draw(circle);
92 G4cout <<
" trackID: " << trackID
93 <<
" layerNo: " << layerNo
94 <<
" cellNo: " << cellNo
95 <<
" energy deposit: " << G4BestUnit(edep,
"Energy")
96 <<
" position: " << G4BestUnit(pos,
"Length")
97 <<
" driftD: " << G4BestUnit(driftD,
"Length")
98 <<
" driftT: " << G4BestUnit(driftT,
"Time")
99 <<
" globalT: " << G4BestUnit(globalT,
"Time")
100 <<
" theta: " << G4BestUnit(theta,
"Angle")
101 <<
" enterAngle: " << G4BestUnit(enterAngle,
"Angle")
102 <<
" posFlag: " << posFlag
G4Allocator< BesMdcHit > BesMdcHitAllocator
int operator==(const BesMdcHit &) const
const BesMdcHit & operator=(const BesMdcHit &)