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 62 of file Phase2TrackerDigi.h.

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

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

Definition at line 57 of file Phase2TrackerDigi.h.

References Phase2TrackerDigi::channel().

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

Definition at line 67 of file Phase2TrackerDigi.h.

References Phase2TrackerDigi::channel().

67 { return o << " " << digi.channel(); }
unsigned int channel() const