59 weighted(true),divideByArea(true)
70 weighted(true),divideByArea(true)
107 if ( weighted) current = preStep->
GetWeight();
109 G4double square = radi*radi*dph*( -std::cos(enth) + std::cos(stth) );
110 current = current/square;
114 EvtMap->
add(index,current);
132 G4double localR2 = localpos1.
x()*localpos1.
x()
133 +localpos1.
y()*localpos1.
y()
134 +localpos1.
z()*localpos1.
z();
139 if ( localR2 > (InsideRadius-kCarTolerance)*(InsideRadius-kCarTolerance)
140 &&localR2 < (InsideRadius+kCarTolerance)*(InsideRadius+kCarTolerance)){
150 G4double localR2 = localpos2.
x()*localpos2.
x()
151 +localpos2.
y()*localpos2.
y()
152 +localpos2.
z()*localpos2.
z();
157 if ( localR2 > (InsideRadius-kCarTolerance)*(InsideRadius-kCarTolerance)
158 &&localR2 < (InsideRadius+kCarTolerance)*(InsideRadius+kCarTolerance)){
188 std::map<G4int,G4double*>::iterator itr = EvtMap->
GetMap()->begin();
189 for(; itr != EvtMap->
GetMap()->end(); itr++) {
190 G4cout <<
" copy no.: " << itr->first <<
" current : " ;
191 if ( divideByArea ) {
195 G4cout << *(itr->second) <<
" [tracks]" ;
204 if ( divideByArea ) {