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.

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

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

◆ operator<()

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

Definition at line 57 of file Phase2TrackerDigi.h.

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

References SiPixelPI::one, and trackingPlots::other.

◆ operator<<()

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

Definition at line 67 of file Phase2TrackerDigi.h.

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

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

SiPixelPI::one
Definition: SiPixelPayloadInspectorHelper.h:39
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
trackingPlots.other
other
Definition: trackingPlots.py:1467
createfilelist.int
int
Definition: createfilelist.py:10
Phase2TrackerDigi::channel
unsigned int channel() const
Definition: Phase2TrackerDigi.h:35