#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(), l1ctLayer2EG_cff::id, CTPPSDetId::maxArm, TotemT2DetId::maxChannel, and TotemT2DetId::maxPlane.
|
private |
Definition at line 38 of file TotemT2Segmentation.cc.
References trigObjTnPSource_cfi::bins, reco::ceil(), TotemT2DetId::channel(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), M_PI, nbinsx_, nbinsy_, TotemT2DetId::plane(), 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_, 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().