#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::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Definition at line 35 of file PhiSymmetryCalibration.h.
PhiSymmetryCalibration::PhiSymmetryCalibration | ( | const edm::ParameterSet & | iConfig | ) |
Constructor.
Definition at line 59 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.
PhiSymmetryCalibration::~PhiSymmetryCalibration | ( | ) |
Destructor.
Definition at line 93 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.
|
virtual |
Called at each event.
Definition at line 273 of file PhiSymmetryCalibration.cc.
References funct::abs(), ap_, b_, barrelHits_, edm::SortedCollection< T, SORT >::begin(), EcalGeomPhiSymHelper::cellPos_, MillePedeFileConverter_cfg::e, e_, e_spectrum_b_histos, e_spectrum_e_histos, DetId::Ecal, EcalBarrel, EcalEndcap, ecalHitsProducer_, eCut_barl_, edm::SortedCollection< T, SORT >::end(), endcapHits_, EcalGeomPhiSymHelper::endcapRing_, stringResolutionProvider_cfi::et, et_spectrum_b_histos, et_spectrum_e_histos, stringResolutionProvider_cfi::eta, PV3DBase< T, PVType, FrameType >::eta(), EcalGeomPhiSymHelper::etaBoundary_, etsum_barl_, etsum_barl_miscal_, etsum_endc_, etsum_endc_miscal_, eventSet_, eventsinlb_, eventsinrun_, HcalObjRepresent::Fill(), edm::EventSetup::get(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), CaloGeometry::getSubdetectorGeometry(), EcalGeomPhiSymHelper::goodCell_barl, EcalGeomPhiSymHelper::goodCell_endc, EBDetId::ieta(), EBDetId::iphi(), isfirstpass_, edm::HandleBase::isValid(), EEDetId::ix(), EEDetId::iy(), kEndcEtaRings, kNMiscalBinsEB, kNMiscalBinsEE, miscalEB_, miscalEE_, nevents_, nhits_barl_, nhits_endc_, EcalGeomPhiSymHelper::nRing_, oldCalibs_, reiteration_, relativeConstraints::ring, setUp(), Validation_hcalonly_cfi::sign, spectra, and EEDetId::zside().
|
virtual |
Called at beginning of job.
Reimplemented from edm::EDAnalyzer.
Definition at line 114 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, Validation_hcalonly_cfi::sign, spectra, and lumiQTWidget::t.
|
virtual |
Called at end of job.
Reimplemented from edm::EDAnalyzer.
Definition at line 185 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_, f, getKfactors(), mps_fire::i, k_barl_, k_endc_, kBarlRings, kBarlWedges, kEndcEtaRings, kEndcWedgesX, kEndcWedgesY, kSides, nevents_, nhits_barl_, nhits_endc_, MillePedeFileConverter_cfg::out, relativeConstraints::ring, Validation_hcalonly_cfi::sign, and spectra.
Referenced by o2olib.O2ORunMgr::executeJob().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 590 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().
|
virtual |
Definition at line 438 of file PhiSymmetryCalibration.cc.
References edm::RunBase::beginTime(), gather_cfg::cout, edm::RunBase::endTime(), eventsinrun_, reco::return(), edm::RunBase::run(), and edm::Timestamp::value().
|
private |
Definition at line 455 of file PhiSymmetryCalibration.cc.
References gather_cfg::cout, etsum_barl_miscal_, etsum_endc_miscal_, f, createfilelist::int, k_barl_, k_endc_, kBarlRings, kEndcEtaRings, kMiscalRangeEB, kMiscalRangeEE, kNMiscalBinsEB, kNMiscalBinsEE, miscalEB_, miscalEE_, relativeConstraints::ring, and lumiQTWidget::t.
Referenced by endJob().
void PhiSymmetryCalibration::setUp | ( | const edm::EventSetup & | setup | ) |
Definition at line 552 of file PhiSymmetryCalibration.cc.
References e_, edm::FileInPath::fullPath(), edm::EventSetup::get(), h, oldcalibfile_, oldCalibs_, EcalFloatCondObjectContainerXMLTranslator::readXML(), reiteration_, EcalGeomPhiSymHelper::setup(), and statusThreshold_.
Referenced by analyze().
|
private |
Definition at line 133 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 134 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 102 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 125 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 76 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 124 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 129 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 103 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 126 of file PhiSymmetryCalibration.h.
Referenced by analyze().
|
private |
Definition at line 114 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 115 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 79 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 88 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
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.
|
private |
Definition at line 82 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 83 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 136 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 151 of file PhiSymmetryCalibration.h.
Referenced by analyze(), and PhiSymmetryCalibration().
|
private |
Definition at line 97 of file PhiSymmetryCalibration.h.
Referenced by endJob(), and getKfactors().
|
private |
Definition at line 98 of file PhiSymmetryCalibration.h.
Referenced by endJob(), and getKfactors().
|
staticprivate |
Definition at line 140 of file PhiSymmetryCalibration.h.
|
staticprivate |
Definition at line 71 of file PhiSymmetryCalibration.h.
Referenced by beginJob(), and getKfactors().
|
staticprivate |
Definition at line 74 of file PhiSymmetryCalibration.h.
Referenced by beginJob(), and getKfactors().
|
staticprivate |
Definition at line 70 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and getKfactors().
|
staticprivate |
Definition at line 73 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 100 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 110 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 111 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 85 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 86 of file PhiSymmetryCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 146 of file PhiSymmetryCalibration.h.
Referenced by setUp().
|
private |
the old calibration constants (when reiterating, the last ones derived)
Definition at line 149 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 106 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 107 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 142 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 118 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 119 of file PhiSymmetryCalibration.h.
|
private |
Definition at line 145 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 138 of file PhiSymmetryCalibration.h.
Referenced by setUp().