ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/scripts/EcalClusterLazyTools.cc.patch
Revision: 1.1
Committed: Thu Aug 9 21:15:47 2012 UTC (12 years, 8 months ago) by paus
Branch: MAIN
CVS Tags: Mit_032, Mit_031, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, HEAD
Log Message:
For version 029.

File Contents

# User Rev Content
1 paus 1.1 525c525
2     < EcalRecHitCollection::const_iterator theSeedHit = recHits->find (id);
3     ---
4     > EcalRecHitCollection::const_iterator theSeedHit = recHits->find(id);
5     530,531c530,535
6     <
7     < return (*theSeedHit).time();
8     ---
9     >
10     > // protect against the fact that recHits in AOD might not have been stored
11     > if (theSeedHit == recHits->end())
12     > return -99;
13     > else
14     > return (*theSeedHit).time();