Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions roofit/histfactory/src/RooBarlowBeestonLL.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@
*/

#include <stdexcept>
#include <math.h>

#include "Riostream.h"
#include <cmath>
#include <iostream>

#include "RooFit.h"
#include "RooStats/HistFactory/RooBarlowBeestonLL.h"
Expand Down
1 change: 1 addition & 0 deletions roofit/roofit/src/RooLognormal.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ The parameterization here is physics driven and differs from the ROOT::Math::log
#include "BatchHelpers.h"

#include "TMath.h"
#include "TClass.h"
#include <Math/SpecFuncMathCore.h>
#include <Math/PdfFuncMathCore.h>
#include <Math/ProbFuncMathCore.h>
Expand Down
9 changes: 6 additions & 3 deletions roofit/roofitcore/inc/RooAbsArg.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,25 @@
#define ROO_ABS_ARG

#include "TNamed.h"
#include "THashList.h"
#include "TObjArray.h"
#include "TRefArray.h"
#include "RooPrintable.h"
#include "RooSTLRefCountList.h"
#include "RooAbsCache.h"
#include "RooLinkedListIter.h"
#include "RooNameReg.h"
#include "RooLinkedListIter.h"
#include <map>
#include <set>
#include <deque>
#include <stack>

#include <iostream>


#ifndef R__LESS_INCLUDES
#include "TClass.h"
#include "THashList.h"
#endif


class TTree ;
class RooArgSet ;
Expand Down
2 changes: 1 addition & 1 deletion roofit/roofitcore/inc/RooFitResult.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "RVersion.h"
#include "TMatrixFfwd.h"
#include "TMatrixDSym.h"
#include "TRootIOCtor.h"
#include "TList.h"

#include <vector>
#include <string>
Expand Down
2 changes: 2 additions & 0 deletions roofit/roofitcore/inc/RooSimPdfBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@

#include "Rtypes.h"
#include "TObject.h"
#include "TList.h"
#include "RooArgSet.h"
#include "RooArgList.h"
#include "RooAbsData.h"
#include <list>

class RooSimultaneous ;
class RooAbsPdf ;
class RooCategory ;
Expand Down
3 changes: 1 addition & 2 deletions roofit/roofitcore/src/Roo1DTable.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,16 @@ equivalent of a plot. To create a table use the RooDataSet::table method.
#include "Roo1DTable.h"

#include "RooFit.h"
#include "Riostream.h"
#include "RooMsgService.h"
#include "RooFitLegacy/RooCatTypeLegacy.h"

#include "TString.h"
#include "TMath.h"
#include "TClass.h"

#include <iostream>
#include <iomanip>


using namespace std ;

ClassImp(Roo1DTable);
Expand Down
1 change: 1 addition & 0 deletions roofit/roofitcore/src/RooAbsCategory.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ the following replacements should be used:
#include "TTree.h"
#include "TLeaf.h"
#include "ROOT/RMakeUnique.hxx"
#include "TBranch.h"

using namespace std;

Expand Down
4 changes: 2 additions & 2 deletions roofit/roofitcore/src/RooAbsData.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ points for its contents and provides an iterator over its elements
**/

#include "RooAbsData.h"

#include "RooFit.h"
#include "Riostream.h"

#include <iostream>

#include "TBuffer.h"
#include "TClass.h"
Expand Down
2 changes: 1 addition & 1 deletion roofit/roofitcore/src/RooAbsTestStatistic.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ combined in the main thread.
#include "RooAbsCategoryLValue.h"

#include "TTimeStamp.h"

#include "TClass.h"
#include <string>

using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion roofit/roofitcore/src/RooAddGenContext.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ with a probability proportional to its associated coefficient.
#include "RooFit.h"

#include "Riostream.h"

#include "TClass.h"

#include "RooMsgService.h"
#include "RooAddGenContext.h"
Expand Down
6 changes: 5 additions & 1 deletion roofit/roofitcore/src/RooCategory.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,14 @@ for advanced uses of categories.
#include "TBuffer.h"
#include "TString.h"
#include "ROOT/RMakeUnique.hxx"
#include "TList.h"

#include <iostream>
#include <cstdlib>

using namespace std;

ClassImp(RooCategory);
ClassImp(RooCategory);

std::map<std::string, std::weak_ptr<RooCategory::RangeMap_t>> RooCategory::_uuidToSharedRangeIOHelper; // Helper for restoring shared properties
std::map<std::string, std::weak_ptr<RooCategory::RangeMap_t>> RooCategory::_sharedRangeIOHelper;
Expand Down
1 change: 1 addition & 0 deletions roofit/roofitcore/src/RooChi2Var.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include "RooMsgService.h"

#include "Riostream.h"
#include "TClass.h"

#include "RooRealVar.h"
#include "RooAbsDataStore.h"
Expand Down
4 changes: 3 additions & 1 deletion roofit/roofitcore/src/RooCompositeDataStore.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ When iterated from start to finish, datasets will be traversed in the order of t
#include "TROOT.h"

#include <iomanip>
using namespace std ;
#include <iostream>

using namespace std;

ClassImp(RooCompositeDataStore);
;
Expand Down
6 changes: 2 additions & 4 deletions roofit/roofitcore/src/RooDataProjBinding.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ constructed from all the categories in the dataset
**/

#include "RooFit.h"
#include "Riostream.h"

#include "RooDataProjBinding.h"
#include "RooAbsReal.h"
Expand All @@ -41,9 +40,8 @@ constructed from all the categories in the dataset
#include "RooAbsPdf.h"
#include "RooMsgService.h"

#include <assert.h>


#include <iostream>
#include <cassert>

using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion roofit/roofitcore/src/RooDataSet.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ For the inverse conversion, see `RooAbsData::convertToVectorStore()`.

#include "RooDataSet.h"

#include "Riostream.h"
#include "RooPlot.h"
#include "RooAbsReal.h"
#include "Roo1DTable.h"
Expand Down Expand Up @@ -78,6 +77,7 @@ For the inverse conversion, see `RooAbsData::convertToVectorStore()`.
#include "TBuffer.h"
#include "ROOT/RMakeUnique.hxx"

#include <iostream>
#include <fstream>


Expand Down
2 changes: 1 addition & 1 deletion roofit/roofitcore/src/RooFormula.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Check the tutorial rf506_msgservice.C for details.
#include "RooMsgService.h"
#include "ROOT/RMakeUnique.hxx"
#include "TObjString.h"

#include "TClass.h"

#include <sstream>
#include <regex>
Expand Down
2 changes: 2 additions & 0 deletions roofit/roofitcore/src/RooHelpers.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#include "RooHelpers.h"
#include "RooAbsRealLValue.h"

#include "TClass.h"

namespace RooHelpers {

LocalChangeMsgLevel::LocalChangeMsgLevel(RooFit::MsgLevel lvl,
Expand Down
12 changes: 7 additions & 5 deletions roofit/roofitcore/src/RooRealIntegral.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,11 @@ The actual analytical integrations (if any) are done in the PDF themselves, the
integration is performed in the various implementations of the RooAbsIntegrator base class.
**/

#include "RooRealIntegral.h"

#include "RooFit.h"

#include "TClass.h"
#include "RooMsgService.h"
#include "Riostream.h"
#include "TH1.h"
#include "RooRealIntegral.h"
#include "RooArgSet.h"
#include "RooAbsRealLValue.h"
#include "RooAbsCategoryLValue.h"
Expand All @@ -50,9 +48,13 @@ integration is performed in the various implementations of the RooAbsIntegrator
#include "RooDouble.h"
#include "RooTrace.h"

#include "TClass.h"

#include <iostream>

using namespace std;

ClassImp(RooRealIntegral);
ClassImp(RooRealIntegral);


Int_t RooRealIntegral::_cacheAllNDim(2) ;
Expand Down
1 change: 1 addition & 0 deletions roofit/roofitcore/src/RooRealSumFunc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

#include "TIterator.h"
#include "TList.h"
#include "TClass.h"
#include "RooRealSumFunc.h"
#include "RooRealProxy.h"
#include "RooPlot.h"
Expand Down
1 change: 1 addition & 0 deletions roofit/roofitcore/src/RooRealSumPdf.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ to the fractions of the various functions. **This requires setting the last argu
#include "TError.h"
#include "TIterator.h"
#include "TList.h"
#include "TClass.h"
#include "RooRealSumPdf.h"
#include "RooRealProxy.h"
#include "RooPlot.h"
Expand Down
4 changes: 2 additions & 2 deletions roofit/roofitcore/src/RooSimGenContext.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ that an event originates from a certain category.
**/

#include "RooFit.h"
#include "Riostream.h"

#include "RooSimGenContext.h"
#include "RooSimultaneous.h"
Expand All @@ -43,8 +42,9 @@ that an event originates from a certain category.
#include "RooRandom.h"
#include "RooGlobalFunc.h"

using namespace RooFit ;
using namespace RooFit;

#include <iostream>
#include <string>

using namespace std;
Expand Down
7 changes: 3 additions & 4 deletions roofit/roofitcore/src/RooSimSplitGenContext.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ component pdfs.
**/

#include "RooFit.h"
#include "Riostream.h"

#include "RooSimSplitGenContext.h"
#include "RooSimultaneous.h"
Expand All @@ -37,15 +36,15 @@ component pdfs.
#include "RooRandom.h"
#include "RooGlobalFunc.h"

using namespace RooFit ;
using namespace RooFit;

#include <iostream>
#include <string>

using namespace std;

ClassImp(RooSimSplitGenContext);
;



////////////////////////////////////////////////////////////////////////////////
/// Constructor of specialized generator context for RooSimultaneous p.d.f.s. This
Expand Down
7 changes: 3 additions & 4 deletions roofit/roofitcore/src/RooSimultaneous.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ in each category.
**/

#include "RooFit.h"
#include "Riostream.h"

#include "RooSimultaneous.h"
#include "RooAbsCategoryLValue.h"
Expand All @@ -71,11 +70,11 @@ in each category.
#include "RooArgSet.h"
#include "RooHelpers.h"

using namespace std ;
#include <iostream>

ClassImp(RooSimultaneous);
;
using namespace std;

ClassImp(RooSimultaneous);



Expand Down
2 changes: 1 addition & 1 deletion roofit/roofitcore/src/RooTrace.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ each object.
#include "RooMsgService.h"

#include <iomanip>

#include "TClass.h"


using namespace std;
Expand Down
1 change: 1 addition & 0 deletions roofit/roofitcore/src/RooVectorDataStore.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ use a TTree as internal storage mechanism
#include "TDirectory.h"
#include "TBuffer.h"
#include "TROOT.h"
#include "TList.h"

#include <iomanip>
using namespace std ;
Expand Down