#include <PhiSymmetryCalibration_step2.h>
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 17 of file PhiSymmetryCalibration_step2.h.
PhiSymmetryCalibration_step2::PhiSymmetryCalibration_step2 | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 20 of file PhiSymmetryCalibration_step2.cc.
|
override |
Definition at line 18 of file PhiSymmetryCalibration_step2.cc.
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 30 of file PhiSymmetryCalibration_step2.cc.
References firstpass_, and setUp().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 94 of file PhiSymmetryCalibration_step2.cc.
References esum_barl_, esum_endc_, etsum_barl_, etsum_endc_, kBarlRings, kBarlWedges, kEndcWedgesX, kEndcWedgesY, kSides, nhits_barl_, nhits_endc_, readEtSums(), setupResidHistos(), and jetcorrextractor::sign().
|
overridevirtual |
this is the new constant, or better, the correction to be applied to the old constant
residual miscalibraition / expected precision
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 119 of file PhiSymmetryCalibration_step2.cc.
References funct::abs(), barrelCells, EcalGeomPhiSymHelper::cellArea_, EcalGeomPhiSymHelper::cellPos_, correl_barl_histos, correl_endc_histos, EcalCondHeader::datasource_, EcalCondHeader::date_, e_, endcapCells, EcalGeomPhiSymHelper::endcapRing_, epsilon_M_barl, epsilon_M_endc, PV3DBase< T, PVType, FrameType >::eta(), etsum_barl_, etsum_endc_, etsum_endc_uncorr, etsumMean_barl_, etsumMean_endc_, fillConstantsHistos(), fillHistos(), firstpass_, EcalGeomPhiSymHelper::goodCell_barl, EcalGeomPhiSymHelper::goodCell_endc, EBDetId::ieta(), EBDetId::iphi(), EEDetId::ix(), EEDetId::iy(), k_barl_, k_endc_, kBarlRings, kBarlWedges, kEndcEtaRings, kEndcWedgesX, kEndcWedgesY, kSides, EcalGeomPhiSymHelper::meanCellArea_, EcalCondHeader::method_, miscal_resid_barl_histos, miscal_resid_endc_histos, miscalib_, newCalibs_, oldCalibs_, submitPVResolutionJobs::out, outResidHistos(), rawconst_barl, rawconst_endc, relativeConstraints::ring, jetcorrextractor::sign(), EcalCondHeader::since_, AlCaHLTBitMon_QueryRunRegistry::string, EcalCondHeader::tag_, EcalCondHeader::version_, EcalFloatCondObjectContainerXMLTranslator::writeXML(), EBDetId::zside(), and EEDetId::zside().
Referenced by o2olib.O2ORunMgr::executeJob().
void PhiSymmetryCalibration_step2::fillConstantsHistos | ( | ) |
Definition at line 283 of file PhiSymmetryCalibration_step2.cc.
References e_, validate-o2o-wbm::f, EcalGeomPhiSymHelper::goodCell_barl, EcalGeomPhiSymHelper::goodCell_endc, kBarlRings, kBarlWedges, kEndcWedgesX, kEndcWedgesY, kSides, newCalibs_, oldCalibs_, rawconst_barl, rawconst_endc, jetcorrextractor::sign(), and EEDetId::validDetId().
Referenced by endJob().
void PhiSymmetryCalibration_step2::fillHistos | ( | ) |
Definition at line 375 of file PhiSymmetryCalibration_step2.cc.
References EcalGeomPhiSymHelper::cellArea_, EcalGeomPhiSymHelper::cellPhi_, EcalGeomPhiSymHelper::cellPos_, e_, EcalGeomPhiSymHelper::endcapRing_, esum_barl_, esum_endc_, esumMean_barl_, esumMean_endc_, PV3DBase< T, PVType, FrameType >::eta(), etsum_barl_, etsum_endc_, etsum_endc_uncorr, etsumMean_barl_, etsumMean_endc_, validate-o2o-wbm::f, EcalGeomPhiSymHelper::goodCell_barl, EcalGeomPhiSymHelper::goodCell_endc, kBarlRings, kBarlWedges, kEndcEtaRings, kEndcWedgesX, kEndcWedgesY, kSides, EcalGeomPhiSymHelper::nBads_barl, EcalGeomPhiSymHelper::nBads_endc, nhits_barl_, EcalGeomPhiSymHelper::nRing_, EcalGeomPhiSymHelper::phi_endc_, relativeConstraints::ring, jetcorrextractor::sign(), and submitPVValidationJobs::t.
Referenced by endJob().
void PhiSymmetryCalibration_step2::outResidHistos | ( | ) |
Definition at line 799 of file PhiSymmetryCalibration_step2.cc.
References correl_barl_histos, correl_endc_histos, validate-o2o-wbm::f, miscal_resid_barl_histos, miscal_resid_endc_histos, and relativeConstraints::ring.
Referenced by endJob().
void PhiSymmetryCalibration_step2::readEtSums | ( | ) |
Definition at line 744 of file PhiSymmetryCalibration_step2.cc.
References etsum_barl_, etsum_endc_, recoMuon::in, k_barl_, k_endc_, kBarlRings, kEndcEtaRings, nhits, nhits_barl_, nhits_endc_, relativeConstraints::ring, and jetcorrextractor::sign().
Referenced by beginJob().
void PhiSymmetryCalibration_step2::setUp | ( | const edm::EventSetup & | setup | ) |
if a miscalibration was applied, load it, if not put it to 1
Definition at line 37 of file PhiSymmetryCalibration_step2.cc.
References barrelCells, channelStatusToken_, e_, DetId::Ecal, EcalBarrel, EcalEndcap, endcapCells, relativeConstraints::geometry, geometryToken_, edm::EventSetup::getData(), h, have_initial_miscalib_, initialmiscalibfile_, miscalib_, oldcalibfile_, oldCalibs_, AlCaHLTBitMon_ParallelJobs::p, fed_dqm_sourceclient-live_cfg::path, EcalFloatCondObjectContainerXMLTranslator::readXML(), reiteration_, runTheMatrix::ret, EcalGeomPhiSymHelper::setup(), and statusThreshold_.
Referenced by analyze().
void PhiSymmetryCalibration_step2::setupResidHistos | ( | ) |
Definition at line 773 of file PhiSymmetryCalibration_step2.cc.
References correl_barl_histos, correl_endc_histos, kBarlRings, kEndcEtaRings, miscal_resid_barl_histos, miscal_resid_endc_histos, and relativeConstraints::ring.
Referenced by beginJob().
|
private |
Definition at line 69 of file PhiSymmetryCalibration_step2.h.
|
private |
Definition at line 37 of file PhiSymmetryCalibration_step2.h.
Referenced by setUp().
|
private |
Definition at line 93 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob(), outResidHistos(), and setupResidHistos().
|
private |
Definition at line 96 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob(), outResidHistos(), and setupResidHistos().
|
private |
Definition at line 67 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob(), fillConstantsHistos(), fillHistos(), and setUp().
|
private |
Definition at line 70 of file PhiSymmetryCalibration_step2.h.
|
private |
Definition at line 64 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob().
|
private |
Definition at line 65 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob().
|
private |
Definition at line 50 of file PhiSymmetryCalibration_step2.h.
Referenced by beginJob(), and fillHistos().
|
private |
Definition at line 51 of file PhiSymmetryCalibration_step2.h.
Referenced by beginJob(), and fillHistos().
|
private |
Definition at line 53 of file PhiSymmetryCalibration_step2.h.
Referenced by fillHistos().
|
private |
Definition at line 54 of file PhiSymmetryCalibration_step2.h.
Referenced by fillHistos().
|
private |
Definition at line 41 of file PhiSymmetryCalibration_step2.h.
Referenced by beginJob(), endJob(), fillHistos(), and readEtSums().
|
private |
Definition at line 42 of file PhiSymmetryCalibration_step2.h.
Referenced by beginJob(), endJob(), fillHistos(), and readEtSums().
|
private |
Definition at line 43 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob(), and fillHistos().
|
private |
Definition at line 44 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob(), and fillHistos().
|
private |
Definition at line 45 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob(), and fillHistos().
|
private |
Definition at line 72 of file PhiSymmetryCalibration_step2.h.
|
private |
Definition at line 38 of file PhiSymmetryCalibration_step2.h.
Referenced by setUp().
|
private |
Definition at line 88 of file PhiSymmetryCalibration_step2.h.
Referenced by setUp().
|
private |
Definition at line 89 of file PhiSymmetryCalibration_step2.h.
Referenced by setUp().
|
private |
Definition at line 56 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob(), and readEtSums().
|
private |
Definition at line 57 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob(), and readEtSums().
|
private |
res miscalib histos
Definition at line 92 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob(), outResidHistos(), and setupResidHistos().
|
private |
Definition at line 95 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob(), outResidHistos(), and setupResidHistos().
|
private |
initial miscalibration applied if any)
Definition at line 85 of file PhiSymmetryCalibration_step2.h.
|
private |
calib constants that we are going to calculate
Definition at line 82 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob(), and fillConstantsHistos().
|
private |
Definition at line 47 of file PhiSymmetryCalibration_step2.h.
Referenced by beginJob(), fillHistos(), and readEtSums().
|
private |
Definition at line 48 of file PhiSymmetryCalibration_step2.h.
Referenced by beginJob(), and readEtSums().
|
private |
Definition at line 76 of file PhiSymmetryCalibration_step2.h.
Referenced by setUp().
|
private |
the old calibration constants (when reiterating, the last ones derived)
Definition at line 79 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob(), fillConstantsHistos(), and setUp().
|
private |
Definition at line 60 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob(), and fillConstantsHistos().
|
private |
Definition at line 61 of file PhiSymmetryCalibration_step2.h.
Referenced by endJob(), and fillConstantsHistos().
|
private |
Definition at line 75 of file PhiSymmetryCalibration_step2.h.
Referenced by setUp().
|
private |
Definition at line 73 of file PhiSymmetryCalibration_step2.h.
Referenced by setUp().