DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::PointsetCreator Struct Reference

Fill a 3D pointset from a hit collection. More...

#include <HitActors.h>

Inheritance diagram for dd4hep::PointsetCreator:
dd4hep::DDEveHitActor

Public Member Functions

 PointsetCreator (const std::string &collection, size_t length)
 Standard initializing constructor. More...
 
 PointsetCreator (const std::string &collection, size_t length, const DisplayConfiguration::Config &cfg)
 Standard initializing constructor. More...
 
virtual ~PointsetCreator ()
 Standard destructor. More...
 
TEveElement * element () const
 Return eve element. More...
 
virtual void operator() (const DDEveHit &hit)
 Action callback of this functor: More...
 
- Public Member Functions inherited from dd4hep::DDEveHitActor
virtual ~DDEveHitActor ()
 
virtual void setSize (size_t)
 

Public Attributes

TEvePointSet * pointset {nullptr}
 
float threshold {0}
 
float deposit {0}
 
int count {0}
 

Detailed Description

Fill a 3D pointset from a hit collection.

Definition at line 49 of file HitActors.h.

Constructor & Destructor Documentation

◆ PointsetCreator() [1/2]

PointsetCreator::PointsetCreator ( const std::string &  collection,
size_t  length 
)

Standard initializing constructor.

Definition at line 43 of file HitActors.cpp.

◆ PointsetCreator() [2/2]

PointsetCreator::PointsetCreator ( const std::string &  collection,
size_t  length,
const DisplayConfiguration::Config cfg 
)

Standard initializing constructor.

Definition at line 50 of file HitActors.cpp.

◆ ~PointsetCreator()

PointsetCreator::~PointsetCreator ( )
virtual

Standard destructor.

Definition at line 65 of file HitActors.cpp.

Member Function Documentation

◆ element()

TEveElement * PointsetCreator::element ( ) const

Return eve element.

Definition at line 60 of file HitActors.cpp.

◆ operator()()

void PointsetCreator::operator() ( const DDEveHit hit)
virtual

Action callback of this functor:

Implements dd4hep::DDEveHitActor.

Definition at line 76 of file HitActors.cpp.

Member Data Documentation

◆ count

int dd4hep::PointsetCreator::count {0}

Definition at line 53 of file HitActors.h.

◆ deposit

float dd4hep::PointsetCreator::deposit {0}

Definition at line 52 of file HitActors.h.

◆ pointset

TEvePointSet* dd4hep::PointsetCreator::pointset {nullptr}

Definition at line 50 of file HitActors.h.

◆ threshold

float dd4hep::PointsetCreator::threshold {0}

Definition at line 51 of file HitActors.h.


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