ATLAS Offline Software
Loading...
Searching...
No Matches
InDet::compDetElements_A Class Reference

#include <SiDetElementsComparison.h>

Collaboration diagram for InDet::compDetElements_A:

Public Member Functions

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

Detailed Description

Definition at line 16 of file SiDetElementsComparison.h.

Member Function Documentation

◆ operator()()

bool InDet::compDetElements_A::operator() ( const InDetDD::SiDetectorElement * e1,
const InDetDD::SiDetectorElement * e2 ) const
inline

Definition at line 20 of file SiDetElementsComparison.h.

22 {
23
24 Amg::Vector3D p1 = e1->center();
25 Amg::Vector3D p2 = e2->center();
26 double f1 = atan2(p1.y(),p1.x());
27 double f2 = atan2(p2.y(),p2.x());
28 return(f1<f2);
29 }
Eigen::Matrix< double, 3, 1 > Vector3D
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: