| RooCFunction2Binding.h | | RooCFunction2Binding.h | |
| | | | |
| skipping to change at line 33 | | skipping to change at line 33 | |
| #include <vector> | | #include <vector> | |
| | | | |
| namespace RooFit { | | namespace RooFit { | |
| | | | |
| typedef Double_t (*CFUNCD2DD)(Double_t,Double_t) ; | | typedef Double_t (*CFUNCD2DD)(Double_t,Double_t) ; | |
| typedef Double_t (*CFUNCD2ID)(Int_t,Double_t) ; | | typedef Double_t (*CFUNCD2ID)(Int_t,Double_t) ; | |
| typedef Double_t (*CFUNCD2UD)(UInt_t,Double_t) ; | | typedef Double_t (*CFUNCD2UD)(UInt_t,Double_t) ; | |
| typedef Double_t (*CFUNCD2DI)(Double_t,Int_t) ; | | typedef Double_t (*CFUNCD2DI)(Double_t,Int_t) ; | |
| typedef Double_t (*CFUNCD2II)(Int_t,Int_t) ; | | typedef Double_t (*CFUNCD2II)(Int_t,Int_t) ; | |
| | | | |
|
| RooAbsReal* bindFunction(const char* name,void* func,RooAbsReal& x, RooAbsR | | | |
| eal& y) ; | | | |
| RooAbsPdf* bindPdf(const char* name,void* func,RooAbsReal& x, RooAbsReal& y | | | |
| ) ; | | | |
| #ifndef __CINT__ | | | |
| RooAbsReal* bindFunction(const char* name,CFUNCD2DD func,RooAbsReal& x, Roo
AbsReal& y) ; | | RooAbsReal* bindFunction(const char* name,CFUNCD2DD func,RooAbsReal& x, Roo
AbsReal& y) ; | |
| RooAbsReal* bindFunction(const char* name,CFUNCD2ID func,RooAbsReal& x, Roo
AbsReal& y) ; | | RooAbsReal* bindFunction(const char* name,CFUNCD2ID func,RooAbsReal& x, Roo
AbsReal& y) ; | |
| RooAbsReal* bindFunction(const char* name,CFUNCD2UD func,RooAbsReal& x, Roo
AbsReal& y) ; | | RooAbsReal* bindFunction(const char* name,CFUNCD2UD func,RooAbsReal& x, Roo
AbsReal& y) ; | |
| RooAbsReal* bindFunction(const char* name,CFUNCD2DI func,RooAbsReal& x, Roo
AbsReal& y) ; | | RooAbsReal* bindFunction(const char* name,CFUNCD2DI func,RooAbsReal& x, Roo
AbsReal& y) ; | |
| RooAbsReal* bindFunction(const char* name,CFUNCD2II func,RooAbsReal& x, Roo
AbsReal& y) ; | | RooAbsReal* bindFunction(const char* name,CFUNCD2II func,RooAbsReal& x, Roo
AbsReal& y) ; | |
| RooAbsPdf* bindPdf(const char* name,CFUNCD2DD func,RooAbsReal& x, RooAbsRea
l& y) ; | | RooAbsPdf* bindPdf(const char* name,CFUNCD2DD func,RooAbsReal& x, RooAbsRea
l& y) ; | |
| RooAbsPdf* bindPdf(const char* name,CFUNCD2ID func,RooAbsReal& x, RooAbsRea
l& y) ; | | RooAbsPdf* bindPdf(const char* name,CFUNCD2ID func,RooAbsReal& x, RooAbsRea
l& y) ; | |
| RooAbsPdf* bindPdf(const char* name,CFUNCD2UD func,RooAbsReal& x, RooAbsRea
l& y) ; | | RooAbsPdf* bindPdf(const char* name,CFUNCD2UD func,RooAbsReal& x, RooAbsRea
l& y) ; | |
| RooAbsPdf* bindPdf(const char* name,CFUNCD2DI func,RooAbsReal& x, RooAbsRea
l& y) ; | | RooAbsPdf* bindPdf(const char* name,CFUNCD2DI func,RooAbsReal& x, RooAbsRea
l& y) ; | |
| RooAbsPdf* bindPdf(const char* name,CFUNCD2II func,RooAbsReal& x, RooAbsRea
l& y) ; | | RooAbsPdf* bindPdf(const char* name,CFUNCD2II func,RooAbsReal& x, RooAbsRea
l& y) ; | |
|
| #endif | | | |
| | | | |
| } | | } | |
| | | | |
| template<class VO, class VI1, class VI2> | | template<class VO, class VI1, class VI2> | |
| class RooCFunction2Map { | | class RooCFunction2Map { | |
| public: | | public: | |
| RooCFunction2Map() {} ; | | RooCFunction2Map() {} ; | |
| | | | |
| void add(const char* name, VO (*ptr)(VI1,VI2), const char* arg1name="x",
const char* arg2name="y") { | | void add(const char* name, VO (*ptr)(VI1,VI2), const char* arg1name="x",
const char* arg2name="y") { | |
| // Register function with given name and argument name | | // Register function with given name and argument name | |
| | | | |
End of changes. 2 change blocks. |
| 6 lines changed or deleted | | 0 lines changed or added | |
|
| RooCFunction3Binding.h | | RooCFunction3Binding.h | |
| | | | |
| skipping to change at line 33 | | skipping to change at line 33 | |
| | | | |
| namespace RooFit { | | namespace RooFit { | |
| | | | |
| typedef Double_t (*CFUNCD3DDD)(Double_t,Double_t,Double_t) ; | | typedef Double_t (*CFUNCD3DDD)(Double_t,Double_t,Double_t) ; | |
| typedef Double_t (*CFUNCD3DDB)(Double_t,Double_t,Bool_t) ; | | typedef Double_t (*CFUNCD3DDB)(Double_t,Double_t,Bool_t) ; | |
| typedef Double_t (*CFUNCD3DII)(Double_t,Int_t,Int_t) ; | | typedef Double_t (*CFUNCD3DII)(Double_t,Int_t,Int_t) ; | |
| typedef Double_t (*CFUNCD3UDU)(UInt_t,Double_t,UInt_t) ; | | typedef Double_t (*CFUNCD3UDU)(UInt_t,Double_t,UInt_t) ; | |
| typedef Double_t (*CFUNCD3UDD)(UInt_t,Double_t,Double_t) ; | | typedef Double_t (*CFUNCD3UDD)(UInt_t,Double_t,Double_t) ; | |
| typedef Double_t (*CFUNCD3UUD)(UInt_t,UInt_t,Double_t) ; | | typedef Double_t (*CFUNCD3UUD)(UInt_t,UInt_t,Double_t) ; | |
| | | | |
|
| RooAbsReal* bindFunction(const char* name,void* func,RooAbsReal& x, RooAbsR | | | |
| eal& y, RooAbsReal& z) ; | | | |
| RooAbsPdf* bindPdf(const char* name,void* func,RooAbsReal& x, RooAbsReal& y | | | |
| , RooAbsReal& z) ; | | | |
| #ifndef __CINT__ | | | |
| RooAbsReal* bindFunction(const char* name,CFUNCD3DDD func,RooAbsReal& x, Ro
oAbsReal& y, RooAbsReal& z) ; | | RooAbsReal* bindFunction(const char* name,CFUNCD3DDD func,RooAbsReal& x, Ro
oAbsReal& y, RooAbsReal& z) ; | |
| RooAbsReal* bindFunction(const char* name,CFUNCD3DDB func,RooAbsReal& x, Ro
oAbsReal& y, RooAbsReal& z) ; | | RooAbsReal* bindFunction(const char* name,CFUNCD3DDB func,RooAbsReal& x, Ro
oAbsReal& y, RooAbsReal& z) ; | |
| RooAbsReal* bindFunction(const char* name,CFUNCD3DII func,RooAbsReal& x, Ro
oAbsReal& y, RooAbsReal& z) ; | | RooAbsReal* bindFunction(const char* name,CFUNCD3DII func,RooAbsReal& x, Ro
oAbsReal& y, RooAbsReal& z) ; | |
| RooAbsReal* bindFunction(const char* name,CFUNCD3UDU func,RooAbsReal& x, Ro
oAbsReal& y, RooAbsReal& z) ; | | RooAbsReal* bindFunction(const char* name,CFUNCD3UDU func,RooAbsReal& x, Ro
oAbsReal& y, RooAbsReal& z) ; | |
| RooAbsReal* bindFunction(const char* name,CFUNCD3UDD func,RooAbsReal& x, Ro
oAbsReal& y, RooAbsReal& z) ; | | RooAbsReal* bindFunction(const char* name,CFUNCD3UDD func,RooAbsReal& x, Ro
oAbsReal& y, RooAbsReal& z) ; | |
| RooAbsReal* bindFunction(const char* name,CFUNCD3UUD func,RooAbsReal& x, Ro
oAbsReal& y, RooAbsReal& z) ; | | RooAbsReal* bindFunction(const char* name,CFUNCD3UUD func,RooAbsReal& x, Ro
oAbsReal& y, RooAbsReal& z) ; | |
| RooAbsPdf* bindPdf(const char* name,CFUNCD3DDD func,RooAbsReal& x, RooAbsRe
al& y, RooAbsReal& z) ; | | RooAbsPdf* bindPdf(const char* name,CFUNCD3DDD func,RooAbsReal& x, RooAbsRe
al& y, RooAbsReal& z) ; | |
| RooAbsPdf* bindPdf(const char* name,CFUNCD3DDB func,RooAbsReal& x, RooAbsRe
al& y, RooAbsReal& z) ; | | RooAbsPdf* bindPdf(const char* name,CFUNCD3DDB func,RooAbsReal& x, RooAbsRe
al& y, RooAbsReal& z) ; | |
| RooAbsPdf* bindPdf(const char* name,CFUNCD3DII func,RooAbsReal& x, RooAbsRe
al& y, RooAbsReal& z) ; | | RooAbsPdf* bindPdf(const char* name,CFUNCD3DII func,RooAbsReal& x, RooAbsRe
al& y, RooAbsReal& z) ; | |
| RooAbsPdf* bindPdf(const char* name,CFUNCD3UDU func,RooAbsReal& x, RooAbsRe
al& y, RooAbsReal& z) ; | | RooAbsPdf* bindPdf(const char* name,CFUNCD3UDU func,RooAbsReal& x, RooAbsRe
al& y, RooAbsReal& z) ; | |
| RooAbsPdf* bindPdf(const char* name,CFUNCD3UDD func,RooAbsReal& x, RooAbsRe
al& y, RooAbsReal& z) ; | | RooAbsPdf* bindPdf(const char* name,CFUNCD3UDD func,RooAbsReal& x, RooAbsRe
al& y, RooAbsReal& z) ; | |
| RooAbsPdf* bindPdf(const char* name,CFUNCD3UUD func,RooAbsReal& x, RooAbsRe
al& y, RooAbsReal& z) ; | | RooAbsPdf* bindPdf(const char* name,CFUNCD3UUD func,RooAbsReal& x, RooAbsRe
al& y, RooAbsReal& z) ; | |
|
| #endif | | | |
| | | | |
| } | | } | |
| | | | |
| template<class VO, class VI1, class VI2, class VI3> | | template<class VO, class VI1, class VI2, class VI3> | |
| class RooCFunction3Map { | | class RooCFunction3Map { | |
| public: | | public: | |
| RooCFunction3Map() {} ; | | RooCFunction3Map() {} ; | |
| | | | |
| void add(const char* name, VO (*ptr)(VI1,VI2,VI3), const char* arg1name="
x", const char* arg2name="y", const char* arg3name="z") { | | void add(const char* name, VO (*ptr)(VI1,VI2,VI3), const char* arg1name="
x", const char* arg2name="y", const char* arg3name="z") { | |
| // Register function with given name and argument name | | // Register function with given name and argument name | |
| | | | |
End of changes. 2 change blocks. |
| 6 lines changed or deleted | | 0 lines changed or added | |
|
| RooCFunction4Binding.h | | RooCFunction4Binding.h | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| #include <string> | | #include <string> | |
| #include <map> | | #include <map> | |
| #include <vector> | | #include <vector> | |
| | | | |
| namespace RooFit { | | namespace RooFit { | |
| | | | |
| typedef Double_t (*CFUNCD4DDDD)(Double_t,Double_t,Double_t,Double_t) ; | | typedef Double_t (*CFUNCD4DDDD)(Double_t,Double_t,Double_t,Double_t) ; | |
| typedef Double_t (*CFUNCD4DDDI)(Double_t,Double_t,Double_t,Int_t) ; | | typedef Double_t (*CFUNCD4DDDI)(Double_t,Double_t,Double_t,Int_t) ; | |
| typedef Double_t (*CFUNCD4DDDB)(Double_t,Double_t,Double_t,Bool_t) ; | | typedef Double_t (*CFUNCD4DDDB)(Double_t,Double_t,Double_t,Bool_t) ; | |
| | | | |
|
| RooAbsReal* bindFunction(const char* name,void* func,RooAbsReal& x, RooAbsR | | | |
| eal& y, RooAbsReal& z, RooAbsReal& w) ; | | | |
| RooAbsPdf* bindPdf(const char* name,void* func,RooAbsReal& x, RooAbsReal& y | | | |
| , RooAbsReal& z, RooAbsReal& w) ; | | | |
| #ifndef __CINT__ | | | |
| RooAbsReal* bindFunction(const char* name,CFUNCD4DDDD func,RooAbsReal& x, R
ooAbsReal& y, RooAbsReal& z, RooAbsReal& w) ; | | RooAbsReal* bindFunction(const char* name,CFUNCD4DDDD func,RooAbsReal& x, R
ooAbsReal& y, RooAbsReal& z, RooAbsReal& w) ; | |
| RooAbsReal* bindFunction(const char* name,CFUNCD4DDDI func,RooAbsReal& x, R
ooAbsReal& y, RooAbsReal& z, RooAbsReal& w) ; | | RooAbsReal* bindFunction(const char* name,CFUNCD4DDDI func,RooAbsReal& x, R
ooAbsReal& y, RooAbsReal& z, RooAbsReal& w) ; | |
| RooAbsReal* bindFunction(const char* name,CFUNCD4DDDB func,RooAbsReal& x, R
ooAbsReal& y, RooAbsReal& z, RooAbsReal& w) ; | | RooAbsReal* bindFunction(const char* name,CFUNCD4DDDB func,RooAbsReal& x, R
ooAbsReal& y, RooAbsReal& z, RooAbsReal& w) ; | |
| RooAbsPdf* bindPdf(const char* name,CFUNCD4DDDD func,RooAbsReal& x, RooAbsR
eal& y, RooAbsReal& z, RooAbsReal& w) ; | | RooAbsPdf* bindPdf(const char* name,CFUNCD4DDDD func,RooAbsReal& x, RooAbsR
eal& y, RooAbsReal& z, RooAbsReal& w) ; | |
| RooAbsPdf* bindPdf(const char* name,CFUNCD4DDDI func,RooAbsReal& x, RooAbsR
eal& y, RooAbsReal& z, RooAbsReal& w) ; | | RooAbsPdf* bindPdf(const char* name,CFUNCD4DDDI func,RooAbsReal& x, RooAbsR
eal& y, RooAbsReal& z, RooAbsReal& w) ; | |
| RooAbsPdf* bindPdf(const char* name,CFUNCD4DDDB func,RooAbsReal& x, RooAbsR
eal& y, RooAbsReal& z, RooAbsReal& w) ; | | RooAbsPdf* bindPdf(const char* name,CFUNCD4DDDB func,RooAbsReal& x, RooAbsR
eal& y, RooAbsReal& z, RooAbsReal& w) ; | |
|
| #endif | | | |
| | | | |
| } | | } | |
| | | | |
| template<class VO, class VI1, class VI2, class VI3, class VI4> | | template<class VO, class VI1, class VI2, class VI3, class VI4> | |
| class RooCFunction4Map { | | class RooCFunction4Map { | |
| public: | | public: | |
| RooCFunction4Map() {} ; | | RooCFunction4Map() {} ; | |
| | | | |
| void add(const char* name, VO (*ptr)(VI1,VI2,VI3,VI4), const char* arg1na
me="x", const char* arg2name="y", | | void add(const char* name, VO (*ptr)(VI1,VI2,VI3,VI4), const char* arg1na
me="x", const char* arg2name="y", | |
| const char* arg3nam
e="z", const char* arg4name="w") { | | const char* arg3nam
e="z", const char* arg4name="w") { | |
| | | | |
End of changes. 2 change blocks. |
| 6 lines changed or deleted | | 0 lines changed or added | |
|
| RooNDKeysPdf.h | | RooNDKeysPdf.h | |
| /**************************************************************************
*** | | /**************************************************************************
*** | |
| * Project: RooFit
* | | * Project: RooFit
* | |
| * Package: RooFitModels
* | | * Package: RooFitModels
* | |
|
| * File: $Id$ | | * File: $Id: RooNDKeysPdf.h 44368 2012-05-30 15:38:44Z axel $ | |
| * Authors:
* | | * Authors:
* | |
| * Max Baak, CERN, mbaak@cern.ch * | | * Max Baak, CERN, mbaak@cern.ch * | |
| *
* | | *
* | |
| * Copyright (c) 2000-2005, Regents of the University of California
* | | * Copyright (c) 2000-2005, Regents of the University of California
* | |
| * and Stanford University. All rights reserved.
* | | * and Stanford University. All rights reserved.
* | |
| *
* | | *
* | |
| * Redistribution and use in source and binary forms,
* | | * Redistribution and use in source and binary forms,
* | |
| * with or without modification, are permitted according to the terms
* | | * with or without modification, are permitted according to the terms
* | |
| * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
* | | * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
* | |
| **************************************************************************
***/ | | **************************************************************************
***/ | |
|
| #ifndef ROO_KEYS_PDF | | #ifndef ROO_NDKEYS_PDF | |
| #define ROO_KEYS_PDF | | #define ROO_NDKEYS_PDF | |
| | | | |
| #include "RooAbsPdf.h" | | #include "RooAbsPdf.h" | |
| #include "RooRealProxy.h" | | #include "RooRealProxy.h" | |
| #include "RooSetProxy.h" | | #include "RooSetProxy.h" | |
| #include "RooRealConstant.h" | | #include "RooRealConstant.h" | |
| #include "TVectorD.h" | | #include "TVectorD.h" | |
| #include "TMatrixD.h" | | #include "TMatrixD.h" | |
| #include "TMatrixDSym.h" | | #include "TMatrixDSym.h" | |
| #include <map> | | #include <map> | |
| #include <vector> | | #include <vector> | |
| | | | |
| skipping to change at line 58 | | skipping to change at line 58 | |
| enum Mirror {NoMirror, MirrorLeft, MirrorRight, MirrorBoth, | | enum Mirror {NoMirror, MirrorLeft, MirrorRight, MirrorBoth, | |
| MirrorAsymLeft, MirrorAsymLeftRight, | | MirrorAsymLeft, MirrorAsymLeftRight, | |
| MirrorAsymRight, MirrorLeftAsymRight, | | MirrorAsymRight, MirrorLeftAsymRight, | |
| MirrorAsymBoth }; | | MirrorAsymBoth }; | |
| | | | |
| RooNDKeysPdf(const char *name, const char *title, | | RooNDKeysPdf(const char *name, const char *title, | |
| const RooArgList& varList, RooDataSet& data, | | const RooArgList& varList, RooDataSet& data, | |
| TString options="a", Double_t rho=1, Double_t nSigma=3, Bool_
t rotate=kTRUE) ; | | TString options="a", Double_t rho=1, Double_t nSigma=3, Bool_
t rotate=kTRUE) ; | |
| | | | |
| RooNDKeysPdf(const char *name, const char *title, | | RooNDKeysPdf(const char *name, const char *title, | |
|
| | | const RooArgList& varList, RooDataSet& data, const TVectorD& | |
| | | rho, | |
| | | TString options="a", Double_t nSigma=3, Bool_t rotate=kTRUE) | |
| | | ; | |
| | | | |
| | | RooNDKeysPdf(const char *name, const char *title, | |
| RooAbsReal& x, RooDataSet& data, | | RooAbsReal& x, RooDataSet& data, | |
| Mirror mirror= NoMirror, Double_t rho=1, Double_t nSigma=3,
Bool_t rotate=kTRUE) ; | | Mirror mirror= NoMirror, Double_t rho=1, Double_t nSigma=3,
Bool_t rotate=kTRUE) ; | |
| | | | |
| RooNDKeysPdf(const char *name, const char *title, | | RooNDKeysPdf(const char *name, const char *title, | |
| RooAbsReal& x, RooAbsReal &y, RooDataSet& data, | | RooAbsReal& x, RooAbsReal &y, RooDataSet& data, | |
| TString options="a", Double_t rho = 1.0, Double_t nSigma=3,
Bool_t rotate=kTRUE); | | TString options="a", Double_t rho = 1.0, Double_t nSigma=3,
Bool_t rotate=kTRUE); | |
| | | | |
| RooNDKeysPdf(const RooNDKeysPdf& other, const char* name=0); | | RooNDKeysPdf(const RooNDKeysPdf& other, const char* name=0); | |
| virtual ~RooNDKeysPdf(); | | virtual ~RooNDKeysPdf(); | |
| | | | |
| | | | |
| skipping to change at line 191 | | skipping to change at line 195 | |
| Int_t idx; | | Int_t idx; | |
| | | | |
| SorterTV_L2H (Int_t index) : idx(index) {} | | SorterTV_L2H (Int_t index) : idx(index) {} | |
| bool operator() (const itPair& a, const itPair& b) { | | bool operator() (const itPair& a, const itPair& b) { | |
| const TVectorD& aVec = *(a.second); | | const TVectorD& aVec = *(a.second); | |
| const TVectorD& bVec = *(b.second); | | const TVectorD& bVec = *(b.second); | |
| return (aVec[idx]<bVec[idx]); | | return (aVec[idx]<bVec[idx]); | |
| } | | } | |
| }; | | }; | |
| | | | |
|
| ClassDef(RooNDKeysPdf,0) // General N-dimensional non-parametric kernel e
stimation p.d.f | | ClassDef(RooNDKeysPdf,1) // General N-dimensional non-parametric kernel e
stimation p.d.f | |
| }; | | }; | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 4 lines changed or deleted | | 10 lines changed or added | |
|
| RooProfileLL.h | | RooProfileLL.h | |
| | | | |
| skipping to change at line 21 | | skipping to change at line 21 | |
| | | | |
| #ifndef ROOPROFILELL | | #ifndef ROOPROFILELL | |
| #define ROOPROFILELL | | #define ROOPROFILELL | |
| | | | |
| #include "RooAbsReal.h" | | #include "RooAbsReal.h" | |
| #include "RooRealProxy.h" | | #include "RooRealProxy.h" | |
| #include "RooSetProxy.h" | | #include "RooSetProxy.h" | |
| #include <map> | | #include <map> | |
| #include <string> | | #include <string> | |
| | | | |
|
| | | class RooMinimizer ; | |
| class RooMinuit ; | | class RooMinuit ; | |
| | | | |
|
| | | #define MINIMIZER RooMinimizer | |
| | | | |
| class RooProfileLL : public RooAbsReal { | | class RooProfileLL : public RooAbsReal { | |
| public: | | public: | |
| | | | |
| RooProfileLL() ; | | RooProfileLL() ; | |
| RooProfileLL(const char *name, const char *title, RooAbsReal& nll, const
RooArgSet& observables); | | RooProfileLL(const char *name, const char *title, RooAbsReal& nll, const
RooArgSet& observables); | |
| RooProfileLL(const RooProfileLL& other, const char* name=0) ; | | RooProfileLL(const RooProfileLL& other, const char* name=0) ; | |
| virtual TObject* clone(const char* newname) const { return new RooProfile
LL(*this,newname); } | | virtual TObject* clone(const char* newname) const { return new RooProfile
LL(*this,newname); } | |
| virtual ~RooProfileLL() ; | | virtual ~RooProfileLL() ; | |
| | | | |
| void setAlwaysStartFromMin(Bool_t flag) { _startFromMin = flag ; } | | void setAlwaysStartFromMin(Bool_t flag) { _startFromMin = flag ; } | |
| Bool_t alwaysStartFromMin() const { return _startFromMin ; } | | Bool_t alwaysStartFromMin() const { return _startFromMin ; } | |
| | | | |
|
| RooMinuit* minuit() { return _minuit ; } | | MINIMIZER* minimizer() { return _minimizer ; } | |
| RooAbsReal& nll() { return const_cast<RooAbsReal&>(_nll.arg()) ; } | | RooAbsReal& nll() { return const_cast<RooAbsReal&>(_nll.arg()) ; } | |
| const RooArgSet& bestFitParams() const ; | | const RooArgSet& bestFitParams() const ; | |
| const RooArgSet& bestFitObs() const ; | | const RooArgSet& bestFitObs() const ; | |
| | | | |
| virtual RooAbsReal* createProfile(const RooArgSet& paramsOfInterest) ; | | virtual RooAbsReal* createProfile(const RooArgSet& paramsOfInterest) ; | |
| | | | |
| virtual Bool_t redirectServersHook(const RooAbsCollection& /*newServerLis
t*/, Bool_t /*mustReplaceAll*/, Bool_t /*nameChange*/, Bool_t /*isRecursive
*/) ; | | virtual Bool_t redirectServersHook(const RooAbsCollection& /*newServerLis
t*/, Bool_t /*mustReplaceAll*/, Bool_t /*nameChange*/, Bool_t /*isRecursive
*/) ; | |
| | | | |
| void clearAbsMin() { _absMinValid = kFALSE ; } | | void clearAbsMin() { _absMinValid = kFALSE ; } | |
| | | | |
| Int_t numEval() const { return _neval ; } | | Int_t numEval() const { return _neval ; } | |
| | | | |
| protected: | | protected: | |
| | | | |
| void validateAbsMin() const ; | | void validateAbsMin() const ; | |
|
| void initializeMinuit() const ; | | void initializeMinimizer() const ; | |
| | | | |
| RooRealProxy _nll ; // Input -log(L) function | | RooRealProxy _nll ; // Input -log(L) function | |
| RooSetProxy _obs ; // Parameters of profile likelihood | | RooSetProxy _obs ; // Parameters of profile likelihood | |
| RooSetProxy _par ; // Marginialized parameters of likelihood | | RooSetProxy _par ; // Marginialized parameters of likelihood | |
| Bool_t _startFromMin ; // Always start minimization for global minimum? | | Bool_t _startFromMin ; // Always start minimization for global minimum? | |
| | | | |
| TIterator* _piter ; //! Iterator over profile likelihood parameters to be
minimized | | TIterator* _piter ; //! Iterator over profile likelihood parameters to be
minimized | |
| TIterator* _oiter ; //! Iterator of profile likelihood output parameter(s
) | | TIterator* _oiter ; //! Iterator of profile likelihood output parameter(s
) | |
| | | | |
|
| mutable RooMinuit* _minuit ; //! Internal minuit instance | | mutable MINIMIZER* _minimizer ; //! Internal minuit instance | |
| | | | |
| mutable Bool_t _absMinValid ; // flag if absmin is up-to-date | | mutable Bool_t _absMinValid ; // flag if absmin is up-to-date | |
| mutable Double_t _absMin ; // absolute minimum of -log(L) | | mutable Double_t _absMin ; // absolute minimum of -log(L) | |
| mutable RooArgSet _paramAbsMin ; // Parameter values at absolute minimum | | mutable RooArgSet _paramAbsMin ; // Parameter values at absolute minimum | |
| mutable RooArgSet _obsAbsMin ; // Observable values at absolute minimum | | mutable RooArgSet _obsAbsMin ; // Observable values at absolute minimum | |
| mutable std::map<std::string,bool> _paramFixed ; // Parameter constant st
atus at last time of use | | mutable std::map<std::string,bool> _paramFixed ; // Parameter constant st
atus at last time of use | |
| mutable Int_t _neval ; // Number evaluations used in last minimization | | mutable Int_t _neval ; // Number evaluations used in last minimization | |
| Double_t evaluate() const ; | | Double_t evaluate() const ; | |
| | | | |
| private: | | private: | |
| | | | |
End of changes. 5 change blocks. |
| 3 lines changed or deleted | | 6 lines changed or added | |
|
| TCint.h | | TCint.h | |
| | | | |
| skipping to change at line 110 | | skipping to change at line 110 | |
| void LoadMacro(const char *filename, EErrorCode *error = 0); | | void LoadMacro(const char *filename, EErrorCode *error = 0); | |
| Int_t LoadLibraryMap(const char *rootmapfile = 0); | | Int_t LoadLibraryMap(const char *rootmapfile = 0); | |
| Int_t RescanLibraryMap(); | | Int_t RescanLibraryMap(); | |
| Int_t ReloadAllSharedLibraryMaps(); | | Int_t ReloadAllSharedLibraryMaps(); | |
| Int_t UnloadAllSharedLibraryMaps(); | | Int_t UnloadAllSharedLibraryMaps(); | |
| Int_t UnloadLibraryMap(const char *library); | | Int_t UnloadLibraryMap(const char *library); | |
| Long_t ProcessLine(const char *line, EErrorCode *error = 0); | | Long_t ProcessLine(const char *line, EErrorCode *error = 0); | |
| Long_t ProcessLineAsynch(const char *line, EErrorCode *error = 0); | | Long_t ProcessLineAsynch(const char *line, EErrorCode *error = 0); | |
| Long_t ProcessLineSynch(const char *line, EErrorCode *error = 0); | | Long_t ProcessLineSynch(const char *line, EErrorCode *error = 0); | |
| void PrintIntro(); | | void PrintIntro(); | |
|
| | | Int_t SetClassSharedLibs(const char *cls, const char *libs); | |
| void SetGetline(const char*(*getlineFunc)(const char* prompt), | | void SetGetline(const char*(*getlineFunc)(const char* prompt), | |
| void (*histaddFunc)(const char* line)); | | void (*histaddFunc)(const char* line)); | |
| void Reset(); | | void Reset(); | |
| void ResetAll(); | | void ResetAll(); | |
| void ResetGlobals(); | | void ResetGlobals(); | |
| void ResetGlobalVar(void *obj); | | void ResetGlobalVar(void *obj); | |
| void RewindDictionary(); | | void RewindDictionary(); | |
| Int_t DeleteGlobal(void *obj); | | Int_t DeleteGlobal(void *obj); | |
| void SaveContext(); | | void SaveContext(); | |
| void SaveGlobalsContext(); | | void SaveGlobalsContext(); | |
| | | | |
| skipping to change at line 269 | | skipping to change at line 270 | |
| virtual const char *DataMemberInfo_TypeName(DataMemberInfo_t *dminfo) co
nst; | | virtual const char *DataMemberInfo_TypeName(DataMemberInfo_t *dminfo) co
nst; | |
| virtual const char *DataMemberInfo_TypeTrueName(DataMemberInfo_t *dminfo
) const; | | virtual const char *DataMemberInfo_TypeTrueName(DataMemberInfo_t *dminfo
) const; | |
| virtual const char *DataMemberInfo_Name(DataMemberInfo_t *dminfo) const; | | virtual const char *DataMemberInfo_Name(DataMemberInfo_t *dminfo) const; | |
| virtual const char *DataMemberInfo_Title(DataMemberInfo_t *dminfo) const
; | | virtual const char *DataMemberInfo_Title(DataMemberInfo_t *dminfo) const
; | |
| virtual const char *DataMemberInfo_ValidArrayIndex(DataMemberInfo_t *dmi
nfo) const; | | virtual const char *DataMemberInfo_ValidArrayIndex(DataMemberInfo_t *dmi
nfo) const; | |
| | | | |
| // G__MethodInfo interface | | // G__MethodInfo interface | |
| virtual void MethodInfo_CreateSignature(MethodInfo_t *minfo, TString &
signature) const; | | virtual void MethodInfo_CreateSignature(MethodInfo_t *minfo, TString &
signature) const; | |
| virtual void MethodInfo_Delete(MethodInfo_t *minfo) const; | | virtual void MethodInfo_Delete(MethodInfo_t *minfo) const; | |
| virtual MethodInfo_t *MethodInfo_Factory() const; | | virtual MethodInfo_t *MethodInfo_Factory() const; | |
|
| | | virtual MethodInfo_t *MethodInfo_Factory(ClassInfo_t * /*clinfo*/) cons
t; | |
| virtual MethodInfo_t *MethodInfo_FactoryCopy(MethodInfo_t *minfo) const
; | | virtual MethodInfo_t *MethodInfo_FactoryCopy(MethodInfo_t *minfo) const
; | |
| virtual MethodInfo_t *MethodInfo_InterfaceMethod(MethodInfo_t *minfo) c
onst; | | virtual MethodInfo_t *MethodInfo_InterfaceMethod(MethodInfo_t *minfo) c
onst; | |
| virtual Bool_t MethodInfo_IsValid(MethodInfo_t *minfo) const; | | virtual Bool_t MethodInfo_IsValid(MethodInfo_t *minfo) const; | |
| virtual int MethodInfo_NArg(MethodInfo_t *minfo) const; | | virtual int MethodInfo_NArg(MethodInfo_t *minfo) const; | |
| virtual int MethodInfo_NDefaultArg(MethodInfo_t *minfo) const; | | virtual int MethodInfo_NDefaultArg(MethodInfo_t *minfo) const; | |
| virtual int MethodInfo_Next(MethodInfo_t *minfo) const; | | virtual int MethodInfo_Next(MethodInfo_t *minfo) const; | |
| virtual Long_t MethodInfo_Property(MethodInfo_t *minfo) const; | | virtual Long_t MethodInfo_Property(MethodInfo_t *minfo) const; | |
| virtual TypeInfo_t *MethodInfo_Type(MethodInfo_t *minfo) const; | | virtual TypeInfo_t *MethodInfo_Type(MethodInfo_t *minfo) const; | |
| virtual const char *MethodInfo_GetMangledName(MethodInfo_t *minfo) const
; | | virtual const char *MethodInfo_GetMangledName(MethodInfo_t *minfo) const
; | |
| virtual const char *MethodInfo_GetPrototype(MethodInfo_t *minfo) const; | | virtual const char *MethodInfo_GetPrototype(MethodInfo_t *minfo) const; | |
| virtual const char *MethodInfo_Name(MethodInfo_t *minfo) const; | | virtual const char *MethodInfo_Name(MethodInfo_t *minfo) const; | |
| virtual const char *MethodInfo_TypeName(MethodInfo_t *minfo) const; | | virtual const char *MethodInfo_TypeName(MethodInfo_t *minfo) const; | |
| virtual std::string MethodInfo_TypeNormalizedName(MethodInfo_t *minfo) c
onst; | | virtual std::string MethodInfo_TypeNormalizedName(MethodInfo_t *minfo) c
onst; | |
| virtual const char *MethodInfo_Title(MethodInfo_t *minfo) const; | | virtual const char *MethodInfo_Title(MethodInfo_t *minfo) const; | |
| | | | |
| // G__MethodArgInfo interface | | // G__MethodArgInfo interface | |
| virtual void MethodArgInfo_Delete(MethodArgInfo_t *marginfo) const; | | virtual void MethodArgInfo_Delete(MethodArgInfo_t *marginfo) const; | |
| virtual MethodArgInfo_t *MethodArgInfo_Factory() const; | | virtual MethodArgInfo_t *MethodArgInfo_Factory() const; | |
|
| | | virtual MethodArgInfo_t *MethodArgInfo_Factory(MethodInfo_t *minfo) con
st; | |
| virtual MethodArgInfo_t *MethodArgInfo_FactoryCopy(MethodArgInfo_t *mar
ginfo) const; | | virtual MethodArgInfo_t *MethodArgInfo_FactoryCopy(MethodArgInfo_t *mar
ginfo) const; | |
| virtual Bool_t MethodArgInfo_IsValid(MethodArgInfo_t *marginfo) const; | | virtual Bool_t MethodArgInfo_IsValid(MethodArgInfo_t *marginfo) const; | |
| virtual int MethodArgInfo_Next(MethodArgInfo_t *marginfo) const; | | virtual int MethodArgInfo_Next(MethodArgInfo_t *marginfo) const; | |
| virtual Long_t MethodArgInfo_Property(MethodArgInfo_t *marginfo) const; | | virtual Long_t MethodArgInfo_Property(MethodArgInfo_t *marginfo) const; | |
| virtual const char *MethodArgInfo_DefaultValue(MethodArgInfo_t *marginfo
) const; | | virtual const char *MethodArgInfo_DefaultValue(MethodArgInfo_t *marginfo
) const; | |
| virtual const char *MethodArgInfo_Name(MethodArgInfo_t *marginfo) const; | | virtual const char *MethodArgInfo_Name(MethodArgInfo_t *marginfo) const; | |
| virtual const char *MethodArgInfo_TypeName(MethodArgInfo_t *marginfo) co
nst; | | virtual const char *MethodArgInfo_TypeName(MethodArgInfo_t *marginfo) co
nst; | |
| virtual std::string MethodArgInfo_TypeNormalizedName(MethodArgInfo_t *ma
rginfo) const; | | virtual std::string MethodArgInfo_TypeNormalizedName(MethodArgInfo_t *ma
rginfo) const; | |
| | | | |
| // G__TypeInfo interface | | // G__TypeInfo interface | |
| | | | |
| skipping to change at line 315 | | skipping to change at line 318 | |
| virtual int TypeInfo_RefType(TypeInfo_t * /* tinfo */) const; | | virtual int TypeInfo_RefType(TypeInfo_t * /* tinfo */) const; | |
| virtual int TypeInfo_Size(TypeInfo_t *tinfo) const; | | virtual int TypeInfo_Size(TypeInfo_t *tinfo) const; | |
| virtual const char *TypeInfo_TrueName(TypeInfo_t *tinfo) const; | | virtual const char *TypeInfo_TrueName(TypeInfo_t *tinfo) const; | |
| | | | |
| // G__TypedefInfo interface | | // G__TypedefInfo interface | |
| virtual void TypedefInfo_Delete(TypedefInfo_t *tinfo) const; | | virtual void TypedefInfo_Delete(TypedefInfo_t *tinfo) const; | |
| virtual TypedefInfo_t *TypedefInfo_Factory() const; | | virtual TypedefInfo_t *TypedefInfo_Factory() const; | |
| virtual TypedefInfo_t *TypedefInfo_FactoryCopy(TypedefInfo_t *tinfo) co
nst; | | virtual TypedefInfo_t *TypedefInfo_FactoryCopy(TypedefInfo_t *tinfo) co
nst; | |
| virtual void TypedefInfo_Init(TypedefInfo_t *tinfo, const char *funcna
me) const; | | virtual void TypedefInfo_Init(TypedefInfo_t *tinfo, const char *funcna
me) const; | |
| virtual Bool_t TypedefInfo_IsValid(TypedefInfo_t *tinfo) const; | | virtual Bool_t TypedefInfo_IsValid(TypedefInfo_t *tinfo) const; | |
|
| | | virtual int TypedefInfo_Next(TypedefInfo_t *tinfo) const; | |
| virtual Long_t TypedefInfo_Property(TypedefInfo_t *tinfo) const; | | virtual Long_t TypedefInfo_Property(TypedefInfo_t *tinfo) const; | |
| virtual int TypedefInfo_Size(TypedefInfo_t *tinfo) const; | | virtual int TypedefInfo_Size(TypedefInfo_t *tinfo) const; | |
| virtual const char *TypedefInfo_TrueName(TypedefInfo_t *tinfo) const; | | virtual const char *TypedefInfo_TrueName(TypedefInfo_t *tinfo) const; | |
| virtual const char *TypedefInfo_Name(TypedefInfo_t *tinfo) const; | | virtual const char *TypedefInfo_Name(TypedefInfo_t *tinfo) const; | |
| virtual const char *TypedefInfo_Title(TypedefInfo_t *tinfo) const; | | virtual const char *TypedefInfo_Title(TypedefInfo_t *tinfo) const; | |
| | | | |
| ClassDef(TCint,0) //Interface to CINT C/C++ interpreter | | ClassDef(TCint,0) //Interface to CINT C/C++ interpreter | |
| }; | | }; | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 0 lines changed or deleted | | 4 lines changed or added | |
|
| TGeoArb8.h | | TGeoArb8.h | |
| | | | |
| skipping to change at line 98 | | skipping to change at line 98 | |
| static void GetPlaneNormal(Double_t *p1, Double_t *p2, Double_
t *p3, Double_t *norm); | | static void GetPlaneNormal(Double_t *p1, Double_t *p2, Double_
t *p3, Double_t *norm); | |
| Double_t *GetVertices() {return &fXY[0][0];} | | Double_t *GetVertices() {return &fXY[0][0];} | |
| Double_t GetTwist(Int_t iseg) const; | | Double_t GetTwist(Int_t iseg) const; | |
| virtual Bool_t IsCylType() const {return kFALSE;} | | virtual Bool_t IsCylType() const {return kFALSE;} | |
| static Bool_t IsSamePoint(Double_t *p1, Double_t *p2) {return (T
Math::Abs(p1[0]-p2[0])<1.E-16 && TMath::Abs(p1[1]-p2[1])<1.E-16)?kTRUE:kFAL
SE;} | | static Bool_t IsSamePoint(Double_t *p1, Double_t *p2) {return (T
Math::Abs(p1[0]-p2[0])<1.E-16 && TMath::Abs(p1[1]-p2[1])<1.E-16)?kTRUE:kFAL
SE;} | |
| static Bool_t InsidePolygon(Double_t x, Double_t y, Double_t *pt
s); | | static Bool_t InsidePolygon(Double_t x, Double_t y, Double_t *pt
s); | |
| virtual void InspectShape() const; | | virtual void InspectShape() const; | |
| Bool_t IsTwisted() const {return (fTwist==0)?kFALSE:kTRUE
;} | | Bool_t IsTwisted() const {return (fTwist==0)?kFALSE:kTRUE
;} | |
| Double_t SafetyToFace(Double_t *point, Int_t iseg, Bool_t i
n) const; | | Double_t SafetyToFace(Double_t *point, Int_t iseg, Bool_t i
n) const; | |
| virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | | virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = "")
; | | virtual void SavePrimitive(std::ostream &out, Option_t *option
= ""); | |
| void SetPlaneVertices(Double_t zpl, Double_t *vertices)
const; | | void SetPlaneVertices(Double_t zpl, Double_t *vertices)
const; | |
| virtual void SetVertex(Int_t vnum, Double_t x, Double_t y); | | virtual void SetVertex(Int_t vnum, Double_t x, Double_t y); | |
| virtual void SetDimensions(Double_t *param); | | virtual void SetDimensions(Double_t *param); | |
| void SetDz(Double_t dz) {fDz = dz;} | | void SetDz(Double_t dz) {fDz = dz;} | |
| virtual void SetPoints(Double_t *points) const; | | virtual void SetPoints(Double_t *points) const; | |
| virtual void SetPoints(Float_t *points) const; | | virtual void SetPoints(Float_t *points) const; | |
| virtual void Sizeof3D() const; | | virtual void Sizeof3D() const; | |
| | | | |
| ClassDef(TGeoArb8, 1) // arbitrary trapezoid with 8 vertices | | ClassDef(TGeoArb8, 1) // arbitrary trapezoid with 8 vertices | |
| }; | | }; | |
| | | | |
| skipping to change at line 171 | | skipping to change at line 171 | |
| Double_t GetBl1() const {return fBl1;} | | Double_t GetBl1() const {return fBl1;} | |
| Double_t GetTl1() const {return fTl1;} | | Double_t GetTl1() const {return fTl1;} | |
| Double_t GetAlpha1() const {return fAlpha1;} | | Double_t GetAlpha1() const {return fAlpha1;} | |
| Double_t GetH2() const {return fH2;} | | Double_t GetH2() const {return fH2;} | |
| Double_t GetBl2() const {return fBl2;} | | Double_t GetBl2() const {return fBl2;} | |
| Double_t GetTl2() const {return fTl2;} | | Double_t GetTl2() const {return fTl2;} | |
| Double_t GetAlpha2() const {return fAlpha2;} | | Double_t GetAlpha2() const {return fAlpha2;} | |
| virtual TGeoShape *GetMakeRuntimeShape(TGeoShape *mother, TGeoMatrix
*mat) const; | | virtual TGeoShape *GetMakeRuntimeShape(TGeoShape *mother, TGeoMatrix
*mat) const; | |
| virtual void SetDimensions(Double_t *param); | | virtual void SetDimensions(Double_t *param); | |
| virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | | virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = "")
; | | virtual void SavePrimitive(std::ostream &out, Option_t *option
= ""); | |
| | | | |
| ClassDef(TGeoTrap, 1) // G3 TRAP shape | | ClassDef(TGeoTrap, 1) // G3 TRAP shape | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoGtra /
/ | | // TGeoGtra /
/ | |
| // /
/ | | // /
/ | |
| // Gtra is a twisted general trapezoid, i.e. one for which the faces perpen
dicular// | | // Gtra is a twisted general trapezoid, i.e. one for which the faces perpen
dicular// | |
| // to z are trapezia and their centres are not the same x, y. It has 12 /
/ | | // to z are trapezia and their centres are not the same x, y. It has 12 /
/ | |
| | | | |
| skipping to change at line 215 | | skipping to change at line 215 | |
| // destructor | | // destructor | |
| virtual ~TGeoGtra(); | | virtual ~TGeoGtra(); | |
| virtual Double_t DistFromInside(Double_t *point, Double_t *dir, Int
_t iact=1, | | virtual Double_t DistFromInside(Double_t *point, Double_t *dir, Int
_t iact=1, | |
| Double_t step=TGeoShape::Big(), Double_t
*safe=0) const; | | Double_t step=TGeoShape::Big(), Double_t
*safe=0) const; | |
| virtual Double_t DistFromOutside(Double_t *point, Double_t *dir, In
t_t iact=1, | | virtual Double_t DistFromOutside(Double_t *point, Double_t *dir, In
t_t iact=1, | |
| Double_t step=TGeoShape::Big(), Double_t
*safe=0) const; | | Double_t step=TGeoShape::Big(), Double_t
*safe=0) const; | |
| virtual TGeoShape *GetMakeRuntimeShape(TGeoShape *mother, TGeoMatrix
*mat) const; | | virtual TGeoShape *GetMakeRuntimeShape(TGeoShape *mother, TGeoMatrix
*mat) const; | |
| Double_t GetTwistAngle() const {return fTwistAngle;} | | Double_t GetTwistAngle() const {return fTwistAngle;} | |
| virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | | virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | |
| virtual void SetDimensions(Double_t *param); | | virtual void SetDimensions(Double_t *param); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = "")
; | | virtual void SavePrimitive(std::ostream &out, Option_t *option
= ""); | |
| | | | |
| ClassDef(TGeoGtra, 1) // G3 GTRA shape | | ClassDef(TGeoGtra, 1) // G3 GTRA shape | |
| }; | | }; | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 3 lines changed or added | |
|
| TGeoBoolNode.h | | TGeoBoolNode.h | |
| | | | |
| skipping to change at line 95 | | skipping to change at line 95 | |
| virtual Int_t GetNpoints() = 0; | | virtual Int_t GetNpoints() = 0; | |
| TGeoMatrix *GetLeftMatrix() const {return fLeftMat;} | | TGeoMatrix *GetLeftMatrix() const {return fLeftMat;} | |
| TGeoMatrix *GetRightMatrix() const {return fRightMat;} | | TGeoMatrix *GetRightMatrix() const {return fRightMat;} | |
| TGeoShape *GetLeftShape() const {return fLeft;} | | TGeoShape *GetLeftShape() const {return fLeft;} | |
| TGeoShape *GetRightShape() const {return fRight;} | | TGeoShape *GetRightShape() const {return fRight;} | |
| virtual TGeoBoolNode *MakeClone() const = 0; | | virtual TGeoBoolNode *MakeClone() const = 0; | |
| virtual void Paint(Option_t *option); | | virtual void Paint(Option_t *option); | |
| void RegisterMatrices(); | | void RegisterMatrices(); | |
| Bool_t ReplaceMatrix(TGeoMatrix *mat, TGeoMatrix *newmat); | | Bool_t ReplaceMatrix(TGeoMatrix *mat, TGeoMatrix *newmat); | |
| virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const = 0; | | virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const = 0; | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option = ""
); | |
| virtual void SetPoints(Double_t *points) const; | | virtual void SetPoints(Double_t *points) const; | |
| virtual void SetPoints(Float_t *points) const; | | virtual void SetPoints(Float_t *points) const; | |
| void SetSelected(Int_t sel); | | void SetSelected(Int_t sel); | |
| virtual void Sizeof3D() const; | | virtual void Sizeof3D() const; | |
| | | | |
| ClassDef(TGeoBoolNode, 1) // a boolean node | | ClassDef(TGeoBoolNode, 1) // a boolean node | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/// | | ///////////////////////////////////////////////////////////////////////////
/// | |
| //
// | | //
// | |
| | | | |
| skipping to change at line 132 | | skipping to change at line 132 | |
| virtual void ComputeNormal(Double_t *point, Double_t *dir, Double_t
*norm); | | virtual void ComputeNormal(Double_t *point, Double_t *dir, Double_t
*norm); | |
| virtual Bool_t Contains(Double_t *point) const; | | virtual Bool_t Contains(Double_t *point) const; | |
| virtual Int_t DistanceToPrimitive(Int_t px, Int_t py); | | virtual Int_t DistanceToPrimitive(Int_t px, Int_t py); | |
| virtual Double_t DistFromInside(Double_t *point, Double_t *dir, Int_t i
act=1, | | virtual Double_t DistFromInside(Double_t *point, Double_t *dir, Int_t i
act=1, | |
| Double_t step=0, Double_t *safe=0) const; | | Double_t step=0, Double_t *safe=0) const; | |
| virtual Double_t DistFromOutside(Double_t *point, Double_t *dir, Int_t
iact=1, | | virtual Double_t DistFromOutside(Double_t *point, Double_t *dir, Int_t
iact=1, | |
| Double_t step=0, Double_t *safe=0) const; | | Double_t step=0, Double_t *safe=0) const; | |
| virtual EGeoBoolType GetBooleanOperator() const {return kGeoUnion;} | | virtual EGeoBoolType GetBooleanOperator() const {return kGeoUnion;} | |
| virtual Int_t GetNpoints(); | | virtual Int_t GetNpoints(); | |
| virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | | virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option = ""
); | |
| virtual void Sizeof3D() const; | | virtual void Sizeof3D() const; | |
| | | | |
| //CS specific | | //CS specific | |
| virtual TGeoBoolNode *MakeClone() const; | | virtual TGeoBoolNode *MakeClone() const; | |
| virtual void Paint(Option_t *option); | | virtual void Paint(Option_t *option); | |
| | | | |
| ClassDef(TGeoUnion, 1) // union node | | ClassDef(TGeoUnion, 1) // union node | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/// | | ///////////////////////////////////////////////////////////////////////////
/// | |
| | | | |
| skipping to change at line 171 | | skipping to change at line 171 | |
| virtual void ComputeNormal(Double_t *point, Double_t *dir, Double_t
*norm); | | virtual void ComputeNormal(Double_t *point, Double_t *dir, Double_t
*norm); | |
| virtual Bool_t Contains(Double_t *point) const; | | virtual Bool_t Contains(Double_t *point) const; | |
| virtual Int_t DistanceToPrimitive(Int_t px, Int_t py); | | virtual Int_t DistanceToPrimitive(Int_t px, Int_t py); | |
| virtual Double_t DistFromInside(Double_t *point, Double_t *dir, Int_t i
act=1, | | virtual Double_t DistFromInside(Double_t *point, Double_t *dir, Int_t i
act=1, | |
| Double_t step=0, Double_t *safe=0) const; | | Double_t step=0, Double_t *safe=0) const; | |
| virtual Double_t DistFromOutside(Double_t *point, Double_t *dir, Int_t
iact=1, | | virtual Double_t DistFromOutside(Double_t *point, Double_t *dir, Int_t
iact=1, | |
| Double_t step=0, Double_t *safe=0) const; | | Double_t step=0, Double_t *safe=0) const; | |
| virtual EGeoBoolType GetBooleanOperator() const {return kGeoIntersection
;} | | virtual EGeoBoolType GetBooleanOperator() const {return kGeoIntersection
;} | |
| virtual Int_t GetNpoints(); | | virtual Int_t GetNpoints(); | |
| virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | | virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option = ""
); | |
| virtual void Sizeof3D() const; | | virtual void Sizeof3D() const; | |
| | | | |
| //CS specific | | //CS specific | |
| virtual TGeoBoolNode *MakeClone() const; | | virtual TGeoBoolNode *MakeClone() const; | |
| virtual void Paint(Option_t *option); | | virtual void Paint(Option_t *option); | |
| | | | |
| ClassDef(TGeoIntersection, 1) // intersection node | | ClassDef(TGeoIntersection, 1) // intersection node | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/// | | ///////////////////////////////////////////////////////////////////////////
/// | |
| | | | |
| skipping to change at line 209 | | skipping to change at line 209 | |
| virtual void ComputeNormal(Double_t *point, Double_t *dir, Double_t
*norm); | | virtual void ComputeNormal(Double_t *point, Double_t *dir, Double_t
*norm); | |
| virtual Bool_t Contains(Double_t *point) const; | | virtual Bool_t Contains(Double_t *point) const; | |
| virtual Int_t DistanceToPrimitive(Int_t px, Int_t py); | | virtual Int_t DistanceToPrimitive(Int_t px, Int_t py); | |
| virtual Double_t DistFromInside(Double_t *point, Double_t *dir, Int_t i
act=1, | | virtual Double_t DistFromInside(Double_t *point, Double_t *dir, Int_t i
act=1, | |
| Double_t step=0, Double_t *safe=0) const; | | Double_t step=0, Double_t *safe=0) const; | |
| virtual Double_t DistFromOutside(Double_t *point, Double_t *dir, Int_t
iact=1, | | virtual Double_t DistFromOutside(Double_t *point, Double_t *dir, Int_t
iact=1, | |
| Double_t step=0, Double_t *safe=0) const; | | Double_t step=0, Double_t *safe=0) const; | |
| virtual EGeoBoolType GetBooleanOperator() const {return kGeoSubtraction;
} | | virtual EGeoBoolType GetBooleanOperator() const {return kGeoSubtraction;
} | |
| virtual Int_t GetNpoints(); | | virtual Int_t GetNpoints(); | |
| virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | | virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option = ""
); | |
| virtual void Sizeof3D() const; | | virtual void Sizeof3D() const; | |
| | | | |
| //CS specific | | //CS specific | |
| virtual TGeoBoolNode *MakeClone() const; | | virtual TGeoBoolNode *MakeClone() const; | |
| virtual void Paint(Option_t *option); | | virtual void Paint(Option_t *option); | |
| | | | |
| ClassDef(TGeoSubtraction, 1) // subtraction node | | ClassDef(TGeoSubtraction, 1) // subtraction node | |
| }; | | }; | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 4 lines changed or deleted | | 4 lines changed or added | |
|
| TGeoCone.h | | TGeoCone.h | |
| | | | |
| skipping to change at line 91 | | skipping to change at line 91 | |
| virtual Double_t GetRmax1() const {return fRmax1;} | | virtual Double_t GetRmax1() const {return fRmax1;} | |
| virtual Double_t GetRmin2() const {return fRmin2;} | | virtual Double_t GetRmin2() const {return fRmin2;} | |
| virtual Double_t GetRmax2() const {return fRmax2;} | | virtual Double_t GetRmax2() const {return fRmax2;} | |
| | | | |
| virtual void InspectShape() const; | | virtual void InspectShape() const; | |
| virtual Bool_t IsCylType() const {return kTRUE;} | | virtual Bool_t IsCylType() const {return kTRUE;} | |
| virtual TBuffer3D *MakeBuffer3D() const; | | virtual TBuffer3D *MakeBuffer3D() const; | |
| virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | | virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | |
| static Double_t SafetyS(Double_t *point, Bool_t in, Double_t dz, D
ouble_t rmin1, Double_t rmax1, | | static Double_t SafetyS(Double_t *point, Bool_t in, Double_t dz, D
ouble_t rmin1, Double_t rmax1, | |
| Double_t rmin2, Double_t rmax2, Int_t skip
z=0); | | Double_t rmin2, Double_t rmax2, Int_t skip
z=0); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = "")
; | | virtual void SavePrimitive(std::ostream &out, Option_t *option
= ""); | |
| void SetConeDimensions(Double_t dz, Double_t rmin1, Dou
ble_t rmax1, | | void SetConeDimensions(Double_t dz, Double_t rmin1, Dou
ble_t rmax1, | |
| Double_t rmin2, Double_t rmax2); | | Double_t rmin2, Double_t rmax2); | |
| virtual void SetDimensions(Double_t *param); | | virtual void SetDimensions(Double_t *param); | |
| virtual void SetPoints(Double_t *points) const; | | virtual void SetPoints(Double_t *points) const; | |
| virtual void SetPoints(Float_t *points) const; | | virtual void SetPoints(Float_t *points) const; | |
| virtual void SetSegsAndPols(TBuffer3D &buffer) const; | | virtual void SetSegsAndPols(TBuffer3D &buffer) const; | |
| virtual void Sizeof3D() const; | | virtual void Sizeof3D() const; | |
| | | | |
| ClassDef(TGeoCone, 1) // conical tube class | | ClassDef(TGeoCone, 1) // conical tube class | |
| | | | |
| | | | |
| skipping to change at line 167 | | skipping to change at line 167 | |
| virtual void GetMeshNumbers(Int_t &nvert, Int_t &nsegs, Int_t &
npols) const; | | virtual void GetMeshNumbers(Int_t &nvert, Int_t &nsegs, Int_t &
npols) const; | |
| virtual Int_t GetNmeshVertices() const; | | virtual Int_t GetNmeshVertices() const; | |
| virtual Bool_t GetPointsOnSegments(Int_t npoints, Double_t *array
) const; | | virtual Bool_t GetPointsOnSegments(Int_t npoints, Double_t *array
) const; | |
| Double_t GetPhi1() const {return fPhi1;} | | Double_t GetPhi1() const {return fPhi1;} | |
| Double_t GetPhi2() const {return fPhi2;} | | Double_t GetPhi2() const {return fPhi2;} | |
| virtual void InspectShape() const; | | virtual void InspectShape() const; | |
| virtual TBuffer3D *MakeBuffer3D() const; | | virtual TBuffer3D *MakeBuffer3D() const; | |
| virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | | virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | |
| static Double_t SafetyS(Double_t *point, Bool_t in, Double_t dz, D
ouble_t rmin1, Double_t rmax1, | | static Double_t SafetyS(Double_t *point, Bool_t in, Double_t dz, D
ouble_t rmin1, Double_t rmax1, | |
| Double_t rmin2, Double_t rmax2, Double_t p
hi1, Double_t phi2, Int_t skipz=0); | | Double_t rmin2, Double_t rmax2, Double_t p
hi1, Double_t phi2, Int_t skipz=0); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = "")
; | | virtual void SavePrimitive(std::ostream &out, Option_t *option
= ""); | |
| void SetConsDimensions(Double_t dz, Double_t rmin1, Dou
ble_t rmax1, | | void SetConsDimensions(Double_t dz, Double_t rmin1, Dou
ble_t rmax1, | |
| Double_t rmin2, Double_t rmax2, Doub
le_t phi1, Double_t phi2); | | Double_t rmin2, Double_t rmax2, Doub
le_t phi1, Double_t phi2); | |
| virtual void SetDimensions(Double_t *param); | | virtual void SetDimensions(Double_t *param); | |
| virtual void SetPoints(Double_t *points) const; | | virtual void SetPoints(Double_t *points) const; | |
| virtual void SetPoints(Float_t *points) const; | | virtual void SetPoints(Float_t *points) const; | |
| virtual void SetSegsAndPols(TBuffer3D &buffer) const; | | virtual void SetSegsAndPols(TBuffer3D &buffer) const; | |
| virtual void Sizeof3D() const; | | virtual void Sizeof3D() const; | |
| | | | |
| ClassDef(TGeoConeSeg, 1) // conical tube segment class | | ClassDef(TGeoConeSeg, 1) // conical tube segment class | |
| }; | | }; | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| TGeoMaterial.h | | TGeoMaterial.h | |
| | | | |
| skipping to change at line 35 | | skipping to change at line 35 | |
| | | | |
| #ifndef ROOT_TAttFill | | #ifndef ROOT_TAttFill | |
| #include "TAttFill.h" | | #include "TAttFill.h" | |
| #endif | | #endif | |
| | | | |
| #ifndef ROOT_TGeoElement | | #ifndef ROOT_TGeoElement | |
| #include "TGeoElement.h" | | #include "TGeoElement.h" | |
| #endif | | #endif | |
| | | | |
| // forward declarations | | // forward declarations | |
|
| | | class TGeoExtension; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoMaterial - base class describing materials /
/ | | // TGeoMaterial - base class describing materials /
/ | |
| // /
/ | | // /
/ | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| | | | |
| // Some units used in G4 | | // Some units used in G4 | |
| static const Double_t STP_temperature = 273.15; // [K] | | static const Double_t STP_temperature = 273.15; // [K] | |
| static const Double_t STP_pressure = 6.32420e+8; // [MeV/mm3] | | static const Double_t STP_pressure = 6.32420e+8; // [MeV/mm3] | |
| | | | |
| skipping to change at line 74 | | skipping to change at line 75 | |
| Double_t fZ; // Z of material | | Double_t fZ; // Z of material | |
| Double_t fDensity; // density of material | | Double_t fDensity; // density of material | |
| Double_t fRadLen; // radiation length | | Double_t fRadLen; // radiation length | |
| Double_t fIntLen; // interaction length | | Double_t fIntLen; // interaction length | |
| Double_t fTemperature; // temperature | | Double_t fTemperature; // temperature | |
| Double_t fPressure; // pressure | | Double_t fPressure; // pressure | |
| EGeoMaterialState fState; // material state | | EGeoMaterialState fState; // material state | |
| TObject *fShader; // shader with optical properties | | TObject *fShader; // shader with optical properties | |
| TObject *fCerenkov; // pointer to class with Cerenkov
properties | | TObject *fCerenkov; // pointer to class with Cerenkov
properties | |
| TGeoElement *fElement; // pointer to element composing th
e material | | TGeoElement *fElement; // pointer to element composing th
e material | |
|
| | | TGeoExtension *fUserExtension; //! Transient user-defined ext | |
| | | ension to materials | |
| | | TGeoExtension *fFWExtension; //! Transient framework-define | |
| | | d extension to materials | |
| | | | |
| // methods | | // methods | |
| TGeoMaterial(const TGeoMaterial&); | | TGeoMaterial(const TGeoMaterial&); | |
| TGeoMaterial& operator=(const TGeoMaterial&); | | TGeoMaterial& operator=(const TGeoMaterial&); | |
| | | | |
| public: | | public: | |
| // constructors | | // constructors | |
| TGeoMaterial(); | | TGeoMaterial(); | |
| TGeoMaterial(const char *name); | | TGeoMaterial(const char *name); | |
| TGeoMaterial(const char *name, Double_t a, Double_t z, | | TGeoMaterial(const char *name, Double_t a, Double_t z, | |
| | | | |
| skipping to change at line 116 | | skipping to change at line 119 | |
| char *GetPointerName() const; | | char *GetPointerName() const; | |
| virtual Double_t GetRadLen() const {return fRadLen;} | | virtual Double_t GetRadLen() const {return fRadLen;} | |
| virtual Double_t GetIntLen() const {return fIntLen;} | | virtual Double_t GetIntLen() const {return fIntLen;} | |
| Int_t GetIndex(); | | Int_t GetIndex(); | |
| virtual TObject *GetCerenkovProperties() const {return fCerenkov
;} | | virtual TObject *GetCerenkovProperties() const {return fCerenkov
;} | |
| Char_t GetTransparency() const {return (fFillStyle<300
0 || fFillStyle>3100)?0:Char_t(fFillStyle-3000);} | | Char_t GetTransparency() const {return (fFillStyle<300
0 || fFillStyle>3100)?0:Char_t(fFillStyle-3000);} | |
| Double_t GetTemperature() const {return fTemperature;} | | Double_t GetTemperature() const {return fTemperature;} | |
| Double_t GetPressure() const {return fPressure;} | | Double_t GetPressure() const {return fPressure;} | |
| EGeoMaterialState GetState() const {return fState;} | | EGeoMaterialState GetState() const {return fState;} | |
| virtual Double_t GetSpecificActivity(Int_t) const {return 0.;} | | virtual Double_t GetSpecificActivity(Int_t) const {return 0.;} | |
|
| | | TGeoExtension *GetUserExtension() const {return fUserExtension | |
| | | ;} | |
| | | TGeoExtension *GetFWExtension() const {return fFWExtension;} | |
| | | TGeoExtension *GrabUserExtension() const; | |
| | | TGeoExtension *GrabFWExtension() const; | |
| virtual Bool_t IsEq(const TGeoMaterial *other) const; | | virtual Bool_t IsEq(const TGeoMaterial *other) const; | |
| Bool_t IsUsed() const {return TObject::TestBit(kMatUse
d);} | | Bool_t IsUsed() const {return TObject::TestBit(kMatUse
d);} | |
| virtual Bool_t IsMixture() const {return kFALSE;} | | virtual Bool_t IsMixture() const {return kFALSE;} | |
| virtual void Print(const Option_t *option="") const; | | virtual void Print(const Option_t *option="") const; | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option =
""); | | virtual void SavePrimitive(std::ostream &out, Option_t *opti
on = ""); | |
| void SetA(Double_t a) {fA = a; SetRadLen(0);} | | void SetA(Double_t a) {fA = a; SetRadLen(0);} | |
| void SetZ(Double_t z) {fZ = z; SetRadLen(0);} | | void SetZ(Double_t z) {fZ = z; SetRadLen(0);} | |
| void SetDensity(Double_t density) {fDensity = densit
y; SetRadLen(0);} | | void SetDensity(Double_t density) {fDensity = densit
y; SetRadLen(0);} | |
| void SetIndex(Int_t index) {fIndex=index;} | | void SetIndex(Int_t index) {fIndex=index;} | |
| virtual void SetCerenkovProperties(TObject* cerenkov) {fCere
nkov = cerenkov;} | | virtual void SetCerenkovProperties(TObject* cerenkov) {fCere
nkov = cerenkov;} | |
| void SetRadLen(Double_t radlen, Double_t intlen=0.); | | void SetRadLen(Double_t radlen, Double_t intlen=0.); | |
| void SetUsed(Bool_t flag=kTRUE) {TObject::SetBit(kMa
tUsed, flag);} | | void SetUsed(Bool_t flag=kTRUE) {TObject::SetBit(kMa
tUsed, flag);} | |
| void SetTransparency(Char_t transparency=0) {fFillSt
yle = 3000+transparency;} | | void SetTransparency(Char_t transparency=0) {fFillSt
yle = 3000+transparency;} | |
| void SetTemperature(Double_t temperature) {fTemperat
ure = temperature;} | | void SetTemperature(Double_t temperature) {fTemperat
ure = temperature;} | |
| void SetPressure(Double_t pressure) {fPressure = pre
ssure;} | | void SetPressure(Double_t pressure) {fPressure = pre
ssure;} | |
| void SetState(EGeoMaterialState state) {fState = sta
te;} | | void SetState(EGeoMaterialState state) {fState = sta
te;} | |
|
| | | void SetUserExtension(TGeoExtension *ext); | |
| | | void SetFWExtension(TGeoExtension *ext); | |
| static Double_t ScreenFactor(Double_t z); | | static Double_t ScreenFactor(Double_t z); | |
| | | | |
| ClassDef(TGeoMaterial, 5) // base material class | | ClassDef(TGeoMaterial, 5) // base material class | |
| | | | |
| //***** Need to add classes and globals to LinkDef.h ***** | | //***** Need to add classes and globals to LinkDef.h ***** | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoMixture - mixtures of elements /
/ | | // TGeoMixture - mixtures of elements /
/ | |
| | | | |
| skipping to change at line 192 | | skipping to change at line 201 | |
| virtual Int_t GetNelements() const {return fNelements;} | | virtual Int_t GetNelements() const {return fNelements;} | |
| Double_t *GetZmixt() const {return fZmixture;} | | Double_t *GetZmixt() const {return fZmixture;} | |
| Double_t *GetAmixt() const {return fAmixture;} | | Double_t *GetAmixt() const {return fAmixture;} | |
| Double_t *GetWmixt() const {return fWeights;} | | Double_t *GetWmixt() const {return fWeights;} | |
| Int_t *GetNmixt() const {return fNatoms;} | | Int_t *GetNmixt() const {return fNatoms;} | |
| virtual Double_t GetSpecificActivity(Int_t i=-1) const; | | virtual Double_t GetSpecificActivity(Int_t i=-1) const; | |
| // utilities | | // utilities | |
| virtual Bool_t IsEq(const TGeoMaterial *other) const; | | virtual Bool_t IsEq(const TGeoMaterial *other) const; | |
| virtual Bool_t IsMixture() const {return kTRUE;} | | virtual Bool_t IsMixture() const {return kTRUE;} | |
| virtual void Print(const Option_t *option="") const; | | virtual void Print(const Option_t *option="") const; | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option =
""); | | virtual void SavePrimitive(std::ostream &out, Option_t *opti
on = ""); | |
| void SetA(Double_t a) {fA = a;} | | void SetA(Double_t a) {fA = a;} | |
| void SetZ(Double_t z) {fZ = z;} | | void SetZ(Double_t z) {fZ = z;} | |
| | | | |
| ClassDef(TGeoMixture, 2) // material mixtures | | ClassDef(TGeoMixture, 2) // material mixtures | |
| }; | | }; | |
| | | | |
| inline void TGeoMixture::DefineElement(Int_t, Double_t a, Double_t z, Doubl
e_t weight) | | inline void TGeoMixture::DefineElement(Int_t, Double_t a, Double_t z, Doubl
e_t weight) | |
| {return AddElement(a,z,weight);} | | {return AddElement(a,z,weight);} | |
| inline void TGeoMixture::DefineElement(Int_t, TGeoElement *elem, Double_t w
eight) | | inline void TGeoMixture::DefineElement(Int_t, TGeoElement *elem, Double_t w
eight) | |
| {return AddElement(elem,weight);} | | {return AddElement(elem,weight);} | |
| | | | |
End of changes. 6 change blocks. |
| 2 lines changed or deleted | | 14 lines changed or added | |
|
| TGeoMatrix.h | | TGeoMatrix.h | |
| | | | |
| skipping to change at line 158 | | skipping to change at line 158 | |
| virtual void LocalToMaster(const Double_t *local, Double_t *mast
er) const; | | virtual void LocalToMaster(const Double_t *local, Double_t *mast
er) const; | |
| virtual void LocalToMasterVect(const Double_t *local, Double_t *
master) const; | | virtual void LocalToMasterVect(const Double_t *local, Double_t *
master) const; | |
| virtual void LocalToMasterBomb(const Double_t *local, Double_t *
master) const; | | virtual void LocalToMasterBomb(const Double_t *local, Double_t *
master) const; | |
| virtual TGeoMatrix *MakeClone() const; | | virtual TGeoMatrix *MakeClone() const; | |
| virtual void MasterToLocal(const Double_t *master, Double_t *loc
al) const; | | virtual void MasterToLocal(const Double_t *master, Double_t *loc
al) const; | |
| virtual void MasterToLocalVect(const Double_t *master, Double_t
*local) const; | | virtual void MasterToLocalVect(const Double_t *master, Double_t
*local) const; | |
| virtual void MasterToLocalBomb(const Double_t *master, Double_t
*local) const; | | virtual void MasterToLocalBomb(const Double_t *master, Double_t
*local) const; | |
| virtual void RotateX(Double_t angle); | | virtual void RotateX(Double_t angle); | |
| virtual void RotateY(Double_t angle); | | virtual void RotateY(Double_t angle); | |
| virtual void RotateZ(Double_t angle); | | virtual void RotateZ(Double_t angle); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| void Subtract(const TGeoTranslation *other); | | void Subtract(const TGeoTranslation *other); | |
| void SetTranslation(Double_t dx, Double_t dy, Double_t d
z); | | void SetTranslation(Double_t dx, Double_t dy, Double_t d
z); | |
| void SetTranslation(const TGeoMatrix &other); | | void SetTranslation(const TGeoMatrix &other); | |
| virtual void SetDx(Double_t dx) {SetTranslation(dx, fTranslation
[1], fTranslation[2]);} | | virtual void SetDx(Double_t dx) {SetTranslation(dx, fTranslation
[1], fTranslation[2]);} | |
| virtual void SetDy(Double_t dy) {SetTranslation(fTranslation[0],
dy, fTranslation[2]);} | | virtual void SetDy(Double_t dy) {SetTranslation(fTranslation[0],
dy, fTranslation[2]);} | |
| virtual void SetDz(Double_t dz) {SetTranslation(fTranslation[0],
fTranslation[1], dz);} | | virtual void SetDz(Double_t dz) {SetTranslation(fTranslation[0],
fTranslation[1], dz);} | |
| | | | |
| virtual const Double_t *GetTranslation() const {return &fTranslation[
0];} | | virtual const Double_t *GetTranslation() const {return &fTranslation[
0];} | |
| virtual const Double_t *GetRotationMatrix() const {return &kIdentityM
atrix[0];} | | virtual const Double_t *GetRotationMatrix() const {return &kIdentityM
atrix[0];} | |
| virtual const Double_t *GetScale() const {return &kUnitScale[0]
;} | | virtual const Double_t *GetScale() const {return &kUnitScale[0]
;} | |
| | | | |
| skipping to change at line 220 | | skipping to change at line 220 | |
| virtual void LocalToMasterVect(const Double_t *local, Double_t *
master) const {TGeoRotation::LocalToMaster(local, master);} | | virtual void LocalToMasterVect(const Double_t *local, Double_t *
master) const {TGeoRotation::LocalToMaster(local, master);} | |
| virtual void LocalToMasterBomb(const Double_t *local, Double_t *
master) const {TGeoRotation::LocalToMaster(local, master);} | | virtual void LocalToMasterBomb(const Double_t *local, Double_t *
master) const {TGeoRotation::LocalToMaster(local, master);} | |
| virtual TGeoMatrix *MakeClone() const; | | virtual TGeoMatrix *MakeClone() const; | |
| virtual void MasterToLocal(const Double_t *master, Double_t *loc
al) const; | | virtual void MasterToLocal(const Double_t *master, Double_t *loc
al) const; | |
| virtual void MasterToLocalVect(const Double_t *master, Double_t
*local) const {TGeoRotation::MasterToLocal(master, local);} | | virtual void MasterToLocalVect(const Double_t *master, Double_t
*local) const {TGeoRotation::MasterToLocal(master, local);} | |
| virtual void MasterToLocalBomb(const Double_t *master, Double_t
*local) const {TGeoRotation::MasterToLocal(master, local);} | | virtual void MasterToLocalBomb(const Double_t *master, Double_t
*local) const {TGeoRotation::MasterToLocal(master, local);} | |
| void MultiplyBy(TGeoRotation *rot, Bool_t after=kTRUE); | | void MultiplyBy(TGeoRotation *rot, Bool_t after=kTRUE); | |
| virtual void RotateX(Double_t angle); | | virtual void RotateX(Double_t angle); | |
| virtual void RotateY(Double_t angle); | | virtual void RotateY(Double_t angle); | |
| virtual void RotateZ(Double_t angle); | | virtual void RotateZ(Double_t angle); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| virtual void ReflectX(Bool_t leftside, Bool_t rotonly=kFALSE); | | virtual void ReflectX(Bool_t leftside, Bool_t rotonly=kFALSE); | |
| virtual void ReflectY(Bool_t leftside, Bool_t rotonly=kFALSE); | | virtual void ReflectY(Bool_t leftside, Bool_t rotonly=kFALSE); | |
| virtual void ReflectZ(Bool_t leftside, Bool_t rotonly=kFALSE); | | virtual void ReflectZ(Bool_t leftside, Bool_t rotonly=kFALSE); | |
| void SetAngles(Double_t phi, Double_t theta, Double_t ps
i); | | void SetAngles(Double_t phi, Double_t theta, Double_t ps
i); | |
| void SetAngles(Double_t theta1, Double_t phi1, Double_t
theta2, Double_t phi2, | | void SetAngles(Double_t theta1, Double_t phi1, Double_t
theta2, Double_t phi2, | |
| Double_t theta3, Double_t phi3); | | Double_t theta3, Double_t phi3); | |
| void SetMatrix(const Double_t *rot) {memcpy(&fRotationMa
trix[0], rot, 9*sizeof(Double_t));CheckMatrix();} | | void SetMatrix(const Double_t *rot) {memcpy(&fRotationMa
trix[0], rot, 9*sizeof(Double_t));CheckMatrix();} | |
| void SetRotation(const TGeoMatrix &other); | | void SetRotation(const TGeoMatrix &other); | |
| void GetInverse(Double_t *invmat) const; | | void GetInverse(Double_t *invmat) const; | |
| | | | |
| | | | |
| skipping to change at line 313 | | skipping to change at line 313 | |
| void Clear(Option_t *option =""); | | void Clear(Option_t *option =""); | |
| virtual TGeoMatrix& Inverse() const; | | virtual TGeoMatrix& Inverse() const; | |
| virtual TGeoMatrix *MakeClone() const; | | virtual TGeoMatrix *MakeClone() const; | |
| virtual void RegisterYourself(); | | virtual void RegisterYourself(); | |
| virtual void RotateX(Double_t angle); | | virtual void RotateX(Double_t angle); | |
| virtual void RotateY(Double_t angle); | | virtual void RotateY(Double_t angle); | |
| virtual void RotateZ(Double_t angle); | | virtual void RotateZ(Double_t angle); | |
| virtual void ReflectX(Bool_t leftside, Bool_t rotonly=kFALSE); | | virtual void ReflectX(Bool_t leftside, Bool_t rotonly=kFALSE); | |
| virtual void ReflectY(Bool_t leftside, Bool_t rotonly=kFALSE); | | virtual void ReflectY(Bool_t leftside, Bool_t rotonly=kFALSE); | |
| virtual void ReflectZ(Bool_t leftside, Bool_t rotonly=kFALSE); | | virtual void ReflectZ(Bool_t leftside, Bool_t rotonly=kFALSE); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| virtual void SetDx(Double_t dx) {SetTranslation(dx, fTranslation
[1], fTranslation[2]);} | | virtual void SetDx(Double_t dx) {SetTranslation(dx, fTranslation
[1], fTranslation[2]);} | |
| virtual void SetDy(Double_t dy) {SetTranslation(fTranslation[0],
dy, fTranslation[2]);} | | virtual void SetDy(Double_t dy) {SetTranslation(fTranslation[0],
dy, fTranslation[2]);} | |
| virtual void SetDz(Double_t dz) {SetTranslation(fTranslation[0],
fTranslation[1], dz);} | | virtual void SetDz(Double_t dz) {SetTranslation(fTranslation[0],
fTranslation[1], dz);} | |
| void SetTranslation(const TGeoTranslation &tr); | | void SetTranslation(const TGeoTranslation &tr); | |
| void SetTranslation(Double_t dx, Double_t dy, Double_t d
z); | | void SetTranslation(Double_t dx, Double_t dy, Double_t d
z); | |
| void SetTranslation(Double_t *vect); | | void SetTranslation(Double_t *vect); | |
| void SetRotation(const TGeoRotation &other); | | void SetRotation(const TGeoRotation &other); | |
| void SetRotation(const TGeoRotation *rot); | | void SetRotation(const TGeoRotation *rot); | |
| | | | |
| TGeoRotation *GetRotation() const {return fRotation;} | | TGeoRotation *GetRotation() const {return fRotation;} | |
| | | | |
| skipping to change at line 393 | | skipping to change at line 393 | |
| virtual void LocalToMasterVect(const Double_t *local, Double_t *
master) const {memcpy(master, local, 3*sizeof(Double_t));} | | virtual void LocalToMasterVect(const Double_t *local, Double_t *
master) const {memcpy(master, local, 3*sizeof(Double_t));} | |
| virtual void LocalToMasterBomb(const Double_t *local, Double_t *
master) const {TGeoIdentity::LocalToMaster(local, master);} | | virtual void LocalToMasterBomb(const Double_t *local, Double_t *
master) const {TGeoIdentity::LocalToMaster(local, master);} | |
| virtual TGeoMatrix *MakeClone() const {return NULL;} | | virtual TGeoMatrix *MakeClone() const {return NULL;} | |
| virtual void MasterToLocal(const Double_t *master, Double_t *loc
al) const {memcpy(local, master, 3*sizeof(Double_t));} | | virtual void MasterToLocal(const Double_t *master, Double_t *loc
al) const {memcpy(local, master, 3*sizeof(Double_t));} | |
| virtual void MasterToLocalVect(const Double_t *master, Double_t
*local) const {memcpy(local, master, 3*sizeof(Double_t));} | | virtual void MasterToLocalVect(const Double_t *master, Double_t
*local) const {memcpy(local, master, 3*sizeof(Double_t));} | |
| virtual void MasterToLocalBomb(const Double_t *master, Double_t
*local) const {TGeoIdentity::MasterToLocal(master, local);} | | virtual void MasterToLocalBomb(const Double_t *master, Double_t
*local) const {TGeoIdentity::MasterToLocal(master, local);} | |
| | | | |
| virtual const Double_t *GetTranslation() const {return &kNullVector[0
];} | | virtual const Double_t *GetTranslation() const {return &kNullVector[0
];} | |
| virtual const Double_t *GetRotationMatrix() const {return &kIdentityM
atrix[0];} | | virtual const Double_t *GetRotationMatrix() const {return &kIdentityM
atrix[0];} | |
| virtual const Double_t *GetScale() const {return &kUnitScale[0]
;} | | virtual const Double_t *GetScale() const {return &kUnitScale[0]
;} | |
|
| virtual void SavePrimitive(ostream &, Option_t * = "") {;} | | virtual void SavePrimitive(std::ostream &, Option_t * = "") {;} | |
| | | | |
| ClassDef(TGeoIdentity, 1) // identity transformation cla
ss | | ClassDef(TGeoIdentity, 1) // identity transformation cla
ss | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoHMatrix - Matrix class used for computing global transformations /
/ | | // TGeoHMatrix - Matrix class used for computing global transformations /
/ | |
| // Should NOT be used for node definition. An instance of this class /
/ | | // Should NOT be used for node definition. An instance of this class /
/ | |
| // is generally used to pile-up local transformations starting from /
/ | | // is generally used to pile-up local transformations starting from /
/ | |
| // the top level physical node, down to the current node. /
/ | | // the top level physical node, down to the current node. /
/ | |
| | | | |
| skipping to change at line 441 | | skipping to change at line 441 | |
| virtual TGeoMatrix *MakeClone() const; | | virtual TGeoMatrix *MakeClone() const; | |
| void Multiply(const TGeoMatrix *right); | | void Multiply(const TGeoMatrix *right); | |
| void MultiplyLeft(const TGeoMatrix *left); | | void MultiplyLeft(const TGeoMatrix *left); | |
| | | | |
| virtual void RotateX(Double_t angle); | | virtual void RotateX(Double_t angle); | |
| virtual void RotateY(Double_t angle); | | virtual void RotateY(Double_t angle); | |
| virtual void RotateZ(Double_t angle); | | virtual void RotateZ(Double_t angle); | |
| virtual void ReflectX(Bool_t leftside, Bool_t rotonly=kFALSE); | | virtual void ReflectX(Bool_t leftside, Bool_t rotonly=kFALSE); | |
| virtual void ReflectY(Bool_t leftside, Bool_t rotonly=kFALSE); | | virtual void ReflectY(Bool_t leftside, Bool_t rotonly=kFALSE); | |
| virtual void ReflectZ(Bool_t leftside, Bool_t rotonly=kFALSE); | | virtual void ReflectZ(Bool_t leftside, Bool_t rotonly=kFALSE); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| virtual void SetDx(Double_t dx) {fTranslation[0] = dx; SetBit(kG
eoTranslation);} | | virtual void SetDx(Double_t dx) {fTranslation[0] = dx; SetBit(kG
eoTranslation);} | |
| virtual void SetDy(Double_t dy) {fTranslation[1] = dy; SetBit(kG
eoTranslation);} | | virtual void SetDy(Double_t dy) {fTranslation[1] = dy; SetBit(kG
eoTranslation);} | |
| virtual void SetDz(Double_t dz) {fTranslation[2] = dz; SetBit(kG
eoTranslation);} | | virtual void SetDz(Double_t dz) {fTranslation[2] = dz; SetBit(kG
eoTranslation);} | |
| void SetTranslation(const Double_t *vect) {SetBit(kGeoTr
anslation); memcpy(&fTranslation[0], vect, 3*sizeof(Double_t));} | | void SetTranslation(const Double_t *vect) {SetBit(kGeoTr
anslation); memcpy(&fTranslation[0], vect, 3*sizeof(Double_t));} | |
| void SetRotation(const Double_t *matrix) {SetBit(kGeoRot
ation); memcpy(&fRotationMatrix[0], matrix, 9*sizeof(Double_t));} | | void SetRotation(const Double_t *matrix) {SetBit(kGeoRot
ation); memcpy(&fRotationMatrix[0], matrix, 9*sizeof(Double_t));} | |
| void SetScale(const Double_t *scale) {SetBit(kGeoScale);
memcpy(&fScale[0], scale, 3*sizeof(Double_t));} | | void SetScale(const Double_t *scale) {SetBit(kGeoScale);
memcpy(&fScale[0], scale, 3*sizeof(Double_t));} | |
| | | | |
| virtual const Double_t *GetTranslation() const {return &fTranslation[
0];} | | virtual const Double_t *GetTranslation() const {return &fTranslation[
0];} | |
| virtual const Double_t *GetRotationMatrix() const {return &fRotationM
atrix[0];} | | virtual const Double_t *GetRotationMatrix() const {return &fRotationM
atrix[0];} | |
| virtual const Double_t *GetScale() const {return &fScale[0];} | | virtual const Double_t *GetScale() const {return &fScale[0];} | |
| | | | |
End of changes. 5 change blocks. |
| 5 lines changed or deleted | | 5 lines changed or added | |
|
| TGeoNode.h | | TGeoNode.h | |
| | | | |
| skipping to change at line 120 | | skipping to change at line 120 | |
| Bool_t IsOffset() const {return TObject::TestBit(kGeoNodeOffs
et);} | | Bool_t IsOffset() const {return TObject::TestBit(kGeoNodeOffs
et);} | |
| Bool_t IsOnScreen() const; // *MENU* | | Bool_t IsOnScreen() const; // *MENU* | |
| Bool_t IsOverlapping() const {return TObject::TestBit(kGeoNod
eOverlap);} | | Bool_t IsOverlapping() const {return TObject::TestBit(kGeoNod
eOverlap);} | |
| Bool_t IsVirtual() const {return TObject::TestBit(kGeoNodeVC)
;} | | Bool_t IsVirtual() const {return TObject::TestBit(kGeoNodeVC)
;} | |
| Bool_t IsVisible() const {return (TGeoAtt::IsVisible() && fVo
lume->IsVisible());} | | Bool_t IsVisible() const {return (TGeoAtt::IsVisible() && fVo
lume->IsVisible());} | |
| Bool_t IsVisDaughters() const {return (TGeoAtt::IsVisDaughter
s() && fVolume->IsVisDaughters());} | | Bool_t IsVisDaughters() const {return (TGeoAtt::IsVisDaughter
s() && fVolume->IsVisDaughters());} | |
| Bool_t MayOverlap(Int_t iother) const; | | Bool_t MayOverlap(Int_t iother) const; | |
| | | | |
| virtual TGeoNode *MakeCopyNode() const {return 0;} | | virtual TGeoNode *MakeCopyNode() const {return 0;} | |
| Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | | Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | |
|
| void SaveAttributes(ostream &out); | | void SaveAttributes(std::ostream &out); | |
| void SetCurrentPoint(Double_t x, Double_t y, Double_t z) {f
Volume->SetCurrentPoint(x,y,z);}// *MENU* | | void SetCurrentPoint(Double_t x, Double_t y, Double_t z) {f
Volume->SetCurrentPoint(x,y,z);}// *MENU* | |
| void SetVolume(TGeoVolume *volume) {fVolume = volume;
} | | void SetVolume(TGeoVolume *volume) {fVolume = volume;
} | |
| void SetNumber(Int_t number) {fNumber=number;} | | void SetNumber(Int_t number) {fNumber=number;} | |
| void SetOverlapping(Bool_t flag=kTRUE) {TObject::SetBit(k
GeoNodeOverlap, flag);} | | void SetOverlapping(Bool_t flag=kTRUE) {TObject::SetBit(k
GeoNodeOverlap, flag);} | |
| void SetVirtual() {TObject::SetBit(k
GeoNodeVC, kTRUE);} | | void SetVirtual() {TObject::SetBit(k
GeoNodeVC, kTRUE);} | |
| void SetVisibility(Bool_t vis=kTRUE); // *MENU* | | void SetVisibility(Bool_t vis=kTRUE); // *MENU* | |
| void SetInvisible() {SetVisibility(kFA
LSE);} // *MENU* | | void SetInvisible() {SetVisibility(kFA
LSE);} // *MENU* | |
| void SetAllInvisible() {VisibleDaughters(
kFALSE);} // *MENU* | | void SetAllInvisible() {VisibleDaughters(
kFALSE);} // *MENU* | |
| void SetMotherVolume(TGeoVolume *mother) {fMother = mother;
} | | void SetMotherVolume(TGeoVolume *mother) {fMother = mother;
} | |
| void SetOverlaps(Int_t *ovlp, Int_t novlp); | | void SetOverlaps(Int_t *ovlp, Int_t novlp); | |
| void SetUserExtension(TGeoExtension *ext); | | void SetUserExtension(TGeoExtension *ext); | |
| void SetFWExtension(TGeoExtension *ext); | | void SetFWExtension(TGeoExtension *ext); | |
|
| | | TGeoExtension *GetUserExtension() const {return fUserExtension;} | |
| | | TGeoExtension *GetFWExtension() const {return fFWExtension;} | |
| TGeoExtension *GrabUserExtension() const; | | TGeoExtension *GrabUserExtension() const; | |
| TGeoExtension *GrabFWExtension() const; | | TGeoExtension *GrabFWExtension() const; | |
| | | | |
| virtual void MasterToLocal(const Double_t *master, Double_t *local)
const; | | virtual void MasterToLocal(const Double_t *master, Double_t *local)
const; | |
| virtual void MasterToLocalVect(const Double_t *master, Double_t *lo
cal) const; | | virtual void MasterToLocalVect(const Double_t *master, Double_t *lo
cal) const; | |
| virtual void LocalToMaster(const Double_t *local, Double_t *master)
const; | | virtual void LocalToMaster(const Double_t *local, Double_t *master)
const; | |
| virtual void LocalToMasterVect(const Double_t *local, Double_t *mas
ter) const; | | virtual void LocalToMasterVect(const Double_t *local, Double_t *mas
ter) const; | |
| | | | |
| virtual void ls(Option_t *option = "") const; | | virtual void ls(Option_t *option = "") const; | |
| virtual void Paint(Option_t *option = ""); | | virtual void Paint(Option_t *option = ""); | |
| | | | |
End of changes. 2 change blocks. |
| 1 lines changed or deleted | | 3 lines changed or added | |
|
| TGeoPatternFinder.h | | TGeoPatternFinder.h | |
| | | | |
| skipping to change at line 136 | | skipping to change at line 136 | |
| virtual ~TGeoPatternX(); | | virtual ~TGeoPatternX(); | |
| // methods | | // methods | |
| virtual TGeoMatrix* CreateMatrix() const; | | virtual TGeoMatrix* CreateMatrix() const; | |
| virtual void cd(Int_t idiv); | | virtual void cd(Int_t idiv); | |
| virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | | virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | |
| virtual Double_t FindNextBoundary(Double_t *point, Double_t *dir, Int
_t &indnext); | | virtual Double_t FindNextBoundary(Double_t *point, Double_t *dir, Int
_t &indnext); | |
| virtual Int_t GetDivAxis() {return 1;} | | virtual Int_t GetDivAxis() {return 1;} | |
| virtual Bool_t IsOnBoundary(const Double_t *point) const; | | virtual Bool_t IsOnBoundary(const Double_t *point) const; | |
| virtual | | virtual | |
| TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | | TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | | virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | |
| | | | |
| ClassDef(TGeoPatternX, 1) // X division pattern | | ClassDef(TGeoPatternX, 1) // X division pattern | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoPatternY - a Y axis divison pattern /
/ | | // TGeoPatternY - a Y axis divison pattern /
/ | |
| // /
/ | | // /
/ | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| | | | |
| skipping to change at line 169 | | skipping to change at line 169 | |
| virtual ~TGeoPatternY(); | | virtual ~TGeoPatternY(); | |
| // methods | | // methods | |
| virtual TGeoMatrix* CreateMatrix() const; | | virtual TGeoMatrix* CreateMatrix() const; | |
| virtual void cd(Int_t idiv); | | virtual void cd(Int_t idiv); | |
| virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | | virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | |
| virtual Double_t FindNextBoundary(Double_t *point, Double_t *dir, Int
_t &indnext); | | virtual Double_t FindNextBoundary(Double_t *point, Double_t *dir, Int
_t &indnext); | |
| virtual Int_t GetDivAxis() {return 2;} | | virtual Int_t GetDivAxis() {return 2;} | |
| virtual Bool_t IsOnBoundary(const Double_t *point) const; | | virtual Bool_t IsOnBoundary(const Double_t *point) const; | |
| virtual | | virtual | |
| TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | | TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | | virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | |
| | | | |
| ClassDef(TGeoPatternY, 1) // Y division pattern | | ClassDef(TGeoPatternY, 1) // Y division pattern | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoPatternZ - a Z axis divison pattern /
/ | | // TGeoPatternZ - a Z axis divison pattern /
/ | |
| // /
/ | | // /
/ | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| | | | |
| skipping to change at line 202 | | skipping to change at line 202 | |
| virtual ~TGeoPatternZ(); | | virtual ~TGeoPatternZ(); | |
| // methods | | // methods | |
| virtual TGeoMatrix* CreateMatrix() const; | | virtual TGeoMatrix* CreateMatrix() const; | |
| virtual void cd(Int_t idiv); | | virtual void cd(Int_t idiv); | |
| virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | | virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | |
| virtual Double_t FindNextBoundary(Double_t *point, Double_t *dir, Int
_t &indnext); | | virtual Double_t FindNextBoundary(Double_t *point, Double_t *dir, Int
_t &indnext); | |
| virtual Int_t GetDivAxis() {return 3;} | | virtual Int_t GetDivAxis() {return 3;} | |
| virtual Bool_t IsOnBoundary(const Double_t *point) const; | | virtual Bool_t IsOnBoundary(const Double_t *point) const; | |
| virtual | | virtual | |
| TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | | TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | | virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | |
| | | | |
| ClassDef(TGeoPatternZ, 1) // Z division pattern | | ClassDef(TGeoPatternZ, 1) // Z division pattern | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoPatternParaX - a X axis divison pattern for PARA shapes /
/ | | // TGeoPatternParaX - a X axis divison pattern for PARA shapes /
/ | |
| // /
/ | | // /
/ | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| | | | |
| skipping to change at line 235 | | skipping to change at line 235 | |
| // destructor | | // destructor | |
| virtual ~TGeoPatternParaX(); | | virtual ~TGeoPatternParaX(); | |
| // methods | | // methods | |
| virtual TGeoMatrix* CreateMatrix() const; | | virtual TGeoMatrix* CreateMatrix() const; | |
| virtual void cd(Int_t idiv); | | virtual void cd(Int_t idiv); | |
| virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | | virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | |
| virtual Int_t GetDivAxis() {return 1;} | | virtual Int_t GetDivAxis() {return 1;} | |
| virtual Bool_t IsOnBoundary(const Double_t *point) const; | | virtual Bool_t IsOnBoundary(const Double_t *point) const; | |
| virtual | | virtual | |
| TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | | TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | | virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | |
| | | | |
| ClassDef(TGeoPatternParaX, 1) // Para X division pattern | | ClassDef(TGeoPatternParaX, 1) // Para X division pattern | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoPatternParaY - a Y axis divison pattern for PARA shapes /
/ | | // TGeoPatternParaY - a Y axis divison pattern for PARA shapes /
/ | |
| // /
/ | | // /
/ | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| | | | |
| skipping to change at line 271 | | skipping to change at line 271 | |
| // destructor | | // destructor | |
| virtual ~TGeoPatternParaY(); | | virtual ~TGeoPatternParaY(); | |
| // methods | | // methods | |
| virtual TGeoMatrix* CreateMatrix() const; | | virtual TGeoMatrix* CreateMatrix() const; | |
| virtual void cd(Int_t idiv); | | virtual void cd(Int_t idiv); | |
| virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | | virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | |
| virtual Int_t GetDivAxis() {return 2;} | | virtual Int_t GetDivAxis() {return 2;} | |
| virtual Bool_t IsOnBoundary(const Double_t *point) const; | | virtual Bool_t IsOnBoundary(const Double_t *point) const; | |
| virtual | | virtual | |
| TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | | TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | | virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | |
| | | | |
| ClassDef(TGeoPatternParaY, 1) // Para Y division pattern | | ClassDef(TGeoPatternParaY, 1) // Para Y division pattern | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoPatternParaZ - a Z axis divison pattern for PARA shapes /
/ | | // TGeoPatternParaZ - a Z axis divison pattern for PARA shapes /
/ | |
| // /
/ | | // /
/ | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| | | | |
| skipping to change at line 308 | | skipping to change at line 308 | |
| // destructor | | // destructor | |
| virtual ~TGeoPatternParaZ(); | | virtual ~TGeoPatternParaZ(); | |
| // methods | | // methods | |
| virtual TGeoMatrix* CreateMatrix() const; | | virtual TGeoMatrix* CreateMatrix() const; | |
| virtual void cd(Int_t idiv); | | virtual void cd(Int_t idiv); | |
| virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | | virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | |
| virtual Int_t GetDivAxis() {return 3;} | | virtual Int_t GetDivAxis() {return 3;} | |
| virtual Bool_t IsOnBoundary(const Double_t *point) const; | | virtual Bool_t IsOnBoundary(const Double_t *point) const; | |
| virtual | | virtual | |
| TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | | TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | | virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | |
| | | | |
| ClassDef(TGeoPatternParaZ, 1) // Para Z division pattern | | ClassDef(TGeoPatternParaZ, 1) // Para Z division pattern | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoPatternTrapZ - a Z axis divison pattern for TRAP or GTRA shapes /
/ | | // TGeoPatternTrapZ - a Z axis divison pattern for TRAP or GTRA shapes /
/ | |
| // /
/ | | // /
/ | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| | | | |
| skipping to change at line 347 | | skipping to change at line 347 | |
| // methods | | // methods | |
| virtual TGeoMatrix* CreateMatrix() const; | | virtual TGeoMatrix* CreateMatrix() const; | |
| Double_t GetTxz() const {return fTxz;} | | Double_t GetTxz() const {return fTxz;} | |
| Double_t GetTyz() const {return fTyz;} | | Double_t GetTyz() const {return fTyz;} | |
| virtual void cd(Int_t idiv); | | virtual void cd(Int_t idiv); | |
| virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | | virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | |
| virtual Int_t GetDivAxis() {return 3;} | | virtual Int_t GetDivAxis() {return 3;} | |
| virtual Bool_t IsOnBoundary(const Double_t *point) const; | | virtual Bool_t IsOnBoundary(const Double_t *point) const; | |
| virtual | | virtual | |
| TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | | TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | | virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | |
| | | | |
| ClassDef(TGeoPatternTrapZ, 1) // Trap od Gtra Z division pa
ttern | | ClassDef(TGeoPatternTrapZ, 1) // Trap od Gtra Z division pa
ttern | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoPatternCylR - a cylindrical R divison pattern /
/ | | // TGeoPatternCylR - a cylindrical R divison pattern /
/ | |
| // /
/ | | // /
/ | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| | | | |
| skipping to change at line 379 | | skipping to change at line 379 | |
| // destructor | | // destructor | |
| virtual ~TGeoPatternCylR(); | | virtual ~TGeoPatternCylR(); | |
| // methods | | // methods | |
| virtual TGeoMatrix* CreateMatrix() const; | | virtual TGeoMatrix* CreateMatrix() const; | |
| virtual void cd(Int_t idiv); | | virtual void cd(Int_t idiv); | |
| virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | | virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | |
| virtual Int_t GetDivAxis() {return 1;} | | virtual Int_t GetDivAxis() {return 1;} | |
| virtual Bool_t IsOnBoundary(const Double_t *point) const; | | virtual Bool_t IsOnBoundary(const Double_t *point) const; | |
| virtual | | virtual | |
| TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | | TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | | virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | |
| | | | |
| ClassDef(TGeoPatternCylR, 1) // Cylindrical R division patt
ern | | ClassDef(TGeoPatternCylR, 1) // Cylindrical R division patt
ern | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoPatternCylPhi - a cylindrical phi divison pattern /
/ | | // TGeoPatternCylPhi - a cylindrical phi divison pattern /
/ | |
| // /
/ | | // /
/ | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| | | | |
| skipping to change at line 420 | | skipping to change at line 420 | |
| // destructor | | // destructor | |
| virtual ~TGeoPatternCylPhi(); | | virtual ~TGeoPatternCylPhi(); | |
| // methods | | // methods | |
| virtual TGeoMatrix* CreateMatrix() const; | | virtual TGeoMatrix* CreateMatrix() const; | |
| virtual void cd(Int_t idiv); | | virtual void cd(Int_t idiv); | |
| virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | | virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | |
| virtual Int_t GetDivAxis() {return 2;} | | virtual Int_t GetDivAxis() {return 2;} | |
| virtual Bool_t IsOnBoundary(const Double_t *point) const; | | virtual Bool_t IsOnBoundary(const Double_t *point) const; | |
| virtual | | virtual | |
| TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | | TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | | virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | |
| | | | |
| ClassDef(TGeoPatternCylPhi, 1) // Cylindrical phi division
pattern | | ClassDef(TGeoPatternCylPhi, 1) // Cylindrical phi division
pattern | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoPatternSphR - a spherical R divison pattern /
/ | | // TGeoPatternSphR - a spherical R divison pattern /
/ | |
| // /
/ | | // /
/ | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| | | | |
| skipping to change at line 451 | | skipping to change at line 451 | |
| TGeoPatternSphR& operator=(const TGeoPatternSphR&); | | TGeoPatternSphR& operator=(const TGeoPatternSphR&); | |
| // destructor | | // destructor | |
| virtual ~TGeoPatternSphR(); | | virtual ~TGeoPatternSphR(); | |
| // methods | | // methods | |
| virtual TGeoMatrix* CreateMatrix() const; | | virtual TGeoMatrix* CreateMatrix() const; | |
| virtual void cd(Int_t idiv); | | virtual void cd(Int_t idiv); | |
| virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | | virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | |
| virtual Int_t GetDivAxis() {return 1;} | | virtual Int_t GetDivAxis() {return 1;} | |
| virtual | | virtual | |
| TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | | TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | | virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | |
| | | | |
| ClassDef(TGeoPatternSphR, 1) // spherical R division patter
n | | ClassDef(TGeoPatternSphR, 1) // spherical R division patter
n | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoPatternSphTheta - a spherical theta divison pattern /
/ | | // TGeoPatternSphTheta - a spherical theta divison pattern /
/ | |
| // /
/ | | // /
/ | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| | | | |
| skipping to change at line 482 | | skipping to change at line 482 | |
| TGeoPatternSphTheta& operator=(const TGeoPatternSphTheta&); | | TGeoPatternSphTheta& operator=(const TGeoPatternSphTheta&); | |
| // destructor | | // destructor | |
| virtual ~TGeoPatternSphTheta(); | | virtual ~TGeoPatternSphTheta(); | |
| // methods | | // methods | |
| virtual TGeoMatrix* CreateMatrix() const; | | virtual TGeoMatrix* CreateMatrix() const; | |
| virtual void cd(Int_t idiv); | | virtual void cd(Int_t idiv); | |
| virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | | virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | |
| virtual Int_t GetDivAxis() {return 2;} | | virtual Int_t GetDivAxis() {return 2;} | |
| virtual | | virtual | |
| TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | | TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | | virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | |
| | | | |
| ClassDef(TGeoPatternSphTheta, 1) // spherical theta divisio
n pattern | | ClassDef(TGeoPatternSphTheta, 1) // spherical theta divisio
n pattern | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoPatternSphPhi - a spherical phi divison pattern /
/ | | // TGeoPatternSphPhi - a spherical phi divison pattern /
/ | |
| // /
/ | | // /
/ | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| | | | |
| skipping to change at line 513 | | skipping to change at line 513 | |
| TGeoPatternSphPhi& operator=(const TGeoPatternSphPhi&); | | TGeoPatternSphPhi& operator=(const TGeoPatternSphPhi&); | |
| // destructor | | // destructor | |
| virtual ~TGeoPatternSphPhi(); | | virtual ~TGeoPatternSphPhi(); | |
| // methods | | // methods | |
| virtual TGeoMatrix* CreateMatrix() const; | | virtual TGeoMatrix* CreateMatrix() const; | |
| virtual void cd(Int_t idiv); | | virtual void cd(Int_t idiv); | |
| virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | | virtual TGeoNode *FindNode(Double_t *point, const Double_t *dir=0); | |
| virtual Int_t GetDivAxis() {return 3;} | | virtual Int_t GetDivAxis() {return 3;} | |
| virtual | | virtual | |
| TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | | TGeoPatternFinder *MakeCopy(Bool_t reflect=kFALSE); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option =
""); | |
| virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | | virtual void UpdateMatrix(Int_t idiv, TGeoHMatrix &matrix) const; | |
| | | | |
| ClassDef(TGeoPatternSphPhi, 1) // Spherical phi division pa
ttern | | ClassDef(TGeoPatternSphPhi, 1) // Spherical phi division pa
ttern | |
| }; | | }; | |
| | | | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| // /
/ | | // /
/ | |
| // TGeoPatternHoneycomb - a divison pattern specialized for honeycombs /
/ | | // TGeoPatternHoneycomb - a divison pattern specialized for honeycombs /
/ | |
| // /
/ | | // /
/ | |
| ///////////////////////////////////////////////////////////////////////////
/ | | ///////////////////////////////////////////////////////////////////////////
/ | |
| | | | |
End of changes. 12 change blocks. |
| 12 lines changed or deleted | | 12 lines changed or added | |
|
| TGeoTube.h | | TGeoTube.h | |
| | | | |
| skipping to change at line 82 | | skipping to change at line 82 | |
| virtual Int_t GetNmeshVertices() const; | | virtual Int_t GetNmeshVertices() const; | |
| virtual Double_t GetRmin() const {return fRmin;} | | virtual Double_t GetRmin() const {return fRmin;} | |
| virtual Double_t GetRmax() const {return fRmax;} | | virtual Double_t GetRmax() const {return fRmax;} | |
| virtual Double_t GetDz() const {return fDz;} | | virtual Double_t GetDz() const {return fDz;} | |
| Bool_t HasRmin() const {return (fRmin>0)?kTRUE:kFALSE;} | | Bool_t HasRmin() const {return (fRmin>0)?kTRUE:kFALSE;} | |
| virtual void InspectShape() const; | | virtual void InspectShape() const; | |
| virtual Bool_t IsCylType() const {return kTRUE;} | | virtual Bool_t IsCylType() const {return kTRUE;} | |
| virtual TBuffer3D *MakeBuffer3D() const; | | virtual TBuffer3D *MakeBuffer3D() const; | |
| virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | | virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | |
| static Double_t SafetyS(Double_t *point, Bool_t in, Double_t rmin,
Double_t rmax, Double_t dz, Int_t skipz=0); | | static Double_t SafetyS(Double_t *point, Bool_t in, Double_t rmin,
Double_t rmax, Double_t dz, Int_t skipz=0); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = "")
; | | virtual void SavePrimitive(std::ostream &out, Option_t *option
= ""); | |
| void SetTubeDimensions(Double_t rmin, Double_t rmax, Do
uble_t dz); | | void SetTubeDimensions(Double_t rmin, Double_t rmax, Do
uble_t dz); | |
| virtual void SetDimensions(Double_t *param); | | virtual void SetDimensions(Double_t *param); | |
| virtual void SetPoints(Double_t *points) const; | | virtual void SetPoints(Double_t *points) const; | |
| virtual void SetPoints(Float_t *points) const; | | virtual void SetPoints(Float_t *points) const; | |
| virtual void SetSegsAndPols(TBuffer3D &buff) const; | | virtual void SetSegsAndPols(TBuffer3D &buff) const; | |
| virtual void Sizeof3D() const; | | virtual void Sizeof3D() const; | |
| | | | |
| ClassDef(TGeoTube, 1) // cylindrical tube class | | ClassDef(TGeoTube, 1) // cylindrical tube class | |
| | | | |
| }; | | }; | |
| | | | |
| skipping to change at line 155 | | skipping to change at line 155 | |
| virtual TGeoShape *GetMakeRuntimeShape(TGeoShape *mother, TGeoMatrix
*mat) const; | | virtual TGeoShape *GetMakeRuntimeShape(TGeoShape *mother, TGeoMatrix
*mat) const; | |
| virtual Int_t GetNmeshVertices() const; | | virtual Int_t GetNmeshVertices() const; | |
| virtual void GetMeshNumbers(Int_t &nvert, Int_t &nsegs, Int_t &
npols) const; | | virtual void GetMeshNumbers(Int_t &nvert, Int_t &nsegs, Int_t &
npols) const; | |
| Double_t GetPhi1() const {return fPhi1;} | | Double_t GetPhi1() const {return fPhi1;} | |
| Double_t GetPhi2() const {return fPhi2;} | | Double_t GetPhi2() const {return fPhi2;} | |
| virtual void InspectShape() const; | | virtual void InspectShape() const; | |
| virtual TBuffer3D *MakeBuffer3D() const; | | virtual TBuffer3D *MakeBuffer3D() const; | |
| virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | | virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | |
| static Double_t SafetyS(Double_t *point, Bool_t in, Double_t rmin,
Double_t rmax, Double_t dz, | | static Double_t SafetyS(Double_t *point, Bool_t in, Double_t rmin,
Double_t rmax, Double_t dz, | |
| Double_t phi1, Double_t phi2, Int_t skipz=
0); | | Double_t phi1, Double_t phi2, Int_t skipz=
0); | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = "")
; | | virtual void SavePrimitive(std::ostream &out, Option_t *option
= ""); | |
| void SetTubsDimensions(Double_t rmin, Double_t rmax, Do
uble_t dz, | | void SetTubsDimensions(Double_t rmin, Double_t rmax, Do
uble_t dz, | |
| Double_t phi1, Double_t phi2); | | Double_t phi1, Double_t phi2); | |
| virtual void SetDimensions(Double_t *param); | | virtual void SetDimensions(Double_t *param); | |
| virtual void SetPoints(Double_t *points) const; | | virtual void SetPoints(Double_t *points) const; | |
| virtual void SetPoints(Float_t *points) const; | | virtual void SetPoints(Float_t *points) const; | |
| virtual void SetSegsAndPols(TBuffer3D &buff) const; | | virtual void SetSegsAndPols(TBuffer3D &buff) const; | |
| virtual void Sizeof3D() const; | | virtual void Sizeof3D() const; | |
| | | | |
| ClassDef(TGeoTubeSeg, 1) // cylindrical tube segment class | | ClassDef(TGeoTubeSeg, 1) // cylindrical tube segment class | |
| }; | | }; | |
| | | | |
| skipping to change at line 218 | | skipping to change at line 218 | |
| virtual Int_t GetByteCount() const {return 98;} | | virtual Int_t GetByteCount() const {return 98;} | |
| virtual Bool_t GetPointsOnSegments(Int_t npoints, Double_t *array
) const; | | virtual Bool_t GetPointsOnSegments(Int_t npoints, Double_t *array
) const; | |
| virtual TGeoShape *GetMakeRuntimeShape(TGeoShape *mother, TGeoMatrix
*mat) const; | | virtual TGeoShape *GetMakeRuntimeShape(TGeoShape *mother, TGeoMatrix
*mat) const; | |
| virtual void GetMeshNumbers(Int_t &nvert, Int_t &nsegs, Int_t &
npols) const; | | virtual void GetMeshNumbers(Int_t &nvert, Int_t &nsegs, Int_t &
npols) const; | |
| virtual Int_t GetNmeshVertices() const; | | virtual Int_t GetNmeshVertices() const; | |
| const Double_t *GetNlow() const {return &fNlow[0];} | | const Double_t *GetNlow() const {return &fNlow[0];} | |
| const Double_t *GetNhigh() const {return &fNhigh[0];} | | const Double_t *GetNhigh() const {return &fNhigh[0];} | |
| Double_t GetZcoord(Double_t xc, Double_t yc, Double_t zc) c
onst; | | Double_t GetZcoord(Double_t xc, Double_t yc, Double_t zc) c
onst; | |
| virtual void InspectShape() const; | | virtual void InspectShape() const; | |
| virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | | virtual Double_t Safety(Double_t *point, Bool_t in=kTRUE) const; | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = "")
; | | virtual void SavePrimitive(std::ostream &out, Option_t *option
= ""); | |
| void SetCtubDimensions(Double_t rmin, Double_t rmax, Do
uble_t dz, | | void SetCtubDimensions(Double_t rmin, Double_t rmax, Do
uble_t dz, | |
| Double_t phi1, Double_t phi2, Double
_t lx, Double_t ly, Double_t lz, | | Double_t phi1, Double_t phi2, Double
_t lx, Double_t ly, Double_t lz, | |
| Double_t tx, Double_t ty, Double_t t
z); | | Double_t tx, Double_t ty, Double_t t
z); | |
| virtual void SetDimensions(Double_t *param); | | virtual void SetDimensions(Double_t *param); | |
| virtual void SetPoints(Double_t *points) const; | | virtual void SetPoints(Double_t *points) const; | |
| virtual void SetPoints(Float_t *points) const; | | virtual void SetPoints(Float_t *points) const; | |
| | | | |
| ClassDef(TGeoCtub, 1) // cut tube segment class | | ClassDef(TGeoCtub, 1) // cut tube segment class | |
| }; | | }; | |
| | | | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 3 lines changed or added | |
|
| TGeoVolume.h | | TGeoVolume.h | |
| | | | |
| skipping to change at line 143 | | skipping to change at line 143 | |
| virtual void DrawOnly(Option_t *option=""); // *MENU* | | virtual void DrawOnly(Option_t *option=""); // *MENU* | |
| TH2F *LegoPlot(Int_t ntheta=20, Double_t themin=0., Double_t t
hemax=180., | | TH2F *LegoPlot(Int_t ntheta=20, Double_t themin=0., Double_t t
hemax=180., | |
| Int_t nphi=60, Double_t phimin=0., Double_t phi
max=360., | | Int_t nphi=60, Double_t phimin=0., Double_t phi
max=360., | |
| Double_t rmin=0., Double_t rmax=9999999, Option
_t *option=""); // *MENU* | | Double_t rmin=0., Double_t rmax=9999999, Option
_t *option=""); // *MENU* | |
| virtual void Paint(Option_t *option=""); | | virtual void Paint(Option_t *option=""); | |
| void PrintNodes() const; | | void PrintNodes() const; | |
| void PrintVoxels() const; // *MENU* | | void PrintVoxels() const; // *MENU* | |
| void ReplayCreation(const TGeoVolume *other); | | void ReplayCreation(const TGeoVolume *other); | |
| void SetUserExtension(TGeoExtension *ext); | | void SetUserExtension(TGeoExtension *ext); | |
| void SetFWExtension(TGeoExtension *ext); | | void SetFWExtension(TGeoExtension *ext); | |
|
| | | TGeoExtension *GetUserExtension() const {return fUserExtension;} | |
| | | TGeoExtension *GetFWExtension() const {return fFWExtension;} | |
| TGeoExtension *GrabUserExtension() const; | | TGeoExtension *GrabUserExtension() const; | |
| TGeoExtension *GrabFWExtension() const; | | TGeoExtension *GrabFWExtension() const; | |
| virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py); | | virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py); | |
| | | | |
| Bool_t IsActive() const {return TGeoAtt::IsActive();} | | Bool_t IsActive() const {return TGeoAtt::IsActive();} | |
| Bool_t IsActiveDaughters() const {return TGeoAtt::IsActiveDaugh
ters();} | | Bool_t IsActiveDaughters() const {return TGeoAtt::IsActiveDaugh
ters();} | |
| Bool_t IsAdded() const {return TObject::TestBit(kVolumeAdde
d);} | | Bool_t IsAdded() const {return TObject::TestBit(kVolumeAdde
d);} | |
| Bool_t IsReplicated() const {return TObject::TestBit(kVolumeRep
licated);} | | Bool_t IsReplicated() const {return TObject::TestBit(kVolumeRep
licated);} | |
| Bool_t IsSelected() const {return TObject::TestBit(kVolumeSele
cted);} | | Bool_t IsSelected() const {return TObject::TestBit(kVolumeSele
cted);} | |
| Bool_t IsCylVoxels() const {return TObject::TestBit(kVoxelsCyl)
;} | | Bool_t IsCylVoxels() const {return TObject::TestBit(kVoxelsCyl)
;} | |
| | | | |
| skipping to change at line 208 | | skipping to change at line 210 | |
| void MakeCopyNodes(const TGeoVolume *other); | | void MakeCopyNodes(const TGeoVolume *other); | |
| TGeoVolume *MakeReflectedVolume(const char *newname="") const; | | TGeoVolume *MakeReflectedVolume(const char *newname="") const; | |
| Bool_t OptimizeVoxels(); // *MENU* | | Bool_t OptimizeVoxels(); // *MENU* | |
| void RandomPoints(Int_t npoints=1000000, Option_t *option="")
; // *MENU* | | void RandomPoints(Int_t npoints=1000000, Option_t *option="")
; // *MENU* | |
| void RandomRays(Int_t nrays=10000, Double_t startx=0, Double_
t starty=0, Double_t startz=0, const char *target_vol=0, Bool_t check_norm=
kFALSE); // *MENU* | | void RandomRays(Int_t nrays=10000, Double_t startx=0, Double_
t starty=0, Double_t startz=0, const char *target_vol=0, Bool_t check_norm=
kFALSE); // *MENU* | |
| void Raytrace(Bool_t flag=kTRUE); // *TOGGLE* *GETTER=IsRaytr
acing | | void Raytrace(Bool_t flag=kTRUE); // *TOGGLE* *GETTER=IsRaytr
acing | |
| void RegisterYourself(Option_t *option=""); | | void RegisterYourself(Option_t *option=""); | |
| void RemoveNode(TGeoNode *node); | | void RemoveNode(TGeoNode *node); | |
| TGeoNode *ReplaceNode(TGeoNode *nodeorig, TGeoShape *newshape=0, T
GeoMatrix *newpos=0, TGeoMedium *newmed=0); | | TGeoNode *ReplaceNode(TGeoNode *nodeorig, TGeoShape *newshape=0, T
GeoMatrix *newpos=0, TGeoMedium *newmed=0); | |
| void SaveAs(const char *filename,Option_t *option="") const;
// *MENU* | | void SaveAs(const char *filename,Option_t *option="") const;
// *MENU* | |
|
| virtual void SavePrimitive(ostream &out, Option_t *option = ""); | | virtual void SavePrimitive(std::ostream &out, Option_t *option = ""); | |
| void SelectVolume(Bool_t clear = kFALSE); | | void SelectVolume(Bool_t clear = kFALSE); | |
| void SetActivity(Bool_t flag=kTRUE) {TGeoAtt::SetActivity(fla
g);} | | void SetActivity(Bool_t flag=kTRUE) {TGeoAtt::SetActivity(fla
g);} | |
| void SetActiveDaughters(Bool_t flag=kTRUE) {TGeoAtt::SetActiv
eDaughters(flag);} | | void SetActiveDaughters(Bool_t flag=kTRUE) {TGeoAtt::SetActiv
eDaughters(flag);} | |
| void SetAsTopVolume(); // *TOGGLE* *GETTER=IsTopVolume | | void SetAsTopVolume(); // *TOGGLE* *GETTER=IsTopVolume | |
| void SetAdded() {TObject::SetBit(kVolumeAdded);} | | void SetAdded() {TObject::SetBit(kVolumeAdded);} | |
| void SetReplicated() {TObject::SetBit(kVolumeReplicated);} | | void SetReplicated() {TObject::SetBit(kVolumeReplicated);} | |
| void SetCurrentPoint(Double_t x, Double_t y, Double_t z); | | void SetCurrentPoint(Double_t x, Double_t y, Double_t z); | |
| void SetCylVoxels(Bool_t flag=kTRUE) {TObject::SetBit(kVoxels
Cyl, flag); TObject::SetBit(kVoxelsXYZ, !flag);} | | void SetCylVoxels(Bool_t flag=kTRUE) {TObject::SetBit(kVoxels
Cyl, flag); TObject::SetBit(kVoxelsXYZ, !flag);} | |
| void SetNodes(TObjArray *nodes) {fNodes = nodes; TObject::Set
Bit(kVolumeImportNodes);} | | void SetNodes(TObjArray *nodes) {fNodes = nodes; TObject::Set
Bit(kVolumeImportNodes);} | |
| void SetShape(const TGeoShape *shape); | | void SetShape(const TGeoShape *shape); | |
| | | | |
End of changes. 2 change blocks. |
| 1 lines changed or deleted | | 3 lines changed or added | |
|
| TInterpreter.h | | TInterpreter.h | |
| | | | |
| skipping to change at line 85 | | skipping to change at line 85 | |
| virtual Int_t Load(const char *filenam, Bool_t system = kFALSE) = 0; | | virtual Int_t Load(const char *filenam, Bool_t system = kFALSE) = 0; | |
| virtual void LoadMacro(const char *filename, EErrorCode *error = 0)
= 0; | | virtual void LoadMacro(const char *filename, EErrorCode *error = 0)
= 0; | |
| virtual Int_t LoadLibraryMap(const char *rootmapfile = 0) = 0; | | virtual Int_t LoadLibraryMap(const char *rootmapfile = 0) = 0; | |
| virtual Int_t RescanLibraryMap() = 0; | | virtual Int_t RescanLibraryMap() = 0; | |
| virtual Int_t ReloadAllSharedLibraryMaps() = 0; | | virtual Int_t ReloadAllSharedLibraryMaps() = 0; | |
| virtual Int_t UnloadAllSharedLibraryMaps() = 0; | | virtual Int_t UnloadAllSharedLibraryMaps() = 0; | |
| virtual Int_t UnloadLibraryMap(const char *library) = 0; | | virtual Int_t UnloadLibraryMap(const char *library) = 0; | |
| virtual Long_t ProcessLine(const char *line, EErrorCode *error = 0) =
0; | | virtual Long_t ProcessLine(const char *line, EErrorCode *error = 0) =
0; | |
| virtual Long_t ProcessLineSynch(const char *line, EErrorCode *error =
0) = 0; | | virtual Long_t ProcessLineSynch(const char *line, EErrorCode *error =
0) = 0; | |
| virtual void PrintIntro() = 0; | | virtual void PrintIntro() = 0; | |
|
| | | virtual Int_t SetClassSharedLibs(const char *cls, const char *libs) =
0; | |
| virtual void SetGetline(const char*(*getlineFunc)(const char* prompt
), | | virtual void SetGetline(const char*(*getlineFunc)(const char* prompt
), | |
| void (*histaddFunc)(const char* line)) = 0; | | void (*histaddFunc)(const char* line)) = 0; | |
| virtual void Reset() = 0; | | virtual void Reset() = 0; | |
| virtual void ResetAll() = 0; | | virtual void ResetAll() = 0; | |
| virtual void ResetGlobals() = 0; | | virtual void ResetGlobals() = 0; | |
| virtual void ResetGlobalVar(void *obj) = 0; | | virtual void ResetGlobalVar(void *obj) = 0; | |
| virtual void RewindDictionary() = 0; | | virtual void RewindDictionary() = 0; | |
| virtual Int_t DeleteGlobal(void *obj) = 0; | | virtual Int_t DeleteGlobal(void *obj) = 0; | |
| virtual void SaveContext() = 0; | | virtual void SaveContext() = 0; | |
| virtual void SaveGlobalsContext() = 0; | | virtual void SaveGlobalsContext() = 0; | |
| | | | |
| skipping to change at line 240 | | skipping to change at line 241 | |
| virtual const char *DataMemberInfo_TypeName(DataMemberInfo_t * /* dminfo
*/) const {return 0;} | | virtual const char *DataMemberInfo_TypeName(DataMemberInfo_t * /* dminfo
*/) const {return 0;} | |
| virtual const char *DataMemberInfo_TypeTrueName(DataMemberInfo_t * /* dm
info */) const {return 0;} | | virtual const char *DataMemberInfo_TypeTrueName(DataMemberInfo_t * /* dm
info */) const {return 0;} | |
| virtual const char *DataMemberInfo_Name(DataMemberInfo_t * /* dminfo */)
const {return 0;} | | virtual const char *DataMemberInfo_Name(DataMemberInfo_t * /* dminfo */)
const {return 0;} | |
| virtual const char *DataMemberInfo_Title(DataMemberInfo_t * /* dminfo */
) const {return 0;} | | virtual const char *DataMemberInfo_Title(DataMemberInfo_t * /* dminfo */
) const {return 0;} | |
| virtual const char *DataMemberInfo_ValidArrayIndex(DataMemberInfo_t * /*
dminfo */) const {return 0;} | | virtual const char *DataMemberInfo_ValidArrayIndex(DataMemberInfo_t * /*
dminfo */) const {return 0;} | |
| | | | |
| // G__MethodInfo interface | | // G__MethodInfo interface | |
| virtual void MethodInfo_CreateSignature(MethodInfo_t * /* minfo */, TS
tring & /* signature */) const {;} | | virtual void MethodInfo_CreateSignature(MethodInfo_t * /* minfo */, TS
tring & /* signature */) const {;} | |
| virtual void MethodInfo_Delete(MethodInfo_t * /* minfo */) const {;} | | virtual void MethodInfo_Delete(MethodInfo_t * /* minfo */) const {;} | |
| virtual MethodInfo_t *MethodInfo_Factory() const {return 0;} | | virtual MethodInfo_t *MethodInfo_Factory() const {return 0;} | |
|
| | | virtual MethodInfo_t *MethodInfo_Factory(ClassInfo_t * /*clinfo*/) cons
t {return 0;} | |
| virtual MethodInfo_t *MethodInfo_FactoryCopy(MethodInfo_t * /* minfo */
) const {return 0;} | | virtual MethodInfo_t *MethodInfo_FactoryCopy(MethodInfo_t * /* minfo */
) const {return 0;} | |
| virtual MethodInfo_t *MethodInfo_InterfaceMethod(MethodInfo_t * /* minf
o */) const {return 0;} | | virtual MethodInfo_t *MethodInfo_InterfaceMethod(MethodInfo_t * /* minf
o */) const {return 0;} | |
| virtual Bool_t MethodInfo_IsValid(MethodInfo_t * /* minfo */) const {ret
urn 0;} | | virtual Bool_t MethodInfo_IsValid(MethodInfo_t * /* minfo */) const {ret
urn 0;} | |
| virtual int MethodInfo_NArg(MethodInfo_t * /* minfo */) const {return
0;} | | virtual int MethodInfo_NArg(MethodInfo_t * /* minfo */) const {return
0;} | |
| virtual int MethodInfo_NDefaultArg(MethodInfo_t * /* minfo */) const
{return 0;} | | virtual int MethodInfo_NDefaultArg(MethodInfo_t * /* minfo */) const
{return 0;} | |
| virtual int MethodInfo_Next(MethodInfo_t * /* minfo */) const {return
0;} | | virtual int MethodInfo_Next(MethodInfo_t * /* minfo */) const {return
0;} | |
| virtual Long_t MethodInfo_Property(MethodInfo_t * /* minfo */) const {re
turn 0;} | | virtual Long_t MethodInfo_Property(MethodInfo_t * /* minfo */) const {re
turn 0;} | |
| virtual TypeInfo_t *MethodInfo_Type(MethodInfo_t * /* minfo */) const {
return 0;} | | virtual TypeInfo_t *MethodInfo_Type(MethodInfo_t * /* minfo */) const {
return 0;} | |
| virtual const char *MethodInfo_GetMangledName(MethodInfo_t * /* minfo */
) const {return 0;} | | virtual const char *MethodInfo_GetMangledName(MethodInfo_t * /* minfo */
) const {return 0;} | |
| virtual const char *MethodInfo_GetPrototype(MethodInfo_t * /* minfo */)
const {return 0;} | | virtual const char *MethodInfo_GetPrototype(MethodInfo_t * /* minfo */)
const {return 0;} | |
| virtual const char *MethodInfo_Name(MethodInfo_t * /* minfo */) const {r
eturn 0;} | | virtual const char *MethodInfo_Name(MethodInfo_t * /* minfo */) const {r
eturn 0;} | |
| virtual const char *MethodInfo_TypeName(MethodInfo_t * /* minfo */) cons
t {return 0;} | | virtual const char *MethodInfo_TypeName(MethodInfo_t * /* minfo */) cons
t {return 0;} | |
| virtual std::string MethodInfo_TypeNormalizedName(MethodInfo_t * /* minf
o */) const {return "";} | | virtual std::string MethodInfo_TypeNormalizedName(MethodInfo_t * /* minf
o */) const {return "";} | |
| virtual const char *MethodInfo_Title(MethodInfo_t * /* minfo */) const {
return 0;} | | virtual const char *MethodInfo_Title(MethodInfo_t * /* minfo */) const {
return 0;} | |
| | | | |
| // G__MethodArgInfo interface | | // G__MethodArgInfo interface | |
| virtual void MethodArgInfo_Delete(MethodArgInfo_t * /* marginfo */) co
nst {;} | | virtual void MethodArgInfo_Delete(MethodArgInfo_t * /* marginfo */) co
nst {;} | |
| virtual MethodArgInfo_t *MethodArgInfo_Factory() const {return 0;} | | virtual MethodArgInfo_t *MethodArgInfo_Factory() const {return 0;} | |
|
| | | virtual MethodArgInfo_t *MethodArgInfo_Factory(MethodInfo_t * /*minfo*/
) const {return 0;} | |
| virtual MethodArgInfo_t *MethodArgInfo_FactoryCopy(MethodArgInfo_t * /*
marginfo */) const {return 0;} | | virtual MethodArgInfo_t *MethodArgInfo_FactoryCopy(MethodArgInfo_t * /*
marginfo */) const {return 0;} | |
| virtual Bool_t MethodArgInfo_IsValid(MethodArgInfo_t * /* marginfo */) c
onst {return 0;} | | virtual Bool_t MethodArgInfo_IsValid(MethodArgInfo_t * /* marginfo */) c
onst {return 0;} | |
| virtual int MethodArgInfo_Next(MethodArgInfo_t * /* marginfo */) cons
t {return 0;} | | virtual int MethodArgInfo_Next(MethodArgInfo_t * /* marginfo */) cons
t {return 0;} | |
| virtual Long_t MethodArgInfo_Property(MethodArgInfo_t * /* marginfo */)
const {return 0;} | | virtual Long_t MethodArgInfo_Property(MethodArgInfo_t * /* marginfo */)
const {return 0;} | |
| virtual const char *MethodArgInfo_DefaultValue(MethodArgInfo_t * /* marg
info */) const {return 0;} | | virtual const char *MethodArgInfo_DefaultValue(MethodArgInfo_t * /* marg
info */) const {return 0;} | |
| virtual const char *MethodArgInfo_Name(MethodArgInfo_t * /* marginfo */)
const {return 0;} | | virtual const char *MethodArgInfo_Name(MethodArgInfo_t * /* marginfo */)
const {return 0;} | |
| virtual const char *MethodArgInfo_TypeName(MethodArgInfo_t * /* marginfo
*/) const {return 0;} | | virtual const char *MethodArgInfo_TypeName(MethodArgInfo_t * /* marginfo
*/) const {return 0;} | |
| virtual std::string MethodArgInfo_TypeNormalizedName(MethodArgInfo_t * /
* marginfo */) const {return 0;} | | virtual std::string MethodArgInfo_TypeNormalizedName(MethodArgInfo_t * /
* marginfo */) const {return 0;} | |
| | | | |
| // G__TypeInfo interface | | // G__TypeInfo interface | |
| | | | |
| skipping to change at line 286 | | skipping to change at line 289 | |
| virtual int TypeInfo_RefType(TypeInfo_t * /* tinfo */) const {return
0;} | | virtual int TypeInfo_RefType(TypeInfo_t * /* tinfo */) const {return
0;} | |
| virtual int TypeInfo_Size(TypeInfo_t * /* tinfo */) const {return 0;} | | virtual int TypeInfo_Size(TypeInfo_t * /* tinfo */) const {return 0;} | |
| virtual const char *TypeInfo_TrueName(TypeInfo_t * /* tinfo */) const {r
eturn 0;} | | virtual const char *TypeInfo_TrueName(TypeInfo_t * /* tinfo */) const {r
eturn 0;} | |
| | | | |
| // G__TypedefInfo interface | | // G__TypedefInfo interface | |
| virtual void TypedefInfo_Delete(TypedefInfo_t * /* tinfo */) const {;} | | virtual void TypedefInfo_Delete(TypedefInfo_t * /* tinfo */) const {;} | |
| virtual TypedefInfo_t *TypedefInfo_Factory() const {return 0;} | | virtual TypedefInfo_t *TypedefInfo_Factory() const {return 0;} | |
| virtual TypedefInfo_t *TypedefInfo_FactoryCopy(TypedefInfo_t * /* tinfo
*/) const {return 0;} | | virtual TypedefInfo_t *TypedefInfo_FactoryCopy(TypedefInfo_t * /* tinfo
*/) const {return 0;} | |
| virtual void TypedefInfo_Init(TypedefInfo_t * /* tinfo */, const char
* /* funcname */) const {;} | | virtual void TypedefInfo_Init(TypedefInfo_t * /* tinfo */, const char
* /* funcname */) const {;} | |
| virtual Bool_t TypedefInfo_IsValid(TypedefInfo_t * /* tinfo */) const {r
eturn 0;} | | virtual Bool_t TypedefInfo_IsValid(TypedefInfo_t * /* tinfo */) const {r
eturn 0;} | |
|
| | | virtual int TypedefInfo_Next(TypedefInfo_t * /* tinfo */) const {retu
rn 0;} | |
| virtual Long_t TypedefInfo_Property(TypedefInfo_t * /* tinfo */) const {
return 0;} | | virtual Long_t TypedefInfo_Property(TypedefInfo_t * /* tinfo */) const {
return 0;} | |
| virtual int TypedefInfo_Size(TypedefInfo_t * /* tinfo */) const {retu
rn 0;} | | virtual int TypedefInfo_Size(TypedefInfo_t * /* tinfo */) const {retu
rn 0;} | |
| virtual const char *TypedefInfo_TrueName(TypedefInfo_t * /* tinfo */) co
nst {return 0;} | | virtual const char *TypedefInfo_TrueName(TypedefInfo_t * /* tinfo */) co
nst {return 0;} | |
| virtual const char *TypedefInfo_Name(TypedefInfo_t * /* tinfo */) const
{return 0;} | | virtual const char *TypedefInfo_Name(TypedefInfo_t * /* tinfo */) const
{return 0;} | |
| virtual const char *TypedefInfo_Title(TypedefInfo_t * /* tinfo */) const
{return 0;} | | virtual const char *TypedefInfo_Title(TypedefInfo_t * /* tinfo */) const
{return 0;} | |
| | | | |
| static TInterpreter *&Instance(); | | static TInterpreter *&Instance(); | |
| | | | |
| ClassDef(TInterpreter,0) //ABC defining interface to generic interprete
r | | ClassDef(TInterpreter,0) //ABC defining interface to generic interprete
r | |
| }; | | }; | |
| | | | |
End of changes. 4 change blocks. |
| 0 lines changed or deleted | | 4 lines changed or added | |
|
| TSQLStatement.h | | TSQLStatement.h | |
| | | | |
| skipping to change at line 65 | | skipping to change at line 65 | |
| virtual Bool_t SetDate(Int_t, Int_t, Int_t, Int_t) { return kFALSE;
} | | virtual Bool_t SetDate(Int_t, Int_t, Int_t, Int_t) { return kFALSE;
} | |
| Bool_t SetDate(Int_t, const TDatime&); | | Bool_t SetDate(Int_t, const TDatime&); | |
| virtual Bool_t SetTime(Int_t, Int_t, Int_t, Int_t) { return kFALSE;
} | | virtual Bool_t SetTime(Int_t, Int_t, Int_t, Int_t) { return kFALSE;
} | |
| Bool_t SetTime(Int_t, const TDatime&); | | Bool_t SetTime(Int_t, const TDatime&); | |
| virtual Bool_t SetDatime(Int_t, Int_t, Int_t, Int_t, Int_t, Int_t,
Int_t) { return kFALSE; } | | virtual Bool_t SetDatime(Int_t, Int_t, Int_t, Int_t, Int_t, Int_t,
Int_t) { return kFALSE; } | |
| Bool_t SetDatime(Int_t, const TDatime&); | | Bool_t SetDatime(Int_t, const TDatime&); | |
| virtual Bool_t SetTimestamp(Int_t, Int_t, Int_t, Int_t, Int_t, Int_
t, Int_t, Int_t = 0) { return kFALSE; } | | virtual Bool_t SetTimestamp(Int_t, Int_t, Int_t, Int_t, Int_t, Int_
t, Int_t, Int_t = 0) { return kFALSE; } | |
| Bool_t SetTimestamp(Int_t, const TDatime&); | | Bool_t SetTimestamp(Int_t, const TDatime&); | |
| virtual void SetTimeFormating(const char*) {} | | virtual void SetTimeFormating(const char*) {} | |
| virtual Bool_t SetBinary(Int_t, void*, Long_t, Long_t = 0x1000) { r
eturn kFALSE; } | | virtual Bool_t SetBinary(Int_t, void*, Long_t, Long_t = 0x1000) { r
eturn kFALSE; } | |
|
| | | virtual Bool_t SetLargeObject(Int_t col, void* mem, Long_t size, Lo
ng_t maxsize = 0x1000) { return SetBinary(col, mem, size, maxsize); } | |
| #ifndef __MAKECINT__ | | #ifndef __MAKECINT__ | |
| virtual Bool_t SetVInt(Int_t, const std::vector<Int_t>, const char*
, const char*) { return kFALSE; } | | virtual Bool_t SetVInt(Int_t, const std::vector<Int_t>, const char*
, const char*) { return kFALSE; } | |
| virtual Bool_t SetVUInt(Int_t, const std::vector<UInt_t>, const cha
r*, const char*) { return kFALSE; } | | virtual Bool_t SetVUInt(Int_t, const std::vector<UInt_t>, const cha
r*, const char*) { return kFALSE; } | |
| virtual Bool_t SetVLong(Int_t, const std::vector<Long_t>, const cha
r*, const char*) { return kFALSE; } | | virtual Bool_t SetVLong(Int_t, const std::vector<Long_t>, const cha
r*, const char*) { return kFALSE; } | |
| virtual Bool_t SetVLong64(Int_t, const std::vector<Long64_t>, const
char*, const char*) { return kFALSE; } | | virtual Bool_t SetVLong64(Int_t, const std::vector<Long64_t>, const
char*, const char*) { return kFALSE; } | |
| virtual Bool_t SetVULong64(Int_t, const std::vector<ULong64_t>, con
st char*, const char*) { return kFALSE; } | | virtual Bool_t SetVULong64(Int_t, const std::vector<ULong64_t>, con
st char*, const char*) { return kFALSE; } | |
| virtual Bool_t SetVDouble(Int_t, const std::vector<Double_t>, const
char*, const char*) { return kFALSE; } | | virtual Bool_t SetVDouble(Int_t, const std::vector<Double_t>, const
char*, const char*) { return kFALSE; } | |
| #endif | | #endif | |
| | | | |
| virtual Bool_t Process() = 0; | | virtual Bool_t Process() = 0; | |
| | | | |
| skipping to change at line 92 | | skipping to change at line 93 | |
| | | | |
| virtual Bool_t IsNull(Int_t) { return kTRUE; } | | virtual Bool_t IsNull(Int_t) { return kTRUE; } | |
| virtual Int_t GetInt(Int_t) { return 0; } | | virtual Int_t GetInt(Int_t) { return 0; } | |
| virtual UInt_t GetUInt(Int_t) { return 0; } | | virtual UInt_t GetUInt(Int_t) { return 0; } | |
| virtual Long_t GetLong(Int_t) { return 0; } | | virtual Long_t GetLong(Int_t) { return 0; } | |
| virtual Long64_t GetLong64(Int_t) { return 0; } | | virtual Long64_t GetLong64(Int_t) { return 0; } | |
| virtual ULong64_t GetULong64(Int_t) { return 0; } | | virtual ULong64_t GetULong64(Int_t) { return 0; } | |
| virtual Double_t GetDouble(Int_t) { return 0.; } | | virtual Double_t GetDouble(Int_t) { return 0.; } | |
| virtual const char *GetString(Int_t) { return 0; } | | virtual const char *GetString(Int_t) { return 0; } | |
| virtual Bool_t GetBinary(Int_t, void* &, Long_t&) { return kFALSE;
} | | virtual Bool_t GetBinary(Int_t, void* &, Long_t&) { return kFALSE;
} | |
|
| | | virtual Bool_t GetLargeObject(Int_t col, void* &mem, Long_t& size)
{ return GetBinary(col, mem, size); } | |
| | | | |
| virtual Bool_t GetDate(Int_t, Int_t&, Int_t&, Int_t&) { return kFAL
SE; } | | virtual Bool_t GetDate(Int_t, Int_t&, Int_t&, Int_t&) { return kFAL
SE; } | |
| virtual Bool_t GetTime(Int_t, Int_t&, Int_t&, Int_t&) { return kFAL
SE; } | | virtual Bool_t GetTime(Int_t, Int_t&, Int_t&, Int_t&) { return kFAL
SE; } | |
| virtual Bool_t GetDatime(Int_t, Int_t&, Int_t&, Int_t&, Int_t&, Int
_t&, Int_t&) { return kFALSE; } | | virtual Bool_t GetDatime(Int_t, Int_t&, Int_t&, Int_t&, Int_t&, Int
_t&, Int_t&) { return kFALSE; } | |
| TDatime GetDatime(Int_t); | | TDatime GetDatime(Int_t); | |
| Int_t GetYear(Int_t); | | Int_t GetYear(Int_t); | |
| Int_t GetMonth(Int_t); | | Int_t GetMonth(Int_t); | |
| Int_t GetDay(Int_t); | | Int_t GetDay(Int_t); | |
| Int_t GetHour(Int_t); | | Int_t GetHour(Int_t); | |
| Int_t GetMinute(Int_t); | | Int_t GetMinute(Int_t); | |
| | | | |
End of changes. 2 change blocks. |
| 0 lines changed or deleted | | 2 lines changed or added | |
|