#include <PhiSymmetryCalibration_step2_SM.h>
Static Private Attributes | |
static const int | nscx = 20 |
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_SM.h.
PhiSymmetryCalibration_step2_SM::PhiSymmetryCalibration_step2_SM | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 20 of file PhiSymmetryCalibration_step2_SM.cc.
|
override |
Definition at line 18 of file PhiSymmetryCalibration_step2_SM.cc.
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 30 of file PhiSymmetryCalibration_step2_SM.cc.
References firstpass_, and setUp().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 105 of file PhiSymmetryCalibration_step2_SM.cc.
References epsilon_M_barl_SM_, esum_barl_, esum_endc_, etsum_barl_, etsum_barl_SM_, etsum_endc_, etsumMean_barl_SM_, kBarlRings, kBarlWedges, kEndcWedgesX, kEndcWedgesY, kSides, nBads_barl_SM_, nhits_barl_, nhits_endc_, nscx, 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 136 of file PhiSymmetryCalibration_step2_SM.cc.
References funct::abs(), barrelCells, EcalGeomPhiSymHelper::cellPos_, correl_barl_histos, correl_endc_histos, EcalCondHeader::datasource_, EcalCondHeader::date_, e_, endcapCells, EcalGeomPhiSymHelper::endcapRing_, epsilon_M_barl, epsilon_M_barl_SM_, epsilon_M_endc, PV3DBase< T, PVType, FrameType >::eta(), etsum_barl_, etsum_barl_SM_, etsum_endc_, etsumMean_barl_, etsumMean_barl_SM_, 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, EcalCondHeader::method_, miscal_resid_barl_histos, miscal_resid_endc_histos, miscalib_, newCalibs_, nscx, 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_SM::fillConstantsHistos | ( | ) |
Definition at line 306 of file PhiSymmetryCalibration_step2_SM.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_SM::fillHistos | ( | ) |
Definition at line 398 of file PhiSymmetryCalibration_step2_SM.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_barl_SM_, etsum_endc_, etsum_endc_uncorr, etsumMean_barl_, etsumMean_barl_SM_, etsumMean_endc_, validate-o2o-wbm::f, EcalGeomPhiSymHelper::goodCell_barl, EcalGeomPhiSymHelper::goodCell_endc, kBarlRings, kBarlWedges, kEndcEtaRings, kEndcWedgesX, kEndcWedgesY, kSides, EcalGeomPhiSymHelper::nBads_barl, nBads_barl_SM_, EcalGeomPhiSymHelper::nBads_endc, nhits_barl_, EcalGeomPhiSymHelper::nRing_, nscx, EcalGeomPhiSymHelper::phi_endc_, relativeConstraints::ring, jetcorrextractor::sign(), and submitPVValidationJobs::t.
Referenced by endJob().
void PhiSymmetryCalibration_step2_SM::outResidHistos | ( | ) |
Definition at line 844 of file PhiSymmetryCalibration_step2_SM.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_SM::readEtSums | ( | ) |
Definition at line 781 of file PhiSymmetryCalibration_step2_SM.cc.
References etsum_barl_, etsum_barl_SM_, etsum_endc_, recoMuon::in, k_barl_, k_endc_, kBarlRings, kEndcEtaRings, nhits, nhits_barl_, nhits_endc_, nscx, relativeConstraints::ring, and jetcorrextractor::sign().
Referenced by beginJob().
void PhiSymmetryCalibration_step2_SM::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_SM.cc.
References barrelCells, channelStatusToken_, e_, DetId::Ecal, EcalBarrel, EcalEndcap, endcapCells, relativeConstraints::geometry, geometryToken_, edm::EventSetup::getData(), EcalGeomPhiSymHelper::goodCell_barl, h, have_initial_miscalib_, initialmiscalibfile_, kBarlRings, kBarlWedges, kSides, miscalib_, nBads_barl_SM_, nscx, oldcalibfile_, oldCalibs_, AlCaHLTBitMon_ParallelJobs::p, fed_dqm_sourceclient-live_cfg::path, EcalFloatCondObjectContainerXMLTranslator::readXML(), reiteration_, runTheMatrix::ret, EcalGeomPhiSymHelper::setup(), jetcorrextractor::sign(), and statusThreshold_.
Referenced by analyze().
void PhiSymmetryCalibration_step2_SM::setupResidHistos | ( | ) |
Definition at line 818 of file PhiSymmetryCalibration_step2_SM.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 78 of file PhiSymmetryCalibration_step2_SM.h.
|
private |
Definition at line 37 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by setUp().
|
private |
Definition at line 102 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by endJob(), outResidHistos(), and setupResidHistos().
|
private |
Definition at line 105 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by endJob(), outResidHistos(), and setupResidHistos().
|
private |
Definition at line 76 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by endJob(), fillConstantsHistos(), fillHistos(), and setUp().
|
private |
Definition at line 79 of file PhiSymmetryCalibration_step2_SM.h.
|
private |
Definition at line 73 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by endJob().
|
private |
Definition at line 49 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 74 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by endJob().
|
private |
Definition at line 59 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by beginJob(), and fillHistos().
|
private |
Definition at line 60 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by beginJob(), and fillHistos().
|
private |
Definition at line 62 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by fillHistos().
|
private |
Definition at line 63 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by fillHistos().
|
private |
Definition at line 41 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by beginJob(), endJob(), fillHistos(), and readEtSums().
|
private |
Definition at line 46 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by beginJob(), endJob(), fillHistos(), and readEtSums().
|
private |
Definition at line 51 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by beginJob(), endJob(), fillHistos(), and readEtSums().
|
private |
Definition at line 52 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by fillHistos().
|
private |
Definition at line 53 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by endJob(), and fillHistos().
|
private |
Definition at line 48 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by beginJob(), endJob(), and fillHistos().
|
private |
Definition at line 54 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by endJob(), and fillHistos().
|
private |
Definition at line 81 of file PhiSymmetryCalibration_step2_SM.h.
|
private |
Definition at line 38 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by setUp().
|
private |
Definition at line 97 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by setUp().
|
private |
Definition at line 98 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by setUp().
|
private |
Definition at line 65 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by endJob(), and readEtSums().
|
private |
Definition at line 66 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by endJob(), and readEtSums().
|
private |
res miscalib histos
Definition at line 101 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by endJob(), outResidHistos(), and setupResidHistos().
|
private |
Definition at line 104 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by endJob(), outResidHistos(), and setupResidHistos().
|
private |
initial miscalibration applied if any)
Definition at line 94 of file PhiSymmetryCalibration_step2_SM.h.
|
private |
Definition at line 47 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by beginJob(), fillHistos(), and setUp().
|
private |
calib constants that we are going to calculate
Definition at line 91 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by endJob(), and fillConstantsHistos().
|
private |
Definition at line 56 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by beginJob(), fillHistos(), and readEtSums().
|
private |
Definition at line 57 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by beginJob(), and readEtSums().
|
staticprivate |
Definition at line 45 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by beginJob(), endJob(), fillHistos(), readEtSums(), and setUp().
|
private |
Definition at line 85 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by setUp().
|
private |
the old calibration constants (when reiterating, the last ones derived)
Definition at line 88 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by endJob(), fillConstantsHistos(), and setUp().
|
private |
Definition at line 69 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by endJob(), and fillConstantsHistos().
|
private |
Definition at line 70 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by endJob(), and fillConstantsHistos().
|
private |
Definition at line 84 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by setUp().
|
private |
Definition at line 82 of file PhiSymmetryCalibration_step2_SM.h.
Referenced by setUp().