#include <TrigObjTnPHistColl.h>
Definition at line 214 of file TrigObjTnPHistColl.h.
TrigObjTnPHistColl::ProbeData::ProbeData |
( |
std::string |
probeFilter | ) |
|
|
inlineexplicit |
void TrigObjTnPHistColl::ProbeData::bookHists |
( |
const std::string & |
tagName, |
|
|
DQMStore::IBooker & |
iBooker, |
|
|
const HistDefs & |
histDefs |
|
) |
| |
Definition at line 377 of file TrigObjTnPHistColl.cc.
void bookHists(DQMStore::IBooker &iBooker, const std::string &name, const std::string &title, const HistDefs &histDefs)
Definition at line 383 of file TrigObjTnPHistColl.cc.
References funct::cos(), trigger::TriggerObject::eta(), HLT_FULL_cff::eta1, HLT_FULL_cff::eta2, TrigObjTnPHistColl::getKeys(), trigger::TriggerEvent::getObjects(), ResonanceBuilder::mass, trigger::TriggerObject::phi(), trigger::TriggerObject::pt(), mathSSE::sqrt(), and GlobalPosition_Frontier_DevDB_cff::tag.
387 for (
auto probeKey : probeKeys) {
389 if (tagKey != probeKey && probeCuts(probe)) {
391 auto massFunc = [](
float pt1,
float eta1,
float phi1,
float pt2,
float eta2,
float phi2) {
392 return std::sqrt(2 * pt1 * pt2 * (std::cosh(eta1 - eta2) -
std::cos(phi1 - phi2)));
void fill(const trigger::TriggerObject &probe, float mass) const
static const trigger::Keys getKeys(const trigger::TriggerEvent &trigEvt, const std::string &filterName)
Single trigger physics object (e.g., an isolated muon)
const TriggerObjectCollection & getObjects() const
Cos< T >::type cos(const T &t)
HistColl TrigObjTnPHistColl::ProbeData::hists_ |
|
private |
std::string TrigObjTnPHistColl::ProbeData::probeFilter_ |
|
private |