#include <PhotonFix.h>
Public Member Functions | |
double | eta () const |
double | etaC () const |
double | etaM () const |
double | etaS () const |
double | fixedEnergy () const |
double | phi () const |
double | phiC () const |
double | phiM () const |
double | phiS () const |
PhotonFix (double e, double eta, double phi, double r9) | |
void | print () const |
double | r9 () const |
double | rawEnergy () const |
void | setup () |
double | sigmaEnergy () const |
double | xC () const |
double | xM () const |
double | xS () const |
double | xZ () const |
double | yC () const |
double | yM () const |
double | yS () const |
double | yZ () const |
Static Public Member Functions | |
static double | asinh (double s) |
static void | barrelCGap (unsigned i, unsigned j, unsigned k, double c) |
static void | barrelMGap (unsigned i, unsigned j, unsigned k, double c) |
static void | barrelSGap (unsigned i, unsigned j, unsigned k, double c) |
static void | dumpGaps (std::ostream &o) |
static void | dumpParameters (std::ostream &o) |
static void | endcapCGap (unsigned i, unsigned j, unsigned k, double c) |
static void | endcapCrystal (unsigned i, unsigned j, bool c) |
static void | endcapMGap (unsigned i, unsigned j, unsigned k, double c) |
static void | endcapSGap (unsigned i, unsigned j, unsigned k, double c) |
static double | GetaPhi (double f0, double f1) |
static void | getParameters (unsigned be, unsigned hl, double *p) |
static bool | initialise (const std::string &s="Nominal") |
static bool | initialised () |
static bool | initialiseGeometry (const std::string &s) |
static bool | initialiseParameters (const std::string &s) |
static void | printParameters (std::ostream &o) |
static void | setParameters (unsigned be, unsigned hl, const double *p) |
Static Private Member Functions | |
static double | aPhi (double f0, double f1) |
static double | dPhi (double f0, double f1) |
static double | expCorrection (double a, const double *p) |
static double | gausCorrection (double a, const double *p) |
Private Attributes | |
double | _aC |
double | _aM |
double | _aS |
double | _bC |
unsigned | _be |
double | _bM |
double | _bS |
double | _e |
double | _eta |
unsigned | _hl |
double | _phi |
double | _r9 |
Static Private Attributes | |
static double | _barrelCGap [169][360][2] |
static double | _barrelMGap [7][18][2] |
static double | _barrelSGap [33][180][2] |
static double | _endcapCGap [2][7080][2] |
static bool | _endcapCrystal [100][100] |
static double | _endcapMGap [2][1][2] |
static double | _endcapSGap [2][264][2] |
static bool | _initialised =false |
static double | _meanAC [2][2][4] |
static double | _meanAM [2][2][4] |
static double | _meanAS [2][2][4] |
static double | _meanAT [2][2][4] |
static double | _meanBC [2][2][4] |
static double | _meanBM [2][2][4] |
static double | _meanBS [2][2][4] |
static double | _meanBT [2][2][4] |
static double | _meanR9 [2][2][4] |
static double | _meanScale [2][2][4] |
static const double | _onePi |
static double | _sigmaAC [2][2][4] |
static double | _sigmaAM [2][2][4] |
static double | _sigmaAS [2][2][4] |
static double | _sigmaAT [2][2][4] |
static double | _sigmaBC [2][2][4] |
static double | _sigmaBM [2][2][4] |
static double | _sigmaBS [2][2][4] |
static double | _sigmaBT [2][2][4] |
static double | _sigmaR9 [2][2][4] |
static double | _sigmaScale [2][2][4] |
static const double | _twoPi |
Definition at line 49 of file PhotonFix.h.
PhotonFix::PhotonFix | ( | double | e, |
double | eta, | ||
double | phi, | ||
double | r9 | ||
) |
|
staticprivate |
Definition at line 623 of file PhotonFix.cc.
References _onePi, and dPhi().
Referenced by GetaPhi().
|
static |
|
static |
Definition at line 328 of file PhotonFix.cc.
References _barrelCGap, EnergyCorrector::c, i, j, and gen::k.
Referenced by PhotonFixCMS::initialise().
|
static |
Definition at line 334 of file PhotonFix.cc.
References _barrelMGap, EnergyCorrector::c, i, j, and gen::k.
Referenced by PhotonFixCMS::initialise().
|
static |
Definition at line 331 of file PhotonFix.cc.
References _barrelSGap, EnergyCorrector::c, i, j, and gen::k.
Referenced by PhotonFixCMS::initialise().
|
staticprivate |
|
static |
Definition at line 557 of file PhotonFix.cc.
References _barrelCGap, _barrelMGap, _barrelSGap, _endcapCGap, _endcapCrystal, _endcapMGap, _endcapSGap, i, j, and gen::k.
|
static |
Definition at line 409 of file PhotonFix.cc.
References _meanAC, _meanAM, _meanAS, _meanAT, _meanBC, _meanBM, _meanBS, _meanBT, _meanR9, _meanScale, _sigmaAC, _sigmaAM, _sigmaAS, _sigmaAT, _sigmaBC, _sigmaBM, _sigmaBS, _sigmaBT, _sigmaR9, _sigmaScale, and i.
|
static |
Definition at line 340 of file PhotonFix.cc.
References _endcapCGap, EnergyCorrector::c, i, j, and gen::k.
Referenced by PhotonFixCMS::initialise().
|
static |
Definition at line 337 of file PhotonFix.cc.
References _endcapCrystal, EnergyCorrector::c, i, and j.
Referenced by PhotonFixCMS::initialise().
|
static |
Definition at line 346 of file PhotonFix.cc.
References _endcapMGap, EnergyCorrector::c, i, j, and gen::k.
Referenced by PhotonFixCMS::initialise().
|
static |
Definition at line 343 of file PhotonFix.cc.
References _endcapSGap, EnergyCorrector::c, i, j, and gen::k.
Referenced by PhotonFixCMS::initialise().
double PhotonFix::eta | ( | void | ) | const |
Definition at line 242 of file PhotonFix.cc.
References _eta.
Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
double PhotonFix::etaC | ( | ) | const |
Definition at line 254 of file PhotonFix.cc.
double PhotonFix::etaM | ( | ) | const |
Definition at line 264 of file PhotonFix.cc.
double PhotonFix::etaS | ( | ) | const |
Definition at line 259 of file PhotonFix.cc.
|
staticprivate |
Definition at line 636 of file PhotonFix.cc.
References b, and JetChargeProducer_cfi::exp.
Referenced by fixedEnergy(), and sigmaEnergy().
double PhotonFix::fixedEnergy | ( | ) | const |
Definition at line 139 of file PhotonFix.cc.
References _aC, _aM, _aS, _bC, _be, _bM, _bS, _e, _eta, _hl, _meanAC, _meanAM, _meanAS, _meanAT, _meanBC, _meanBM, _meanBS, _meanBT, _meanR9, _meanScale, _r9, expCorrection(), f, xZ(), and yZ().
Referenced by PhotonFixCMS::fixedEnergy().
|
staticprivate |
|
static |
Definition at line 324 of file PhotonFix.cc.
References aPhi().
Referenced by PhotonFixCMS::initialise().
|
static |
|
static |
Definition at line 654 of file PhotonFix.cc.
References _initialised, initialiseGeometry(), and initialiseParameters().
|
static |
Definition at line 651 of file PhotonFix.cc.
References _initialised.
Referenced by PhotonFixCMS::initialise().
|
static |
Definition at line 2042 of file PhotonFix.cc.
References _barrelCGap, _barrelMGap, _barrelSGap, _endcapCGap, _endcapCrystal, _endcapMGap, _endcapSGap, _initialised, _meanAC, _meanAM, _meanAS, _meanAT, _meanBC, _meanBM, _meanBS, _meanBT, _meanR9, _meanScale, _onePi, _sigmaAC, _sigmaAM, _sigmaAS, _sigmaAT, _sigmaBC, _sigmaBM, _sigmaBS, _sigmaBT, _sigmaR9, _sigmaScale, _twoPi, gather_cfg::cout, groupFilesInBlocks::fin, i, j, and gen::k.
Referenced by initialise().
|
static |
Definition at line 663 of file PhotonFix.cc.
References _initialised, _meanAC, _meanAM, _meanAS, _meanAT, _meanBC, _meanBM, _meanBS, _meanBT, _meanR9, _meanScale, _sigmaAC, _sigmaAM, _sigmaAS, _sigmaAT, _sigmaBC, _sigmaBM, _sigmaBS, _sigmaBT, _sigmaR9, _sigmaScale, MillePedeFileConverter_cfg::e, and i.
Referenced by initialise(), and PhotonFixCMS::initialise().
double PhotonFix::phi | ( | void | ) | const |
Definition at line 246 of file PhotonFix.cc.
References _phi.
Referenced by Particle.Particle::__str__().
double PhotonFix::phiC | ( | ) | const |
Definition at line 269 of file PhotonFix.cc.
double PhotonFix::phiM | ( | ) | const |
Definition at line 279 of file PhotonFix.cc.
double PhotonFix::phiS | ( | ) | const |
Definition at line 274 of file PhotonFix.cc.
void PhotonFix::print | ( | void | ) | const |
|
static |
double PhotonFix::r9 | ( | ) | const |
Definition at line 250 of file PhotonFix.cc.
References _r9.
double PhotonFix::rawEnergy | ( | ) | const |
Definition at line 238 of file PhotonFix.cc.
References _e.
Referenced by Jet.Jet::chargedEmEnergyFraction(), Jet.Jet::chargedHadronEnergyFraction(), Jet.Jet::chargedMuEnergyFraction(), Jet.Jet::electronEnergyFraction(), Jet.Jet::HFEMEnergyFraction(), Jet.Jet::HFHadronEnergyFraction(), Jet.Jet::hoEnergyFraction(), Jet.Jet::jetID(), Jet.Jet::muonEnergyFraction(), Jet.Jet::neutralEmEnergyFraction(), Jet.Jet::neutralHadronEnergyFraction(), and Jet.Jet::photonEnergyFraction().
|
static |
void PhotonFix::setup | ( | ) |
Definition at line 15 of file PhotonFix.cc.
References _aC, _aM, _aS, _barrelCGap, _barrelMGap, _barrelSGap, _bC, _be, _bM, _bS, _endcapCGap, _endcapMGap, _endcapSGap, _eta, _hl, _initialised, _phi, _r9, dPhi(), i, j, alignCSCRings::r, diffTwoXMLs::r2, HcalHitReconstructor_hbhe_cfi::r2Min, xZ(), and yZ().
Referenced by PhotonFix().
double PhotonFix::sigmaEnergy | ( | ) | const |
Definition at line 178 of file PhotonFix.cc.
References _aC, _aM, _aS, _bC, _be, _bM, _bS, _e, _eta, _hl, _r9, _sigmaAC, _sigmaAM, _sigmaAS, _sigmaAT, _sigmaBC, _sigmaBM, _sigmaBS, _sigmaBT, _sigmaR9, _sigmaScale, expCorrection(), f, mathSSE::sqrt(), xZ(), and yZ().
Referenced by PhotonFixCMS::sigmaEnergy().
double PhotonFix::xC | ( | ) | const |
Definition at line 289 of file PhotonFix.cc.
double PhotonFix::xM | ( | ) | const |
Definition at line 299 of file PhotonFix.cc.
double PhotonFix::xS | ( | ) | const |
Definition at line 294 of file PhotonFix.cc.
double PhotonFix::xZ | ( | ) | const |
Definition at line 284 of file PhotonFix.cc.
References _be, _eta, _phi, asinh(), and funct::cos().
Referenced by fixedEnergy(), setup(), and sigmaEnergy().
double PhotonFix::yC | ( | ) | const |
Definition at line 309 of file PhotonFix.cc.
double PhotonFix::yM | ( | ) | const |
Definition at line 319 of file PhotonFix.cc.
double PhotonFix::yS | ( | ) | const |
Definition at line 314 of file PhotonFix.cc.
double PhotonFix::yZ | ( | ) | const |
Definition at line 304 of file PhotonFix.cc.
References _be, _eta, _phi, asinh(), and funct::sin().
Referenced by fixedEnergy(), setup(), and sigmaEnergy().
|
private |
Definition at line 128 of file PhotonFix.h.
Referenced by etaC(), fixedEnergy(), print(), setup(), sigmaEnergy(), and xC().
|
private |
Definition at line 128 of file PhotonFix.h.
Referenced by etaM(), fixedEnergy(), print(), setup(), sigmaEnergy(), and xM().
|
private |
Definition at line 128 of file PhotonFix.h.
Referenced by etaS(), fixedEnergy(), print(), setup(), sigmaEnergy(), and xS().
|
staticprivate |
Definition at line 162 of file PhotonFix.h.
Referenced by barrelCGap(), dumpGaps(), initialiseGeometry(), and setup().
|
staticprivate |
Definition at line 164 of file PhotonFix.h.
Referenced by barrelMGap(), dumpGaps(), initialiseGeometry(), and setup().
|
staticprivate |
Definition at line 163 of file PhotonFix.h.
Referenced by barrelSGap(), dumpGaps(), initialiseGeometry(), and setup().
|
private |
Definition at line 128 of file PhotonFix.h.
Referenced by fixedEnergy(), phiC(), print(), setup(), sigmaEnergy(), and yC().
|
private |
|
private |
Definition at line 128 of file PhotonFix.h.
Referenced by fixedEnergy(), phiM(), print(), setup(), sigmaEnergy(), and yM().
|
private |
Definition at line 128 of file PhotonFix.h.
Referenced by fixedEnergy(), phiS(), print(), setup(), sigmaEnergy(), and yS().
|
private |
Definition at line 127 of file PhotonFix.h.
Referenced by fixedEnergy(), print(), rawEnergy(), and sigmaEnergy().
|
staticprivate |
Definition at line 168 of file PhotonFix.h.
Referenced by dumpGaps(), endcapCGap(), initialiseGeometry(), and setup().
|
staticprivate |
Definition at line 167 of file PhotonFix.h.
Referenced by dumpGaps(), endcapCrystal(), and initialiseGeometry().
|
staticprivate |
Definition at line 170 of file PhotonFix.h.
Referenced by dumpGaps(), endcapMGap(), initialiseGeometry(), and setup().
|
staticprivate |
Definition at line 169 of file PhotonFix.h.
Referenced by dumpGaps(), endcapSGap(), initialiseGeometry(), and setup().
|
private |
Definition at line 127 of file PhotonFix.h.
Referenced by eta(), fixedEnergy(), print(), setup(), sigmaEnergy(), xZ(), and yZ().
|
private |
Definition at line 126 of file PhotonFix.h.
Referenced by fixedEnergy(), setup(), and sigmaEnergy().
|
staticprivate |
Definition at line 135 of file PhotonFix.h.
Referenced by initialise(), initialised(), initialiseGeometry(), initialiseParameters(), and setup().
|
staticprivate |
Definition at line 140 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 142 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 141 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 139 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 144 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 146 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 145 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 143 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 147 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 138 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 131 of file PhotonFix.h.
Referenced by aPhi(), dPhi(), and initialiseGeometry().
|
private |
|
private |
Definition at line 127 of file PhotonFix.h.
Referenced by fixedEnergy(), print(), r9(), setup(), and sigmaEnergy().
|
staticprivate |
Definition at line 152 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 154 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 153 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 151 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 156 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 158 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 157 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 155 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 159 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 150 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseGeometry(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 132 of file PhotonFix.h.
Referenced by dPhi(), and initialiseGeometry().