Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RFieldProvider::RDrawVisitor Class Reference

Definition at line 48 of file RFieldProvider.hxx.

Public Member Functions

 RDrawVisitor (std::shared_ptr< ROOT::Experimental::RNTupleReader > ntplReader)
 
TH1MoveHist ()
 
void VisitBoolField (const RField< bool > &field) final
 
void VisitCardinalityField (const ROOT::Experimental::RCardinalityField &field) final
 
void VisitCharField (const RField< char > &field) final
 
void VisitDoubleField (const RField< double > &field) final
 
void VisitField (const ROOT::Experimental::RFieldBase &) final
 
void VisitFloatField (const RField< float > &field) final
 
void VisitInt16Field (const RIntegralField< std::int16_t > &field) final
 
void VisitInt32Field (const RIntegralField< std::int32_t > &field) final
 
void VisitInt64Field (const RIntegralField< std::int64_t > &field) final
 
void VisitInt8Field (const RIntegralField< std::int8_t > &field) final
 
void VisitStringField (const RField< std::string > &field) final
 
void VisitUInt16Field (const RIntegralField< std::uint16_t > &field) final
 
void VisitUInt32Field (const RIntegralField< std::uint32_t > &field) final
 
void VisitUInt64Field (const RIntegralField< std::uint64_t > &field) final
 
void VisitUInt8Field (const RIntegralField< std::uint8_t > &field) final
 
- Public Member Functions inherited from ROOT::Experimental::Detail::RFieldVisitor
virtual void VisitArrayAsRVecField (const RArrayAsRVecField &field)
 
virtual void VisitArrayField (const RArrayField &field)
 
virtual void VisitAtomicField (const RAtomicField &field)
 
virtual void VisitBitsetField (const RBitsetField &field)
 
virtual void VisitBoolField (const RField< bool > &field)
 
virtual void VisitByteField (const RField< std::byte > &field)
 
virtual void VisitCharField (const RField< char > &field)
 
virtual void VisitClassField (const RClassField &field)
 
virtual void VisitDoubleField (const RField< double > &field)
 
virtual void VisitEnumField (const REnumField &field)
 
virtual void VisitFieldZero (const RFieldZero &field)
 
virtual void VisitFloatField (const RField< float > &field)
 
virtual void VisitInt16Field (const RIntegralField< std::int16_t > &field)
 
virtual void VisitInt32Field (const RIntegralField< std::int32_t > &field)
 
virtual void VisitInt64Field (const RIntegralField< std::int64_t > &field)
 
virtual void VisitInt8Field (const RIntegralField< std::int8_t > &field)
 
virtual void VisitNullableField (const RNullableField &field)
 
virtual void VisitProxiedCollectionField (const RProxiedCollectionField &field)
 
virtual void VisitRecordField (const RRecordField &field)
 
virtual void VisitRVecField (const RRVecField &field)
 
virtual void VisitStreamerField (const RStreamerField &field)
 
virtual void VisitStringField (const RField< std::string > &field)
 
virtual void VisitTObjectField (const RField< TObject > &field)
 
virtual void VisitUInt16Field (const RIntegralField< std::uint16_t > &field)
 
virtual void VisitUInt32Field (const RIntegralField< std::uint32_t > &field)
 
virtual void VisitUInt64Field (const RIntegralField< std::uint64_t > &field)
 
virtual void VisitUInt8Field (const RIntegralField< std::uint8_t > &field)
 
virtual void VisitVectorBoolField (const RField< std::vector< bool > > &field)
 
virtual void VisitVectorField (const RVectorField &field)
 

Private Member Functions

template<typename T >
void FillHistogram (const RField< T > &field)
 
template<typename T >
void FillHistogram (const RIntegralField< T > &field)
 
template<typename T >
void FillHistogramImpl (const ROOT::Experimental::RFieldBase &field, ROOT::Experimental::RNTupleView< T > &view)
 
void FillStringHistogram (const RField< std::string > &field)
 
void TestHistBuffer ()
 Test collected entries if it looks like integer values and one can use better binning.
 

Private Attributes

std::unique_ptr< TH1fHist
 
std::shared_ptr< ROOT::Experimental::RNTupleReaderfNtplReader
 
Inheritance diagram for RFieldProvider::RDrawVisitor:
[legend]

Constructor & Destructor Documentation

◆ RDrawVisitor()

RFieldProvider::RDrawVisitor::RDrawVisitor ( std::shared_ptr< ROOT::Experimental::RNTupleReader ntplReader)
inlineexplicit

Definition at line 158 of file RFieldProvider.hxx.

Member Function Documentation

◆ FillHistogram() [1/2]

template<typename T >
void RFieldProvider::RDrawVisitor::FillHistogram ( const RField< T > &  field)
inlineprivate

Definition at line 118 of file RFieldProvider.hxx.

◆ FillHistogram() [2/2]

template<typename T >
void RFieldProvider::RDrawVisitor::FillHistogram ( const RIntegralField< T > &  field)
inlineprivate

Definition at line 111 of file RFieldProvider.hxx.

◆ FillHistogramImpl()

template<typename T >
void RFieldProvider::RDrawVisitor::FillHistogramImpl ( const ROOT::Experimental::RFieldBase field,
ROOT::Experimental::RNTupleView< T > &  view 
)
inlineprivate

Definition at line 86 of file RFieldProvider.hxx.

◆ FillStringHistogram()

void RFieldProvider::RDrawVisitor::FillStringHistogram ( const RField< std::string > &  field)
inlineprivate

Definition at line 124 of file RFieldProvider.hxx.

◆ MoveHist()

TH1 * RFieldProvider::RDrawVisitor::MoveHist ( )
inline

Definition at line 160 of file RFieldProvider.hxx.

◆ TestHistBuffer()

void RFieldProvider::RDrawVisitor::TestHistBuffer ( )
inlineprivate

Test collected entries if it looks like integer values and one can use better binning.

Definition at line 54 of file RFieldProvider.hxx.

◆ VisitBoolField()

void RFieldProvider::RDrawVisitor::VisitBoolField ( const RField< bool > &  field)
inlinefinal

Definition at line 165 of file RFieldProvider.hxx.

◆ VisitCardinalityField()

void RFieldProvider::RDrawVisitor::VisitCardinalityField ( const ROOT::Experimental::RCardinalityField field)
inlinefinalvirtual

Reimplemented from ROOT::Experimental::Detail::RFieldVisitor.

Definition at line 178 of file RFieldProvider.hxx.

◆ VisitCharField()

void RFieldProvider::RDrawVisitor::VisitCharField ( const RField< char > &  field)
inlinefinal

Definition at line 168 of file RFieldProvider.hxx.

◆ VisitDoubleField()

void RFieldProvider::RDrawVisitor::VisitDoubleField ( const RField< double > &  field)
inlinefinal

Definition at line 167 of file RFieldProvider.hxx.

◆ VisitField()

void RFieldProvider::RDrawVisitor::VisitField ( const ROOT::Experimental::RFieldBase )
inlinefinalvirtual

Implements ROOT::Experimental::Detail::RFieldVisitor.

Definition at line 164 of file RFieldProvider.hxx.

◆ VisitFloatField()

void RFieldProvider::RDrawVisitor::VisitFloatField ( const RField< float > &  field)
inlinefinal

Definition at line 166 of file RFieldProvider.hxx.

◆ VisitInt16Field()

void RFieldProvider::RDrawVisitor::VisitInt16Field ( const RIntegralField< std::int16_t > &  field)
inlinefinal

Definition at line 170 of file RFieldProvider.hxx.

◆ VisitInt32Field()

void RFieldProvider::RDrawVisitor::VisitInt32Field ( const RIntegralField< std::int32_t > &  field)
inlinefinal

Definition at line 171 of file RFieldProvider.hxx.

◆ VisitInt64Field()

void RFieldProvider::RDrawVisitor::VisitInt64Field ( const RIntegralField< std::int64_t > &  field)
inlinefinal

Definition at line 172 of file RFieldProvider.hxx.

◆ VisitInt8Field()

void RFieldProvider::RDrawVisitor::VisitInt8Field ( const RIntegralField< std::int8_t > &  field)
inlinefinal

Definition at line 169 of file RFieldProvider.hxx.

◆ VisitStringField()

void RFieldProvider::RDrawVisitor::VisitStringField ( const RField< std::string > &  field)
inlinefinal

Definition at line 173 of file RFieldProvider.hxx.

◆ VisitUInt16Field()

void RFieldProvider::RDrawVisitor::VisitUInt16Field ( const RIntegralField< std::uint16_t > &  field)
inlinefinal

Definition at line 174 of file RFieldProvider.hxx.

◆ VisitUInt32Field()

void RFieldProvider::RDrawVisitor::VisitUInt32Field ( const RIntegralField< std::uint32_t > &  field)
inlinefinal

Definition at line 175 of file RFieldProvider.hxx.

◆ VisitUInt64Field()

void RFieldProvider::RDrawVisitor::VisitUInt64Field ( const RIntegralField< std::uint64_t > &  field)
inlinefinal

Definition at line 176 of file RFieldProvider.hxx.

◆ VisitUInt8Field()

void RFieldProvider::RDrawVisitor::VisitUInt8Field ( const RIntegralField< std::uint8_t > &  field)
inlinefinal

Definition at line 177 of file RFieldProvider.hxx.

Member Data Documentation

◆ fHist

std::unique_ptr<TH1> RFieldProvider::RDrawVisitor::fHist
private

Definition at line 51 of file RFieldProvider.hxx.

◆ fNtplReader

std::shared_ptr<ROOT::Experimental::RNTupleReader> RFieldProvider::RDrawVisitor::fNtplReader
private

Definition at line 50 of file RFieldProvider.hxx.

  • gui/browsable/src/RFieldProvider.hxx