Main Page
Namespaces
Classes
Package Documentation
TrackPropagation
RungeKutta
src
GlobalParametersWithPath.h
Go to the documentation of this file.
1
#ifndef GlobalParametersWithPath_H
2
#define GlobalParametersWithPath_H
3
4
#include "
FWCore/Utilities/interface/Visibility.h
"
5
#include "
TrackingTools/TrajectoryParametrization/interface/GlobalTrajectoryParameters.h
"
6
7
class
dso_internal
GlobalParametersWithPath
{
8
public
:
9
GlobalParametersWithPath
() : gtp_(), s_(0),
valid_
(
false
) {}
10
GlobalParametersWithPath
(
const
GlobalTrajectoryParameters
& gtp,
double
s
) :
11
gtp_(gtp), s_(s),
valid_
(
true
) {}
12
GlobalParametersWithPath
(
const
GlobalTrajectoryParameters
& gtp,
13
double
s
,
bool
valid) : gtp_(gtp), s_(s),
valid_
(valid) {}
14
15
const
GlobalTrajectoryParameters
&
parameters
()
const
{
return
gtp_;}
16
17
double
pathLength
()
const
{
return
s_;}
18
double
s
()
const
{
return
pathLength();}
19
20
bool
isValid
()
const
{
return
valid_
;}
21
operator
bool()
const
{
return
valid_
;}
22
23
private
:
24
GlobalTrajectoryParameters
gtp_
;
25
double
s_
;
26
bool
valid_
;
27
};
28
29
#endif
GlobalParametersWithPath::gtp_
GlobalTrajectoryParameters gtp_
Definition:
GlobalParametersWithPath.h:24
funct::false
false
Definition:
Factorize.h:34
GlobalTrajectoryParameters
Definition:
GlobalTrajectoryParameters.h:15
alignCSCRings.s
s
Definition:
alignCSCRings.py:91
GlobalParametersWithPath::GlobalParametersWithPath
GlobalParametersWithPath(const GlobalTrajectoryParameters >p, double s)
Definition:
GlobalParametersWithPath.h:10
GlobalParametersWithPath::parameters
const GlobalTrajectoryParameters & parameters() const
Definition:
GlobalParametersWithPath.h:15
sistrip::valid_
static const uint16_t valid_
Definition:
Constants.h:17
funct::true
true
Definition:
Factorize.h:183
Visibility.h
GlobalParametersWithPath::s_
double s_
Definition:
GlobalParametersWithPath.h:25
GlobalParametersWithPath::GlobalParametersWithPath
GlobalParametersWithPath(const GlobalTrajectoryParameters >p, double s, bool valid)
Definition:
GlobalParametersWithPath.h:12
GlobalTrajectoryParameters.h
GlobalParametersWithPath::GlobalParametersWithPath
GlobalParametersWithPath()
Definition:
GlobalParametersWithPath.h:9
GlobalParametersWithPath::valid_
bool valid_
Definition:
GlobalParametersWithPath.h:26
GlobalParametersWithPath::isValid
bool isValid() const
Definition:
GlobalParametersWithPath.h:20
dso_internal
#define dso_internal
GlobalParametersWithPath::pathLength
double pathLength() const
Definition:
GlobalParametersWithPath.h:17
GlobalParametersWithPath::s
double s() const
Definition:
GlobalParametersWithPath.h:18
GlobalParametersWithPath
Definition:
GlobalParametersWithPath.h:7
Generated for CMSSW Reference Manual by
1.8.11