#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 634 of file PhotonFix.cc.
References _onePi, cms::cuda::assert(), dPhi(), and DeadROC_duringRun::f1.
Referenced by GetaPhi().
|
static |
Definition at line 557 of file PhotonFix.cc.
References dqm-mbProfile::log, alignCSCRings::s, and mathSSE::sqrt().
|
static |
Definition at line 329 of file PhotonFix.cc.
References _barrelCGap, HltBtagPostValidation_cff::c, mps_fire::i, dqmiolumiharvest::j, and dqmdumpme::k.
Referenced by PhotonFixCMS::initialise().
|
static |
Definition at line 331 of file PhotonFix.cc.
References _barrelMGap, HltBtagPostValidation_cff::c, mps_fire::i, dqmiolumiharvest::j, and dqmdumpme::k.
Referenced by PhotonFixCMS::initialise().
|
static |
Definition at line 330 of file PhotonFix.cc.
References _barrelSGap, HltBtagPostValidation_cff::c, mps_fire::i, dqmiolumiharvest::j, and dqmdumpme::k.
Referenced by PhotonFixCMS::initialise().
|
staticprivate |
|
static |
Definition at line 564 of file PhotonFix.cc.
References _barrelCGap, _barrelMGap, _barrelSGap, _endcapCGap, _endcapCrystal, _endcapMGap, _endcapSGap, mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, and EcalTangentSkim_cfg::o.
|
static |
Definition at line 394 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, cms::cuda::be, mps_fire::i, and EcalTangentSkim_cfg::o.
|
static |
Definition at line 333 of file PhotonFix.cc.
References _endcapCGap, HltBtagPostValidation_cff::c, mps_fire::i, dqmiolumiharvest::j, and dqmdumpme::k.
Referenced by PhotonFixCMS::initialise().
|
static |
Definition at line 332 of file PhotonFix.cc.
References _endcapCrystal, HltBtagPostValidation_cff::c, mps_fire::i, and dqmiolumiharvest::j.
Referenced by PhotonFixCMS::initialise().
|
static |
Definition at line 335 of file PhotonFix.cc.
References _endcapMGap, HltBtagPostValidation_cff::c, mps_fire::i, dqmiolumiharvest::j, and dqmdumpme::k.
Referenced by PhotonFixCMS::initialise().
|
static |
Definition at line 334 of file PhotonFix.cc.
References _endcapSGap, HltBtagPostValidation_cff::c, mps_fire::i, dqmiolumiharvest::j, and dqmdumpme::k.
Referenced by PhotonFixCMS::initialise().
double PhotonFix::eta | ( | void | ) | const |
Definition at line 251 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 257 of file PhotonFix.cc.
References _aC, _be, and cms::cuda::assert().
double PhotonFix::etaM | ( | ) | const |
Definition at line 267 of file PhotonFix.cc.
References _aM, _be, and cms::cuda::assert().
double PhotonFix::etaS | ( | ) | const |
Definition at line 262 of file PhotonFix.cc.
References _aS, _be, and cms::cuda::assert().
|
staticprivate |
Definition at line 649 of file PhotonFix.cc.
References a, b, JetChargeProducer_cfi::exp, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by fixedEnergy(), and sigmaEnergy().
double PhotonFix::fixedEnergy | ( | ) | const |
Definition at line 149 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 |
Definition at line 660 of file PhotonFix.cc.
References a, b, JetChargeProducer_cfi::exp, and AlCaHLTBitMon_ParallelJobs::p.
|
static |
Definition at line 327 of file PhotonFix.cc.
References aPhi(), and DeadROC_duringRun::f1.
Referenced by PhotonFixCMS::initialise().
|
static |
Definition at line 368 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, cms::cuda::be, mps_fire::i, and AlCaHLTBitMon_ParallelJobs::p.
|
static |
Definition at line 671 of file PhotonFix.cc.
References _initialised, initialiseGeometry(), initialiseParameters(), and alignCSCRings::s.
|
static |
Definition at line 670 of file PhotonFix.cc.
References _initialised.
Referenced by PhotonFixCMS::initialise().
|
static |
Definition at line 2059 of file PhotonFix.cc.
References _barrelCGap, _barrelMGap, _barrelSGap, _endcapCGap, _endcapCrystal, _endcapMGap, _endcapSGap, cms::cuda::assert(), gather_cfg::cout, groupFilesInBlocks::fin, mps_fire::i, dqmiolumiharvest::j, and dqmdumpme::k.
Referenced by initialise().
|
static |
Definition at line 680 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, cms::cuda::assert(), cms::cuda::be, MillePedeFileConverter_cfg::e, mps_fire::i, and alignCSCRings::s.
Referenced by initialise(), and PhotonFixCMS::initialise().
double PhotonFix::phi | ( | void | ) | const |
Definition at line 253 of file PhotonFix.cc.
References _phi.
Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().
double PhotonFix::phiC | ( | ) | const |
Definition at line 272 of file PhotonFix.cc.
References _bC, _be, and cms::cuda::assert().
double PhotonFix::phiM | ( | ) | const |
Definition at line 282 of file PhotonFix.cc.
References _be, _bM, and cms::cuda::assert().
double PhotonFix::phiS | ( | ) | const |
Definition at line 277 of file PhotonFix.cc.
References _be, _bS, and cms::cuda::assert().
void PhotonFix::print | ( | void | ) | const |
|
static |
Definition at line 464 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, cms::cuda::be, mps_fire::i, and EcalTangentSkim_cfg::o.
double PhotonFix::r9 | ( | ) | const |
double PhotonFix::rawEnergy | ( | ) | const |
Definition at line 249 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 |
Definition at line 342 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, cms::cuda::be, mps_fire::i, and AlCaHLTBitMon_ParallelJobs::p.
void PhotonFix::setup | ( | ) |
Definition at line 11 of file PhotonFix.cc.
References _aC, _aM, _aS, _barrelCGap, _barrelMGap, _barrelSGap, _bC, _be, _bM, _bS, _endcapCGap, _endcapMGap, _endcapSGap, _eta, _hl, _initialised, _phi, _r9, cms::cuda::assert(), dPhi(), PVValHelper::dx, PVValHelper::dy, mps_fire::i, dqmiolumiharvest::j, alignCSCRings::r, diffTwoXMLs::r2, xZ(), and yZ().
Referenced by PhotonFix().
double PhotonFix::sigmaEnergy | ( | ) | const |
Definition at line 189 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 292 of file PhotonFix.cc.
References _aC, _be, and cms::cuda::assert().
double PhotonFix::xM | ( | ) | const |
Definition at line 302 of file PhotonFix.cc.
References _aM, _be, and cms::cuda::assert().
double PhotonFix::xS | ( | ) | const |
Definition at line 297 of file PhotonFix.cc.
References _aS, _be, and cms::cuda::assert().
double PhotonFix::xZ | ( | ) | const |
Definition at line 287 of file PhotonFix.cc.
References _be, _eta, _phi, asinh(), cms::cuda::assert(), and funct::cos().
Referenced by fixedEnergy(), setup(), and sigmaEnergy().
double PhotonFix::yC | ( | ) | const |
Definition at line 312 of file PhotonFix.cc.
References _bC, _be, and cms::cuda::assert().
double PhotonFix::yM | ( | ) | const |
Definition at line 322 of file PhotonFix.cc.
References _be, _bM, and cms::cuda::assert().
double PhotonFix::yS | ( | ) | const |
Definition at line 317 of file PhotonFix.cc.
References _be, _bS, and cms::cuda::assert().
double PhotonFix::yZ | ( | ) | const |
Definition at line 307 of file PhotonFix.cc.
References _be, _eta, _phi, asinh(), cms::cuda::assert(), and funct::sin().
Referenced by fixedEnergy(), setup(), and sigmaEnergy().
|
private |
Definition at line 127 of file PhotonFix.h.
Referenced by etaC(), fixedEnergy(), print(), setup(), sigmaEnergy(), and xC().
|
private |
Definition at line 127 of file PhotonFix.h.
Referenced by etaM(), fixedEnergy(), print(), setup(), sigmaEnergy(), and xM().
|
private |
Definition at line 127 of file PhotonFix.h.
Referenced by etaS(), fixedEnergy(), print(), setup(), sigmaEnergy(), and xS().
|
staticprivate |
Definition at line 161 of file PhotonFix.h.
Referenced by barrelCGap(), dumpGaps(), initialiseGeometry(), and setup().
|
staticprivate |
Definition at line 163 of file PhotonFix.h.
Referenced by barrelMGap(), dumpGaps(), initialiseGeometry(), and setup().
|
staticprivate |
Definition at line 162 of file PhotonFix.h.
Referenced by barrelSGap(), dumpGaps(), initialiseGeometry(), and setup().
|
private |
Definition at line 127 of file PhotonFix.h.
Referenced by fixedEnergy(), phiC(), print(), setup(), sigmaEnergy(), and yC().
|
private |
|
private |
Definition at line 127 of file PhotonFix.h.
Referenced by fixedEnergy(), phiM(), print(), setup(), sigmaEnergy(), and yM().
|
private |
Definition at line 127 of file PhotonFix.h.
Referenced by fixedEnergy(), phiS(), print(), setup(), sigmaEnergy(), and yS().
|
private |
Definition at line 126 of file PhotonFix.h.
Referenced by fixedEnergy(), print(), rawEnergy(), and sigmaEnergy().
|
staticprivate |
Definition at line 167 of file PhotonFix.h.
Referenced by dumpGaps(), endcapCGap(), initialiseGeometry(), and setup().
|
staticprivate |
Definition at line 166 of file PhotonFix.h.
Referenced by dumpGaps(), endcapCrystal(), and initialiseGeometry().
|
staticprivate |
Definition at line 169 of file PhotonFix.h.
Referenced by dumpGaps(), endcapMGap(), initialiseGeometry(), and setup().
|
staticprivate |
Definition at line 168 of file PhotonFix.h.
Referenced by dumpGaps(), endcapSGap(), initialiseGeometry(), and setup().
|
private |
Definition at line 126 of file PhotonFix.h.
Referenced by eta(), fixedEnergy(), print(), setup(), sigmaEnergy(), xZ(), and yZ().
|
private |
Definition at line 125 of file PhotonFix.h.
Referenced by fixedEnergy(), setup(), and sigmaEnergy().
|
staticprivate |
Definition at line 134 of file PhotonFix.h.
Referenced by initialise(), initialised(), initialiseParameters(), and setup().
|
staticprivate |
Definition at line 139 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 141 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 140 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 138 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 143 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 145 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 144 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 142 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 146 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 137 of file PhotonFix.h.
Referenced by dumpParameters(), fixedEnergy(), getParameters(), initialiseParameters(), printParameters(), and setParameters().
|
staticprivate |
Definition at line 130 of file PhotonFix.h.
|
private |
|
private |
Definition at line 126 of file PhotonFix.h.
Referenced by fixedEnergy(), print(), r9(), setup(), and sigmaEnergy().
|
staticprivate |
Definition at line 151 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 153 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 152 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 150 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 155 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 157 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 156 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 154 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 158 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 149 of file PhotonFix.h.
Referenced by dumpParameters(), getParameters(), initialiseParameters(), printParameters(), setParameters(), and sigmaEnergy().
|
staticprivate |
Definition at line 131 of file PhotonFix.h.
Referenced by dPhi().