ATLAS Offline Software
Public Member Functions | List of all members
InDet::compTRTDetElements_A Class Reference

#include <TRT_DetElementsComparison.h>

Collaboration diagram for InDet::compTRTDetElements_A:

Public Member Functions

bool operator() (const InDetDD::TRT_BaseElement *e1, const InDetDD::TRT_BaseElement *e2)
 

Detailed Description

Definition at line 18 of file TRT_DetElementsComparison.h.

Member Function Documentation

◆ operator()()

bool InDet::compTRTDetElements_A::operator() ( const InDetDD::TRT_BaseElement e1,
const InDetDD::TRT_BaseElement e2 
)
inline

Definition at line 22 of file TRT_DetElementsComparison.h.

24  {
25  const Amg::Transform3D& T1 = e1->surface().transform();
26  const Amg::Transform3D& T2 = e2->surface().transform();
27  double f1 = atan2(T1(1,0),T1(0,0));
28  double f2 = atan2(T2(1,0),T2(0,0));
29  return(f1<f2);
30  }

The documentation for this class was generated from the following file:
egammaEnergyPositionAllSamples::e1
double e1(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 1st sampling
read_hist_ntuple.f2
f2
Definition: read_hist_ntuple.py:20
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
egammaEnergyPositionAllSamples::e2
double e2(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 2nd sampling
read_hist_ntuple.f1
f1
Definition: read_hist_ntuple.py:4