ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/scripts/ClusteredPFMetProducer.cc.patch
Revision: 1.1
Committed: Mon Oct 10 20:56:43 2011 UTC (13 years, 6 months ago) by bendavid
Branch: MAIN
CVS Tags: Mit_032, Mit_031, Mit_025c_branch2, Mit_025c_branch1, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_025c_branch0, Mit_028, Mit_027a, Mit_027, Mit_026, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, Mit_025, HEAD
Branch point for: Mit_025c_branch
Log Message:
add patch and update dependencies

File Contents

# User Rev Content
1 bendavid 1.1 Index: CommonTools/ClusteredPFMetProducer/plugins/ClusteredPFMetProducer.cc
2     ===================================================================
3     RCS file: /cvs_server/repositories/CMSSW/UserCode/psilva/ClusteredPFMetProducer/plugins/ClusteredPFMetProducer.cc,v
4     retrieving revision 1.1
5     diff -u -r1.1 ClusteredPFMetProducer.cc
6     --- CommonTools/ClusteredPFMetProducer/plugins/ClusteredPFMetProducer.cc 28 Sep 2011 13:20:27 -0000 1.1
7     +++ CommonTools/ClusteredPFMetProducer/plugins/ClusteredPFMetProducer.cc 10 Oct 2011 20:18:13 -0000
8     @@ -160,12 +160,12 @@
9     //vertices
10     iEvent.getByLabel(vertexTag_ ,vtxH_);
11     const size_t nVtx(vtxH_->size());
12     - if( nVtx == 0 ) throw cms::Exception("CorruptData") << "No vertex was found in the event\n";
13     + //if( nVtx == 0 ) throw cms::Exception("CorruptData") << "No vertex was found in the event\n";
14    
15     //particle flow candidates
16     iEvent.getByLabel(collectionTag_, pfCandsH_);
17     const size_t nPFCands( pfCandsH_->size() );
18     - if( nPFCands == 0 ) throw cms::Exception("CorruptData") << "No particle flow candidates collection was found in the event\n";
19     + //if( nPFCands == 0 ) throw cms::Exception("CorruptData") << "No particle flow candidates collection was found in the event\n";
20    
21     //loop over the pf candidates and:
22     // - compute sums