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

Fill a 3D box set from a hit collection. More...

#include <HitActors.h>

Inheritance diagram for dd4hep::BoxsetCreator:
dd4hep::DDEveHitActor dd4hep::TowersetCreator

Public Member Functions

 BoxsetCreator (const std::string &collection, size_t length)
 Standard initializing constructor. More...
 
 BoxsetCreator (const std::string &collection, size_t length, const DisplayConfiguration::Config &cfg)
 Standard initializing constructor. More...
 
virtual ~BoxsetCreator ()
 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

TEveBoxSet * boxset {0}
 
float emax = 1e12
 
float towerH = 1e12
 
float deposit = 0e0
 
int count {0}
 

Detailed Description

Fill a 3D box set from a hit collection.

Definition at line 72 of file HitActors.h.

Constructor & Destructor Documentation

◆ BoxsetCreator() [1/2]

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

Standard initializing constructor.

Definition at line 98 of file HitActors.cpp.

◆ BoxsetCreator() [2/2]

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

Standard initializing constructor.

Definition at line 84 of file HitActors.cpp.

◆ ~BoxsetCreator()

BoxsetCreator::~BoxsetCreator ( )
virtual

Standard destructor.

Definition at line 108 of file HitActors.cpp.

Member Function Documentation

◆ element()

TEveElement * BoxsetCreator::element ( ) const

Return eve element.

Definition at line 119 of file HitActors.cpp.

◆ operator()()

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

Action callback of this functor:

Implements dd4hep::DDEveHitActor.

Reimplemented in dd4hep::TowersetCreator.

Definition at line 124 of file HitActors.cpp.

Member Data Documentation

◆ boxset

TEveBoxSet* dd4hep::BoxsetCreator::boxset {0}

Definition at line 73 of file HitActors.h.

◆ count

int dd4hep::BoxsetCreator::count {0}

Definition at line 75 of file HitActors.h.

◆ deposit

float dd4hep::BoxsetCreator::deposit = 0e0

Definition at line 74 of file HitActors.h.

◆ emax

float dd4hep::BoxsetCreator::emax = 1e12

Definition at line 74 of file HitActors.h.

◆ towerH

float dd4hep::BoxsetCreator::towerH = 1e12

Definition at line 74 of file HitActors.h.


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