Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
DataKey Class Reference

To use as a key type for RooFit data maps and containers.

A RooFit::DataKey can be constructed with no runtime overhead from a RooAbsArg (or any templated RooFit proxy for convenience). Compared to using the RooAbsArg pointer directly, this has the advantage that one can easily change the way the key is constructed from the object, just by changing the implementation of the DataKey. For example, it is trivial to move from using the RooAbsArg pointer to using the unique name pointer retrieved by RooAbsArg::namePtr().

#include <RooFit/EvalContext.h>


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