#include <TotemT2Segmentation.h>
Public Member Functions | |
void | fill (TH2D *, const TotemT2DetId &, double value=1.) |
TotemT2Segmentation (size_t, size_t) | |
Private Member Functions | |
std::vector< std::pair< short, short > > | computeBins (const TotemT2DetId &detid) const |
Private Attributes | |
std::unordered_map< TotemT2DetId, std::vector< std::pair< short, short > > > | bins_map_ |
const size_t | nbinsx_ |
const size_t | nbinsy_ |
Definition at line 19 of file TotemT2Segmentation.h.
|
explicit |
Definition at line 16 of file TotemT2Segmentation.cc.
References protons_cff::arm, bins_map_, computeBins(), ALCARECOPPSCalTrackBasedSel_cff::detid, EcalPhiSymFlatTableProducers_cfi::id, CTPPSDetId::maxArm, TotemT2DetId::maxChannel, and TotemT2DetId::maxPlane.
|
private |
Definition at line 38 of file TotemT2Segmentation.cc.
References Matriplex::atan2(), isotrackApplyRegressor::bins, reco::ceil(), ALCARECOPPSCalTrackBasedSel_cff::detid, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), M_PI, nbinsx_, nbinsy_, and funct::pow().
Referenced by TotemT2Segmentation().
void TotemT2Segmentation::fill | ( | TH2D * | hist, |
const TotemT2DetId & | detid, | ||
double | value = 1. |
||
) |
Definition at line 25 of file TotemT2Segmentation.cc.
References newFWLiteAna::bin, bins_map_, ALCARECOPPSCalTrackBasedSel_cff::detid, Exception, compareTotals::hist, nbinsx_, and nbinsy_.
|
private |
Definition at line 31 of file TotemT2Segmentation.h.
Referenced by fill(), and TotemT2Segmentation().
|
private |
Definition at line 28 of file TotemT2Segmentation.h.
Referenced by computeBins(), and fill().
|
private |
Definition at line 29 of file TotemT2Segmentation.h.
Referenced by computeBins(), and fill().