Changeset 249 in Idarraga
- Timestamp:
- Nov 1, 2011, 11:38:14 PM (13 years ago)
- Location:
- mafalda/ShallowAngleFEIX
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
mafalda/ShallowAngleFEIX/ShallowAngleFEIX.cpp
r240 r249 39 39 getMyTree()->Branch("totPerSegment", &m_totPerSegment); 40 40 getMyTree()->Branch("chargeWeights", &m_chargeWeights); 41 getMyTree()->Branch("frameId", &m_frameId , "frameId/I"); 41 42 42 43 getMyTree()->Branch("segmentedTrack", &m_segmentedTrack, "segmentedTrack/I"); … … 78 79 for( ; blobsItr != blobsVector.end() ; blobsItr++) 79 80 { 81 82 // frame Id 83 m_frameId = GetFrameId(); 80 84 81 85 // Limit all this to clusters with a minimum size. … … 147 151 m_mipThetaAngle = (*blobsItr).GetBlobProperties().rotAngle; 148 152 149 // check discontinuities if any153 // Check discontinuities if any 150 154 // For this I will run the clustering again with discontinuity tolerance = 0; 151 155 int nInnerClusters = CheckDiscontinuity(*blobsItr, 0); … … 355 359 int ShallowAngleFEIX::CheckDiscontinuity(blob bl, int discontinuityTolerance){ 356 360 357 // new object containing all the blobs, ready to go to StoreGate when's ready361 // New object containing all the blobs 358 362 AllBlobsContainer * reclusteringContainer = new AllBlobsContainer((MediPixAlgo *) this); 359 363 Log << MSG::INFO << "Reclustering container --> " << reclusteringContainer << endreq; … … 364 368 Log << MSG::INFO << "Reclustering ... found " << reclusteringContainer->GetBlobsVector().size() << " clusters in the blob" << endreq; 365 369 366 return reclusteringContainer->GetBlobsVector().size(); 370 int nSubClusters = reclusteringContainer->GetBlobsVector().size(); 371 delete reclusteringContainer; 372 373 return nSubClusters; 367 374 } 368 375 -
mafalda/ShallowAngleFEIX/ShallowAngleFEIX.h
r240 r249 54 54 Double_t m_mipThetaAngle; 55 55 Int_t m_segmentedTrack; 56 Int_t m_frameId; 56 57 57 58 // Container for reclustering if needed
Note: See TracChangeset
for help on using the changeset viewer.