Skip to content

Commit 70bd178

Browse files
committed
clean up more left-over timing functionality
1 parent 2e3d43b commit 70bd178

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

roofit/roofitcore/inc/RooRealIntegral.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ class RooRealIntegral : public RooAbsReal {
142142
public:
143143
void setNumIntTiming(Bool_t flag);
144144
void activateTimingNumInts();
145-
private:
146-
mutable Bool_t _timeNumInt ; //! do not persist
147145

148146
ClassDef(RooRealIntegral,3) // Real-valued function representing an integral over a RooAbsReal object
149147
};

roofit/roofitcore/src/RooRealIntegral.cxx

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ RooRealIntegral::RooRealIntegral() :
7979
_numIntegrand(0),
8080
_rangeName(0),
8181
_params(0),
82-
_cacheNum(kFALSE),
83-
_timeNumInt(kFALSE)
82+
_cacheNum(kFALSE)
8483
{
8584
TRACE_CREATE
8685
}
@@ -721,8 +720,7 @@ RooRealIntegral::RooRealIntegral(const RooRealIntegral& other, const char* name)
721720
_numIntegrand(0),
722721
_rangeName(other._rangeName),
723722
_params(0),
724-
_cacheNum(kFALSE),
725-
_timeNumInt(other._timeNumInt)
723+
_cacheNum(kFALSE)
726724
{
727725
_funcNormSet = other._funcNormSet ? (RooArgSet*)other._funcNormSet->snapshot(kFALSE) : 0 ;
728726

@@ -1153,11 +1151,3 @@ Int_t RooRealIntegral::getCacheAllNumeric()
11531151
{
11541152
return _cacheAllNDim ;
11551153
}
1156-
1157-
void RooRealIntegral::setNumIntTiming(Bool_t flag) {
1158-
Int_t numIntDim = this->numIntRealVars().getSize();
1159-
// .. and activate timing if numeric integration occurs
1160-
if (numIntDim > 0) {
1161-
_timeNumInt = flag;
1162-
}
1163-
}

0 commit comments

Comments
 (0)