|
ATLAS Offline Software
|
#include <RPCHitsTestTool.h>
Definition at line 14 of file RPCHitsTestTool.h.
◆ RPCHitsTestTool()
RPCHitsTestTool::RPCHitsTestTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
|
inline |
◆ checkIdentifier()
StatusCode RPCHitsTestTool::checkIdentifier |
( |
Identifier |
offid | ) |
|
|
protected |
Definition at line 48 of file RPCHitsTestTool.cxx.
53 return StatusCode::FAILURE;
58 double rpc_strip_phi = rpc_gPos.phi();
59 if (rpc_strip_phi < 0.) rpc_strip_phi += 2.*
M_PI;
61 return StatusCode::SUCCESS;
◆ executeCheckEventInfo()
StatusCode MuonHitTestToolBase::executeCheckEventInfo |
( |
| ) |
|
|
protectedinherited |
Definition at line 35 of file MuonHitTestToolBase.cxx.
40 int numrun = eventInfo->runNumber();
48 if (mcEvent->
size()!=1) {
50 return StatusCode::SUCCESS;
67 return StatusCode::SUCCESS;
◆ executeFillHistos()
for MDTs that have barrel + endcap section, take only the barrel when plotting the xy-2d plot of the detector
Definition at line 70 of file MuonHitTestToolBase.cxx.
79 double rad=sqrt(
u.x()*
u.x()+
u.y()*
u.y());
106 return StatusCode::SUCCESS;
◆ executeFillHistos_sTGc()
StatusCode MuonHitTestToolBase::executeFillHistos_sTGc |
( |
const Amg::Vector3D & |
, |
|
|
std::string |
|
|
) |
| |
|
protectedinherited |
◆ executeFillHistosSectors_Wedge1()
StatusCode MuonHitTestToolBase::executeFillHistosSectors_Wedge1 |
( |
const Amg::Vector3D & |
, |
|
|
std::string |
|
|
) |
| |
|
protectedinherited |
◆ executeFillHistosSectors_Wedge2()
StatusCode MuonHitTestToolBase::executeFillHistosSectors_Wedge2 |
( |
const Amg::Vector3D & |
, |
|
|
std::string |
|
|
) |
| |
|
protectedinherited |
◆ getIdentifier()
◆ getPrimary()
◆ initialize()
StatusCode RPCHitsTestTool::initialize |
( |
| ) |
|
|
virtual |
◆ processEvent()
StatusCode RPCHitsTestTool::processEvent |
( |
| ) |
|
Definition at line 65 of file RPCHitsTestTool.cxx.
80 if (evtStore()->
retrieve(p_collection,
"RPC_Hits") == StatusCode::SUCCESS) {
81 for (
const RPCSimHit& hit : *p_collection) {
84 HitID rpchit= (hit).RPCid();
100 return StatusCode::SUCCESS;
◆ m_BarrelEtaCut
double MuonHitTestToolBase::m_BarrelEtaCut |
|
protectedinherited |
MDT barrel eta cut, applicable to the MDT 2D cross section plot.
Definition at line 44 of file MuonHitTestToolBase.h.
◆ m_detBarrel
TH2* MuonHitTestToolBase::m_detBarrel |
|
protectedinherited |
◆ m_detname
std::string MuonHitTestToolBase::m_detname |
|
protectedinherited |
◆ m_direction
◆ m_DoRPCTest
bool RPCHitsTestTool::m_DoRPCTest |
|
private |
◆ m_eta
TH1* MuonHitTestToolBase::m_eta |
|
protectedinherited |
◆ m_eventInfoKey
◆ m_histSvc
◆ m_key
std::string SimTestToolBase::m_key |
|
protectedinherited |
◆ m_longView
TH2 * MuonHitTestToolBase::m_longView |
|
protectedinherited |
◆ m_muondetBarrel
TH2* MuonHitTestToolBase::m_muondetBarrel |
|
protectedinherited |
◆ m_muoneta
TH1* MuonHitTestToolBase::m_muoneta |
|
protectedinherited |
◆ m_muonevnt
TH1* MuonHitTestToolBase::m_muonevnt |
|
protectedinherited |
◆ m_muonlongView
TH2 * MuonHitTestToolBase::m_muonlongView |
|
protectedinherited |
◆ m_muonphi
TH1 * MuonHitTestToolBase::m_muonphi |
|
protectedinherited |
◆ m_muonphiResid
TH1 * MuonHitTestToolBase::m_muonphiResid |
|
protectedinherited |
◆ m_muonrun
TH1 * MuonHitTestToolBase::m_muonrun |
|
protectedinherited |
◆ m_muontheta
TH1 * MuonHitTestToolBase::m_muontheta |
|
protectedinherited |
◆ m_muonzResid
TH1* MuonHitTestToolBase::m_muonzResid |
|
protectedinherited |
◆ m_path
std::string SimTestHisto::m_path {"/truth/"} |
|
protectedinherited |
◆ m_phi
TH1 * MuonHitTestToolBase::m_phi |
|
protectedinherited |
◆ m_phiResid
TH1 * MuonHitTestToolBase::m_phiResid |
|
protectedinherited |
◆ m_pMuonMgr
◆ m_pRpcIdHelper
◆ m_theta
TH1 * MuonHitTestToolBase::m_theta |
|
protectedinherited |
◆ m_zResid
TH1* MuonHitTestToolBase::m_zResid |
|
protectedinherited |
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
const RpcReadoutElement * getRpcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
std::string GetStationName(const int &hid) const
static const RpcHitIdHelper * GetHelper(unsigned int nGasGaps=2)
int GetDoubletPhi(const int &hid) const
int GetMeasuresPhi(const int &hid) const
int GetDoubletZ(const int &hid) const
An RpcReadoutElement corresponds to a single RPC module; therefore typicaly a barrel muon station con...
#define ATH_MSG_VERBOSE(x)
Identifier channelID(int stationName, int stationEta, int stationPhi, int doubletR, int doubletZ, int doubletPhi, int gasGap, int measuresPhi, int strip) const
@ u
Enums for curvilinear frames.
int GetPhiSector(const int &hid) const
bool is_simulation_particle(const T &p)
Method to establish if a particle (or barcode) was created during the simulation (TODO update to be s...
#define CHECK(...)
Evaluate an expression and check for errors.
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
const RpcIdHelper * rpcIdHelper() const
int GetGasGapLayer(const int &hid) const
Amg::Vector3D stripPos(const Identifier &id) const
Eigen::Matrix< double, 3, 1 > Vector3D
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
int GetDoubletR(const int &hid) const
std::string show_to_string(Identifier id, const IdContext *context=0, char sep='.') const
or provide the printout in string form
size_type size() const noexcept
Returns the number of elements in the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
int GetZSector(const int &hid) const