Changeset 252 in Idarraga
- Timestamp:
- Nov 16, 2011, 5:10:18 PM (13 years ago)
- Location:
- allpix
- Files:
-
- 4 added
- 4 deleted
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
allpix/include/AllPixDigitInterface.hh
r15 r252 60 60 61 61 /* 62 inline void* AllPixM edipix2Digit::operator new(size_t)62 inline void* AllPixMimosa26Digit::operator new(size_t) 63 63 { 64 64 void* aDigi; 65 aDigi = (void*) AllPixM edipix2DigitAllocator.MallocSingle();65 aDigi = (void*) AllPixMimosa26DigitAllocator.MallocSingle(); 66 66 return aDigi; 67 67 } … … 69 69 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 70 70 71 inline void AllPixM edipix2Digit::operator delete(void* aDigi)71 inline void AllPixMimosa26Digit::operator delete(void* aDigi) 72 72 { 73 AllPixM edipix2DigitAllocator.FreeSingle((AllPixMedipix2Digit*) aDigi);73 AllPixMimosa26DigitAllocator.FreeSingle((AllPixMimosa26Digit*) aDigi); 74 74 } 75 75 */ -
allpix/include/AllPixDigitizerInterface.hh
r181 r252 7 7 8 8 #include "G4VDigitizerModule.hh" 9 #include "AllPixM edipix2Digit.hh"9 #include "AllPixMimosa26Digit.hh" 10 10 #include "G4PrimaryVertex.hh" 11 11 #include "ReadGeoDescription.hh" -
allpix/include/AllPixEventAction.hh
r57 r252 5 5 #include "G4Event.hh" 6 6 7 //#include "AllPixM edipix2Digitizer.hh"7 //#include "AllPixMimosa26Digitizer.hh" 8 8 #include "AllPixDigitizerInterface.hh" 9 9 #include "G4VDigitizerModule.hh" -
allpix/include/AllPixRun.hh
r226 r252 9 9 #include "AllPixTrackerHit.hh" 10 10 #include "AllPixRunAction.hh" 11 #include "AllPixM edipix2Digit.hh"11 #include "AllPixMimosa26Digit.hh" 12 12 #include "AllPixDigitInterface.hh" 13 13 -
allpix/macros/oneDetector.in_fragment
r66 r252 25 25 ######################### 26 26 # GPS 27 /gps/particle e +27 /gps/particle e- 28 28 /gps/pos/type Plane 29 29 #/gps/pos/rot1 0 0 1 … … 37 37 /gps/hist/type energy 38 38 # spectra 39 /gps/hist/point 4000139 /gps/hist/point 2.2 1 40 40 41 41 /gps/source/list -
allpix/macros/oneDetector_Inventor_vis.in
r84 r252 20 20 /control/alias enhanceZ 5.0 21 21 22 /allpix/extras/setAppliancePosition -4.3 28.2 {appPosZ} mm23 /allpix/extras/setWrapperEnhancement 0. 0. {enhanceZ} mm22 #/allpix/extras/setAppliancePosition -4.3 28.2 {appPosZ} mm 23 #/allpix/extras/setWrapperEnhancement 0. 0. {enhanceZ} mm 24 24 25 25 # Build detectors … … 43 43 /allpix/phys/verbose 0 44 44 45 /vis/open OIX 1024x768-100+10045 #/vis/open OIX 1024x768-100+100 46 46 #/vis/open OGLIXm 1024x768-100+100 47 47 … … 49 49 #/vis/open OGLIQt 50 50 #/vis/open OGLSQt 51 #/vis/open OIX51 /vis/open OIX 52 52 #/vis/open OGLIX 1024x768-100+100 53 53 #/vis/open OGLSXm … … 78 78 ######################### 79 79 # GPS 80 /gps/particle e +80 /gps/particle e- 81 81 /gps/pos/type Plane 82 82 #/gps/pos/rot1 0 0 1 … … 90 90 /gps/hist/type energy 91 91 # spectra 92 /gps/hist/point 100192 /gps/hist/point 2.2 1 93 93 94 94 /gps/source/list -
allpix/models/pixeldetector.xml
r220 r252 7 7 <pixeldet id="300,301,302,303,304,305"> 8 8 9 <digitizer>M edipix2</digitizer>9 <digitizer>Mimosa26</digitizer> 10 10 11 11 <npix_x>1152</npix_x> … … 129 129 </pixeldet> 130 130 131 <!-- DOS --> 132 <pixeldet id="500"> 133 134 <digitizer>FEI3Standard</digitizer> 135 136 <npix_x>1</npix_x> 137 <npix_y>1</npix_y> 138 <npix_z>0</npix_z> 139 140 <pixsize_x units="um">1000.</pixsize_x> 141 <pixsize_y units="um">1000.</pixsize_y> 142 <pixsize_z units="um">300.</pixsize_z> 143 144 <chip_hx units="um">1</chip_hx> 145 <chip_hy units="um">1</chip_hy> 146 <chip_hz units="um">1</chip_hz> 147 148 <sensor_resistivity>5000.0</sensor_resistivity> 149 150 <chip_posx units="um">0.</chip_posx> 151 <chip_posy units="um">0.</chip_posy> 152 <chip_posz units="um">0.</chip_posz> 153 154 <sensor_hx units="um">1300.</sensor_hx> 155 <sensor_hy units="um">1300.</sensor_hy> 156 <sensor_hz units="um">300.</sensor_hz> 157 158 <sensor_gr_excess_htop units="um">300.0</sensor_gr_excess_htop> 159 <sensor_gr_excess_hbottom units="um">300.0</sensor_gr_excess_hbottom> 160 <sensor_gr_excess_hright units="um">300.0</sensor_gr_excess_hright> 161 <sensor_gr_excess_hleft units="um">300.0</sensor_gr_excess_hleft> 162 163 <sensor_posx units="mm">0.</sensor_posx> 164 <sensor_posy units="mm">0.</sensor_posy> 165 <sensor_posz units="mm">0.</sensor_posz> 166 167 <pcb_hx units="mm">3.0</pcb_hx> 168 <pcb_hy units="mm">3.0</pcb_hy> 169 <pcb_hz units="mm">0.80</pcb_hz> 170 171 </pixeldet> 172 173 131 174 </detectors> -
allpix/src/AllPixDetectorConstruction.cc
r250 r252 66 66 67 67 #include "G4DigiManager.hh" 68 #include "AllPixM edipix2Digitizer.hh"68 #include "AllPixMimosa26Digitizer.hh" 69 69 #include "AllPixFEI3StandardDigitizer.hh" 70 70 … … 188 188 if(m_clearanceToBuildGeometry){ 189 189 190 G4cout << "Clearance obtained to build the Medipixdevices." << G4endl;190 G4cout << "Clearance obtained to build the pixel devices." << G4endl; 191 191 192 192 // Read the database … … 424 424 425 425 /////////////////////////////////////////////////////////// 426 // The Medipix!426 // The pixel detector ! 427 427 // 428 428 pair<G4String, G4String> wrapperName = make_pair("wrapper", ""); … … 594 594 geoMap[*detItr]->GetSensorYOffset(), 595 595 geoMap[*detItr]->GetSensorZOffset()); 596 // Apply position Offset for the Medipixdue to the enhancement596 // Apply position Offset for the detector due to the enhancement 597 597 if(m_vectorWrapperEnhancement.find(*detItr) != m_vectorWrapperEnhancement.end()){ 598 598 posDevice.setX(posDevice.x() - m_vectorWrapperEnhancement[*detItr].x()/2.); -
allpix/src/AllPixEventAction.cc
r87 r252 7 7 #include "G4SDManager.hh" 8 8 #include "G4PrimaryVertex.hh" 9 #include "AllPixM edipix2Digitizer.hh"9 #include "AllPixMimosa26Digitizer.hh" 10 10 #include "AllPixFEI3StandardDigitizer.hh" 11 11 … … 66 66 G4DigiManager * fDM = G4DigiManager::GetDMpointer(); 67 67 // find digitizer module and digitize 68 AllPixM edipix2Digitizer * myDM;68 AllPixMimosa26Digitizer * myDM; 69 69 70 70 G4PrimaryVertex * pv = evt->GetPrimaryVertex(); 71 71 72 72 for(G4int itr = 0 ; itr < m_nDigitizers ; itr++){ 73 myDM = (AllPixM edipix2Digitizer*)fDM->FindDigitizerModule( digitizerModulesNames[itr] );73 myDM = (AllPixMimosa26Digitizer*)fDM->FindDigitizerModule( digitizerModulesNames[itr] ); 74 74 myDM->SetPrimaryVertex(pv); 75 75 myDM->Digitize(); -
allpix/src/AllPixSetupDigitizers.cc
r185 r252 9 9 #include "G4SDManager.hh" 10 10 #include "G4PrimaryVertex.hh" 11 #include "AllPixM edipix2Digitizer.hh"11 #include "AllPixMimosa26Digitizer.hh" 12 12 #include "AllPixFEI3StandardDigitizer.hh" 13 13 … … 104 104 dmPtr = static_cast<AllPixDigitizerInterface *> (dp); 105 105 cout << " Setting up a " << digitizerName << " digitizer for det : " << detectorId << endl; 106 } else if (digitizerName == "M edipix2") {107 AllPixM edipix2Digitizer * dp = new AllPixMedipix2Digitizer(digitizerModulesNames[itr] , hcName, digitColectionName);106 } else if (digitizerName == "Mimosa26") { 107 AllPixMimosa26Digitizer * dp = new AllPixMimosa26Digitizer(digitizerModulesNames[itr] , hcName, digitColectionName); 108 108 dmPtr = static_cast<AllPixDigitizerInterface *> (dp); 109 109 cout << " Setting up a " << digitizerName << " digitizer for det : " << detectorId << endl;
Note: See TracChangeset
for help on using the changeset viewer.