Skip to content

Commit 8631f0f

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

2 files changed

Lines changed: 2 additions & 18 deletions

File tree

roofit/roofitcore/inc/RooRealIntegral.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,6 @@ class RooRealIntegral : public RooAbsReal {
139139
Bool_t _cacheNum ; // Cache integral if numeric
140140
static Int_t _cacheAllNDim ; //! Cache all integrals with given numeric dimension
141141

142-
public:
143-
void setNumIntTiming(Bool_t flag);
144-
void activateTimingNumInts();
145-
private:
146-
mutable Bool_t _timeNumInt ; //! do not persist
147-
148142
ClassDef(RooRealIntegral,3) // Real-valued function representing an integral over a RooAbsReal object
149143
};
150144

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)