Main Page
Namespaces
Classes
Package Documentation
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
{
18
public
:
19
enum
SMSType
{
None
= 0,
20
Interpolate
= 1,
21
Iterate
= 2,
22
Weighted
= 4 };
29
SMS
(
SMSType
tp = (
SMSType
) (
Interpolate
|
Iterate
|
Weighted
),
float
q
=0.5 );
30
31
GlobalPoint
location
(
const
std::vector < GlobalPoint > & )
const
;
32
GlobalPoint
location
(
const
std::vector < std::pair < GlobalPoint, float > > & )
const
;
33
34
private
:
35
SMSType
theType
;
36
float
theRatio
;
37
38
};
39
40
#endif
/* def SMS */
SMS::None
Definition:
SMS.h:19
SMS::theType
SMSType theType
Definition:
SMS.h:35
SMS
Definition:
SMS.h:16
SMS::Interpolate
Definition:
SMS.h:20
Point3DBase< float, GlobalTag >
SMS::SMS
SMS(SMSType tp=(SMSType)(Interpolate|Iterate|Weighted), float q=0.5)
Definition:
SMS.cc:73
SMS::Iterate
Definition:
SMS.h:21
SMS::theRatio
float theRatio
Definition:
SMS.h:36
lumiQueryAPI.q
q
Definition:
lumiQueryAPI.py:1842
SMS::Weighted
Definition:
SMS.h:22
SMS::location
GlobalPoint location(const std::vector< GlobalPoint > &) const
Definition:
SMS.cc:76
SMS::SMSType
SMSType
Definition:
SMS.h:19
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.11