Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RJittedVariation.cxx
Go to the documentation of this file.
1// Author: Enrico Guiraud CERN 02/2021
2
3/*************************************************************************
4 * Copyright (C) 1995-2021, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10
12
13#include <cassert>
14
15using namespace ROOT::Internal::RDF;
16
18
19void RJittedVariation::InitSlot(TTreeReader *r, unsigned int slot)
20{
21 assert(fConcreteVariation != nullptr);
22 fConcreteVariation->InitSlot(r, slot);
23}
24
25void *RJittedVariation::GetValuePtr(unsigned int slot, const std::string &column, const std::string &variation)
26{
27 assert(fConcreteVariation != nullptr);
28 return fConcreteVariation->GetValuePtr(slot, column, variation);
29}
30
31const std::type_info &RJittedVariation::GetTypeId() const
32{
33 assert(fConcreteVariation != nullptr);
34 return fConcreteVariation->GetTypeId();
35}
36
37void RJittedVariation::Update(unsigned int slot, Long64_t entry)
38{
39 assert(fConcreteVariation != nullptr);
40 fConcreteVariation->Update(slot, entry);
41}
42
43void RJittedVariation::FinalizeSlot(unsigned int slot)
44{
45 assert(fConcreteVariation != nullptr);
46 fConcreteVariation->FinalizeSlot(slot);
47}
long long Long64_t
Definition RtypesCore.h:69
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
void InitSlot(TTreeReader *r, unsigned int slot) final
const std::type_info & GetTypeId() const final
void FinalizeSlot(unsigned int slot) final
Clean-up operations to be performed at the end of a task.
void * GetValuePtr(unsigned int slot, const std::string &column, const std::string &variation) final
Return the (type-erased) address of the value of one variation of one column (can be safely cast back...
void Update(unsigned int slot, Long64_t entry) final
Update the value at the address returned by GetValuePtr with the content corresponding to the given e...
std::unique_ptr< RVariationBase > fConcreteVariation
A simple, robust and fast interface to read values from ROOT columnar datasets such as TTree,...
Definition TTreeReader.h:46