CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
GlobalParametersWithPath Class Reference

#include <GlobalParametersWithPath.h>

Public Member Functions

 GlobalParametersWithPath ()
 
 GlobalParametersWithPath (const GlobalTrajectoryParameters &gtp, double s)
 
 GlobalParametersWithPath (const GlobalTrajectoryParameters &gtp, double s, bool valid)
 
bool isValid () const
 
 operator bool () const
 
const GlobalTrajectoryParametersparameters () const
 
double pathLength () const
 
double s () const
 

Private Attributes

GlobalTrajectoryParameters gtp_
 
double s_
 
bool valid_
 

Detailed Description

Definition at line 7 of file GlobalParametersWithPath.h.

Constructor & Destructor Documentation

◆ GlobalParametersWithPath() [1/3]

GlobalParametersWithPath::GlobalParametersWithPath ( )
inline

Definition at line 9 of file GlobalParametersWithPath.h.

9 : gtp_(), s_(0), valid_(false) {}

◆ GlobalParametersWithPath() [2/3]

GlobalParametersWithPath::GlobalParametersWithPath ( const GlobalTrajectoryParameters gtp,
double  s 
)
inline

Definition at line 10 of file GlobalParametersWithPath.h.

10 : gtp_(gtp), s_(s), valid_(true) {}

◆ GlobalParametersWithPath() [3/3]

GlobalParametersWithPath::GlobalParametersWithPath ( const GlobalTrajectoryParameters gtp,
double  s,
bool  valid 
)
inline

Definition at line 11 of file GlobalParametersWithPath.h.

12  : gtp_(gtp), s_(s), valid_(valid) {}

Member Function Documentation

◆ isValid()

bool GlobalParametersWithPath::isValid ( void  ) const
inline

◆ operator bool()

GlobalParametersWithPath::operator bool ( ) const
inline

Definition at line 20 of file GlobalParametersWithPath.h.

20 { return valid_; }

References sistrip::valid_.

◆ parameters()

const GlobalTrajectoryParameters& GlobalParametersWithPath::parameters ( void  ) const
inline

Definition at line 14 of file GlobalParametersWithPath.h.

14 { return gtp_; }

◆ pathLength()

double GlobalParametersWithPath::pathLength ( ) const
inline

Definition at line 16 of file GlobalParametersWithPath.h.

16 { return s_; }

◆ s()

double GlobalParametersWithPath::s ( ) const
inline

Definition at line 17 of file GlobalParametersWithPath.h.

17 { return pathLength(); }

Member Data Documentation

◆ gtp_

GlobalTrajectoryParameters GlobalParametersWithPath::gtp_
private

Definition at line 23 of file GlobalParametersWithPath.h.

◆ s_

double GlobalParametersWithPath::s_
private

Definition at line 24 of file GlobalParametersWithPath.h.

◆ valid_

bool GlobalParametersWithPath::valid_
private

Definition at line 25 of file GlobalParametersWithPath.h.

GlobalParametersWithPath::s_
double s_
Definition: GlobalParametersWithPath.h:24
GlobalParametersWithPath::valid_
bool valid_
Definition: GlobalParametersWithPath.h:25
validateGeometry_cfg.valid
valid
Definition: validateGeometry_cfg.py:21
GlobalParametersWithPath::gtp_
GlobalTrajectoryParameters gtp_
Definition: GlobalParametersWithPath.h:23
GlobalParametersWithPath::s
double s() const
Definition: GlobalParametersWithPath.h:17
GlobalParametersWithPath::pathLength
double pathLength() const
Definition: GlobalParametersWithPath.h:16