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

◆ operator-()

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

Definition at line 62 of file Phase2TrackerDigi.h.

References createfilelist::int, and trackingPlots::other.

62  {
63  return int(one.channel()) - int(other.channel());
64 }

◆ operator<()

bool operator< ( const Phase2TrackerDigi one,
const Phase2TrackerDigi other 
)
inline

Definition at line 57 of file Phase2TrackerDigi.h.

References trackingPlots::other.

57  {
58  return one.channel() < other.channel();
59 }

◆ operator<<()

std::ostream& operator<< ( std::ostream &  o,
const Phase2TrackerDigi digi 
)
inline

Definition at line 67 of file Phase2TrackerDigi.h.

References Phase2TrackerDigi::channel(), and EcalTangentSkim_cfg::o.

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