CMS 3D CMS Logo

Functions
FTLRecHitComparison.h File Reference
#include "DataFormats/FTLRecHit/interface/FTLRecHit.h"

Go to the source code of this file.

Functions

bool operator< (const FTLRecHit &one, const FTLRecHit &other)
 
bool operator< (const FTLRecHit &one, const uint32_t &detid)
 
bool operator< (const uint32_t &detid, const FTLRecHit &other)
 

Function Documentation

◆ operator<() [1/3]

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

Definition at line 8 of file FTLRecHitComparison.h.

8  {
9  if (one.detid() == other.detid()) {
10  return one.energy() < other.energy();
11  }
12  return one.detid() < other.detid();
13 }

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

◆ operator<() [2/3]

bool operator< ( const FTLRecHit one,
const uint32_t &  detid 
)
inline

Definition at line 15 of file FTLRecHitComparison.h.

15 { return one.detid() < detid; }

References SiPixelPI::one.

◆ operator<() [3/3]

bool operator< ( const uint32_t &  detid,
const FTLRecHit other 
)
inline

Definition at line 17 of file FTLRecHitComparison.h.

17 { return detid < other.detid(); }

References trackingPlots::other.

SiPixelPI::one
Definition: SiPixelPayloadInspectorHelper.h:39
trackingPlots.other
other
Definition: trackingPlots.py:1460