#include <PhiSymmetryCalibration.h>
Private Member Functions | |
void | getKfactors () |
Static Private Attributes | |
static const int | kMaxEndciPhi = 360 |
static const float | kMiscalRangeEB = .05 |
static const float | kMiscalRangeEE = .10 |
static const int | kNMiscalBinsEB = 21 |
static const int | kNMiscalBinsEE = 41 |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 39 of file PhiSymmetryCalibration.h.
PhiSymmetryCalibration::PhiSymmetryCalibration | ( | const edm::ParameterSet & | iConfig | ) |
Constructor.
Definition at line 42 of file PhiSymmetryCalibration.cc.
References e_spectrum_b_histos, e_spectrum_e_histos, et_spectrum_b_histos, et_spectrum_e_histos, eventsinlb_, eventsinrun_, isfirstpass_, kBarlRings, kEndcEtaRings, nevents_, and spectra.
|
override |
Destructor.
Definition at line 77 of file PhiSymmetryCalibration.cc.
References e_spectrum_b_histos, e_spectrum_e_histos, et_spectrum_b_histos, et_spectrum_e_histos, mps_fire::i, kBarlRings, and kEndcEtaRings.
|
overridevirtual |
Called at each event.
Implements edm::one::EDAnalyzerBase.
Definition at line 228 of file PhiSymmetryCalibration.cc.
References funct::abs(), ap_, b_, EcalGeomPhiSymHelper::cellPos_, alignCSCRings::e, e_, e_spectrum_b_histos, e_spectrum_e_histos, ebRecHitToken_, DetId::Ecal, EcalBarrel, EcalEndcap, eCut_barl_, EcalGeomPhiSymHelper::endcapRing_, et_spectrum_b_histos, et_spectrum_e_histos, PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), EcalGeomPhiSymHelper::etaBoundary_, etsum_barl_, etsum_barl_miscal_, etsum_endc_, etsum_endc_miscal_, eventSet_, eventsinlb_, eventsinrun_, HcalObjRepresent::Fill(), relativeConstraints::geometry, geometryToken_, edm::EventSetup::getData(), EcalGeomPhiSymHelper::goodCell_barl, EcalGeomPhiSymHelper::goodCell_endc, EBDetId::ieta(), EBDetId::iphi(), isfirstpass_, EEDetId::ix(), EEDetId::iy(), kEndcEtaRings, kNMiscalBinsEB, kNMiscalBinsEE, miscalEB_, miscalEE_, nevents_, nhits_barl_, nhits_endc_, EcalGeomPhiSymHelper::nRing_, oldCalibs_, reiteration_, relativeConstraints::ring, setUp(), jetcorrextractor::sign(), spectra, and EEDetId::zside().
|
overridevirtual |
Called at beginning of job.
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 91 of file PhiSymmetryCalibration.cc.
References e_spectrum_b_histos, e_spectrum_e_histos, et_spectrum_b_histos, et_spectrum_e_histos, etsum_barl_, etsum_barl_miscal_, etsum_endc_, etsum_endc_miscal_, eventSet_, mps_fire::i, kBarlRings, kBarlWedges, kEndcEtaRings, kEndcWedgesX, kEndcWedgesY, kMiscalRangeEB, kMiscalRangeEE, kNMiscalBinsEB, kNMiscalBinsEE, kSides, miscalEB_, miscalEE_, nhits_barl_, nhits_endc_, relativeConstraints::ring, jetcorrextractor::sign(), spectra, and submitPVValidationJobs::t.
|
override |
Definition at line 501 of file PhiSymmetryCalibration.cc.
|
override |
Definition at line 377 of file PhiSymmetryCalibration.cc.
|
overridevirtual |
Called at end of job.
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 151 of file PhiSymmetryCalibration.cc.
References gather_cfg::cout, e_, e_spectrum_b_histos, e_spectrum_e_histos, EcalGeomPhiSymHelper::endcapRing_, et_spectrum_b_histos, et_spectrum_e_histos, etsum_barl_, etsum_endc_, eventSet_, validate-o2o-wbm::f, getKfactors(), mps_fire::i, k_barl_, k_endc_, kBarlRings, kBarlWedges, kEndcEtaRings, kEndcWedgesX, kEndcWedgesY, kSides, nevents_, nhits_barl_, nhits_endc_, submitPVResolutionJobs::out, relativeConstraints::ring, jetcorrextractor::sign(), and spectra.
Referenced by o2olib.O2ORunMgr::executeJob().
|
override |
Definition at line 503 of file PhiSymmetryCalibration.cc.
References edm::LuminosityBlockBase::beginTime(), gather_cfg::cout, edm::LuminosityBlockBase::endTime(), eventsinlb_, edm::LuminosityBlockBase::id(), edm::LuminosityBlockBase::run(), and edm::Timestamp::value().
|
override |
Definition at line 379 of file PhiSymmetryCalibration.cc.
References edm::RunBase::beginTime(), gather_cfg::cout, edm::RunBase::endTime(), eventsinrun_, edm::RunBase::run(), and edm::Timestamp::value().
|
private |
Definition at line 392 of file PhiSymmetryCalibration.cc.
References gather_cfg::cout, etsum_barl_miscal_, etsum_endc_miscal_, validate-o2o-wbm::f, k_barl_, k_endc_, kBarlRings, kEndcEtaRings, kMiscalRangeEB, kMiscalRangeEE, kNMiscalBinsEB, kNMiscalBinsEE, miscalEB_, miscalEE_, relativeConstraints::ring, and submitPVValidationJobs::t.
Referenced by endJob().
void PhiSymmetryCalibration::setUp | ( | const edm::EventSetup & | setup | ) |
Definition at line 479 of file PhiSymmetryCalibration.cc.
References channelStatusToken_, e_, edm::FileInPath::fullPath(), relativeConstraints::geometry, geometryToken_, edm::EventSetup::getData(), h, oldcalibfile_, oldCalibs_, EcalFloatCondObjectContainerXMLTranslator::readXML(), reiteration_, runTheMatrix::ret, EcalGeomPhiSymHelper::setup(), and statusThreshold_.
Referenced by analyze().
|
private |
Definition at line 135 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 136 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 101 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 123 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 128 of file PhiSymmetryCalibration.h.
Referenced by setUp().
|
private |
Definition at line 77 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 156 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), endJob(), PhiSymmetryCalibration(), and ~PhiSymmetryCalibration().
|
private |
Definition at line 158 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), endJob(), PhiSymmetryCalibration(), and ~PhiSymmetryCalibration().
|
private |
Definition at line 126 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 122 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 132 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 127 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 102 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 124 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 113 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 114 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 92 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 93 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 155 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), endJob(), PhiSymmetryCalibration(), and ~PhiSymmetryCalibration().
|
private |
Definition at line 157 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), endJob(), PhiSymmetryCalibration(), and ~PhiSymmetryCalibration().
|
private |
Definition at line 80 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 89 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
private |
Definition at line 81 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 90 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
private |
Definition at line 82 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 83 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 84 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 138 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 163 of file PhiSymmetryCalibration.h.
Referenced by analyze(), endLuminosityBlock(), and PhiSymmetryCalibration().
|
private |
Definition at line 162 of file PhiSymmetryCalibration.h.
Referenced by analyze(), endRun(), and PhiSymmetryCalibration().
|
private |
Definition at line 129 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 152 of file PhiSymmetryCalibration.h.
Referenced by analyze(), and PhiSymmetryCalibration().
|
private |
Definition at line 96 of file PhiSymmetryCalibration.h.
Referenced by endJob(), and getKfactors().
|
private |
Definition at line 97 of file PhiSymmetryCalibration.h.
Referenced by endJob(), and getKfactors().
|
staticprivate |
Definition at line 142 of file PhiSymmetryCalibration.h.
|
staticprivate |
Definition at line 72 of file PhiSymmetryCalibration.h.
Referenced by beginJob(), and getKfactors().
|
staticprivate |
Definition at line 75 of file PhiSymmetryCalibration.h.
Referenced by beginJob(), and getKfactors().
|
staticprivate |
Definition at line 71 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
staticprivate |
Definition at line 74 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
private |
Definition at line 98 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
private |
Definition at line 99 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
private |
Definition at line 161 of file PhiSymmetryCalibration.h.
Referenced by analyze(), endJob(), and PhiSymmetryCalibration().
|
private |
Definition at line 109 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 110 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 86 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 87 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 147 of file PhiSymmetryCalibration.h.
Referenced by setUp().
|
private |
the old calibration constants (when reiterating, the last ones derived)
Definition at line 150 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 105 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 106 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 144 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 117 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 118 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 146 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 160 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), endJob(), and PhiSymmetryCalibration().
|
private |
threshold in channel status beyond which channel is marked bad
Definition at line 140 of file PhiSymmetryCalibration.h.
Referenced by setUp().