1 #ifndef ImpactParameter_PromptTrackCountingComputer_h
2 #define ImpactParameter_PromptTrackCountingComputer_h
13 #include "Math/GenVector/VectorUtil.h"
36 if (trackQualityType ==
"any" || trackQualityType ==
"Any" || trackQualityType ==
"ANY")
45 std::multiset<float>::iterator sig;
46 unsigned int nPromptTrk = 0;
47 for (sig = significances.begin(); sig != significances.end(); sig++) {
52 return double(nPromptTrk);
59 std::multiset<float> significances;
62 return std::multiset<float>();
69 for (std::vector<reco::btag::TrackIPData>::const_iterator it = impactParameters.begin();
70 it != impactParameters.end();
81 significances.insert(((
m_ipType == 0) ? it->ip3d : it->ip2d).significance());
102 #endif // ImpactParameter_PromptTrackCountingComputer_h