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);
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)
bool ReadMapFile(const char *mapfile)
read text file
double dCrackPhi(double phi, double eta)
static const unsigned lineSize_
bool WriteMapFile(const char *mapfile)
int FindBin(double eta, double e)
extrapolation requires overloading of this function
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
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Resolution Map (resolution as a function of eta and E)