#include <RPC_TimingTool.h>
Definition at line 24 of file RPC_TimingTool.h.
◆ RPC_TimingTool()
RPC_TimingTool::RPC_TimingTool |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ ~RPC_TimingTool()
virtual Muon::RPC_TimingTool::~RPC_TimingTool |
( |
| ) |
|
|
virtualdefault |
◆ calculateTimingResult()
Calculate the time offset of a given set of hits wrt to the current bunch.
Definition at line 19 of file RPC_TimingTool.cxx.
22 if(
hits.empty() )
return {};
27 float minTime = -100.;
32 for(
const auto *hit :
hits ){
33 const RpcClusterOnTrack* rpc =
dynamic_cast<const RpcClusterOnTrack*
>(hit);
35 int bin = invbinwidth*(rpc->time()-minTime);
51 unsigned int nhits = 0;
53 for(
const auto *hit :
hits ){
54 const RpcClusterOnTrack* rpc =
dynamic_cast<const RpcClusterOnTrack*
>(hit);
56 int bin = invbinwidth*(rpc->time()-minTime);
59 if(
bin > maxbin+1 ||
bin < maxbin-1 )
continue;
63 if( nhits == 0 )
return {};
◆ getError()
calculate error on the RPC time
Definition at line 71 of file RPC_TimingTool.cxx.
81 if (measPhi==1)
return 5.10;
85 if (measPhi==1)
return 5.04;
◆ initialize()
StatusCode RPC_TimingTool::initialize |
( |
| ) |
|
|
finaloverridevirtual |
◆ m_idHelperSvc
The documentation for this class was generated from the following files: