ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/scripts/IsoDepositVetoFactory.cc.patch
Revision: 1.2
Committed: Fri Mar 6 09:24:52 2009 UTC (16 years, 2 months ago) by loizides
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
State: FILE REMOVED
Log Message:
Cleanup plus check for CVSROOT.

File Contents

# User Rev Content
1 bendavid 1.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)) {