CMS 3D CMS Logo

Classes | Functions
Phase2TrackerDigi.h File Reference
#include <stdint.h>
#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 65 of file Phase2TrackerDigi.h.

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

65  {
66  return int(one.packedPosition()) - int(other.packedPosition());
67 }
uint16_t packedPosition() const
bool operator< ( const Phase2TrackerDigi one,
const Phase2TrackerDigi other 
)
inline

Definition at line 60 of file Phase2TrackerDigi.h.

References Phase2TrackerDigi::packedPosition().

60  {
61  return one.packedPosition() < other.packedPosition();
62 }
uint16_t packedPosition() const
std::ostream& operator<< ( std::ostream &  o,
const Phase2TrackerDigi digi 
)
inline

Definition at line 71 of file Phase2TrackerDigi.h.

References Phase2TrackerDigi::channel().

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