Changeset 263 in Idarraga


Ignore:
Timestamp:
Mar 1, 2012, 3:07:18 PM (12 years ago)
Author:
idarraga
Message:
 
Location:
mpxdataconverter
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • mpxdataconverter/Makefile

    r101 r263  
    1919PROGNAME=mpxdataconverter
    2020
    21 all:    $(PROGNAME) raw_to_pixeldm
     21all:    $(PROGNAME) raw_to_pixeldm binary_multiframe
    2222        @echo "[DONE]"
    2323ifeq ($(DO_FLAG),FALSE)
     
    4848        g++ -o $@ raw_to_pixeldm.o allpix_dm.o MediPixWriteToEntuple.o SelDict.o $(GLOBAL_CFLAGS) $(INCLUDE) ${LIBS}
    4949
     50binary_multiframe:      msg3 SelDict.o allpix_dm.o MediPixWriteToEntuple.o binary_multiframe.cpp
     51        g++ $(GLOBAL_CFLAGS) $(INCLUDE) -c binary_multiframe.cpp
     52        g++ -o $@ binary_multiframe.o allpix_dm.o MediPixWriteToEntuple.o SelDict.o $(GLOBAL_CFLAGS) $(INCLUDE) ${LIBS}
     53
    5054msg2:   
    5155        @echo "----------------------------------------------------"
     
    5458        @echo "                                    idarraga@cern.ch"
    5559        @echo "----------------------------------------------------"   
     60
     61msg3:   
     62        @echo "-------------------------------------------------------"
     63        @echo " Building converter: Pixelman bin-multiframe to MAFalda"
     64        @echo "                                    John Idarraga, 2011"
     65        @echo "                                       idarraga@cern.ch"
     66        @echo "-------------------------------------------------------"
     67
    5668       
    5769#########################################
  • mpxdataconverter/allpix_dm.cc

    r187 r263  
    323323                        // Now extract the format
    324324                        infoS = NEW_STRING_TYPEI6_XYC;
    325                         if(found = tempS.find(infoS) != std::string::npos) {
     325                        if ( (found = tempS.find(infoS)) != std::string::npos) {
    326326                                return FSAVE_ASCII | FSAVE_I16 | FSAVE_SPARSEXY;
    327327                        }
     
    335335}
    336336
    337 Int_t FramesHandler::IdentifyTypeOfInput(TString fullDSCFileName, Int_t & width, Int_t & height){
     337Int_t FramesHandler::IdentifyTypeOfInput(TString fullDSCFileName, Int_t & /*width*/, Int_t & /*height*/){
    338338
    339339        fstream filestr;
     
    623623                }
    624624        }
    625         else if(frameType == FSAVE_BINARY) {
     625        else if (frameType == FSAVE_BINARY) {
    626626
    627627                typeS = TYPE_XYC_BIN_STRING;
Note: See TracChangeset for help on using the changeset viewer.