001 #include "AtlfastAlgs/ParticleSubsystemPartitionTool.h"
002
003 namespace Atlfast{
004
005 ParticleSubsystemPartitionTool::ParticleSubsystemPartitionTool(int particleID, const std::multimap<int,DetectorParameters::SUBSYSTEM> &particleSubsystemMap
006 ):m_pdgID(particleID), m_particleSubsystemMap(particleSubsystemMap){
007 }
008
009 bool ParticleSubsystemPartitionTool::operator()(const ProblematicRegion *pbr)const{
010 std::multimap<int,DetectorParameters::SUBSYSTEM>::const_iterator itr;
011 std::pair<std::multimap<int,DetectorParameters::SUBSYSTEM>::const_iterator, std::multimap<int,DetectorParameters::SUBSYSTEM>::const_iterator> ret;
012 ret = m_particleSubsystemMap.equal_range(m_pdgID);
013 for(itr=ret.first;itr!=ret.second;++itr){
014 if ( pbr->subsystem() == (*itr).second){ return true; }
015 }
016 return false;
017 }
018
019
020 }
021
| Due to the LXR bug, the updates fail sometimes to remove references to deleted files. The Saturday's full rebuilds fix these problems |
|
This page was automatically generated by the
LXR engine.
|
|