Changeset 44 in JEM-EUSO for esaf_lal


Ignore:
Timestamp:
Mar 18, 2013, 4:23:14 PM (11 years ago)
Author:
moretto
Message:

addition in branches of R11265UPhotomultiplier.cc

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  
    1515#include "OpticsFactory.hh"
    1616#include "Photomultiplier.hh"
     17#include "R11265UPhotomultiplier.hh"
    1718#include "R7600M64Photomultiplier.hh"
    1819#include "R8900M36Photomultiplier.hh"
    1920#include "R8900M64Photomultiplier.hh"
    20 #include "R11265U100Photomultiplier.hh"
    21 #include "R11265U200Photomultiplier.hh"
    2221#include "FrontEndChip.hh"
    2322#include "StandardMacroCell.hh"
     
    162161
    163162    string type = Conf()->GetStr("ElectronicsFactory.PmtType");
     163std::cout << "***************************************************PmtType => " << type << std::endl;
     164
    164165    if ( type == "R7600M64Photomultiplier" ) {
    165166        return new R7600M64Photomultiplier( id , g );
     
    171172        return new R8900M64Photomultiplier( id , g );
    172173    }
    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" ) {
     175std::cout << "la fonction ElectronicsFactory::MakePmt retourne un new R11265UPhotomultiplier" << std::endl;
     176        return new R11265UPhotomultiplier( id , g );
     177    }
    179178    FatalError(type + ", unknown Pmt Type");
    180179    return 0;
Note: See TracChangeset for help on using the changeset viewer.