5#ifndef TRT_G4_SD_TRTSensitiveDetector_h
6#define TRT_G4_SD_TRTSensitiveDetector_h
9#include "G4VSensitiveDetector.hh"
13#include <gtest/gtest_prod.h>
23class G4TouchableHistory;
34 TRTSensitiveDetector(
const std::string& name,
const std::string& hitCollectionName,
int setVerboseLevel=0);
37 void Initialize(G4HCofThisEvent*)
override final;
38 G4bool
ProcessHits(G4Step*, G4TouchableHistory*)
override final;
AtlasHitsVector< TRTUncompressedHit > TRTUncompressedHitCollection
Define macros for attributes used to control the static checker.
This class is attached to G4Event objects as UserInformation.
a link optimized in size for a GenParticle in a McEventCollection
std::string m_HitCollName
Other member variables.
TRTSensitiveDetector(const std::string &name, const std::string &hitCollectionName, int setVerboseLevel=0)
double m_probabilityThresholdAr
TRTUncompressedHitCollection * m_HitColl
void Initialize(G4HCofThisEvent *) override final
void DeleteObjects()
Called by TRTRunAction::EndOfRunAction ...
HepMcParticleLink m_partLink
G4Material * m_pMaterialXe
FRIEND_TEST(TRTSensitiveDetectortest, ProcessHits)
friend class TRTProcessingOfEndCapHits
void InitializeHitProcessing()
double m_energyDepositInKeV
int m_hitID
Properties of current TRTUncompressedHit, set by TRTProcessingOfBarrelHits and TRTProcessingOfEndCapH...
double m_probabilityThresholdKr
double m_energyDepositCorrectionKr
const TRTParameters * m_pParameters
FRIEND_TEST(TRTSensitiveDetectortest, AddHit)
double m_energyDepositCorrectionAr
double m_energyDepositCorrection
void AddHit(Args &&... args)
Templated method to stuff a single hit into the sensitive detector class.
TRTProcessingOfEndCapHits * m_pProcessingOfEndCapHits
int m_printMessages
Configuration paremeters.
double m_probabilityThreshold
G4Material * m_pMaterialAr
double m_energyThresholdKr
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
friend class TRTProcessingOfBarrelHits
G4Material * m_pMaterialKr
int m_hitsWithZeroEnergyDeposit
double m_energyThresholdAr
TRTProcessingOfBarrelHits * m_pProcessingOfBarrelHits
AtlasG4EventUserInfo * m_g4UserEventInfo