CMS 3D CMS Logo

Classes | Functions
Phase2TrackerDigi.h File Reference
#include <cstdint>
#include <utility>
#include <cassert>
#include <iostream>

Go to the source code of this file.

Classes

class  Phase2TrackerDigi
 

Functions

int operator- (const Phase2TrackerDigi &one, const Phase2TrackerDigi &other)
 
bool operator< (const Phase2TrackerDigi &one, const Phase2TrackerDigi &other)
 
std::ostream & operator<< (std::ostream &o, const Phase2TrackerDigi &digi)
 

Function Documentation

int operator- ( const Phase2TrackerDigi one,
const Phase2TrackerDigi other 
)
inline

Definition at line 64 of file Phase2TrackerDigi.h.

References Phase2TrackerDigi::channel(), and createfilelist::int.

64  {
65  return int(one.channel()) - int(other.channel());
66 }
unsigned int channel() const
bool operator< ( const Phase2TrackerDigi one,
const Phase2TrackerDigi other 
)
inline

Definition at line 59 of file Phase2TrackerDigi.h.

References Phase2TrackerDigi::channel().

59  {
60  return one.channel() < other.channel();
61 }
unsigned int channel() const
std::ostream& operator<< ( std::ostream &  o,
const Phase2TrackerDigi digi 
)
inline

Definition at line 70 of file Phase2TrackerDigi.h.

References Phase2TrackerDigi::channel().

70  {
71  return o << " " << digi.channel();
72 }
unsigned int channel() const