CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
trackerTFP::StubHT Class Reference

#include <DataFormats.h>

Inheritance diagram for trackerTFP::StubHT:
trackerTFP::Stub< double, double, double, int, int, int, int >

Public Member Functions

int inv2R () const
 
int layer () const
 
double phi () const
 
int phiT () const
 
double r () const
 
int sectorEta () const
 
int sectorPhi () const
 
 StubHT (const tt::FrameStub &frame, const DataFormats *dataFormats, int inv2R)
 
 StubHT (const StubGP &stub, int phiT, int inv2R)
 
double z () const
 
 ~StubHT ()
 
- Public Member Functions inherited from trackerTFP::Stub< double, double, double, int, int, int, int >
tt::Frame bv () const
 
const DataFormatsdataFormats () const
 
tt::FrameStub frame () const
 
 operator bool () const
 
Process p () const
 
 Stub (const tt::FrameStub &frame, const DataFormats *dataFormats, Process p)
 
 Stub (const Stub< Others... > &stub, Ts... data)
 
 Stub (const TTStubRef &ttStubRef, const DataFormats *dataFormats, Process p, Ts... data)
 
 Stub ()
 
int trackId () const
 
TTStubRef ttStubRef () const
 
 ~Stub ()
 

Private Member Functions

void fillTrackId ()
 

Private Attributes

int inv2R_
 

Additional Inherited Members

- Protected Member Functions inherited from trackerTFP::Stub< double, double, double, int, int, int, int >
double base (Variable v) const
 
DataFormat format (Variable v) const
 
int width (Variable v) const
 
- Protected Attributes inherited from trackerTFP::Stub< double, double, double, int, int, int, int >
std::tuple< Ts... > data_
 
const DataFormatsdataFormats_
 
tt::FrameStub frame_
 
Process p_
 
int trackId_
 

Detailed Description

Definition at line 676 of file DataFormats.h.

Constructor & Destructor Documentation

◆ StubHT() [1/2]

trackerTFP::StubHT::StubHT ( const tt::FrameStub frame,
const DataFormats dataFormats,
int  inv2R 
)

◆ StubHT() [2/2]

trackerTFP::StubHT::StubHT ( const StubGP stub,
int  phiT,
int  inv2R 
)

Definition at line 219 of file DataFormats.cc.

References trackerTFP::DataFormats::convertStub(), trackerTFP::Stub< double, double, double, int, int, int, int >::data_, trackerTFP::Stub< double, double, double, int, int, int, int >::dataFormats_, fillTrackId(), trackerTFP::DataFormat::floating(), trackerTFP::Stub< double, double, double, int, int, int, int >::format(), trackerTFP::Stub< double, double, double, int, int, int, int >::frame_, trackerTFP::inv2R, inv2R(), trackerTFP::Stub< double, double, double, int, int, int, int >::p_, trackerTFP::phiT, phiT(), r(), trackerTFP::sectorEta, and trackerTFP::sectorPhi.

220  : Stub(stub, stub.r(), stub.phi(), stub.z(), stub.layer(), stub.sectorPhi(), stub.sectorEta(), phiT),
221  inv2R_(inv2R) {
222  get<1>(data_) -=
224  fillTrackId();
226  }
void convertStub(Process p, const tt::Frame &bv, std::tuple< Ts... > &data) const
int phiT() const
Definition: DataFormats.h:698
int inv2R() const
Definition: DataFormats.h:684
double r() const
Definition: DataFormats.h:686
double floating(int i) const
Definition: DataFormats.h:94

◆ ~StubHT()

trackerTFP::StubHT::~StubHT ( )
inline

Definition at line 682 of file DataFormats.h.

682 {}

Member Function Documentation

◆ fillTrackId()

void trackerTFP::StubHT::fillTrackId ( )
private

◆ inv2R()

int trackerTFP::StubHT::inv2R ( ) const
inline

Definition at line 684 of file DataFormats.h.

References inv2R_.

Referenced by StubHT().

684 { return inv2R_; }

◆ layer()

int trackerTFP::StubHT::layer ( ) const
inline

◆ phi()

double trackerTFP::StubHT::phi ( void  ) const
inline

◆ phiT()

int trackerTFP::StubHT::phiT ( ) const
inline

Definition at line 698 of file DataFormats.h.

References trackerTFP::Stub< double, double, double, int, int, int, int >::data_.

Referenced by StubHT().

698 { return std::get<6>(data_); };

◆ r()

double trackerTFP::StubHT::r ( ) const
inline

Definition at line 686 of file DataFormats.h.

References trackerTFP::Stub< double, double, double, int, int, int, int >::data_.

Referenced by StubHT().

686 { return std::get<0>(data_); };

◆ sectorEta()

int trackerTFP::StubHT::sectorEta ( ) const
inline

◆ sectorPhi()

int trackerTFP::StubHT::sectorPhi ( ) const
inline

◆ z()

double trackerTFP::StubHT::z ( ) const
inline

Member Data Documentation

◆ inv2R_

int trackerTFP::StubHT::inv2R_
private

Definition at line 704 of file DataFormats.h.

Referenced by inv2R().