ATLAS Offline Software
Loading...
Searching...
No Matches
GenericMuonSensitiveDetector.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef GenericMuonSensitiveDetector_H
6#define GenericMuonSensitiveDetector_H
7
8#include "G4VSensitiveDetector.hh"
10#include <string>
11#include <gtest/gtest_prod.h>
12
14
15class GenericMuonSensitiveDetector : public G4VSensitiveDetector {
16 FRIEND_TEST( GenericMuonSensitiveDetectortest, Initialize );
17 FRIEND_TEST( GenericMuonSensitiveDetectortest, ProcessHits );
18public:
20 GenericMuonSensitiveDetector(const std::string& name, const std::string& hitCollectionName);
21
23 void Initialize(G4HCofThisEvent* HCE) override final;
24 G4bool ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist) override final;
25
26private:
27
31
32};
33
34#endif
AtlasHitsVector< GenericMuonSimHit > GenericMuonSimHitCollection
This class is attached to G4Event objects as UserInformation.
FRIEND_TEST(GenericMuonSensitiveDetectortest, ProcessHits)
FRIEND_TEST(GenericMuonSensitiveDetectortest, Initialize)
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
GenericMuonSensitiveDetector(const std::string &name, const std::string &hitCollectionName)
construction/destruction
void Initialize(G4HCofThisEvent *HCE) override final
member functions
GenericMuonSimHitCollection * m_GenericMuonHitCollection