Changeset 233 in Idarraga


Ignore:
Timestamp:
Sep 7, 2011, 10:08:40 AM (13 years ago)
Author:
benoit
Message:

Fixed STUPID error cd allpix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • allpix/src/AllPixFEI3StandardDigitizer.cc

    r232 r233  
    104104        b=7.94e-3/cm;
    105105        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;
    107108
    108109         echarge = 1.60217646e-19;
     
    138139        //////////////////////
    139140
    140         doTrapping =true;
     141        doTrapping =false;
    141142        doFullField = true;
    142143
     
    463464                G4double ypos = (*hitsCollection)[itr]->GetPosWithRespectToPixel().y();
    464465                // not used
    465                 //G4double zpos = (*hitsCollection)[itr]->GetPosWithRespectToPixel().z()+detectorThickness/2.;
     466                G4double zpos = (*hitsCollection)[itr]->GetPosWithRespectToPixel().z()+detectorThickness/2.;
    466467
    467468                //cout << TString::Format("x,y,z : %5.5f %5.5f %5.5f",xpos/um,ypos/um,zpos/um)<<endl;
     
    476477                //else xpos=pitchX/2+xpos;
    477478
    478                 G4double zpos = CLHEP::RandGauss::shoot(zpos,10*um);
     479                //G4double zpos = CLHEP::RandGauss::shoot(zpos,10*um);
    479480
    480481
Note: See TracChangeset for help on using the changeset viewer.