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 28 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 38 of file EcalTBHodoscopeRecInfoAlgo.h.

38 {}

◆ BeamTrack() [2/2]

EcalTBHodoscopeRecInfoAlgo::BeamTrack::BeamTrack ( )
inlineprivate

Definition at line 41 of file EcalTBHodoscopeRecInfoAlgo.h.

41 {}

Member Function Documentation

◆ operator<()

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

Definition at line 34 of file EcalTBHodoscopeRecInfoAlgo.h.

References b2, and xS.

34 { 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 32 of file EcalTBHodoscopeRecInfoAlgo.h.

◆ xS

float EcalTBHodoscopeRecInfoAlgo::BeamTrack::xS

Definition at line 31 of file EcalTBHodoscopeRecInfoAlgo.h.

Referenced by operator<().