CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TemplatedNegativeTrackCountingComputer.h
Go to the documentation of this file.
1 #ifndef ImpactParameter_TemplatedNegativeTrackCountingComputer_h
2 #define ImpactParameter_TemplatedNegativeTrackCountingComputer_h
3 
5 
6 template <class Container, class Base>
8 {
9  public:
11  {
12  }
13 
15  {
17  std::multiset<float> significances = this->orderedSignificances(tkip);
18  std::multiset<float>::iterator nth=significances.begin();
19  for(int i=0;i<this->m_nthTrack-1 && nth!=significances.end();i++) nth++;
20  if(nth!=significances.end()) return -(*nth); else return -100.;
21  }
22 
23 };
24 
25 #endif // ImpactParameter_TemplatedNegativeTrackCountingComputer_h
int i
Definition: DBlmapReader.cc:9
dictionary parameters
Definition: Parameters.py:2
const T & get(unsigned int index=0) const
EcalChannelStatus Container
std::multiset< float > orderedSignificances(const TagInfo &tkip) const
TemplatedNegativeTrackCountingComputer(const edm::ParameterSet &parameters)
float discriminator(const JetTagComputer::TagInfoHelper &ti) const