LDMX Software
ldmx::SimCalorimeterHit::Contrib Class Reference

Information about a contribution to the hit in the associated cell. More...

#include <SimCalorimeterHit.h>

Public Attributes

int incident_id_ {-1}
 trackID of incident particle that is an ancestor of the contributor
 
int track_id_ {-1}
 track ID of this contributor
 
int pdg_code_ {0}
 PDG ID of this contributor.
 
float edep_ {0}
 Energy depostied by this contributor.
 
float time_ {0}
 Time this contributor made the hit (global Geant4 time)
 
int origin_id_ {-1}
 Saves ID of electron incident particle came from.
 

Detailed Description

Information about a contribution to the hit in the associated cell.

Definition at line 44 of file SimCalorimeterHit.h.

Member Data Documentation

◆ edep_

float ldmx::SimCalorimeterHit::Contrib::edep_ {0}

Energy depostied by this contributor.

Definition at line 65 of file SimCalorimeterHit.h.

65{0};

Referenced by ldmx::SimCalorimeterHit::getContrib(), and hcal::HcalDigiProducer::produce().

◆ incident_id_

int ldmx::SimCalorimeterHit::Contrib::incident_id_ {-1}

trackID of incident particle that is an ancestor of the contributor

The incident ancestor is found in TrackMap::findIncident where the ancestry is looped upwards until a particle is found that matches the criteria. (1) particle will be saved to output file AND (2) particle originates in a region outside the CalorimeterRegion If no particle is found matching these criteria, the primary particle that is this trackID's ancestor is chosen.

Definition at line 56 of file SimCalorimeterHit.h.

56{-1};

Referenced by ldmx::SimCalorimeterHit::getContrib().

◆ origin_id_

int ldmx::SimCalorimeterHit::Contrib::origin_id_ {-1}

Saves ID of electron incident particle came from.

Definition at line 71 of file SimCalorimeterHit.h.

71{-1};

Referenced by ldmx::SimCalorimeterHit::getContrib().

◆ pdg_code_

int ldmx::SimCalorimeterHit::Contrib::pdg_code_ {0}

PDG ID of this contributor.

Definition at line 62 of file SimCalorimeterHit.h.

62{0};

Referenced by ldmx::SimCalorimeterHit::findContribIndex(), and ldmx::SimCalorimeterHit::getContrib().

◆ time_

float ldmx::SimCalorimeterHit::Contrib::time_ {0}

Time this contributor made the hit (global Geant4 time)

Definition at line 68 of file SimCalorimeterHit.h.

68{0};

Referenced by ldmx::SimCalorimeterHit::getContrib(), and hcal::HcalDigiProducer::produce().

◆ track_id_

int ldmx::SimCalorimeterHit::Contrib::track_id_ {-1}

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