Changeset 44 in JEM-EUSO
- Timestamp:
- Mar 18, 2013, 4:23:14 PM (12 years ago)
- Location:
- esaf_lal/branches/test_electronics/src
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
esaf_lal/branches/test_electronics/src/ElectronicsFactory.cc
r40 r44 15 15 #include "OpticsFactory.hh" 16 16 #include "Photomultiplier.hh" 17 #include "R11265UPhotomultiplier.hh" 17 18 #include "R7600M64Photomultiplier.hh" 18 19 #include "R8900M36Photomultiplier.hh" 19 20 #include "R8900M64Photomultiplier.hh" 20 #include "R11265U100Photomultiplier.hh"21 #include "R11265U200Photomultiplier.hh"22 21 #include "FrontEndChip.hh" 23 22 #include "StandardMacroCell.hh" … … 162 161 163 162 string type = Conf()->GetStr("ElectronicsFactory.PmtType"); 163 std::cout << "***************************************************PmtType => " << type << std::endl; 164 164 165 if ( type == "R7600M64Photomultiplier" ) { 165 166 return new R7600M64Photomultiplier( id , g ); … … 171 172 return new R8900M64Photomultiplier( id , g ); 172 173 } 173 if ( type == "R11265U100Photomultiplier" ) { 174 return new R11265U100Photomultiplier( id , g ); 175 } 176 if ( type == "R11265U200Photomultiplier" ) { 177 return new R11265U200Photomultiplier( id , g ); 178 } 174 if ( type == "R11265U100Photomultiplier" || type == "R11265U200Photomultiplier" ) { 175 std::cout << "la fonction ElectronicsFactory::MakePmt retourne un new R11265UPhotomultiplier" << std::endl; 176 return new R11265UPhotomultiplier( id , g ); 177 } 179 178 FatalError(type + ", unknown Pmt Type"); 180 179 return 0;
Note: See TracChangeset
for help on using the changeset viewer.