CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions
EcalTBHodoscopeRecInfoAlgo::BeamTrack Class Reference

Class to hold track information. More...

Public Member Functions

 BeamTrack (float x0, float xs, float xq)
 
bool operator< (BeamTrack &b2)
 
 ~BeamTrack ()
 

Public Attributes

float x
 
float xQ
 
float xS
 

Private Member Functions

 BeamTrack ()
 

Detailed Description

Class to hold track information.

Definition at line 23 of file EcalTBHodoscopeRecInfoAlgo.h.

Constructor & Destructor Documentation

◆ BeamTrack() [1/2]

EcalTBHodoscopeRecInfoAlgo::BeamTrack::BeamTrack ( float  x0,
float  xs,
float  xq 
)
inline

◆ ~BeamTrack()

EcalTBHodoscopeRecInfoAlgo::BeamTrack::~BeamTrack ( )
inline

Definition at line 33 of file EcalTBHodoscopeRecInfoAlgo.h.

33 {}

◆ BeamTrack() [2/2]

EcalTBHodoscopeRecInfoAlgo::BeamTrack::BeamTrack ( )
inlineprivate

Definition at line 36 of file EcalTBHodoscopeRecInfoAlgo.h.

36 {}

Member Function Documentation

◆ operator<()

bool EcalTBHodoscopeRecInfoAlgo::BeamTrack::operator< ( BeamTrack b2)
inline

Definition at line 29 of file EcalTBHodoscopeRecInfoAlgo.h.

References b2, and xS.

29 { return (fabs(xS) < fabs(b2.xS)); }
weight_default_t b2[10]
Definition: b2.h:9

Member Data Documentation

◆ x

float EcalTBHodoscopeRecInfoAlgo::BeamTrack::x

◆ xQ

float EcalTBHodoscopeRecInfoAlgo::BeamTrack::xQ

Definition at line 27 of file EcalTBHodoscopeRecInfoAlgo.h.

◆ xS

float EcalTBHodoscopeRecInfoAlgo::BeamTrack::xS

Definition at line 26 of file EcalTBHodoscopeRecInfoAlgo.h.

Referenced by operator<().