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 &anROffset, 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

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

Constructors.

Definition at line 39 of file TTStubAlgorithm.h.

39  :
40  theTrackerGeom_(theTrackerGeom), theTrackerTopo_(theTrackerTopo)
41  {
42  className_ = classNameFinder< T >( fName );
43  }
const TrackerGeometry *const theTrackerGeom_
Data members.
const TrackerTopology *const theTrackerTopo_
std::string className_
template<typename T>
virtual TTStubAlgorithm< T >::~TTStubAlgorithm ( )
inlinevirtual

Destructor.

Definition at line 46 of file TTStubAlgorithm.h.

46 {}

Member Function Documentation

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

Algorithm name.

Definition at line 57 of file TTStubAlgorithm.h.

References TTStubAlgorithm< T >::className_.

57 { return className_; }
std::string className_
template<typename T>
virtual void TTStubAlgorithm< T >::PatternHitCorrelation ( bool &  aConfirmation,
int &  aDisplacement,
int &  anOffset,
float &  anROffset,
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.

54  {}

Member Data Documentation

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

Definition at line 35 of file TTStubAlgorithm.h.

Referenced by TTStubAlgorithm< T >::AlgorithmName().

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

Data members.

Definition at line 33 of file TTStubAlgorithm.h.

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

Definition at line 34 of file TTStubAlgorithm.h.