![]() |
ROOT
6.06/09
Reference Guide
|
Namespace for new ROOT classes and functions. More...
Namespaces | |
| Detail | |
| Fit | |
| Namespace for the fitting classes. | |
| Hist | |
| Internal | |
| MacOSX | |
| Math | |
| MathMore | |
| Meta | |
| Minuit | |
| Minuit2 | |
| Quartz | |
| R | |
| namespace associated R package for ROOT. | |
| TF1Helper | |
| TMetaUtils | |
| TreeUtils | |
| v5 | |
| Vc | |
Classes | |
| class | _Configuration |
| configuration ------------------------------------------------------------— More... | |
| class | _ExpandMacroFunction |
| put std namespace directly onto ROOT ----------------------------------—— More... | |
| class | ModuleFacade |
| allow loading ROOT classes as attributes ---------------------------------— More... | |
| class | RootNameCompleter |
| class | TAxisBase |
| Histogram axis base class. More... | |
| class | TAxisConfig |
| Objects used to configure the different axis types. More... | |
| class | TAxisEquidistant |
| Axis with equidistant bin borders. More... | |
| class | TAxisGrow |
| An axis that can extend its range, keeping the number of its bins unchanged. More... | |
| class | TAxisIrregular |
| An axis with non-equidistant bins (also known as "variable binning"). More... | |
| class | TAxisLabels |
| A TAxisGrow that has a label assigned to each bin and a bin width of 1. More... | |
| class | TAxisView |
| Common view on a TAxis, no matter what its kind. More... | |
| class | TCanvas |
Graphic container for TDrawable-s. More... | |
| class | TCoopPtr |
Several pointers point to the same object, any of them can delete the object, setting all of them to nullptr. More... | |
| class | TDirectory |
| Key/value store of objects. More... | |
| class | TFilePtr |
| Points to an object that stores or reads objects in ROOT's binary format. More... | |
| class | TFitResult |
| class | TFunction |
| class | TGenericClassInfo |
| class | THist |
Histogram class for histograms with DIMENSIONS dimensions, where each bin count is stored by a value of type PRECISION. More... | |
| class | THistBufferedFill |
| Buffers calls to Fill(). More... | |
| class | THistConcurrentFiller |
| Buffers a thread's Fill calls and submits them to the THistConcurrentFillManager. More... | |
| class | THistConcurrentFillManager |
| Manages the synchronization of calls to FillN(). More... | |
| class | THistDrawOptions |
| Drawing options for a histogram with DIMENSIONS. More... | |
| class | THistStatEntries |
| class | THistStatMomentUncert |
| class | THistStatRuntime |
| class | THistStatUncertainty |
| class | THistView |
| A view on a histogram, selecting a range on a subset of dimensions. More... | |
| struct | THistViewOutOfRange |
| class | TKey |
| class | TLogEntry |
| class | TLogHandler |
| Abstract TLogHandler base class. More... | |
| class | TLogManager |
| class | TSchemaRule |
Typedefs | |
| typedef void *(* | NewFunc_t) (void *) |
| typedef void *(* | NewArrFunc_t) (Long_t size, void *arena) |
| typedef void(* | DelFunc_t) (void *) |
| typedef void(* | DelArrFunc_t) (void *) |
| typedef void(* | DesFunc_t) (void *) |
| typedef void(* | DirAutoAdd_t) (void *, TDirectory *) |
| typedef Long64_t(* | MergeFunc_t) (void *, TCollection *, TFileMergeInfo *) |
| typedef void(* | ResetAfterMergeFunc_t) (void *, TFileMergeInfo *) |
| typedef std::map< std::string, std::string > | SchemaRuleMap_t |
| typedef std::map< std::string, std::list< SchemaRuleMap_t > > | SchemaRuleClassMap_t |
| typedef std::map< std::string, ROOT::Internal::TSchemaType > | MembersTypeMap_t |
| typedef std::map< std::string, std::string > | MembersMap_t |
| typedef std::list< std::pair< ROOT::Internal::TSchemaType, std::string > > | SourceTypeList_t |
THist Typedefs | |
Convenience typedefs (ROOT6-compatible type names) | |
| typedef THist< 1, double > | TH1D |
| typedef THist< 1, float > | TH1F |
| typedef THist< 1, char > | TH1C |
| typedef THist< 1, int > | TH1I |
| typedef THist< 1, int64_t > | TH1LL |
| typedef THist< 2, double > | TH2D |
| typedef THist< 2, float > | TH2F |
| typedef THist< 2, char > | TH2C |
| typedef THist< 2, int > | TH2I |
| typedef THist< 2, int64_t > | TH2LL |
| typedef THist< 3, double > | TH3D |
| typedef THist< 3, float > | TH3F |
| typedef THist< 3, char > | TH3C |
| typedef THist< 3, int > | TH3I |
| typedef THist< 3, int64_t > | TH3LL |
Enumerations | |
| enum | EFromHumanReadableSize { EFromHumanReadableSize::kSuccess, EFromHumanReadableSize::kParseFail, EFromHumanReadableSize::kOverflow } |
| enum | EThreadSlotReservation { kMaxUserThreadSlot = 20, kPadThreadSlot = 20, kClassThreadSlot = 21, kDirectoryThreadSlot = 22, kFileThreadSlot = 23, kPerfStatsThreadSlot = 24, kMaxThreadSlot = 25 } |
| enum | ELogLevel { ELogLevel::kDebug, ELogLevel::kInfo, ELogLevel::kWarning, ELogLevel::kError, ELogLevel::kFatal } |
| Kinds of diagnostics. More... | |
| enum | EFunctionMatchMode { kExactMatch = 0, kConversionMatch = 1 } |
| enum | ESTLType { kNotSTL = 0, kSTLvector = 1, kSTLlist = 2, kSTLdeque = 3, kSTLmap = 4, kSTLmultimap = 5, kSTLset = 6, kSTLmultiset = 7, kSTLbitset = 8, kSTLforwardlist = 9, kSTLunorderedset = 10, kSTLunorderedmultiset = 11, kSTLunorderedmap = 12, kSTLunorderedmultimap = 13, kSTLend = 14, kSTLany = 300, kSTLstring = 365 } |
Functions | |
| def | isfunction (object) |
| def | ismethod (object) |
| def | split (str) |
| helpers ------------------------------------------------------------------— More... | |
| def | _TTree__iter__ (self) |
| def | _excepthook (exctype, value, traceb) |
| RINT command emulation ---------------------------------------------------—. More... | |
| def | _displayhook (v) |
| def | _importhook (name, args, kwds) |
| def | _processRootEvents (controller) |
| helper to prevent GUIs from starving More... | |
| def | cleanup () |
| template<typename value_type > | |
| void | ToHumanReadableSize (value_type bytes, Bool_t si, Double_t *coeff, const char **units) |
| Return the size expressed in 'human readeable' format. More... | |
| template<typename T > | |
| EFromHumanReadableSize | FromHumanReadableSize (std::string_view str, T &value) |
| Convert strings like the following into byte counts 5MB, 5 MB, 5M, 3.7GB, 123b, 456kB, 3.7GiB, 5MiB with some amount of forgiveness baked into the parsing. More... | |
| template<class RootClass > | |
| Short_t | SetClassVersion (RootClass *) |
| TClass * | CreateClass (const char *cname, Version_t id, const type_info &info, TVirtualIsAProxy *isa, const char *dfil, const char *ifil, Int_t dl, Int_t il) |
| Global function called by a class' static Dictionary() method (see the ClassDef macro). More... | |
| void | AddClass (const char *cname, Version_t id, const type_info &info, DictFuncPtr_t dict, Int_t pragmabits) |
| Global function called by the ctor of a class's init class (see the ClassImp macro). More... | |
| void | RemoveClass (const char *cname) |
| Global function called by the dtor of a class's init class (see the ClassImp macro). More... | |
| void | ResetClassVersion (TClass *, const char *, Short_t) |
| Global function to update the version number. More... | |
| void | AddClassAlternate (const char *normName, const char *alternate) |
| Global function called by GenerateInitInstance. More... | |
| TNamed * | RegisterClassTemplate (const char *name, const char *file, Int_t line) |
| Global function to register the implementation file and line of a class template (i.e. More... | |
| void | Class_ShowMembers (TClass *cl, const void *obj, TMemberInspector &) |
| Indirect call to the implementation of ShowMember allowing [forward] declaration with out a full definition of the TClass class. More... | |
| void | EnableThreadSafety () |
| Enables the global mutex to make ROOT thread safe/aware. More... | |
| TROOT * | GetROOT () |
| TString & | GetMacroPath () |
| template<class POINTEE , class... ARGS> | |
| TCoopPtr< POINTEE > | MakeCoop (ARGS &&...args) |
Create an object of type POINTEE on the heap, and build a TCoopPtr for it. More... | |
| template<class POINTEE > | |
| TCoopPtr< POINTEE > | MakeCoop (POINTEE &&obj) |
| Move an object into a TCoopPtr. More... | |
| bool | operator< (const TKey &lhs, const TKey &rhs) |
| bool | operator> (const TKey &lhs, const TKey &rhs) |
| bool | operator== (const TKey &lhs, const TKey &rhs) |
| bool | operator<= (const TKey &lhs, const TKey &rhs) |
| bool | operator>= (const TKey &lhs, const TKey &rhs) |
| void | AddClass (const char *cname, Version_t id, DictFuncPtr_t dict, Int_t pragmabits) |
| template<typename T > | |
| TClass * | GetClass (T *) |
| template<typename T > | |
| TClass * | GetClass (const T *) |
| template<typename T > | |
| TClass * | GetClass (T **) |
| template<typename T > | |
| TClass * | GetClass (const T **) |
| template<typename T > | |
| TClass * | GetClass (const T *const *) |
| TClass * | CreateClass (const char *cname, Version_t id, const char *dfil, const char *ifil, Int_t dl, Int_t il) |
| Global function called by a class' static Dictionary() method (see the ClassDef macro). More... | |
| bool | HasValidDataMembers (SchemaRuleMap_t &rule, MembersTypeMap_t &members) |
| Check if given rule contains references to valid data members. More... | |
| void | WriteReadRuleFunc (SchemaRuleMap_t &rule, int index, std::string &mappedName, MembersTypeMap_t &members, std::ostream &output) |
| Write the conversion function for Read rule, the function name is being written to rule["funcname"]. More... | |
| void | WriteReadRawRuleFunc (SchemaRuleMap_t &rule, int index, std::string &mappedName, MembersTypeMap_t &members, std::ostream &output) |
| Write the conversion function for ReadRaw rule, the function name is being written to rule["funcname"]. More... | |
| void | WriteSchemaList (std::list< SchemaRuleMap_t > &rules, const std::string &listName, std::ostream &output) |
| Write schema rules. More... | |
| void | GetRuleIncludes (std::list< std::string > &result) |
| Get the list of includes specified in the shema rules. More... | |
| bool | ParseRule (std::string rule, MembersMap_t &result, std::string &error_string) |
| Parse the schema rule as specified in the LinkDef file. More... | |
| void | ProcessReadPragma (const char *args) |
| I am being called when a read pragma is encountered. More... | |
| void | ProcessReadRawPragma (const char *args) |
| I am being called then a readraw pragma is encountered. More... | |
| static Bool_t | ValidateRule (const std::map< std::string, std::string > &rule, std::string &error_string) |
| Validate if the user specified rules are correct. More... | |
| static std::string::size_type | FindEndSymbol (std::string &command) |
| Bool_t | ParseRule (std::string command, std::map< std::string, std::string > &result, std::string &error_string) |
| Parse the schema rule as specified in the LinkDef file. More... | |
| static void | WriteAutoVariables (const std::list< std::string > &target, const SourceTypeList_t &source, MembersTypeMap_t &members, std::string &className, std::string &mappedName, std::ostream &output) |
Write down the sourcesMore... | |
| static void | StrReplace (std::string &proc, const std::string &pat, const std::string &tr) |
| Replace all accurances of given string with other string. More... | |
| bool | operator== (const TAxisEquidistant &lhs, const TAxisEquidistant &rhs) noexcept |
| Equality-compare two TAxisEquidistant. More... | |
| template<int DIMENSIONS, class PRECISION > | |
| class ROOT::THist< DIMENSIONS, PRECISION > | HistFromImpl (std::unique_ptr< typename ROOT::THist< DIMENSIONS, PRECISION >::ImplBase_t > pHistImpl) |
| Adopt an external, stand-alone THistImpl. The THist will take ownership. More... | |
| template<int DIMENSIONS, class PRECISION > | |
| void | swap (THist< DIMENSIONS, PRECISION > &a, THist< DIMENSIONS, PRECISION > &b) noexcept |
| Swap two histograms. More... | |
| template<int DIMENSIONS, class PRECISION , class STATISTICS = THistStatUncertainty<DIMENSIONS, PRECISION>> | |
| TCoopPtr< THist< DIMENSIONS, PRECISION > > | MakeCoOwnedHist (std::array< TAxisConfig, DIMENSIONS > axes, STATISTICS statConfig=STATISTICS()) |
| Create a TCoopPtr of a THist. More... | |
| template<int DIMENSIONS, class PRECISION > | |
| THist< DIMENSIONS, PRECISION > | HistFromImpl (std::unique_ptr< typename THist< DIMENSIONS, PRECISION >::ImplBase_t > pHistImpl) |
| Adopt an external, stand-alone THistImpl. The THist will take ownership. More... | |
| template<int DIMENSION, class PRECISIONA , class PRECISIONB > | |
| void | Add (THist< DIMENSION, PRECISIONA > &to, THist< DIMENSION, PRECISIONB > &from) |
| template<int DIMENSION, class PRECISION > | |
| std::unique_ptr< Internal::TDrawable > | GetDrawable (TCoopPtr< THist< DIMENSION, PRECISION >> hist, THistDrawOptions< DIMENSION > opts={}) |
| template<int DIMENSION, class PRECISION > | |
| TFitResult | FitTo (const THist< DIMENSION, PRECISION > &hist, const TFunction< DIMENSION > &func, std::array_view< double > paramInit) |
| void | SrvSetSocket (TSocket *Socket) |
| Fill socket parameters. More... | |
| static int | Recvn (int sock, void *buffer, int length) |
| Receive exactly length bytes into buffer. More... | |
| void | NetClose () |
| Empty call, for consistency. More... | |
| int | NetGetSockFd () |
| return open socket descriptor More... | |
| int | NetParOpen (int port, int size) |
| Empty call, for consistency. More... | |
| int | NetRecv (char *msg, int max) |
| Receive a string of maximum length max. More... | |
| int | NetRecv (char *msg, int len, EMessageTypes &kind) |
| Receive a string of maximum len length. More... | |
| int | NetRecv (void *&buf, int &len, EMessageTypes &kind) |
| Receive a buffer. More... | |
| int | NetRecvRaw (void *buf, int len) |
| Receive a buffer of maximum len bytes. More... | |
| int | NetRecvRaw (int sock, void *buf, int len) |
| Receive a buffer of maximum len bytes from generic socket sock. More... | |
| int | NetSend (int code, EMessageTypes kind) |
| Send integer. Message will be of type "kind". More... | |
| int | NetSend (const char *msg, EMessageTypes kind) |
| Send a string. Message will be of type "kind". More... | |
| int | NetSend (const void *buf, int len, EMessageTypes kind) |
| Send buffer of len bytes. Message will be of type "kind". More... | |
| int | NetSendAck () |
| Send acknowledge code. More... | |
| int | NetSendError (ERootdErrors err) |
| Send error code. More... | |
| int | NetSendRaw (const void *buf, int len) |
| Send buffer of len bytes. More... | |
| void | NetGetRemoteHost (std::string &openhost) |
| Return name of connected host. More... | |
| int | GetErrno () |
| return errno More... | |
| void | ResetErrno () |
| reset errno More... | |
| void | Perror (char *buf, int size) |
| Return in buf the message belonging to errno. More... | |
| void | ErrorInfo (const char *va_(fmt),...) |
| Formats a string in a circular formatting buffer and prints the string. More... | |
| void | Error (ErrorHandler_t func, int code, const char *va_(fmt),...) |
| Write error message and call a handler, if required. More... | |
| void | ErrorInit (const char *ident) |
| void | ErrorInfo (const char *fmt,...) |
| void | Error (ErrorHandler_t ErrHand, int code, const char *fmt,...) |
| void | RpdAuthCleanup (const char *sstr, int opt) |
| int | RpdCleanupAuthTab (const char *crypttoken) |
| int | RpdGenRSAKeys (int) |
| void | RpdSetErrorHandler (ErrorHandler_t Err, ErrorHandler_t Sys, ErrorHandler_t Fatal) |
| void | RpdSetMethInitFlag (int methinit) |
| int | RpdInitSession (int, std::string &, int &, int &, int &, std::string &) |
| void | RpdInit (EService serv, int pid, int sproto, unsigned int opts, int rumsk, int sshp, const char *tmpd, const char *asrpp, int login=0) |
TAxisBase::const_iterator comparison operators | |
| bool | operator< (TAxisBase::const_iterator lhs, TAxisBase::const_iterator rhs) noexcept |
| i < j More... | |
| bool | operator> (TAxisBase::const_iterator lhs, TAxisBase::const_iterator rhs) noexcept |
| i > j More... | |
| bool | operator<= (TAxisBase::const_iterator lhs, TAxisBase::const_iterator rhs) noexcept |
| i <= j More... | |
| bool | operator>= (TAxisBase::const_iterator lhs, TAxisBase::const_iterator rhs) noexcept |
| i >= j More... | |
| bool | operator== (TAxisBase::const_iterator lhs, TAxisBase::const_iterator rhs) noexcept |
| i == j More... | |
| bool | operator!= (TAxisBase::const_iterator lhs, TAxisBase::const_iterator rhs) noexcept |
| i != j More... | |
Variables | |
| string | __version__ = '8.0.0' |
| string | __author__ = 'Wim Lavrijsen (WLavrijsen@lbl.gov)' |
| string | message = 'class \S* already in TClassTable$' |
| _root = cppyy._backend | |
| load PyROOT C++ extension module, special case for linux and Sun ---------— More... | |
| tuple | PyConfig = _Configuration() |
| list | __pseudo__all__ |
| choose interactive-favored policies -----------------------------------—— More... | |
| list | __all__ = [] |
| _orig_ehook = sys.excepthook | |
| list | _memPolicyAPI = [ 'SetMemoryPolicy', 'SetOwnership', 'kMemoryHeuristics', 'kMemoryStrict' ] |
| for setting memory and speed policies; not exported More... | |
| list | _sigPolicyAPI = [ 'SetSignalPolicy', 'kSignalFast', 'kSignalSafe' ] |
| _orig_dhook = sys.displayhook | |
| call EndOfLineAction after each interactive command (to update display etc.) More... | |
| _orig_ihook = __builtin__.__import__ | |
| tuple | pre_execute_callbacks = get_ipython() |
| string | zmqIshellName = 'ZMQInteractiveShell' |
| SchemaRuleClassMap_t | gReadRules |
| SchemaRuleClassMap_t | gReadRawRules |
| static int | gSockFd = -1 |
| ErrorHandler_t | gErrSys |
| ErrorHandler_t | gErrFatal |
| ErrorHandler_t | gErr |
Axis Compatibility | |
| enum | EAxisCompatibility { EAxisCompatibility::kIdentical, EAxisCompatibility::kContains, EAxisCompatibility::kSampling, EAxisCompatibility::kIncompatible } |
| EAxisCompatibility | CanMap (TAxisEquidistant &target, TAxisEquidistant &source) noexcept |
| Whether (and how) the source axis can be merged into the target axis. More... | |
Namespace for new ROOT classes and functions.
| typedef void(* ROOT.DirAutoAdd_t) (void *, TDirectory *) |
| typedef std::map<std::string, std::string> ROOT.MembersMap_t |
Definition at line 39 of file RConversionRuleParser.h.
| typedef std::map<std::string, ROOT::Internal::TSchemaType> ROOT.MembersTypeMap_t |
Definition at line 38 of file RConversionRuleParser.h.
| typedef Long64_t(* ROOT.MergeFunc_t) (void *, TCollection *, TFileMergeInfo *) |
| typedef void(* ROOT.ResetAfterMergeFunc_t) (void *, TFileMergeInfo *) |
| typedef std::map<std::string, std::list<SchemaRuleMap_t> > ROOT.SchemaRuleClassMap_t |
Definition at line 34 of file RConversionRuleParser.h.
| typedef std::map<std::string, std::string> ROOT.SchemaRuleMap_t |
Definition at line 33 of file RConversionRuleParser.h.
| typedef std::list<std::pair<ROOT::Internal::TSchemaType,std::string> > ROOT.SourceTypeList_t |
Definition at line 38 of file RConversionRuleParser.cxx.
| typedef THist<1, int64_t> ROOT.TH1LL |
| typedef THist<2, int64_t> ROOT.TH2LL |
| typedef THist<3, int64_t> ROOT.TH3LL |
|
strong |
|
strong |
| Enumerator | |
|---|---|
| kSuccess | |
| kParseFail | |
| kOverflow | |
Definition at line 69 of file StringConv.h.
| Enumerator | |
|---|---|
| kExactMatch | |
| kConversionMatch | |
Definition at line 155 of file TDictionary.h.
|
strong |
| enum ROOT::ESTLType |
Definition at line 28 of file ESTLType.h.
| Enumerator | |
|---|---|
| kMaxUserThreadSlot | |
| kPadThreadSlot | |
| kClassThreadSlot | |
| kDirectoryThreadSlot | |
| kFileThreadSlot | |
| kPerfStatsThreadSlot | |
| kMaxThreadSlot | |
Definition at line 21 of file TThreadSlots.h.
|
private |
|
private |
| void ROOT::Add | ( | THist< DIMENSION, PRECISIONA > & | to, |
| THist< DIMENSION, PRECISIONB > & | from | ||
| ) |
Definition at line 335 of file THist.h.
Referenced by TQpResidual::CalcResids(), ClassImp(), TQpDataSparse::DataRandom(), TQpDataDens::DataRandom(), TQpVar::Saxpy(), TQpLinSolverBase::Solve(), TQpLinSolverBase::SolveXYZS(), test_tmatrix_kalman(), testGMV_T(), testMscale_T(), testMV_T(), and testVscale_T().
| void ROOT::AddClass | ( | const char * | cname, |
| Version_t | id, | ||
| DictFuncPtr_t | dict, | ||
| Int_t | pragmabits | ||
| ) |
| void ROOT::AddClass | ( | const char * | cname, |
| Version_t | id, | ||
| const type_info & | info, | ||
| DictFuncPtr_t | dict, | ||
| Int_t | pragmabits | ||
| ) |
Global function called by the ctor of a class's init class (see the ClassImp macro).
Definition at line 706 of file TClassTable.cxx.
Referenced by TMVA::DataSetInfo::AddCut(), ROOT::Internal::TDefaultInitBehavior::Register(), TMVA::DataSetInfo::SetCut(), and TMVA::DataSetInfo::SetWeightExpression().
| void ROOT::AddClassAlternate | ( | const char * | normName, |
| const char * | alternate | ||
| ) |
Global function called by GenerateInitInstance.
(see the ClassImp macro).
Definition at line 718 of file TClassTable.cxx.
|
noexcept |
| void ROOT::Class_ShowMembers | ( | TClass * | cl, |
| const void * | obj, | ||
| TMemberInspector & | insp | ||
| ) |
Indirect call to the implementation of ShowMember allowing [forward] declaration with out a full definition of the TClass class.
Definition at line 502 of file TClass.cxx.
| def ROOT.cleanup | ( | ) |
Definition at line 579 of file ROOT.py.
Referenced by ClassImp(), TTabCom.DetermineClass(), Krb5Authenticate(), TUrl.SetUrl(), TApplicationServer.Terminate(), and TMapFile.TMapFile().
| TClass * ROOT::CreateClass | ( | const char * | cname, |
| Version_t | id, | ||
| const type_info & | info, | ||
| TVirtualIsAProxy * | isa, | ||
| const char * | dfil, | ||
| const char * | ifil, | ||
| Int_t | dl, | ||
| Int_t | il | ||
| ) |
Global function called by a class' static Dictionary() method (see the ClassDef macro).
Definition at line 5483 of file TClass.cxx.
Referenced by ClassImp(), and ROOT::Internal::TDefaultInitBehavior::CreateClass().
| TClass * ROOT::CreateClass | ( | const char * | cname, |
| Version_t | id, | ||
| const char * | dfil, | ||
| const char * | ifil, | ||
| Int_t | dl, | ||
| Int_t | il | ||
| ) |
Global function called by a class' static Dictionary() method (see the ClassDef macro).
Definition at line 5498 of file TClass.cxx.
| void ROOT::EnableThreadSafety | ( | ) |
Enables the global mutex to make ROOT thread safe/aware.
Definition at line 386 of file TROOT.cxx.
Referenced by TROOT::InitThreads(), and TGeoManager::SetMaxThreads().
| void ROOT::Error | ( | ErrorHandler_t | ErrHand, |
| int | code, | ||
| const char * | fmt, | ||
| ... | |||
| ) |
| void ROOT::Error | ( | ErrorHandler_t | func, |
| int | code, | ||
| const char * | va_fmt, | ||
| ... | |||
| ) |
Write error message and call a handler, if required.
Definition at line 577 of file DaemonUtils.cxx.
Referenced by ROOT::Internal::TTreeProxyGenerator::AnalyzeBranches(), ROOT::Internal::TTreeReaderGenerator::AnalyzeBranches(), ROOT::Internal::TTreeProxyGenerator::AnalyzeElement(), ROOT::Internal::TTreeProxyGenerator::AnalyzeOldLeaf(), ROOT::Internal::TTreeReaderGenerator::AnalyzeOldLeaf(), ROOT::Internal::TTreeProxyGenerator::AnalyzeTree(), ROOT::Internal::TTreeReaderGenerator::AnalyzeTree(), ClassImp(), ROOT::Internal::TTreeReaderValueBase::CreateProxy(), ROOT::Math::Inverter< idim, n >::Dinv(), ROOT::Quartz::DrawPolygonWithGradientFill(), ROOT::Quartz::DrawTextLineNoKerning(), TClingCallFunc::EvaluateArgList(), TClingCallFunc::exec(), TClingCallFunc::Exec(), TClingCallFunc::exec_with_valref_return(), TClingCallFunc::ExecDefaultConstructor(), TClingCallFunc::ExecDestructor(), TClingCallFunc::ExecT(), TClingCallFunc::ExecWithArgsAndReturn(), TClingCallFunc::ExecWithReturn(), ROOT::Fit::FillData(), ROOT::TreeUtils::FillNtupleFromStream(), ROOT::Internal::TTreeReaderValueBase::GetAddress(), ROOT::Internal::TTreeReaderArrayBase::GetBranchContentDataType(), ROOT::Internal::TTreeReaderValueBase::GetBranchDataType(), ROOT::Fit::GetConfidenceIntervals(), ROOT::Internal::TTreeGeneratorBase::GetContainedClassName(), ROOT::Internal::TTreeReaderValueBase::GetLeaf(), TClingCallFunc::IFacePtr(), ROOT::TF1Helper::IntegralError(), ROOT::MacOSX::Details::FontCache::ListFonts(), ROOT::MacOSX::Details::FontCache::LoadFont(), ROOT::MacOSX::X11::ColorParser::LookupColorByName(), main(), TClingCallFunc::make_ctor_wrapper(), TClingCallFunc::make_dtor_wrapper(), TClingCallFunc::make_wrapper(), ROOT::Math::GeneticMinimizer::Minimize(), NetRecvRaw(), ROOT::MacOSX::X11::ColorParser::ParseRGBTriplet(), ROOT::MacOSX::X11::ParseXLFDName(), ROOT::Detail::TBranchProxy::Read(), ROOT::Detail::TBranchProxy::ReadEntries(), Recvn(), ResetClassVersion(), ROOT::MacOSX::Details::FontCache::SelectFont(), ROOT::MacOSX::Details::FontCache::SelectSymbolFont(), ROOT::Quartz::SetFillAreaParameters(), ROOT::Math::GeneticMinimizer::SetFixedVariable(), TClingCallFunc::SetFunc(), TClingCallFunc::SetFuncProto(), ROOT::Detail::TBranchProxy::Setup(), testMathRandom(), ROOT::Internal::TTreeProxyGenerator::WriteProxy(), and ROOT::Internal::TTreeReaderGenerator::WriteSelector().
| void ROOT::ErrorInfo | ( | const char * | fmt, |
| ... | |||
| ) |
| void ROOT::ErrorInfo | ( | const char * | va_fmt, |
| ... | |||
| ) |
Formats a string in a circular formatting buffer and prints the string.
Appends a newline. Cut & Paste from Printf in base/src/TString.cxx
Definition at line 563 of file DaemonUtils.cxx.
Referenced by main(), ProofdExec(), ProofdTerm(), RpdProofGetAuthSetup(), SrvAuthImpl(), and SrvClupImpl().
|
static |
Definition at line 49 of file RConversionRuleParser.cxx.
Referenced by ParseRule().
| TFitResult ROOT::FitTo | ( | const THist< DIMENSION, PRECISION > & | hist, |
| const TFunction< DIMENSION > & | func, | ||
| std::array_view< double > | paramInit | ||
| ) |
| EFromHumanReadableSize ROOT::FromHumanReadableSize | ( | std::string_view | str, |
| T & | value | ||
| ) |
Convert strings like the following into byte counts 5MB, 5 MB, 5M, 3.7GB, 123b, 456kB, 3.7GiB, 5MiB with some amount of forgiveness baked into the parsing.
For this routine we use the official SI unit where the [i] is reserved for the 'legacy' power of two units. 1KB = 1000 bytes, 1KiB = 1024 bytes.
| str | the string to be parsed |
| value | will be updated with the result if and only if the parse is sucessfull and does not overflow for the type of value. |
Definition at line 86 of file StringConv.h.
Referenced by TTree::CopyEntries().
| TClass* ROOT::GetClass | ( | T * | ) |
Definition at line 555 of file TClass.h.
Referenced by TMVA::BinarySearchTreeNode::AddAttributesToNode(), TMVA::MethodBDT::BoostMonitor(), TMVA::DecisionTree::BuildTree(), ClassImp(), TMVA::Tools::ComputeStat(), TTreeFormula::EvalClass(), TMVA::BinarySearchTree::Fill(), GetClass(), TMVA::OptimizeConfigParameters::GetMVADists(), TClassDocOutput::ListDataMembers(), TMVA::RuleEnsemble::MakeLinearTerms(), TMVA::MethodBDT::PreProcessNegativeEventWeights(), TMVA::BinarySearchTreeNode::Print(), TMVA::BinarySearchTreeNode::PrintRec(), TMVA::DecisionTree::SamplePurity(), TMVA::CCTreeWrapper::TestTreeQuality(), and TMVA::DecisionTree::TrainNodeFast().
| TClass * ROOT::GetClass | ( | const T ** | ) |
| TClass* ROOT::GetClass | ( | const T *const * | ) |
| std::unique_ptr<Internal::TDrawable> ROOT::GetDrawable | ( | TCoopPtr< THist< DIMENSION, PRECISION >> | hist, |
| THistDrawOptions< DIMENSION > | opts = {} |
||
| ) |
Definition at line 348 of file THist.h.
Referenced by ROOT::TCanvas::Draw().
| int ROOT::GetErrno | ( | ) |
return errno
Definition at line 523 of file DaemonUtils.cxx.
Referenced by NetRecvRaw(), Perror(), ProofdExec(), and Recvn().
| TString& ROOT::GetMacroPath | ( | ) |
Definition at line 379 of file TROOT.cxx.
Referenced by TROOT::GetMacroPath(), and TROOT::SetMacroPath().
| TROOT * ROOT::GetROOT | ( | ) |
Definition at line 375 of file TROOT.cxx.
Referenced by TList::Clear(), TObjArray::Delete(), TList::Delete(), TROOT::GetListOfGlobals(), TInterpreter::Instance(), and TTimer::Reset().
| void ROOT::GetRuleIncludes | ( | std::list< std::string > & | result | ) |
Get the list of includes specified in the shema rules.
Definition at line 830 of file RConversionRuleParser.cxx.
| bool ROOT::HasValidDataMembers | ( | SchemaRuleMap_t & | rule, |
| MembersTypeMap_t & | members | ||
| ) |
Check if given rule contains references to valid data members.
Definition at line 435 of file RConversionRuleParser.cxx.
Referenced by ROOT::TMetaUtils::WriteClassInit().
| class ROOT::THist< DIMENSIONS, PRECISION > ROOT::HistFromImpl | ( | std::unique_ptr< typename ROOT::THist< DIMENSIONS, PRECISION >::ImplBase_t > | pHistImpl | ) |
Create an object of type POINTEE on the heap, and build a TCoopPtr for it.
| args | Arguments forwarded to the constructor of POINTEE. |
Definition at line 120 of file TCoopPtr.h.
Referenced by MakeCoOwnedHist().
| TCoopPtr<POINTEE> ROOT::MakeCoop | ( | POINTEE && | obj | ) |
Move an object into a TCoopPtr.
Rather efficient if there is a move constructor for POINTEE.
| obj | - object to be moved into the TCoopPtr. |
Definition at line 130 of file TCoopPtr.h.
| TCoopPtr<THist<DIMENSIONS, PRECISION> > ROOT::MakeCoOwnedHist | ( | std::array< TAxisConfig, DIMENSIONS > | axes, |
| STATISTICS | statConfig = STATISTICS() |
||
| ) |
| void ROOT::NetClose | ( | ) |
Empty call, for consistency.
Definition at line 361 of file DaemonUtils.cxx.
Referenced by main(), and ProofdTerm().
| void ROOT::NetGetRemoteHost | ( | std::string & | openhost | ) |
Return name of connected host.
Definition at line 514 of file DaemonUtils.cxx.
Referenced by ProofdExec().
| int ROOT::NetGetSockFd | ( | ) |
return open socket descriptor
Definition at line 369 of file DaemonUtils.cxx.
Referenced by ProofdExec().
| int ROOT::NetParOpen | ( | int | port, |
| int | size | ||
| ) |
Empty call, for consistency.
Definition at line 377 of file DaemonUtils.cxx.
| int ROOT::NetRecv | ( | char * | msg, |
| int | max | ||
| ) |
Receive a string of maximum length max.
Definition at line 388 of file DaemonUtils.cxx.
Referenced by RpdProofGetAuthSetup().
| int ROOT::NetRecv | ( | char * | msg, |
| int | len, | ||
| EMessageTypes & | kind | ||
| ) |
Receive a string of maximum len length.
Returns message type in kind. Return value is msg length.
Definition at line 397 of file DaemonUtils.cxx.
| int ROOT::NetRecv | ( | void *& | buf, |
| int & | len, | ||
| EMessageTypes & | kind | ||
| ) |
Receive a buffer.
Returns the newly allocated buffer, the length of the buffer and message type in kind.
Definition at line 409 of file DaemonUtils.cxx.
| int ROOT::NetRecvRaw | ( | void * | buf, |
| int | len | ||
| ) |
Receive a buffer of maximum len bytes.
Definition at line 430 of file DaemonUtils.cxx.
Referenced by RpdProofGetAuthSetup().
| int ROOT::NetRecvRaw | ( | int | sock, |
| void * | buf, | ||
| int | len | ||
| ) |
Receive a buffer of maximum len bytes from generic socket sock.
Definition at line 438 of file DaemonUtils.cxx.
Referenced by NetRecv().
| int ROOT::NetSend | ( | int | code, |
| EMessageTypes | kind | ||
| ) |
Send integer. Message will be of type "kind".
Definition at line 453 of file DaemonUtils.cxx.
Referenced by Err(), ErrFatal(), and ProofdExec().
| int ROOT::NetSend | ( | const char * | msg, |
| EMessageTypes | kind | ||
| ) |
Send a string. Message will be of type "kind".
Definition at line 467 of file DaemonUtils.cxx.
| int ROOT::NetSend | ( | const void * | buf, |
| int | len, | ||
| EMessageTypes | kind | ||
| ) |
Send buffer of len bytes. Message will be of type "kind".
Definition at line 475 of file DaemonUtils.cxx.
Referenced by Err(), ErrFatal(), NetSendAck(), and NetSendError().
| int ROOT::NetSendAck | ( | ) |
Send acknowledge code.
Definition at line 490 of file DaemonUtils.cxx.
| int ROOT::NetSendError | ( | ERootdErrors | err | ) |
Send error code.
Definition at line 498 of file DaemonUtils.cxx.
| int ROOT::NetSendRaw | ( | const void * | buf, |
| int | len | ||
| ) |
Send buffer of len bytes.
Definition at line 506 of file DaemonUtils.cxx.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 43 of file TKey.h.
Referenced by ROOT::Math::SVector< T, D >::operator!=(), and ROOT::Math::SMatrix< T, D1, D2, R >::operator!=().
|
inlinenoexcept |
|
inlinenoexcept |
Equality-compare two TAxisEquidistant.
|
inlinenoexcept |
|
inlinenoexcept |
| bool ROOT::ParseRule | ( | std::string | rule, |
| MembersMap_t & | result, | ||
| std::string & | error_string | ||
| ) |
Parse the schema rule as specified in the LinkDef file.
Definition at line 90 of file RConversionRuleParser.cxx.
Referenced by ProcessReadPragma(), ProcessReadRawPragma(), and ROOT::TSchemaRule::SetFromRule().
| Bool_t ROOT::ParseRule | ( | std::string | command, |
| std::map< std::string, std::string > & | result, | ||
| std::string & | error_string | ||
| ) |
Parse the schema rule as specified in the LinkDef file.
Definition at line 90 of file RConversionRuleParser.cxx.
Referenced by ProcessReadPragma(), ProcessReadRawPragma(), and ROOT::TSchemaRule::SetFromRule().
| void ROOT::Perror | ( | char * | buf, |
| int | size | ||
| ) |
Return in buf the message belonging to errno.
Definition at line 546 of file DaemonUtils.cxx.
Referenced by Err(), ErrFatal(), and ErrSys().
| void ROOT::ProcessReadPragma | ( | const char * | args | ) |
I am being called when a read pragma is encountered.
Definition at line 874 of file RConversionRuleParser.cxx.
Referenced by XMLReader::Parse().
| void ROOT::ProcessReadRawPragma | ( | const char * | args | ) |
I am being called then a readraw pragma is encountered.
Definition at line 908 of file RConversionRuleParser.cxx.
Referenced by XMLReader::Parse().
|
static |
Receive exactly length bytes into buffer.
Returns number of bytes received. Returns -1 in case of error.
Definition at line 336 of file DaemonUtils.cxx.
Referenced by NetRecvRaw().
Global function to register the implementation file and line of a class template (i.e.
NOT a concrete class).
Definition at line 794 of file TClassTable.cxx.
Referenced by ROOT::TGenericClassInfo::SetFromTemplate().
| void ROOT::RemoveClass | ( | const char * | cname | ) |
Global function called by the dtor of a class's init class (see the ClassImp macro).
Definition at line 769 of file TClassTable.cxx.
Referenced by ROOT::Internal::TDefaultInitBehavior::Unregister().
Global function to update the version number.
This is called via the RootClassVersion macro.
if cl!=0 and cname==-1, set the new class version if and only is greater than the existing one and greater or equal to 2; and also ignore the request if fVersionUsed is true.
Note on class version number:
Definition at line 737 of file TClassTable.cxx.
Referenced by TStreamerInfo::BuildCheck(), and ROOT::TGenericClassInfo::SetVersion().
| void ROOT::ResetErrno | ( | ) |
reset errno
Definition at line 534 of file DaemonUtils.cxx.
Referenced by ProofdExec(), and Recvn().
| void ROOT::RpdAuthCleanup | ( | const char * | sstr, |
| int | opt | ||
| ) |
Referenced by ProofdTerm().
| int ROOT::RpdCleanupAuthTab | ( | const char * | crypttoken | ) |
Referenced by SrvClupImpl().
| int ROOT::RpdGenRSAKeys | ( | int | ) |
Referenced by main(), and SrvAuthImpl().
| void ROOT::RpdInit | ( | EService | serv, |
| int | pid, | ||
| int | sproto, | ||
| unsigned int | opts, | ||
| int | rumsk, | ||
| int | sshp, | ||
| const char * | tmpd, | ||
| const char * | asrpp, | ||
| int | login = 0 |
||
| ) |
Referenced by main(), and SrvAuthImpl().
| int ROOT::RpdInitSession | ( | int | , |
| std::string & | , | ||
| int & | , | ||
| int & | , | ||
| int & | , | ||
| std::string & | |||
| ) |
Referenced by main(), and SrvAuthImpl().
| void ROOT::RpdSetErrorHandler | ( | ErrorHandler_t | Err, |
| ErrorHandler_t | Sys, | ||
| ErrorHandler_t | Fatal | ||
| ) |
Referenced by main(), and SrvAuthImpl().
| void ROOT::RpdSetMethInitFlag | ( | int | methinit | ) |
Referenced by SrvAuthImpl().
| Short_t ROOT::SetClassVersion | ( | RootClass * | ) |
| def ROOT.split | ( | str | ) |
helpers ------------------------------------------------------------------—
Definition at line 170 of file ROOT.py.
Referenced by _excepthook(), and ROOT::Internal::TTreeGeneratorBase.AddHeader().
Fill socket parameters.
Definition at line 326 of file DaemonUtils.cxx.
Referenced by SrvAuthImpl().
|
static |
Replace all accurances of given string with other string.
Definition at line 732 of file RConversionRuleParser.cxx.
Referenced by WriteSchemaList().
|
noexcept |
Swap two histograms.
Very efficient; swaps the fImpl pointers.
Definition at line 196 of file THist.h.
Referenced by RooNLLVar::applyWeightSquared(), Rgl::Mc::TMeshBuilder< DataSource, ValueType >::BuildMesh(), TEveShape::CheckAndFixBoxOrientationEv(), TEveShape::CheckAndFixBoxOrientationFv(), TGCocoa::CreatePixmapFromData(), ROOT::Quartz::DrawBox(), Rgl::DrawBoxFront(), Rgl::DrawBoxFrontTextured(), Rgl::DrawCylinder(), TGLLegoPainter::DrawLegoCylindrical(), TGLLegoPainter::DrawLegoSpherical(), Rgl::DrawTransparentBox(), Rgl::DrawTrapezoid(), Rgl::DrawTrapezoidTextured(), Rgl::DrawTrapezoidTextured2(), TGraphDelaunay::FileIt(), TMVA::SimulatedAnnealing::GenerateMaxTemperature(), HistFromImpl(), TGraphDelaunay::InterpolateOnPlane(), TUnfold::InvertMSparseSymmPos(), TGLH2PolyPainter::MakePolygonCCW(), TStreamerInfoActions::TConfiguredAction::operator=(), TGLPlotPainter::PlotSelected(), TFormLeafInfoReference::Swap(), TFormLeafInfo::Swap(), Rgl::Mc::TIsoMesh< Float_t >::Swap(), TFormLeafInfoNumerical::Swap(), TFormLeafInfoCollectionObject::Swap(), TFormLeafInfoClones::Swap(), TFormLeafInfoCollection::Swap(), TFormLeafInfoCollectionSize::Swap(), TFormLeafInfoMethod::Swap(), TFormLeafInfoMultiVarDim::Swap(), and TFormLeafInfoCast::Swap().
| void ROOT::ToHumanReadableSize | ( | value_type | bytes, |
| Bool_t | si, | ||
| Double_t * | coeff, | ||
| const char ** | units | ||
| ) |
Return the size expressed in 'human readeable' format.
| bytes | the size in bytes to be converted |
| si | whether to use the SI units or not. |
| coeff | return the size expressed in the new unit. |
| units | return a pointer to the string representation of the new unit |
Definition at line 38 of file StringConv.h.
Referenced by TTree::CopyEntries().
|
static |
Validate if the user specified rules are correct.
Definition at line 264 of file RConversionRuleParser.cxx.
Referenced by ParseRule().
|
static |
Definition at line 465 of file RConversionRuleParser.cxx.
Referenced by WriteReadRawRuleFunc(), and WriteReadRuleFunc().
| void ROOT::WriteReadRawRuleFunc | ( | SchemaRuleMap_t & | rule, |
| int | index, | ||
| std::string & | mappedName, | ||
| MembersTypeMap_t & | members, | ||
| std::ostream & | output | ||
| ) |
Write the conversion function for ReadRaw rule, the function name is being written to rule["funcname"].
Definition at line 683 of file RConversionRuleParser.cxx.
Referenced by ROOT::TMetaUtils::WriteClassInit().
| void ROOT::WriteReadRuleFunc | ( | SchemaRuleMap_t & | rule, |
| int | index, | ||
| std::string & | mappedName, | ||
| MembersTypeMap_t & | members, | ||
| std::ostream & | output | ||
| ) |
Write the conversion function for Read rule, the function name is being written to rule["funcname"].
Definition at line 630 of file RConversionRuleParser.cxx.
Referenced by ROOT::TMetaUtils::WriteClassInit().
| void ROOT::WriteSchemaList | ( | std::list< SchemaRuleMap_t > & | rules, |
| const std::string & | listName, | ||
| std::ostream & | output | ||
| ) |
Write schema rules.
Definition at line 754 of file RConversionRuleParser.cxx.
Referenced by ROOT::TMetaUtils::WriteClassInit().
| string ROOT.__author__ = 'Wim Lavrijsen (WLavrijsen@lbl.gov)' |
| list ROOT.__pseudo__all__ |
choose interactive-favored policies -----------------------------------——
data ________________________________________________________________________
| list ROOT._memPolicyAPI = [ 'SetMemoryPolicy', 'SetOwnership', 'kMemoryHeuristics', 'kMemoryStrict' ] |
| ROOT._orig_dhook = sys.displayhook |
call EndOfLineAction after each interactive command (to update display etc.)
Definition at line 285 of file ROOT.py.
Referenced by _displayhook().
| ROOT._orig_ehook = sys.excepthook |
Definition at line 162 of file ROOT.py.
Referenced by _excepthook().
| ROOT._orig_ihook = __builtin__.__import__ |
Definition at line 296 of file ROOT.py.
Referenced by _importhook().
| ROOT._root = cppyy._backend |
| list ROOT._sigPolicyAPI = [ 'SetSignalPolicy', 'kSignalFast', 'kSignalSafe' ] |
| ErrorHandler_t ROOT.gErr |
| ErrorHandler_t ROOT.gErrFatal |
Referenced by NetRecvRaw(), and Recvn().
| ErrorHandler_t ROOT.gErrSys |
| SchemaRuleClassMap_t ROOT::gReadRawRules |
Definition at line 45 of file RConversionRuleParser.cxx.
Referenced by ROOT::TMetaUtils::WriteClassInit().
| SchemaRuleClassMap_t ROOT::gReadRules |
Definition at line 44 of file RConversionRuleParser.cxx.
Referenced by ROOT::TMetaUtils::WriteClassInit().
|
static |
Definition at line 321 of file DaemonUtils.cxx.
Referenced by NetGetSockFd().
| string ROOT.message = 'class \S* already in TClassTable$' |
Definition at line 94 of file ROOT.py.
Referenced by TGLTH3Composition.GetObjectInfo(), TGLTH3CompositionPainter.GetPlotInfo(), TXMLParser.OnValidateError(), TXMLParser.OnValidateWarning(), TGeoChecker.OpProgress(), TTreeViewer.ProcessMessage(), RooArgSet.readFromStream(), TMVA::MsgLogger.Send(), RScanner.ShowError(), RScanner.ShowInfo(), RScanner.ShowWarning(), TUnixSystem.StackTrace(), TGeoCompositeShape.TGeoCompositeShape(), and RScanner.TreatRecordDeclOrTypedefNameDecl().
| tuple ROOT.PyConfig = _Configuration() |