Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooFit::NodeInfo Struct Reference

A struct used by the Evaluator to store information on the RooAbsArgs in the computation graph.

Definition at line 97 of file Evaluator.cxx.

Public Member Functions

 ~NodeInfo ()
 
bool computeInGPU () const
 
void decrementRemainingClients ()
 Check the servers of a node that has been computed and release its resources if they are no longer needed.
 
bool isScalar () const
 

Public Attributes

RooAbsArgabsArg = nullptr
 
std::shared_ptr< RooBatchCompute::AbsBufferbuffer
 
std::vector< NodeInfo * > clientInfos
 
bool copyAfterEvaluation = false
 
RooBatchCompute::CudaInterface::CudaEventevent = nullptr
 
bool fromArrayInput = false
 
bool hasLogged = false
 
std::size_t iNode = 0
 
bool isCategory = false
 
bool isDirty = true
 
bool isVariable = false
 
std::size_t lastSetValCount = std::numeric_limits<std::size_t>::max()
 
RooAbsArg::OperMode originalOperMode
 
std::size_t outputSize = 1
 
int remClients = 0
 
int remServers = 0
 
double scalarBuffer = 0.0
 
std::vector< NodeInfo * > serverInfos
 
RooBatchCompute::CudaInterface::CudaStreamstream = nullptr
 

Constructor & Destructor Documentation

◆ ~NodeInfo()

RooFit::NodeInfo::~NodeInfo ( )
inline

Definition at line 134 of file Evaluator.cxx.

Member Function Documentation

◆ computeInGPU()

bool RooFit::NodeInfo::computeInGPU ( ) const
inline

Definition at line 101 of file Evaluator.cxx.

◆ decrementRemainingClients()

void RooFit::NodeInfo::decrementRemainingClients ( )
inline

Check the servers of a node that has been computed and release its resources if they are no longer needed.

Definition at line 127 of file Evaluator.cxx.

◆ isScalar()

bool RooFit::NodeInfo::isScalar ( ) const
inline

Definition at line 99 of file Evaluator.cxx.

Member Data Documentation

◆ absArg

RooAbsArg* RooFit::NodeInfo::absArg = nullptr

Definition at line 103 of file Evaluator.cxx.

◆ buffer

std::shared_ptr<RooBatchCompute::AbsBuffer> RooFit::NodeInfo::buffer

Definition at line 106 of file Evaluator.cxx.

◆ clientInfos

std::vector<NodeInfo *> RooFit::NodeInfo::clientInfos

Definition at line 120 of file Evaluator.cxx.

◆ copyAfterEvaluation

bool RooFit::NodeInfo::copyAfterEvaluation = false

Definition at line 110 of file Evaluator.cxx.

◆ event

RooBatchCompute::CudaInterface::CudaEvent* RooFit::NodeInfo::event = nullptr

Definition at line 122 of file Evaluator.cxx.

◆ fromArrayInput

bool RooFit::NodeInfo::fromArrayInput = false

Definition at line 111 of file Evaluator.cxx.

◆ hasLogged

bool RooFit::NodeInfo::hasLogged = false

Definition at line 115 of file Evaluator.cxx.

◆ iNode

std::size_t RooFit::NodeInfo::iNode = 0

Definition at line 107 of file Evaluator.cxx.

◆ isCategory

bool RooFit::NodeInfo::isCategory = false

Definition at line 114 of file Evaluator.cxx.

◆ isDirty

bool RooFit::NodeInfo::isDirty = true

Definition at line 113 of file Evaluator.cxx.

◆ isVariable

bool RooFit::NodeInfo::isVariable = false

Definition at line 112 of file Evaluator.cxx.

◆ lastSetValCount

std::size_t RooFit::NodeInfo::lastSetValCount = std::numeric_limits<std::size_t>::max()

Definition at line 117 of file Evaluator.cxx.

◆ originalOperMode

RooAbsArg::OperMode RooFit::NodeInfo::originalOperMode

Definition at line 104 of file Evaluator.cxx.

◆ outputSize

std::size_t RooFit::NodeInfo::outputSize = 1

Definition at line 116 of file Evaluator.cxx.

◆ remClients

int RooFit::NodeInfo::remClients = 0

Definition at line 108 of file Evaluator.cxx.

◆ remServers

int RooFit::NodeInfo::remServers = 0

Definition at line 109 of file Evaluator.cxx.

◆ scalarBuffer

double RooFit::NodeInfo::scalarBuffer = 0.0

Definition at line 118 of file Evaluator.cxx.

◆ serverInfos

std::vector<NodeInfo *> RooFit::NodeInfo::serverInfos

Definition at line 119 of file Evaluator.cxx.

◆ stream

RooBatchCompute::CudaInterface::CudaStream* RooFit::NodeInfo::stream = nullptr

Definition at line 123 of file Evaluator.cxx.

Collaboration diagram for RooFit::NodeInfo:
[legend]

The documentation for this struct was generated from the following file: