CMS 3D CMS Logo

Classes | Functions
FTLCluster.h File Reference
#include <cmath>
#include <vector>
#include <cstdint>
#include <cassert>
#include <algorithm>
#include <numeric>
#include <functional>
#include "DataFormats/DetId/interface/DetId.h"

Go to the source code of this file.

Classes

class  FTLCluster
 
class  FTLCluster::FTLHit
 
class  FTLCluster::FTLHitPos
 
class  FTLCluster::Shift
 

Functions

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

Function Documentation

◆ operator<() [1/3]

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

Definition at line 261 of file FTLCluster.h.

261  {
262  if (one.detid() == other.detid()) {
263  if (one.minHitRow() < other.minHitRow()) {
264  return true;
265  } else if (one.minHitRow() > other.minHitRow()) {
266  return false;
267  } else if (one.minHitCol() < other.minHitCol()) {
268  return true;
269  } else {
270  return false;
271  }
272  }
273  return one.detid() < other.detid();
274 }

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

◆ operator<() [2/3]

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

Definition at line 276 of file FTLCluster.h.

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

References SiPixelPI::one.

◆ operator<() [3/3]

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

Definition at line 278 of file FTLCluster.h.

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

References trackingPlots::other.

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