Go to the documentation of this file. 1 #ifndef DataFormats_ParticleFlowReco_PFResolutionMap_h
2 #define DataFormats_ParticleFlowReco_PFResolutionMap_h
45 int FindBin(
double eta,
double e,
double z = 0)
override;
47 double getRes(
double eta,
double phi,
double e,
int MapEta = -1);
PFResolutionMap(const TH2D &h)
create a map from a 2d histogram
bool WriteMapFile(const char *mapfile)
double dCrackPhi(double phi, double eta)
PFResolutionMap()
default constructor
bool ReadMapFile(const char *mapfile)
read text file
double getRes(double eta, double phi, double e, int MapEta=-1)
static const unsigned lineSize_
double minimum(double a, double b)
const char * GetMapFile() const
friend std::ostream & operator<<(std::ostream &out, const PFResolutionMap &rm)
print this map
int FindBin(double eta, double e, double z=0) override
extrapolation requires overloading of this function
bool IsInAPhiCrack(double phi, double eta)
Resolution Map (resolution as a function of eta and E)