#include <TotemT2Segmentation.h>
Public Member Functions | |
void | fill (TH2D *, const TotemT2DetId &, double value=1.) |
TotemT2Segmentation (const TotemGeometry &, 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 TotemGeometry | geom_ |
const size_t | nbinsx_ |
const size_t | nbinsy_ |
Definition at line 21 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 39 of file TotemT2Segmentation.cc.
References trigObjTnPSource_cfi::bins, reco::ceil(), TotemT2Tile::centre(), geom_, nbinsx_, nbinsy_, funct::pow(), and TotemGeometry::tile().
Referenced by TotemT2Segmentation().
void TotemT2Segmentation::fill | ( | TH2D * | hist, |
const TotemT2DetId & | detid, | ||
double | value = 1. |
||
) |
Definition at line 26 of file TotemT2Segmentation.cc.
References newFWLiteAna::bin, bins_map_, Exception, gpuVertexFinder::hist, nbinsx_, and nbinsy_.
|
private |
Definition at line 34 of file TotemT2Segmentation.h.
Referenced by fill(), and TotemT2Segmentation().
|
private |
Definition at line 30 of file TotemT2Segmentation.h.
Referenced by computeBins().
|
private |
Definition at line 31 of file TotemT2Segmentation.h.
Referenced by computeBins(), and fill().
|
private |
Definition at line 32 of file TotemT2Segmentation.h.
Referenced by computeBins(), and fill().