Logo ROOT  
Reference Guide
RJittedCustomColumn.cxx
Go to the documentation of this file.
1// Author: Enrico Guiraud, Danilo Piparo CERN 09/2018
2
3/*************************************************************************
4 * Copyright (C) 1995-2018, 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#include <TError.h> // R__ASSERT
13
14using namespace ROOT::Detail::RDF;
15
16void RJittedCustomColumn::InitSlot(TTreeReader *r, unsigned int slot)
17{
19 fConcreteCustomColumn->InitSlot(r, slot);
20}
21
22void *RJittedCustomColumn::GetValuePtr(unsigned int slot)
23{
25 return fConcreteCustomColumn->GetValuePtr(slot);
26}
27
28const std::type_info &RJittedCustomColumn::GetTypeId() const
29{
31 return fConcreteCustomColumn->GetTypeId();
32}
33
34void RJittedCustomColumn::Update(unsigned int slot, Long64_t entry)
35{
37 fConcreteCustomColumn->Update(slot, entry);
38}
39
41{
43 fConcreteCustomColumn->ClearValueReaders(slot);
44}
ROOT::R::TRInterface & r
Definition: Object.C:4
long long Long64_t
Definition: RtypesCore.h:71
#define R__ASSERT(e)
Definition: TError.h:96
void ClearValueReaders(unsigned int slot) final
void * GetValuePtr(unsigned int slot) final
std::unique_ptr< RCustomColumnBase > fConcreteCustomColumn
void Update(unsigned int slot, Long64_t entry) final
const std::type_info & GetTypeId() const final
A simple, robust and fast interface to read values from ROOT columnar datasets such as TTree,...
Definition: TTreeReader.h:43