Changeset 280 in Idarraga


Ignore:
Timestamp:
Apr 19, 2012, 9:26:24 PM (12 years ago)
Author:
idarraga
Message:
 
Location:
mafalda
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mafalda/BlobsFinder/BlobsFinder.cpp

    r274 r280  
    155155 */
    156156void BlobsFinder::Execute(){
     157
     158        if( GetHitsInPad() == 0 ) { // do nothing if no hits
     159                return;
     160        }
    157161
    158162        // Get dimensions
  • mafalda/PRBasicSpecies/PRBasicSpecies.cpp

    r97 r280  
    9797        //  their characteristics.  It is the last object in the list (I need to know that)
    9898        Int_t lastObject = GetNumberOfObjectsWithAuthor("BlobsFinder");
     99        if(lastObject == 0) return;  // nothing from clustering
    99100        m_aB = (AllBlobsContainer *) GetObjectFromAuthor("BlobsFinder", lastObject-1);
    100101
     
    209210                        PullToStoreGateAccess(m_highHeavyBlobs, MPXDefs::DO_NOT_SERIALIZE_ME);
    210211
    211 
     212                        // FIXME
     213                        // this cluster size must be removed from here ... misleading variable
    212214                        // Heavy blob properties // TODO ... look at this branches in the Init member
    213215                        m_clusterSize.push_back( (*blobsItr).bP.nPixels );
Note: See TracChangeset for help on using the changeset viewer.