ATLAS Offline Software
Loading...
Searching...
No Matches
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 }
Eigen::Affine3d Transform3D
double e2(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 2nd sampling
double e1(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 1st sampling

The documentation for this class was generated from the following file: