#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 () |
Static Private Attributes | |
static const CaloGeometry * | caloGeometry_ = 0 |
static short | endcapRingIndex_ [EEDetId::IX_MAX][EEDetId::IY_MAX] |
static bool | isInitializedFromGeometry_ = false |
Definition at line 20 of file EcalRingCalibrationTools.h.
|
inline |
Definition at line 23 of file EcalRingCalibrationTools.h.
|
inline |
Definition at line 24 of file EcalRingCalibrationTools.h.
|
static |
Definition at line 113 of file EcalRingCalibrationTools.cc.
References initializeFromGeometry(), isInitializedFromGeometry_, EEDetId::IX_MAX, EEDetId::IY_MAX, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, EBDetId::validDetId(), and EEDetId::validDetId().
Referenced by ZeeCalibration::duringLoop(), and ZeeCalibration::endOfLoop().
|
static |
Definition at line 139 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_, initializeFromGeometry(), isInitializedFromGeometry_, EEDetId::IX_MAX, EEDetId::IY_MAX, gen::k, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, N_RING_BARREL, N_RING_ENDCAP, N_RING_TOTAL, and EBDetId::validDetId().
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 20 of file EcalRingCalibrationTools.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, endcapRingIndex_, EBDetId::ieta(), initializeFromGeometry(), isInitializedFromGeometry_, EEDetId::ix(), EEDetId::iy(), N_RING_BARREL, N_RING_ENDCAP, and EEDetId::zside().
Referenced by calib::CalibElectron::getCalibModulesWeights().
|
staticprivate |
Definition at line 203 of file EcalRingCalibrationTools.cc.
References caloGeometry_, DetId::Ecal, EcalBarrel, EcalEndcap, endcapRingIndex_, PV3DBase< T, PVType, FrameType >::eta(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), CaloGeometry::getSubdetectorGeometry(), CaloGeometry::getValidDetIds(), 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 getDetIdsInECAL(), getDetIdsInRing(), and getRingIndex().
|
inlinestatic |
Definition at line 42 of file EcalRingCalibrationTools.h.
References caloGeometry_, and geometry.
Referenced by ZeeCalibration::duringLoop().
|
staticprivate |
Definition at line 50 of file EcalRingCalibrationTools.h.
Referenced by initializeFromGeometry(), and setCaloGeometry().
|
staticprivate |
Definition at line 49 of file EcalRingCalibrationTools.h.
Referenced by getDetIdsInRing(), getRingIndex(), and initializeFromGeometry().
|
staticprivate |
Definition at line 48 of file EcalRingCalibrationTools.h.
Referenced by getDetIdsInECAL(), getDetIdsInRing(), getRingIndex(), and initializeFromGeometry().
|
static |
Definition at line 40 of file EcalRingCalibrationTools.h.
Referenced by calib::CalibElectron::getCalibModulesWeights(), getDetIdsInModule(), and ZIterativeAlgorithmWithFit::ZIterativeAlgorithmWithFit().
|
static |
Definition at line 37 of file EcalRingCalibrationTools.h.
Referenced by getDetIdsInRing(), and getRingIndex().
|
static |
Definition at line 38 of file EcalRingCalibrationTools.h.
Referenced by getDetIdsInRing(), getRingIndex(), and initializeFromGeometry().
|
static |
Definition at line 36 of file EcalRingCalibrationTools.h.
Referenced by calib::CalibElectron::getCalibModulesWeights(), getDetIdsInRing(), and ZIterativeAlgorithmWithFit::ZIterativeAlgorithmWithFit().