DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Types | Public Member Functions | Public Attributes | List of all members
dd4hep::sim::Geant4Calorimeter::Hit Class Reference

DDG4 calorimeter hit class used by the generic DDG4 calorimeter sensitive detector. More...

#include <Geant4Data.h>

Inheritance diagram for dd4hep::sim::Geant4Calorimeter::Hit:
dd4hep::sim::Geant4HitData

Public Types

typedef Geant4HitData base_t
 
- Public Types inherited from dd4hep::sim::Geant4HitData
enum  HitFlags {
  HIT_KILLED_TRACK = 1<<0, HIT_SECONDARY_TRACK = 1<<1, HIT_NEW_TRACK = 1<<2, HIT_STARTED_INSIDE = 1<<10,
  HIT_STARTED_SURFACE = 1<<11, HIT_STARTED_OUTSIDE = 1<<12, HIT_ENDED_INSIDE = 1<<13, HIT_ENDED_SURFACE = 1<<14,
  HIT_ENDED_OUTSIDE = 1<<15
}
 
typedef MonteCarloContrib Contribution
 
typedef std::vector< MonteCarloContribContributions
 

Public Member Functions

 Hit ()
 Default constructor (for ROOT) More...
 
 Hit (Hit &&c)=delete
 Move constructor. More...
 
 Hit (const Hit &c)=delete
 copy constructor More...
 
 Hit (const Position &cell_pos)
 Standard constructor. More...
 
virtual ~Hit ()
 Default destructor. More...
 
Hitoperator= (Hit &&c)=delete
 Move assignment operator. More...
 
Hitoperator= (const Hit &c)=delete
 Copy assignment operator. More...
 
- Public Member Functions inherited from dd4hep::sim::Geant4HitData
 Geant4HitData ()
 Default constructor. More...
 
virtual ~Geant4HitData ()
 Default destructor. More...
 

Public Attributes

Position position { }
 Hit position. More...
 
Contributions truth { }
 Hit contributions by individual particles. More...
 
double energyDeposit { 0e0 }
 Total energy deposit. More...
 
- Public Attributes inherited from dd4hep::sim::Geant4HitData
long long int cellID = 0
 cellID More...
 
long flag = 0
 User flag to classify hits. More...
 
long g4ID = -1
 Original Geant 4 track identifier of the creating track (debugging) More...
 
std::unique_ptr< DataExtensionextension
 User data extension if required. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from dd4hep::sim::Geant4HitData
static Contribution extractContribution (const G4Step *step)
 Extract the MC contribution for a given hit from the step information. More...
 
static Contribution extractContribution (const G4Step *step, bool ApplyBirksLaw)
 Extract the MC contribution for a given hit from the step information with BirksLaw option. More...
 
static Contribution extractContribution (const Geant4FastSimSpot *spot)
 Extract the MC contribution for a given hit from the GFlash/FastSim spot information. More...
 

Detailed Description

DDG4 calorimeter hit class used by the generic DDG4 calorimeter sensitive detector.

Geant4 tracker hit class. Calorimeter hits contain the momentum direction as well as the hit position.

Author
M.Frank
Version
1.0

Definition at line 323 of file Geant4Data.h.

Member Typedef Documentation

◆ base_t

Definition at line 325 of file Geant4Data.h.

Constructor & Destructor Documentation

◆ Hit() [1/4]

Geant4Calorimeter::Hit::Hit ( )

Default constructor (for ROOT)

Definition at line 198 of file Geant4Data.cpp.

◆ Hit() [2/4]

dd4hep::sim::Geant4Calorimeter::Hit::Hit ( Hit &&  c)
delete

Move constructor.

◆ Hit() [3/4]

dd4hep::sim::Geant4Calorimeter::Hit::Hit ( const Hit c)
delete

copy constructor

◆ Hit() [4/4]

Geant4Calorimeter::Hit::Hit ( const Position cell_pos)

Standard constructor.

Definition at line 203 of file Geant4Data.cpp.

◆ ~Hit()

Geant4Calorimeter::Hit::~Hit ( )
virtual

Default destructor.

Definition at line 208 of file Geant4Data.cpp.

Member Function Documentation

◆ operator=() [1/2]

Hit& dd4hep::sim::Geant4Calorimeter::Hit::operator= ( const Hit c)
delete

Copy assignment operator.

◆ operator=() [2/2]

Hit& dd4hep::sim::Geant4Calorimeter::Hit::operator= ( Hit &&  c)
delete

Move assignment operator.

Member Data Documentation

◆ energyDeposit

double dd4hep::sim::Geant4Calorimeter::Hit::energyDeposit { 0e0 }

Total energy deposit.

Definition at line 332 of file Geant4Data.h.

◆ position

Position dd4hep::sim::Geant4Calorimeter::Hit::position { }

Hit position.

Definition at line 328 of file Geant4Data.h.

◆ truth

Contributions dd4hep::sim::Geant4Calorimeter::Hit::truth { }

Hit contributions by individual particles.

Definition at line 330 of file Geant4Data.h.


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