Changeset 220 in Idarraga


Ignore:
Timestamp:
Jul 26, 2011, 2:15:15 PM (13 years ago)
Author:
benoit
Message:

added resistivity in Db

Location:
allpix
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • allpix/include/AllPixGeoDsc.hh

    r193 r220  
    2727        G4int GetNPixelsZ(){return m_npix_z;};
    2828        G4int GetNPixelsTotXY(){return GetNPixelsX()*GetNPixelsY();}; // Planar layout //
     29        G4double GetResistivity(){return m_resistivity;};
    2930
    3031        //G4int GetHalfNPixelsX(){return GetNPixelsX()/2;}; // half number of pixels //
     
    179180                m_pcb_hz = val;
    180181        }
    181 
     182        void SetResistivity(G4double val){
     183                m_resistivity = val;
     184        }
    182185        ///////////////////////////////////////////////////
    183186        // operators
     
    244247        G4double m_WaferYpos;
    245248
     249        G4double m_resistivity;
     250
    246251};
    247252
  • allpix/include/ReadGeoDescription_defs.hh

    r45 r220  
    4747#define __pcb_hy_S "pcb_hy"
    4848#define __pcb_hz_S "pcb_hz"
     49#define __sensor_Resistivity "sensor_resistivity"
  • allpix/models/pixeldetector.xml

    r210 r220  
    5353<npix_z>0</npix_z>
    5454
     55
     56<sensor_resistivity>5000.0</sensor_resistivity>
     57
    5558<pixsize_x units="um">200.</pixsize_x>
    5659<pixsize_y units="um">25.</pixsize_y>
     
    101104<chip_hz units="um">195.0</chip_hz>
    102105
     106<sensor_resistivity>5000.0</sensor_resistivity>
     107
    103108<chip_posx units="um">0.</chip_posx>
    104109<chip_posy units="um">0.</chip_posy>
  • allpix/src/AllPixFEI3StandardDigitizer.cc

    r210 r220  
    4646        Temperature = 300.0;
    4747        detectorThickness = gD->GetSensorZ();
    48         resistivity=9000;
     48        resistivity=gD->GetResistivity();
    4949
    5050        // true = p-type
  • allpix/src/ReadGeoDescription.cc

    r62 r220  
    332332
    333333                                }
     334                                else if(m_currentNodeName == __sensor_Resistivity){
     335
     336                                                                        float val = atof(tempContent.c_str());
     337                                                                        m_detsGeo[m_firstIndx]->SetResistivity(val);
     338
     339                                                                }
     340
    334341
    335342                        }
Note: See TracChangeset for help on using the changeset viewer.