Changeset 220 in Idarraga
- Timestamp:
- Jul 26, 2011, 2:15:15 PM (13 years ago)
- Location:
- allpix
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
allpix/include/AllPixGeoDsc.hh
r193 r220 27 27 G4int GetNPixelsZ(){return m_npix_z;}; 28 28 G4int GetNPixelsTotXY(){return GetNPixelsX()*GetNPixelsY();}; // Planar layout // 29 G4double GetResistivity(){return m_resistivity;}; 29 30 30 31 //G4int GetHalfNPixelsX(){return GetNPixelsX()/2;}; // half number of pixels // … … 179 180 m_pcb_hz = val; 180 181 } 181 182 void SetResistivity(G4double val){ 183 m_resistivity = val; 184 } 182 185 /////////////////////////////////////////////////// 183 186 // operators … … 244 247 G4double m_WaferYpos; 245 248 249 G4double m_resistivity; 250 246 251 }; 247 252 -
allpix/include/ReadGeoDescription_defs.hh
r45 r220 47 47 #define __pcb_hy_S "pcb_hy" 48 48 #define __pcb_hz_S "pcb_hz" 49 #define __sensor_Resistivity "sensor_resistivity" -
allpix/models/pixeldetector.xml
r210 r220 53 53 <npix_z>0</npix_z> 54 54 55 56 <sensor_resistivity>5000.0</sensor_resistivity> 57 55 58 <pixsize_x units="um">200.</pixsize_x> 56 59 <pixsize_y units="um">25.</pixsize_y> … … 101 104 <chip_hz units="um">195.0</chip_hz> 102 105 106 <sensor_resistivity>5000.0</sensor_resistivity> 107 103 108 <chip_posx units="um">0.</chip_posx> 104 109 <chip_posy units="um">0.</chip_posy> -
allpix/src/AllPixFEI3StandardDigitizer.cc
r210 r220 46 46 Temperature = 300.0; 47 47 detectorThickness = gD->GetSensorZ(); 48 resistivity= 9000;48 resistivity=gD->GetResistivity(); 49 49 50 50 // true = p-type -
allpix/src/ReadGeoDescription.cc
r62 r220 332 332 333 333 } 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 334 341 335 342 }
Note: See TracChangeset
for help on using the changeset viewer.