4 #include <unordered_map> 7 : stcSize_(conf.getParameter<
std::vector<unsigned> >(
"stcSize")) {
10 <<
"Inconsistent size of super trigger cell size vector" <<
stcSize_.size();
30 return TC_idV8.
cell();
32 int TC_wafer = TC_idV8.
wafer();
61 }
else if (rocnum == 2) {
65 }
else if (rocnum == 3) {
72 int TC_split = TC_12th;
86 const std::vector<l1t::HGCalTriggerCell>& trigCellVecInput, std::vector<l1t::HGCalTriggerCell>& trigCellVecOutput) {
87 std::unordered_map<unsigned, SuperTriggerCell> STCs;
91 if (tc.subdetId() ==
HGCHEB)
99 if (tc.subdetId() ==
HGCHEB) {
100 trigCellVecOutput.push_back(tc);
103 if (tc.detId() == stc.GetMaxId()) {
104 trigCellVecOutput.push_back(tc);
105 stc.assignEnergy(trigCellVecOutput.back());
void superTriggerCellSelectImpl(const std::vector< l1t::HGCalTriggerCell > &trigCellVecInput, std::vector< l1t::HGCalTriggerCell > &trigCellVecOutput)
std::vector< unsigned > stcSize_
static int kSTCsizeCoarse_
HGCalTriggerTools triggerTools_
int triggerCellU() const
get the cell #'s in u,v or in x,y
static int kSplit_v8_Coarse_
HGCalConcentratorSuperTriggerCellImpl(const edm::ParameterSet &conf)
HGCSiliconDetIdToROC detIdToROC_
int getSuperTriggerCellId(int detid) const
int iphi() const
get the phi index
int wafer() const
get the wafer #
void add(std::map< std::string, TH1 * > &h, TH1 *hist)
int cell() const
get the absolute value of the cell #'s in x and y
static const std::map< int, int > kSplit_
static int kWafer_offset_
static int kSplit_v8_Fine_
static const int kHGCalPhiOffset
int getROCNumber(HGCalTriggerDetId const &id) const
constexpr Detector det() const
get the detector field from this detid