#include <TrackMatchDeltaR.h>
Definition at line 25 of file TrackMatchDeltaR.h.
◆ map_type
template<typename T , typename S = T>
◆ rmap_type
template<typename T , typename S = T>
◆ TrackMatchDeltaR()
TrackMatchDeltaR::TrackMatchDeltaR |
( |
const std::string & |
name, |
|
|
double |
R |
|
) |
| |
|
inline |
◆ ~TrackMatchDeltaR()
TrackMatchDeltaR::~TrackMatchDeltaR |
( |
| ) |
|
|
inline |
◆ clear()
template<typename T , typename S = T>
◆ clone()
template<typename T , typename S = T>
Implemented in Associator_BestDeltaPhiMatcher, Associator_BestSigmaMatcher, Associator_BestDeltaRZSinThetaMatcher, Associator_BestDeltaRZMatcher, Associator_BestDeltaRMatcher, Associator_SecondBestpTMatcher, Associator_TruthMatcher, Associator_DeltaRMatcher, Associator_DeltaEtaPhi, Associator_DeltaRCosmics, VertexMatcher, and VertexNewMatcher.
◆ deltaR2()
Definition at line 78 of file TrackMatchDeltaR.h.
79 double deta = reftrack->
eta()-testtrack->
eta();
80 double dphi = reftrack->
phi()-testtrack->
phi();
83 return deta*deta+dphi*dphi;
◆ match() [1/2]
template<typename T , typename S = T>
◆ match() [2/2]
Definition at line 36 of file TrackMatchDeltaR.h.
41 const std::vector<TIDA::Track*>&
ref =
s1;
42 const std::vector<TIDA::Track*>&
test =
s2;
45 for (
int i=
ref.size() ;
i-- ; ) {
54 for (
int j=
test.size() ; j-- ; ) {
58 double R2tmp =
deltaR2( reftrack, testtrack );
61 if ( tmptrack==NULL || R2tmp<R2min ) {
68 if ( tmptrack && R2min<
m_R2 ) {
69 mmatched.insert( map_type::value_type(reftrack,tmptrack) );
70 mrevmatched.insert( map_type::value_type(tmptrack,reftrack) );
72 std::cout <<
"\t\tSUTT matched " << *reftrack <<
"\t -> \t" << *tmptrack <<
"\tDr=" << R2min << std::endl;
◆ matched() [1/2]
template<typename T , typename S = T>
◆ matched() [2/2]
template<typename T , typename S = T>
◆ revmatched() [1/2]
template<typename T , typename S = T>
◆ revmatched() [2/2]
template<typename T , typename S = T>
◆ size()
template<typename T , typename S = T>
◆ m_R2
double TrackMatchDeltaR::m_R2 |
|
private |
◆ mmatched
template<typename T , typename S = T>
◆ mname
template<typename T , typename S = T>
◆ mrevmatched
template<typename T , typename S = T>
The documentation for this class was generated from the following file: