Changeset 225 in Idarraga


Ignore:
Timestamp:
Aug 2, 2011, 2:01:11 PM (13 years ago)
Author:
idarraga
Message:

slim edge fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • allpix/src/AllPixFEI3StandardDigitizer.cc

    r220 r225  
    339339}
    340340
    341 G4double  AllPixFEI3StandardDigitizer::MobilityElectron(G4double x, G4double y, G4double z){
     341G4double  AllPixFEI3StandardDigitizer::MobilityElectron(G4double /*x*/, G4double /*y*/, G4double /*z*/){
    342342
    343343        //ComputeElectricField(x,y,z);
     
    455455                G4double xpos = (*hitsCollection)[itr]->GetPosWithRespectToPixel().x();
    456456                G4double ypos = (*hitsCollection)[itr]->GetPosWithRespectToPixel().y();
    457                 G4double zpos = (*hitsCollection)[itr]->GetPosWithRespectToPixel().z()+detectorThickness/2.;
     457                // not used
     458                //G4double zpos = (*hitsCollection)[itr]->GetPosWithRespectToPixel().z()+detectorThickness/2.;
     459
    458460                //cout << TString::Format("x,y,z : %5.5f %5.5f %5.5f",xpos/um,ypos/um,zpos/um)<<endl;
    459461
     
    471473
    472474
    473                 //if(doSlimEdge){
     475                if(doSlimEdge){
    474476                        if (isSlimEdge(tempPixel.first,tempPixel.second)) eHit = SlimEdgeEffect(tempPixel.first,xpos,eHit);
    475                 //}
     477                }
    476478
    477479
     
    766768}
    767769
    768 G4bool AllPixFEI3StandardDigitizer::isSlimEdge(G4int nX, G4int nY)
     770G4bool AllPixFEI3StandardDigitizer::isSlimEdge(G4int nX, G4int /*nY*/)
    769771{
    770772        if(nX==0||nX==(nPixX-1)) return true;
Note: See TracChangeset for help on using the changeset viewer.