CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
TTStubAlgorithm< T > Class Template Reference

Base class for any algorithm to be used in TTStubBuilder. More...

#include <TTStubAlgorithm.h>

Inheritance diagram for TTStubAlgorithm< T >:
TTStubAlgorithm_cbc3< T > TTStubAlgorithm_official< T >

Public Member Functions

virtual std::string AlgorithmName () const
 Algorithm name. More...
 
virtual void PatternHitCorrelation (bool &aConfirmation, int &aDisplacement, int &anOffset, float &anHardBend, const TTStub< T > &aTTStub) const
 Matching operations. More...
 
 TTStubAlgorithm (const TrackerGeometry *const theTrackerGeom, const TrackerTopology *const theTrackerTopo, std::string fName)
 Constructors. More...
 
virtual ~TTStubAlgorithm ()
 Destructor. More...
 

Protected Attributes

std::string className_
 
const TrackerGeometry *const theTrackerGeom_
 Data members. More...
 
const TrackerTopology *const theTrackerTopo_
 

Detailed Description

template<typename T>
class TTStubAlgorithm< T >

Base class for any algorithm to be used in TTStubBuilder.

After moving from SimDataFormats to DataFormats, the template structure of the class was maintained in order to accomodate any types other than PixelDigis in case there is such a need in the future.

Author
Andrew W. Rose
Nicola Pozzobon
Date
2013, Jul 18

Definition at line 29 of file TTStubAlgorithm.h.

Constructor & Destructor Documentation

◆ TTStubAlgorithm()

template<typename T >
TTStubAlgorithm< T >::TTStubAlgorithm ( const TrackerGeometry *const  theTrackerGeom,
const TrackerTopology *const  theTrackerTopo,
std::string  fName 
)
inline

Constructors.

Definition at line 38 of file TTStubAlgorithm.h.

References TTStubAlgorithm< T >::className_, and isotrackTrainRegressor::fName.

41  : theTrackerGeom_(theTrackerGeom), theTrackerTopo_(theTrackerTopo) {
42  className_ = classNameFinder<T>(fName);
43  }
const TrackerGeometry *const theTrackerGeom_
Data members.
const TrackerTopology *const theTrackerTopo_
std::string className_

◆ ~TTStubAlgorithm()

template<typename T >
virtual TTStubAlgorithm< T >::~TTStubAlgorithm ( )
inlinevirtual

Destructor.

Definition at line 46 of file TTStubAlgorithm.h.

46 {}

Member Function Documentation

◆ AlgorithmName()

template<typename T >
virtual std::string TTStubAlgorithm< T >::AlgorithmName ( ) const
inlinevirtual

Algorithm name.

Definition at line 54 of file TTStubAlgorithm.h.

References TTStubAlgorithm< T >::className_.

54 { return className_; }
std::string className_

◆ PatternHitCorrelation()

template<typename T >
virtual void TTStubAlgorithm< T >::PatternHitCorrelation ( bool &  aConfirmation,
int &  aDisplacement,
int &  anOffset,
float &  anHardBend,
const TTStub< T > &  aTTStub 
) const
inlinevirtual

Matching operations.

Reimplemented in TTStubAlgorithm_official< T >, and TTStubAlgorithm_cbc3< T >.

Definition at line 49 of file TTStubAlgorithm.h.

50  {}

Member Data Documentation

◆ className_

template<typename T >
std::string TTStubAlgorithm< T >::className_
protected

◆ theTrackerGeom_

template<typename T >
const TrackerGeometry* const TTStubAlgorithm< T >::theTrackerGeom_
protected

Data members.

Definition at line 32 of file TTStubAlgorithm.h.

◆ theTrackerTopo_

template<typename T >
const TrackerTopology* const TTStubAlgorithm< T >::theTrackerTopo_
protected

Definition at line 33 of file TTStubAlgorithm.h.