ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/scripts/IsoDepositVetoFactory.cc.patch
Revision: 1.1
Committed: Fri Nov 21 17:40:50 2008 UTC (16 years, 5 months ago) by bendavid
Branch: MAIN
CVS Tags: Mit_008pre1, Mit_006b, Mit_006a
Log Message:
Retained jurassic isolation fix with fewer tags checked out so that  reco now works again

File Contents

# Content
1 Index: IsoDepositVetoFactory.cc
2 ===================================================================
3 RCS file: /cvs_server/repositories/CMSSW/CMSSW/PhysicsTools/IsolationAlgos/src/IsoDepositVetoFactory.cc,v
4 retrieving revision 1.3
5 diff -u -r1.3 IsoDepositVetoFactory.cc
6 --- IsoDepositVetoFactory.cc 1 Oct 2008 18:53:28 -0000 1.3
7 +++ IsoDepositVetoFactory.cc 21 Nov 2008 16:48:49 -0000
8 @@ -30,7 +30,7 @@
9 static boost::regex
10 ecalSwitch("^Ecal(Barrel|Endcaps):(.*)"),
11 threshold("Threshold\\((\\d+\\.\\d+)\\)"),
12 - thresholdtransverse("ThresholdFromTransverse\\((\\d+\\.\\d+)\\)"),
13 +// thresholdtransverse("ThresholdFromTransverse\\((\\d+\\.\\d+)\\)"),
14 cone("ConeVeto\\((\\d+\\.\\d+)\\)"),
15 angleCone("AngleCone\\((\\d+\\.\\d+)\\)"),
16 angleVeto("AngleVeto\\((\\d+\\.\\d+)\\)"),
17 @@ -42,8 +42,8 @@
18 return new SwitchingEcalVeto(make(match[2].first), (match[1] == "Barrel") );
19 } else if (regex_match(string, match, threshold)) {
20 return new ThresholdVeto(atof(match[1].first));
21 - } else if (regex_match(string, match, thresholdtransverse)) {
22 - return new ThresholdVetoFromTransverse(atof(((std::string)match[1]).c_str()));
23 +// } else if (regex_match(string, match, thresholdtransverse)) {
24 +// return new ThresholdVetoFromTransverse(atof(((std::string)match[1]).c_str()));
25 } else if (regex_match(string, match, cone)) {
26 return new ConeVeto(Direction(), atof(match[1].first));
27 } else if (regex_match(string, match, number)) {