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);
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)
PFResolutionMap(const TH2D &h)
create a map from a 2d histogram
double getRes(double eta, double phi, double e, int MapEta=-1)
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
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)
const char * GetMapFile() const