CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
MTDClusterParameterEstimator Class Referenceabstract

#include <MTDClusterParameterEstimator.h>

Inheritance diagram for MTDClusterParameterEstimator:
MTDCPEBase

Public Types

typedef std::pair< LocalPoint, LocalErrorLocalValues
 
using ReturnType = std::tuple< LocalPoint, LocalError, TimeValue, TimeValueError >
 
typedef float TimeValue
 
typedef float TimeValueError
 
typedef std::vector< LocalValuesVLocalValues
 

Public Member Functions

virtual ReturnType getParameters (const FTLCluster &cl, const GeomDetUnit &det) const =0
 
virtual ReturnType getParameters (const FTLCluster &cl, const GeomDetUnit &det, const LocalTrajectoryParameters &ltp) const =0
 
virtual ReturnType getParameters (const FTLCluster &cl, const GeomDetUnit &det, const TrajectoryStateOnSurface &tsos) const
 
virtual VLocalValues localParametersV (const FTLCluster &cluster, const GeomDetUnit &gd) const
 
virtual VLocalValues localParametersV (const FTLCluster &cluster, const GeomDetUnit &gd, TrajectoryStateOnSurface &tsos) const
 
 MTDClusterParameterEstimator ()
 
virtual ~MTDClusterParameterEstimator ()
 

Detailed Description

Definition at line 15 of file MTDClusterParameterEstimator.h.

Member Typedef Documentation

◆ LocalValues

Definition at line 19 of file MTDClusterParameterEstimator.h.

◆ ReturnType

Definition at line 25 of file MTDClusterParameterEstimator.h.

◆ TimeValue

Definition at line 22 of file MTDClusterParameterEstimator.h.

◆ TimeValueError

Definition at line 23 of file MTDClusterParameterEstimator.h.

◆ VLocalValues

Definition at line 20 of file MTDClusterParameterEstimator.h.

Constructor & Destructor Documentation

◆ ~MTDClusterParameterEstimator()

virtual MTDClusterParameterEstimator::~MTDClusterParameterEstimator ( )
inlinevirtual

Definition at line 17 of file MTDClusterParameterEstimator.h.

17 {}

◆ MTDClusterParameterEstimator()

MTDClusterParameterEstimator::MTDClusterParameterEstimator ( )
inline

Definition at line 57 of file MTDClusterParameterEstimator.h.

57 {};

Member Function Documentation

◆ getParameters() [1/3]

virtual ReturnType MTDClusterParameterEstimator::getParameters ( const FTLCluster cl,
const GeomDetUnit det 
) const
pure virtual

Implemented in MTDCPEBase.

Referenced by getParameters(), and localParametersV().

◆ getParameters() [2/3]

virtual ReturnType MTDClusterParameterEstimator::getParameters ( const FTLCluster cl,
const GeomDetUnit det,
const LocalTrajectoryParameters ltp 
) const
pure virtual

Implemented in MTDCPEBase.

◆ getParameters() [3/3]

virtual ReturnType MTDClusterParameterEstimator::getParameters ( const FTLCluster cl,
const GeomDetUnit det,
const TrajectoryStateOnSurface tsos 
) const
inlinevirtual

Definition at line 36 of file MTDClusterParameterEstimator.h.

References haddnano::cl, getParameters(), and TrajectoryStateOnSurface::localParameters().

38  {
39  return getParameters(cl, det, tsos.localParameters());
40  }
const LocalTrajectoryParameters & localParameters() const
virtual ReturnType getParameters(const FTLCluster &cl, const GeomDetUnit &det) const =0

◆ localParametersV() [1/2]

virtual VLocalValues MTDClusterParameterEstimator::localParametersV ( const FTLCluster cluster,
const GeomDetUnit gd 
) const
inlinevirtual

Definition at line 42 of file MTDClusterParameterEstimator.h.

References getParameters().

42  {
43  VLocalValues vlp;
44  ReturnType tuple = getParameters(cluster, gd);
45  vlp.emplace_back(std::get<0>(tuple), std::get<1>(tuple));
46  return vlp;
47  }
std::vector< LocalValues > VLocalValues
std::tuple< LocalPoint, LocalError, TimeValue, TimeValueError > ReturnType
virtual ReturnType getParameters(const FTLCluster &cl, const GeomDetUnit &det) const =0

◆ localParametersV() [2/2]

virtual VLocalValues MTDClusterParameterEstimator::localParametersV ( const FTLCluster cluster,
const GeomDetUnit gd,
TrajectoryStateOnSurface tsos 
) const
inlinevirtual

Definition at line 48 of file MTDClusterParameterEstimator.h.

References getParameters().

50  {
51  VLocalValues vlp;
52  ReturnType tuple = getParameters(cluster, gd, tsos);
53  vlp.emplace_back(std::get<0>(tuple), std::get<1>(tuple));
54  return vlp;
55  }
std::vector< LocalValues > VLocalValues
std::tuple< LocalPoint, LocalError, TimeValue, TimeValueError > ReturnType
virtual ReturnType getParameters(const FTLCluster &cl, const GeomDetUnit &det) const =0