ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
TauShotFinder::ptSort Struct Reference
Collaboration diagram for TauShotFinder::ptSort:

Public Member Functions

 ptSort (const TauShotFinder &info)
 
bool operator() (const CaloCell *c1, const CaloCell *c2)
 

Public Attributes

const TauShotFinderm_info
 

Detailed Description

Definition at line 44 of file TauShotFinder.h.

Constructor & Destructor Documentation

◆ ptSort()

TauShotFinder::ptSort::ptSort ( const TauShotFinder info)

Definition at line 418 of file TauShotFinder.cxx.

418 : m_info(info) { }

Member Function Documentation

◆ operator()()

bool TauShotFinder::ptSort::operator() ( const CaloCell c1,
const CaloCell c2 
)

Definition at line 419 of file TauShotFinder.cxx.

419  {
420  double pt1 = cell1->pt()*m_info.m_caloWeightTool->wtCell(cell1);
421  double pt2 = cell2->pt()*m_info.m_caloWeightTool->wtCell(cell2);
422  return pt1 > pt2;
423 }

Member Data Documentation

◆ m_info

const TauShotFinder& TauShotFinder::ptSort::m_info

Definition at line 47 of file TauShotFinder.h.


The documentation for this struct was generated from the following files:
grepfile.info
info
Definition: grepfile.py:38
TauShotFinder::m_caloWeightTool
ToolHandle< IHadronicCalibrationTool > m_caloWeightTool
Definition: TauShotFinder.h:107
TauShotFinder::ptSort::m_info
const TauShotFinder & m_info
Definition: TauShotFinder.h:47