ATLAS Offline Software
Loading...
Searching...
No Matches
CaloCellContainerBuilder Class Reference

Event-owned holder for the FastCaloSim CaloCellContainer. More...

#include <CaloCellContainerBuilder.h>

Inheritance diagram for CaloCellContainerBuilder:
Collaboration diagram for CaloCellContainerBuilder:

Public Member Functions

 CaloCellContainerBuilder ()

Public Attributes

std::unique_ptr< CaloCellContainercontainer

Detailed Description

Event-owned holder for the FastCaloSim CaloCellContainer.

CaloCellContainer does not derive from HitsVectorBase, so this lightweight holder lets the Geant4 event user info carry it through HitCollectionMap. StoreGate ownership is taken in CaloCellContainerSDTool::Gather.

Definition at line 20 of file CaloCellContainerBuilder.h.

Constructor & Destructor Documentation

◆ CaloCellContainerBuilder()

CaloCellContainerBuilder::CaloCellContainerBuilder ( )
inline

Definition at line 23 of file CaloCellContainerBuilder.h.

24 : container(std::make_unique<CaloCellContainer>(SG::VIEW_ELEMENTS))
25 {}
std::unique_ptr< CaloCellContainer > container
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts

Member Data Documentation

◆ container

std::unique_ptr<CaloCellContainer> CaloCellContainerBuilder::container

Definition at line 27 of file CaloCellContainerBuilder.h.


The documentation for this class was generated from the following file: