ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation
G4Atlas
G4AtlasTests
src
RPCHitsTestTool.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 G4AT_RPCHITSTESTTOOL
6
#define G4AT_RPCHITSTESTTOOL
7
8
#include "
MuonHitTestToolBase.h
"
9
10
//#include "MuonReadoutGeometry/MuonDetectorManager.h"
11
//#include "MuonIdHelpers/RpcIdHelper.h"
12
class
RpcIdHelper
;
13
14
class
RPCHitsTestTool
:
public
MuonHitTestToolBase
{
15
16
17
public
:
18
19
RPCHitsTestTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent)
20
:
MuonHitTestToolBase
(
type
, name, parent),
21
m_pRpcIdHelper
(0)
22
{
23
declareProperty(
"DoRPCTest"
,
m_DoRPCTest
=
true
);
24
}
25
26
StatusCode
initialize
();
27
28
StatusCode
processEvent
();
29
30
protected
:
31
Identifier
getIdentifier
(
HitID
rpchit);
32
StatusCode
checkIdentifier
(
Identifier
offid);
33
34
private
:
35
36
bool
m_DoRPCTest
;
37
38
const
RpcIdHelper
*
m_pRpcIdHelper
;
39
};
40
41
#endif
HitID
int HitID
Definition
GenericMuonSimHit.h:13
MuonHitTestToolBase.h
MuonHitTestToolBase::MuonHitTestToolBase
MuonHitTestToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition
MuonHitTestToolBase.cxx:17
RPCHitsTestTool::initialize
StatusCode initialize()
Definition
RPCHitsTestTool.cxx:104
RPCHitsTestTool::m_pRpcIdHelper
const RpcIdHelper * m_pRpcIdHelper
Definition
RPCHitsTestTool.h:38
RPCHitsTestTool::getIdentifier
Identifier getIdentifier(HitID rpchit)
Definition
RPCHitsTestTool.cxx:25
RPCHitsTestTool::RPCHitsTestTool
RPCHitsTestTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
RPCHitsTestTool.h:19
RPCHitsTestTool::m_DoRPCTest
bool m_DoRPCTest
Definition
RPCHitsTestTool.h:36
RPCHitsTestTool::processEvent
StatusCode processEvent()
Definition
RPCHitsTestTool.cxx:65
RPCHitsTestTool::checkIdentifier
StatusCode checkIdentifier(Identifier offid)
Definition
RPCHitsTestTool.cxx:48
RpcIdHelper
Definition
RpcIdHelper.h:51
Identifier
Definition
IdentifierFieldParser.cxx:14
type
Generated on
for ATLAS Offline Software by
1.14.0