EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
eicrecon::PhotoMultiplierHitDigi Class Reference

#include <PhotoMultiplierHitDigi.h>

Inheritance diagram for eicrecon::PhotoMultiplierHitDigi:
Inheritance graph
[legend]
Collaboration diagram for eicrecon::PhotoMultiplierHitDigi:
Collaboration graph
[legend]

Classes

struct  HitData
 

Public Types

using CellIDType = decltype(edm4hep::SimTrackerHitData::cellID)
 
using TimeType = decltype(edm4hep::SimTrackerHitData::time)
 
- Public Types inherited from eicrecon::WithPodConfig< PhotoMultiplierHitDigiConfig >
using ConfigType = PhotoMultiplierHitDigiConfig
 

Public Member Functions

 PhotoMultiplierHitDigi (std::string_view name)
 
void init () final
 
void process (const Input &, const Output &) const final
 
void SetVisitRngCellIDs (std::function< void(std::function< void(CellIDType)>, float)> visitor)
 
void SetPixelGapMask (std::function< bool(CellIDType, dd4hep::Position)> mask)
 
- Public Member Functions inherited from eicrecon::WithPodConfig< PhotoMultiplierHitDigiConfig >
PhotoMultiplierHitDigiConfiggetConfig ()
 Get a configuration to be changed.
 
PhotoMultiplierHitDigiConfigapplyConfig (PhotoMultiplierHitDigiConfig cfg)
 Sets a configuration (config is properly copyible)
 

Protected Attributes

std::function< void(std::function< void(CellIDType)>, float)> m_VisitRngCellIDs
 
std::function< bool(CellIDType, dd4hep::Position)> m_PixelGapMask
 
- Protected Attributes inherited from eicrecon::WithPodConfig< PhotoMultiplierHitDigiConfig >
PhotoMultiplierHitDigiConfig m_cfg
 

Member Typedef Documentation

◆ CellIDType

using eicrecon::PhotoMultiplierHitDigi::CellIDType = decltype(edm4hep::SimTrackerHitData::cellID)

◆ TimeType

using eicrecon::PhotoMultiplierHitDigi::TimeType = decltype(edm4hep::SimTrackerHitData::time)

Constructor & Destructor Documentation

◆ PhotoMultiplierHitDigi()

eicrecon::PhotoMultiplierHitDigi::PhotoMultiplierHitDigi ( std::string_view  name)
inline

Member Function Documentation

◆ init()

void eicrecon::PhotoMultiplierHitDigi::init ( )
final

◆ process()

void eicrecon::PhotoMultiplierHitDigi::process ( const Input &  ,
const Output &   
) const
final

◆ SetPixelGapMask()

void eicrecon::PhotoMultiplierHitDigi::SetPixelGapMask ( std::function< bool(CellIDType, dd4hep::Position)>  mask)
inline

◆ SetVisitRngCellIDs()

void eicrecon::PhotoMultiplierHitDigi::SetVisitRngCellIDs ( std::function< void(std::function< void(CellIDType)>, float)>  visitor)
inline

Member Data Documentation

◆ m_PixelGapMask

std::function<bool(CellIDType, dd4hep::Position)> eicrecon::PhotoMultiplierHitDigi::m_PixelGapMask
protected
Initial value:
=
[](CellIDType , dd4hep::Position ) {
throw std::runtime_error("pixel gap cuts enabled, but none defined");
return false;
}
decltype(edm4hep::SimTrackerHitData::cellID) CellIDType
Definition PhotoMultiplierHitDigi.h:81

◆ m_VisitRngCellIDs

std::function<void(std::function<void(CellIDType)>, float)> eicrecon::PhotoMultiplierHitDigi::m_VisitRngCellIDs
protected
Initial value:
=
[](std::function<void(CellIDType)> ,
float ) { }

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