ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonG4
MuonG4SD
src
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"
9
#include "
MuonSimEvent/MMSimHitCollection.h
"
10
#include <string>
11
#include <gtest/gtest_prod.h>
12
13
class
AtlasG4EventUserInfo
;
14
class
MicromegasHitIdHelper
;
15
16
class
MicromegasSensitiveDetector
:
public
G4VSensitiveDetector {
17
FRIEND_TEST
( MicromegasSensitiveDetectortest,
Initialize
);
18
FRIEND_TEST
( MicromegasSensitiveDetectortest,
ProcessHits
);
19
20
public
:
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
28
private
:
29
30
std::string
m_hitCollectionName
;
31
MMSimHitCollection
*
m_MMSimHitCollection
{
nullptr
};
32
AtlasG4EventUserInfo
*
m_g4UserEventInfo
{
nullptr
};
33
const
MicromegasHitIdHelper
*
m_muonHelper
;
34
35
};
36
37
#endif
MMSimHitCollection.h
MMSimHitCollection
AtlasHitsVector< MMSimHit > MMSimHitCollection
Definition
MMSimHitCollection.h:15
AtlasG4EventUserInfo
This class is attached to G4Event objects as UserInformation.
Definition
AtlasG4EventUserInfo.h:26
MicromegasHitIdHelper
Definition
MicromegasHitIdHelper.h:13
MicromegasSensitiveDetector::Initialize
void Initialize(G4HCofThisEvent *HCE) override final
member functions
Definition
MicromegasSensitiveDetector.cxx:29
MicromegasSensitiveDetector::m_muonHelper
const MicromegasHitIdHelper * m_muonHelper
Definition
MicromegasSensitiveDetector.h:33
MicromegasSensitiveDetector::MicromegasSensitiveDetector
MicromegasSensitiveDetector(const std::string &name, const std::string &hitCollectionName)
construction/destruction
Definition
MicromegasSensitiveDetector.cxx:20
MicromegasSensitiveDetector::FRIEND_TEST
FRIEND_TEST(MicromegasSensitiveDetectortest, ProcessHits)
MicromegasSensitiveDetector::ProcessHits
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
Definition
MicromegasSensitiveDetector.cxx:38
MicromegasSensitiveDetector::m_g4UserEventInfo
AtlasG4EventUserInfo * m_g4UserEventInfo
Definition
MicromegasSensitiveDetector.h:32
MicromegasSensitiveDetector::m_MMSimHitCollection
MMSimHitCollection * m_MMSimHitCollection
Definition
MicromegasSensitiveDetector.h:31
MicromegasSensitiveDetector::m_hitCollectionName
std::string m_hitCollectionName
Definition
MicromegasSensitiveDetector.h:30
MicromegasSensitiveDetector::FRIEND_TEST
FRIEND_TEST(MicromegasSensitiveDetectortest, Initialize)
Generated on
for ATLAS Offline Software by
1.17.0