Changeset 233 in Idarraga
- Timestamp:
- Sep 7, 2011, 10:08:40 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
allpix/src/AllPixFEI3StandardDigitizer.cc
r232 r233 104 104 b=7.94e-3/cm; 105 105 c=3.54e-13*cm2; 106 trappingTime = 1.0/(Beta_electrons*fluence); 106 if(fluence!=0.0)trappingTime = 1.0/(Beta_electrons*fluence); 107 else trappingTime=1000*s; 107 108 108 109 echarge = 1.60217646e-19; … … 138 139 ////////////////////// 139 140 140 doTrapping = true;141 doTrapping =false; 141 142 doFullField = true; 142 143 … … 463 464 G4double ypos = (*hitsCollection)[itr]->GetPosWithRespectToPixel().y(); 464 465 // not used 465 //G4double zpos = (*hitsCollection)[itr]->GetPosWithRespectToPixel().z()+detectorThickness/2.;466 G4double zpos = (*hitsCollection)[itr]->GetPosWithRespectToPixel().z()+detectorThickness/2.; 466 467 467 468 //cout << TString::Format("x,y,z : %5.5f %5.5f %5.5f",xpos/um,ypos/um,zpos/um)<<endl; … … 476 477 //else xpos=pitchX/2+xpos; 477 478 478 G4double zpos = CLHEP::RandGauss::shoot(zpos,10*um);479 //G4double zpos = CLHEP::RandGauss::shoot(zpos,10*um); 479 480 480 481
Note: See TracChangeset
for help on using the changeset viewer.