|
||||
File indexing completed on 2024-04-06 12:33:40
0001 #include "Validation/SiTrackerPhase2V/interface/TrackerPhase2ValidationUtil.h" 0002 bool phase2tkutil::isPrimary(const SimTrack& simTrk, const PSimHit* simHit) { 0003 bool retval = false; 0004 unsigned int trkId = simTrk.trackId(); 0005 if (trkId != simHit->trackId()) 0006 return retval; 0007 int vtxIndex = simTrk.vertIndex(); 0008 int ptype = simHit->processType(); 0009 return ((vtxIndex == 0) && (ptype == 0)); 0010 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |