src
RecoVertex
VertexTools
interface
SMS.h
Go to the documentation of this file.
1
#ifndef SMS_H
2
#define SMS_H
3
4
#include <cmath>
5
#include <cstdlib>
6
#include <vector>
7
#include <algorithm>
8
#include <iostream>
9
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
10
16
class
SMS
{
17
public
:
18
enum
SMSType
{
None
= 0,
Interpolate
= 1,
Iterate
= 2,
Weighted
= 4 };
25
SMS
(
SMSType
tp
= (
SMSType
)(
Interpolate
|
Iterate
|
Weighted
),
float
q
= 0.5);
26
27
GlobalPoint
location
(
const
std::vector<GlobalPoint>&)
const
;
28
GlobalPoint
location
(
const
std::vector
<std::pair<GlobalPoint, float> >&)
const
;
29
30
private
:
31
SMSType
theType
;
32
float
theRatio
;
33
};
34
35
#endif
/* def SMS */
SMS::None
Definition:
SMS.h:18
cmsswSequenceInfo.tp
tp
Definition:
cmsswSequenceInfo.py:17
SMS::theType
SMSType theType
Definition:
SMS.h:31
SMS
Definition:
SMS.h:16
SMS::location
GlobalPoint location(const std::vector< GlobalPoint > &) const
Definition:
SMS.cc:57
SMS::Interpolate
Definition:
SMS.h:18
submitPVResolutionJobs.q
q
Definition:
submitPVResolutionJobs.py:83
Point3DBase< float, GlobalTag >
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
SMS::SMS
SMS(SMSType tp=(SMSType)(Interpolate|Iterate|Weighted), float q=0.5)
Definition:
SMS.cc:55
SMS::Iterate
Definition:
SMS.h:18
SMS::theRatio
float theRatio
Definition:
SMS.h:32
SMS::Weighted
Definition:
SMS.h:18
SMS::SMSType
SMSType
Definition:
SMS.h:18
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.14