CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
GEMCSCLCTDigi Class Reference

#include <GEMCSCLCTDigi.h>

Public Member Functions

 GEMCSCLCTDigi (const CSCCorrelatedLCTDigi, float)
 Constructors. More...
 
 GEMCSCLCTDigi ()
 Default. More...
 
int getBend () const
 return bend More...
 
const CSCCorrelatedLCTDigigetDigi () const
 default More...
 
bool operator!= (const GEMCSCLCTDigi &rhs) const
 
bool operator== (const GEMCSCLCTDigi &) const
 Comparison. More...
 

Private Attributes

float bend_
 
CSCCorrelatedLCTDigi digi_
 

Detailed Description

Definition at line 8 of file GEMCSCLCTDigi.h.

Constructor & Destructor Documentation

GEMCSCLCTDigi::GEMCSCLCTDigi ( const CSCCorrelatedLCTDigi  digi,
float  bend 
)

Constructors.

Definition at line 6 of file GEMCSCLCTDigi.cc.

6  :
7  digi_(digi),
8  bend_(bend)
9 {}
CSCCorrelatedLCTDigi digi_
Definition: GEMCSCLCTDigi.h:28
GEMCSCLCTDigi::GEMCSCLCTDigi ( )

Default.

Definition at line 12 of file GEMCSCLCTDigi.cc.

12  {
13 }

Member Function Documentation

int GEMCSCLCTDigi::getBend ( ) const
inline

return bend

Definition at line 20 of file GEMCSCLCTDigi.h.

References bend_.

Referenced by operator==().

20 { return bend_; }
const CSCCorrelatedLCTDigi& GEMCSCLCTDigi::getDigi ( ) const
inline

default

return track number

Definition at line 17 of file GEMCSCLCTDigi.h.

References digi_.

Referenced by operator==().

17 { return digi_; }
CSCCorrelatedLCTDigi digi_
Definition: GEMCSCLCTDigi.h:28
bool GEMCSCLCTDigi::operator!= ( const GEMCSCLCTDigi rhs) const
inline

Definition at line 24 of file GEMCSCLCTDigi.h.

References operator==().

25  { return !(this->operator==(rhs)); }
bool operator==(const GEMCSCLCTDigi &) const
Comparison.
bool GEMCSCLCTDigi::operator== ( const GEMCSCLCTDigi rhs) const

Comparison.

Definition at line 16 of file GEMCSCLCTDigi.cc.

References bend_, digi_, getBend(), and getDigi().

Referenced by operator!=().

16  {
17  return ( digi_ == rhs.getDigi() && bend_ == rhs.getBend() );
18 }
CSCCorrelatedLCTDigi digi_
Definition: GEMCSCLCTDigi.h:28
const CSCCorrelatedLCTDigi & getDigi() const
default
Definition: GEMCSCLCTDigi.h:17
int getBend() const
return bend
Definition: GEMCSCLCTDigi.h:20

Member Data Documentation

float GEMCSCLCTDigi::bend_
private

Definition at line 29 of file GEMCSCLCTDigi.h.

Referenced by getBend(), and operator==().

CSCCorrelatedLCTDigi GEMCSCLCTDigi::digi_
private

Definition at line 28 of file GEMCSCLCTDigi.h.

Referenced by getDigi(), and operator==().