k4SimGeant4
Loading...
Searching...
No Matches
SimG4FastSimHistograms Class Reference

Fast simulation histograms algorithm. More...

#include <SimG4Fast/src/components/SimG4FastSimHistograms.h>

Inheritance diagram for SimG4FastSimHistograms:
Collaboration diagram for SimG4FastSimHistograms:

Public Member Functions

 SimG4FastSimHistograms (const std::string &, ISvcLocator *)
 
virtual ~SimG4FastSimHistograms ()
 
virtual StatusCode initialize () final
 Initialize.
 
virtual StatusCode execute (const EventContext &) const final
 Fills the histograms.
 
virtual StatusCode finalize () final
 Finalize.
 

Private Attributes

DataHandle< edm4hep::RecoMCParticleLinkCollection > m_particlesMCparticles
 Handle for the EDM particles and MC particles associations to be read.
 
SmartIF< ITHistSvc > m_histSvc
 Pointer to the interface of histogram service.
 
TH1F * m_p {nullptr}
 
TH1F * m_eta {nullptr}
 
TH1F * m_diffP {nullptr}
 
TH1F * m_pdg {nullptr}
 

Detailed Description

Fast simulation histograms algorithm.

Fills validation histograms. It takes ParticleCollection ('smearedParticles') as the input.

Author
Anna Zaborowska

Constructor & Destructor Documentation

◆ SimG4FastSimHistograms()

SimG4FastSimHistograms::SimG4FastSimHistograms ( const std::string & aName,
ISvcLocator * aSvcLoc )
explicit

◆ ~SimG4FastSimHistograms()

SimG4FastSimHistograms::~SimG4FastSimHistograms ( )
virtual

Member Function Documentation

◆ execute()

StatusCode SimG4FastSimHistograms::execute ( const EventContext & ) const
finalvirtual

Fills the histograms.

Returns
status code

◆ finalize()

StatusCode SimG4FastSimHistograms::finalize ( )
finalvirtual

Finalize.

Returns
status code

◆ initialize()

StatusCode SimG4FastSimHistograms::initialize ( )
finalvirtual

Initialize.

Returns
status code

Member Data Documentation

◆ m_diffP

TH1F* SimG4FastSimHistograms::m_diffP {nullptr}
private

◆ m_eta

TH1F* SimG4FastSimHistograms::m_eta {nullptr}
private

◆ m_histSvc

SmartIF<ITHistSvc> SimG4FastSimHistograms::m_histSvc
private

Pointer to the interface of histogram service.

◆ m_p

TH1F* SimG4FastSimHistograms::m_p {nullptr}
private

◆ m_particlesMCparticles

DataHandle<edm4hep::RecoMCParticleLinkCollection> SimG4FastSimHistograms::m_particlesMCparticles
mutableprivate
Initial value:
{"ParticlesMCparticles",
Gaudi::DataHandle::Reader, this}

Handle for the EDM particles and MC particles associations to be read.

◆ m_pdg

TH1F* SimG4FastSimHistograms::m_pdg {nullptr}
private

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