ATLAS Offline Software
Loading...
Searching...
No Matches
EgammaReSamp1Fex.cxx File Reference
#include "EgammaReSamp1Fex.h"
#include "CaloGeoHelpers/CaloSampling.h"
#include "IRegionSelector/IRoiDescriptor.h"
#include "TrigT2CaloCommon/Calo_Def.h"
Include dependency graph for EgammaReSamp1Fex.cxx:

Go to the source code of this file.

Functions

double proxim (double b, double a)

Function Documentation

◆ proxim()

double proxim ( double b,
double a )
inline

Definition at line 25 of file EgammaReSamp1Fex.cxx.

26{
27 return b + 2. * M_PI * round((a - b) * (1. / (2. * M_PI)));
28}
#define M_PI
static Double_t a
float round(const float toRound, const unsigned int decimals)
Definition Mdt.cxx:27