ATLAS Offline Software
Loading...
Searching...
No Matches
RPCSensitiveDetector.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
83
84
85
86#ifndef RPCSensitiveDetector_H
87#define RPCSensitiveDetector_H
88
89#include "G4VSensitiveDetector.hh"
90
93#include <string>
94#include <gtest/gtest_prod.h>
95
97
98class RPCSensitiveDetector : public G4VSensitiveDetector {
99FRIEND_TEST( RPCSensitiveDetectortest, Initialize );
100FRIEND_TEST( RPCSensitiveDetectortest, ProcessHits );
101
102public:
104 RPCSensitiveDetector(const std::string& name, const std::string& hitCollectionName, unsigned int nGasGaps);
105
107 void Initialize(G4HCofThisEvent*) override final;
108 G4bool ProcessHits(G4Step*,G4TouchableHistory*) override final;
109
110private:
116};
117
118#endif
AtlasHitsVector< RPCSimHit > RPCSimHitCollection
This class is attached to G4Event objects as UserInformation.
RPCSensitiveDetector(const std::string &name, const std::string &hitCollectionName, unsigned int nGasGaps)
construction/destruction
std::string m_hitCollectionName
member data
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
FRIEND_TEST(RPCSensitiveDetectortest, Initialize)
const RpcHitIdHelper * m_muonHelper
void Initialize(G4HCofThisEvent *) override final
member functions
AtlasG4EventUserInfo * m_g4UserEventInfo
FRIEND_TEST(RPCSensitiveDetectortest, ProcessHits)
RPCSimHitCollection * m_myRPCHitColl