ATLAS Offline Software
Loading...
Searching...
No Matches
RPCSensitiveDetectorCosmics.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 RPCSensitiveDetectorCosmics_H
87#define RPCSensitiveDetectorCosmics_H
88
89#include "G4VSensitiveDetector.hh"
90
93#include <string>
94#include <gtest/gtest_prod.h>
95
97
98class RPCSensitiveDetectorCosmics : public G4VSensitiveDetector {
99FRIEND_TEST( RPCSensitiveDetectorCosmicstest, Initialize );
100FRIEND_TEST( RPCSensitiveDetectorCosmicstest, ProcessHits );
101
102public:
104 RPCSensitiveDetectorCosmics(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:
119 double m_momMag;
123
124};
125
126#endif
AtlasHitsVector< RPCSimHit > RPCSimHitCollection
This class is attached to G4Event objects as UserInformation.
RPCSensitiveDetectorCosmics(const std::string &name, const std::string &hitCollectionName, unsigned int nGasGaps)
construction/destruction
void Initialize(G4HCofThisEvent *) override final
member functions
FRIEND_TEST(RPCSensitiveDetectorCosmicstest, ProcessHits)
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
FRIEND_TEST(RPCSensitiveDetectorCosmicstest, Initialize)
Eigen::Matrix< double, 3, 1 > Vector3D