ATLAS Offline Software
Loading...
Searching...
No Matches
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 397 of file TauShotFinder.cxx.

397: m_info(info) { }
const TauShotFinder & m_info

Member Function Documentation

◆ operator()()

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

Definition at line 398 of file TauShotFinder.cxx.

398 {
399 double pt1 = cell1->pt()*m_info.m_caloWeightTool->wtCell(cell1);
400 double pt2 = cell2->pt()*m_info.m_caloWeightTool->wtCell(cell2);
401 return pt1 > pt2;
402}

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: