#include <EcalRingCalibrationTools.h>
Public Member Functions | |
EcalRingCalibrationTools () | |
~EcalRingCalibrationTools () | |
Static Public Member Functions | |
static std::vector< DetId > | getDetIdsInECAL () |
static std::vector< DetId > | getDetIdsInModule (short int) |
static std::vector< DetId > | getDetIdsInRing (short aRingIndex) |
Retrieve the DetIds in a phi-ring. More... | |
static short | getModuleIndex (DetId aDetId) |
static short | getRingIndex (DetId aDetId) |
Retrieve the phi-ring index corresponding to a DetId. More... | |
static void | setCaloGeometry (const CaloGeometry *geometry) |
Static Public Attributes | |
static const short | N_MODULES_BARREL = 144 |
static const short | N_RING_BARREL = 170 |
static const short | N_RING_ENDCAP = 78 |
static const short | N_RING_TOTAL = 248 |
Static Private Member Functions | |
static void | initializeFromGeometry (CaloGeometry const *geometry) |
Static Private Attributes | |
static short | endcapRingIndex_ [EEDetId::IX_MAX][EEDetId::IY_MAX] |
static std::atomic< bool > | isInitializedFromGeometry_ |
static std::once_flag | once_ |
Definition at line 22 of file EcalRingCalibrationTools.h.
|
inline |
Definition at line 25 of file EcalRingCalibrationTools.h.
|
inline |
Definition at line 26 of file EcalRingCalibrationTools.h.
|
static |
Definition at line 112 of file EcalRingCalibrationTools.cc.
References isInitializedFromGeometry_, EEDetId::IX_MAX, EEDetId::IY_MAX, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, EBDetId::validDetId(), EEDetId::validDetId(), and ecaldqm::zside().
Referenced by ZeeCalibration::duringLoop(), and ZeeCalibration::endOfLoop().
|
static |
Definition at line 137 of file EcalRingCalibrationTools.cc.
References gather_cfg::cout, and N_MODULES_BARREL.
Referenced by ZeeCalibration::duringLoop(), and ZeeCalibration::endOfLoop().
|
static |
Retrieve the DetIds in a phi-ring.
Definition at line 71 of file EcalRingCalibrationTools.cc.
References endcapRingIndex_, isInitializedFromGeometry_, EEDetId::IX_MAX, EEDetId::IY_MAX, relval_2017::k, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, N_RING_BARREL, N_RING_ENDCAP, N_RING_TOTAL, EBDetId::validDetId(), and ecaldqm::zside().
Referenced by ZeeCalibration::duringLoop(), and ZeeCalibration::endOfLoop().
|
static |
Definition at line 46 of file EcalRingCalibrationTools.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, EBDetId::im(), EBDetId::ism(), and python.rootplot.argparse::module.
Referenced by calib::CalibElectron::getCalibModulesWeights().
|
static |
Retrieve the phi-ring index corresponding to a DetId.
Definition at line 19 of file EcalRingCalibrationTools.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, endcapRingIndex_, EBDetId::ieta(), isInitializedFromGeometry_, EEDetId::ix(), EEDetId::iy(), N_RING_BARREL, N_RING_ENDCAP, and EEDetId::zside().
Referenced by calib::CalibElectron::getCalibModulesWeights().
|
staticprivate |
Definition at line 206 of file EcalRingCalibrationTools.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, endcapRingIndex_, PV3DBase< T, PVType, FrameType >::eta(), CaloCellGeometry::getPosition(), h2_mapping_cfi::ics, isInitializedFromGeometry_, EEDetId::ix(), EEDetId::IX_MAX, EEDetId::iy(), EEDetId::IY_MAX, N_RING_ENDCAP, relativeConstraints::ring, and EEDetId::zside().
Referenced by setCaloGeometry().
|
static |
Definition at line 201 of file EcalRingCalibrationTools.cc.
References initializeFromGeometry(), and once_.
Referenced by ZeeCalibration::duringLoop(), and HLTEcalPhiSymFilter::filter().
|
staticprivate |
Definition at line 52 of file EcalRingCalibrationTools.h.
Referenced by getDetIdsInRing(), getRingIndex(), and initializeFromGeometry().
|
staticprivate |
Definition at line 49 of file EcalRingCalibrationTools.h.
Referenced by getDetIdsInECAL(), getDetIdsInRing(), getRingIndex(), and initializeFromGeometry().
|
static |
Definition at line 42 of file EcalRingCalibrationTools.h.
Referenced by calib::CalibElectron::getCalibModulesWeights(), getDetIdsInModule(), and ZIterativeAlgorithmWithFit::ZIterativeAlgorithmWithFit().
|
static |
Definition at line 39 of file EcalRingCalibrationTools.h.
Referenced by HLTEcalPhiSymFilter::filter(), getDetIdsInRing(), and getRingIndex().
|
static |
Definition at line 40 of file EcalRingCalibrationTools.h.
Referenced by HLTEcalPhiSymFilter::filter(), getDetIdsInRing(), getRingIndex(), and initializeFromGeometry().
|
static |
Definition at line 38 of file EcalRingCalibrationTools.h.
Referenced by calib::CalibElectron::getCalibModulesWeights(), getDetIdsInRing(), and ZIterativeAlgorithmWithFit::ZIterativeAlgorithmWithFit().
|
staticprivate |
Definition at line 54 of file EcalRingCalibrationTools.h.
Referenced by setCaloGeometry().