#include <ZDC_G4CalibSD.h>
Definition at line 23 of file ZDC_G4CalibSD.h.
◆ ZDC_G4CalibSD() [1/2]
ZDC_G4CalibSD::ZDC_G4CalibSD |
( |
const G4String & |
a_name, |
|
|
const G4String & |
hitCollectionName, |
|
|
bool |
doPID = false |
|
) |
| |
◆ ~ZDC_G4CalibSD()
ZDC_G4CalibSD::~ZDC_G4CalibSD |
( |
| ) |
|
|
virtual |
Definition at line 20 of file ZDC_G4CalibSD.cxx.
24 G4cout <<
"Destructor: Sensitive Detector <" << SensitiveDetectorName <<
"> had " <<
m_numberInvalidHits
25 <<
" G4Step energy deposits outside the region determined by its Calculator." << G4endl;
◆ ZDC_G4CalibSD() [2/2]
◆ EndOfAthenaEvent()
void ZDC_G4CalibSD::EndOfAthenaEvent |
( |
| ) |
|
◆ FRIEND_TEST() [1/4]
◆ FRIEND_TEST() [2/4]
ZDC_G4CalibSD::FRIEND_TEST |
( |
ZDC_G4CalibSDtest |
, |
|
|
ProcessHits |
|
|
) |
| |
|
private |
◆ FRIEND_TEST() [3/4]
ZDC_G4CalibSD::FRIEND_TEST |
( |
ZDC_G4CalibSDtest |
, |
|
|
SimpleHit |
|
|
) |
| |
|
private |
◆ FRIEND_TEST() [4/4]
ZDC_G4CalibSD::FRIEND_TEST |
( |
ZDC_G4CalibSDtest |
, |
|
|
SpecialHit |
|
|
) |
| |
|
private |
◆ operator=()
◆ ProcessHits()
G4bool ZDC_G4CalibSD::ProcessHits |
( |
G4Step * |
a_step, |
|
|
G4TouchableHistory * |
|
|
) |
| |
|
override |
Definition at line 30 of file ZDC_G4CalibSD.cxx.
36 if (a_step->GetTotalEnergyDeposit() == 0.)
52 id = a_step->GetPreStepPoint()->GetPhysicalVolume()->GetCopyNo();
◆ SimpleHit()
Definition at line 59 of file ZDC_G4CalibSD.cxx.
67 if (atlasG4EvtUserInfo) {
78 if (energies[0] + energies[1] + energies[3] < 0.001 *
CLHEP::eV && std::abs(energies[2]) < 0.001 *
CLHEP::eV)
99 m_hitMap.insert(std::pair<uint32_t,CaloCalibrationHit*>(
hash,hit));
102 it->second->Add(hit);
◆ SpecialHit()
G4bool ZDC_G4CalibSD::SpecialHit |
( |
G4Step * |
a_step, |
|
|
const std::vector< G4double > & |
a_energies |
|
) |
| |
Definition at line 115 of file ZDC_G4CalibSD.cxx.
120 id = a_step->GetPreStepPoint()->GetPhysicalVolume()->GetCopyNo();
◆ m_doPID
G4bool ZDC_G4CalibSD::m_doPID |
|
private |
◆ m_energies
std::vector<G4double> ZDC_G4CalibSD::m_energies |
|
private |
◆ m_HitColl
◆ m_hitMap
◆ m_id
◆ m_numberInvalidHits
G4int ZDC_G4CalibSD::m_numberInvalidHits |
|
private |
◆ m_simulationEnergies
◆ m_zdc_eep
The documentation for this class was generated from the following files: