ATLAS Offline Software
Loading...
Searching...
No Matches
TGCSensitiveDetectorCosmics.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
65#ifndef TGCSensitiveDetectorCosmics_H
66#define TGCSensitiveDetectorCosmics_H
67
68#include "G4VSensitiveDetector.hh"
69
72#include <string>
73#include <gtest/gtest_prod.h>
74
76
77class TGCSensitiveDetectorCosmics: public G4VSensitiveDetector {
78FRIEND_TEST( TGCSensitiveDetectorCosmicstest, Initialize );
79FRIEND_TEST( TGCSensitiveDetectorCosmicstest, ProcessHits );
80
81 public:
83 TGCSensitiveDetectorCosmics(const std::string& name, const std::string& hitCollectionName);
84
86 void Initialize(G4HCofThisEvent* HCE) override final;
87 G4bool ProcessHits(G4Step* aStep, G4TouchableHistory* ROHist) override final;
88
89 private:
91 double m_momMag;
96
102};
103
104#endif
AtlasHitsVector< TGCSimHit > TGCSimHitCollection
This class is attached to G4Event objects as UserInformation.
FRIEND_TEST(TGCSensitiveDetectorCosmicstest, Initialize)
FRIEND_TEST(TGCSensitiveDetectorCosmicstest, ProcessHits)
void Initialize(G4HCofThisEvent *HCE) override final
member functions
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROHist) override final
TGCSensitiveDetectorCosmics(const std::string &name, const std::string &hitCollectionName)
construction/destruction
Eigen::Matrix< double, 3, 1 > Vector3D