1 #ifndef DataFormats_ParticleFlowReco_PFResolutionMap_h 2 #define DataFormats_ParticleFlowReco_PFResolutionMap_h 30 unsigned nbinseta,
double mineta,
double maxeta,
31 unsigned nbinse,
double mine,
double maxe,
double value=-1);
45 int FindBin(
double eta,
double e,
double z = 0 )
override;
47 double getRes(
double eta,
double phi,
double e,
int MapEta = -1);
friend std::ostream & operator<<(std::ostream &out, const PFResolutionMap &rm)
print this map
double minimum(double a, double b)
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
bool ReadMapFile(const char *mapfile)
read text file
double dCrackPhi(double phi, double eta)
static const unsigned lineSize_
bool WriteMapFile(const char *mapfile)
PFResolutionMap(const TH2D &h)
create a map from a 2d histogram
double getRes(double eta, double phi, double e, int MapEta=-1)
const char * GetMapFile() const
bool IsInAPhiCrack(double phi, double eta)
PFResolutionMap()
default constructor
int FindBin(double eta, double e, double z=0) override
extrapolation requires overloading of this function
Resolution Map (resolution as a function of eta and E)