CMS 3D CMS Logo

Functions
HcalHaloAlgo.cc File Reference
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "RecoMET/METAlgorithms/interface/HcalHaloAlgo.h"
#include <map>
#include <iomanip>

Go to the source code of this file.

Functions

bool CompareTime (const HBHERecHit *x, const HBHERecHit *y)
 
bool CompareTowers (const CaloTower *x, const CaloTower *y)
 

Function Documentation

◆ CompareTime()

bool CompareTime ( const HBHERecHit x,
const HBHERecHit y 
)

Definition at line 19 of file HcalHaloAlgo.cc.

19 { return x->time() < y->time(); }

Referenced by HcalHaloAlgo::Calculate().

◆ CompareTowers()

bool CompareTowers ( const CaloTower x,
const CaloTower y 
)

Definition at line 20 of file HcalHaloAlgo.cc.

20  {
21  return x->iphi() * 1000 + x->ieta() < y->iphi() * 1000 + y->ieta();
22 }

Referenced by HcalHaloAlgo::Calculate().

genVertex_cff.x
x
Definition: genVertex_cff.py:12
detailsBasic3DVector::y
float float y
Definition: extBasic3DVector.h:14