Changeset 274 in Idarraga
- Timestamp:
- Mar 13, 2012, 10:16:07 AM (12 years ago)
- Location:
- mafalda/BlobsFinder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
mafalda/BlobsFinder/BlobsFinder.cpp
r251 r274 126 126 127 127 getMyTree()->Branch("nPixels", m_bP_nPixels, "nPixels[nBlobs]/I"); 128 getMyTree()->Branch("clusterSize", m_bP_clusterSize, "clusterSize[nBlobs]/I"); 128 129 getMyTree()->Branch("totalCharge", m_bP_totalCharge, "totalCharge[nBlobs]/I"); 129 130 getMyTree()->Branch("width_x", m_bP_width_x, "width_x[nBlobs]/I"); … … 246 247 247 248 oneBlob.bP.nPixels = 0; 249 oneBlob.bP.clusterSize = 0; 248 250 oneBlob.bP.totalCharge = 0; 249 251 oneBlob.bP.width_x = 0; … … 484 486 // number of pixels in this blob 485 487 oneBlob.bP.nPixels = oneBlob.blobContent.size(); 488 oneBlob.bP.clusterSize = oneBlob.blobContent.size(); 486 489 487 490 // calculate total charge … … 935 938 { 936 939 m_bP_nPixels[itr] = (*blobsItr).bP.nPixels; 940 m_bP_clusterSize[itr] = (*blobsItr).bP.nPixels; 937 941 m_bP_totalCharge[itr] = (*blobsItr).bP.totalCharge; 938 942 -
mafalda/BlobsFinder/BlobsFinder.h
r251 r274 72 72 73 73 Int_t nPixels; 74 Int_t clusterSize; 74 75 Int_t nInnerPixels; 75 76 Int_t totalCharge; … … 267 268 268 269 Int_t m_bP_nPixels[MAX_BLOBS_PER_FRAME]; 270 Int_t m_bP_clusterSize[MAX_BLOBS_PER_FRAME]; 269 271 Int_t m_bP_totalCharge[MAX_BLOBS_PER_FRAME]; 270 272 Int_t m_bP_width_x[MAX_BLOBS_PER_FRAME];
Note: See TracChangeset
for help on using the changeset viewer.