#include <SharedHitMapper.h>
Definition at line 60 of file SharedHitMapper.h.
◆ SharedHitTrackAssoc()
SharedHitTrackAssoc::SharedHitTrackAssoc |
( |
| ) |
|
◆ ~SharedHitTrackAssoc()
SharedHitTrackAssoc::~SharedHitTrackAssoc |
( |
| ) |
|
◆ add() [1/2]
Definition at line 29 of file SharedHitMapper.cxx.
30 int shPattern = 100000*shB + 1000*shS + 100*shP;
31 m_assocs.insert(std::make_pair(trk,shPattern));
◆ add() [2/2]
◆ check()
◆ dump()
void SharedHitTrackAssoc::dump |
( |
| ) |
const |
Definition at line 55 of file SharedHitMapper.cxx.
56 std::cout<<
"SharedHitTrackAssoc has "<<this->
size()<<
" elements:"<<std::endl;
60 std::cout <<
"--> track: "
61 <<
" Eta= " << aI->first->eta()
62 <<
" Phi= " << aI->first->phi()
63 <<
" pT= " << aI->first->pt()
64 <<
" Shared pattern= " << aI->second
◆ numberSharedBLayer()
Definition at line 33 of file SharedHitMapper.cxx.
34 int tempSharedPattern(0);
37 if(aI!=aE) tempSharedPattern = aI->second;
38 return tempSharedPattern/100000;
◆ numberSharedPix()
Definition at line 40 of file SharedHitMapper.cxx.
41 int tempSharedPattern(0);
44 if(aI!=aE) tempSharedPattern = aI->second;
45 return ((tempSharedPattern%100000)%1000)/100;
◆ numberSharedSct()
Definition at line 47 of file SharedHitMapper.cxx.
48 int tempSharedPattern(0);
51 if(aI!=aE) tempSharedPattern = aI->second;
52 return (tempSharedPattern%100000)/1000;
◆ size()
int SharedHitTrackAssoc::size |
( |
| ) |
const |
|
inline |
◆ m_assocs
Assoc SharedHitTrackAssoc::m_assocs |
|
private |
The documentation for this class was generated from the following files: