ATLAS Offline Software
Loading...
Searching...
No Matches
MicromegasSensitiveDetector.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MicromegasSensitiveDetector_H
6#define MicromegasSensitiveDetector_H
7
8#include "G4VSensitiveDetector.hh"
10#include <string>
11#include <gtest/gtest_prod.h>
12
15
16class MicromegasSensitiveDetector : public G4VSensitiveDetector {
17FRIEND_TEST( MicromegasSensitiveDetectortest, Initialize );
18FRIEND_TEST( MicromegasSensitiveDetectortest, ProcessHits );
19
20public:
22 MicromegasSensitiveDetector(const std::string& name, const std::string& hitCollectionName);
23
25 void Initialize(G4HCofThisEvent* HCE) override final;
26 G4bool ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist) override final;
27
28private:
29
34
35};
36
37#endif
AtlasHitsVector< MMSimHit > MMSimHitCollection
This class is attached to G4Event objects as UserInformation.
void Initialize(G4HCofThisEvent *HCE) override final
member functions
const MicromegasHitIdHelper * m_muonHelper
MicromegasSensitiveDetector(const std::string &name, const std::string &hitCollectionName)
construction/destruction
FRIEND_TEST(MicromegasSensitiveDetectortest, ProcessHits)
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
FRIEND_TEST(MicromegasSensitiveDetectortest, Initialize)