|
|
#include <DQM/HLTEvF/plugins/HLTObjectMonitor.cc>
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 70 of file HLTObjectMonitor.cc.
◆ HLTObjectMonitor()
◆ ~HLTObjectMonitor()
HLTObjectMonitor::~HLTObjectMonitor |
( |
| ) |
|
|
override |
◆ analyze()
single-object plots
Definition at line 361 of file HLTObjectMonitor.cc.
367 std::cout <<
"Inside analyze(). " << std::endl;
377 if (!aodTriggerEvent.
isValid())
381 unordered_map<string, bool> firedMap =
acceptMap;
384 if (firedMap[
plot->pathName])
396 if (firedMap[
plot->pathNameOR])
404 unsigned int moduleFilterIndex = aodTriggerEvent->
filterIndex(moduleFilter);
406 if (moduleFilterIndex + 1 > aodTriggerEvent->
sizeFilters())
475 double onlineMR = 0, onlineRsq = 0;
488 std::vector<ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double>>> alphaT_jets;
490 ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double>> JetLVec(
492 alphaT_jets.push_back(JetLVec);
495 float alphaT = AlphaT(alphaT_jets,
false).value();
553 for (
auto iter = csvPfTags->
begin(); iter != csvPfTags->
end(); iter++)
564 for (
auto iter = csvCaloTags->
begin(); iter != csvCaloTags->
end(); iter++)
580 if (muon_dxy != -99.)
595 unsigned int kCnt0 = 0;
596 for (
const auto& key0 :
keys) {
597 unsigned int kCnt1 = 0;
598 for (
const auto& key1 :
keys) {
605 TLorentzVector mu1, mu2, dimu;
620 unsigned int kCnt0 = 0;
621 for (
const auto& key0 :
keys) {
622 unsigned int kCnt1 = 0;
623 for (
const auto& key1 :
keys) {
630 TLorentzVector mu1, mu2, dimu;
645 unsigned int kCnt0 = 0;
646 for (
const auto& key0 :
keys) {
647 unsigned int kCnt1 = 0;
648 for (
const auto& key1 :
keys) {
654 TLorentzVector mu1, mu2, dimu;
670 unsigned int kCnt0 = 0;
671 for (
const auto& key0 :
keys) {
672 unsigned int kCnt1 = 0;
673 for (
const auto& key1 :
keys) {
680 TLorentzVector mu1, mu2, dimu;
696 unsigned int kCnt0 = 0;
697 for (
const auto& key0 :
keys) {
698 unsigned int kCnt1 = 0;
699 for (
const auto& key1 :
keys) {
706 TLorentzVector mu1, mu2, dimu;
721 unsigned int kCnt0 = 0;
722 for (
const auto& key0 :
keys) {
723 unsigned int kCnt1 = 0;
724 for (
const auto& key1 :
keys) {
730 TLorentzVector el1, el2, diEl;
References funct::abs(), HLTObjectMonitor_cfi::alphaT, edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::begin(), gather_cfg::cout, edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::end(), mps_fire::end, PVValHelper::eta, trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::getObjects(), iEvent, HLT_FULL_cff::InputTag, edm::HandleBase::isValid(), crabWrapper::key, relativeConstraints::keys, EgHLTOffHistBins_cfi::mass, mu_mass, hltMonBTagIPClient_cfi::pathName, plotFactory::plot, DiDispStaMuonMonitor_cfi::pt, trigger::TriggerEvent::sizeFilters(), command_line::start, AlCaHLTBitMon_QueryRunRegistry::string, HigPhotonJetHLTOfflineSource_cfi::triggerAccept, triggerResults, and HLTObjectMonitor_cfi::wallTime.
◆ bookHistograms()
Main shifter workspace plots
Definition at line 793 of file HLTObjectMonitor.cc.
808 if (!
plot->pathNameOR.empty())
809 display_pathNames =
plot->pathName +
" OR " +
plot->pathNameOR;
811 if (
plot->displayInPrimary) {
813 (*plot).ME = ibooker.book1D(
plot->plotLabel, display_pathNames.c_str(),
plot->nBins,
plot->xMin,
plot->xMax);
814 (*plot).ME->setAxisTitle(
plot->xAxisLabel);
818 (*plot).ME = ibooker.book1D(
plot->plotLabel, display_pathNames.c_str(),
plot->nBins,
plot->xMin,
plot->xMax);
819 (*plot).ME->setAxisTitle(
plot->xAxisLabel);
References dqm::implementation::IBooker::book1D(), plotFactory::plot, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
◆ dqmBeginRun()
◆ dxyFinder()
◆ get_wall_time()
double HLTObjectMonitor::get_wall_time |
( |
void |
| ) |
|
|
private |
◆ acceptMap
unordered_map<string, bool> HLTObjectMonitor::acceptMap |
|
private |
◆ alphaT_
◆ alphaT_pset
◆ aodTriggerToken_
◆ backupFolder
string HLTObjectMonitor::backupFolder |
|
private |
◆ beamSpotToken_
◆ bJetCSVCalo_
hltPlot HLTObjectMonitor::bJetCSVCalo_ |
|
private |
◆ bJetCSVCalo_pset
◆ bJetCSVPF_
hltPlot HLTObjectMonitor::bJetCSVPF_ |
|
private |
◆ bJetCSVPF_pset
◆ bJetEta_
◆ bJetEta_pset
◆ bJetPhi_
◆ bJetPhi_pset
◆ caloHtPt_
hltPlot HLTObjectMonitor::caloHtPt_ |
|
private |
◆ caloHtPt_pset
◆ caloMetPhi_
hltPlot HLTObjectMonitor::caloMetPhi_ |
|
private |
◆ caloMetPhi_pset
◆ caloMetPt_
hltPlot HLTObjectMonitor::caloMetPt_ |
|
private |
◆ caloMetPt_pset
◆ chargedCandToken_
◆ csvCaloJetsToken_
◆ csvCaloTagsToken_
◆ csvPfJetsToken_
◆ csvPfTagsToken_
◆ debugPrint
bool HLTObjectMonitor::debugPrint |
|
private |
◆ diElecMass_
hltPlot HLTObjectMonitor::diElecMass_ |
|
private |
◆ diElecMass_pset
◆ diMuonLowMass_
hltPlot HLTObjectMonitor::diMuonLowMass_ |
|
private |
◆ diMuonLowMass_pset
◆ diMuonMass_
hltPlot HLTObjectMonitor::diMuonMass_ |
|
private |
◆ diMuonMass_pset
◆ electronEta_
hltPlot HLTObjectMonitor::electronEta_ |
|
private |
◆ electronEta_pset
◆ electronPhi_
hltPlot HLTObjectMonitor::electronPhi_ |
|
private |
◆ electronPhi_pset
◆ electronPt_
hltPlot HLTObjectMonitor::electronPt_ |
|
private |
◆ electronPt_pset
◆ hltConfig_
◆ jetAK8Mass_
hltPlot HLTObjectMonitor::jetAK8Mass_ |
|
private |
◆ jetAK8Mass_pset
◆ jetAK8Pt_
hltPlot HLTObjectMonitor::jetAK8Pt_ |
|
private |
◆ jetAK8Pt_pset
◆ jetPt_
◆ jetPt_pset
◆ l2muonEta_
hltPlot HLTObjectMonitor::l2muonEta_ |
|
private |
◆ l2muonEta_pset
◆ l2muonPhi_
hltPlot HLTObjectMonitor::l2muonPhi_ |
|
private |
◆ l2muonPhi_pset
◆ l2muonPt_
hltPlot HLTObjectMonitor::l2muonPt_ |
|
private |
◆ l2muonPt_pset
◆ l2NoBPTXmuonEta_
hltPlot HLTObjectMonitor::l2NoBPTXmuonEta_ |
|
private |
◆ l2NoBPTXmuonEta_pset
◆ l2NoBPTXmuonPhi_
hltPlot HLTObjectMonitor::l2NoBPTXmuonPhi_ |
|
private |
◆ l2NoBPTXmuonPhi_pset
◆ l2NoBPTXmuonPt_
hltPlot HLTObjectMonitor::l2NoBPTXmuonPt_ |
|
private |
◆ l2NoBPTXmuonPt_pset
◆ lumiScalersToken_
◆ mainShifterFolder
string HLTObjectMonitor::mainShifterFolder |
|
private |
◆ mr_
◆ mr_pset
◆ muonDxy_
◆ muonDxy_pset
◆ muonEta_
◆ muonEta_pset
◆ muonPhi_
◆ muonPhi_pset
◆ muonPt_
◆ muonPt_pset
◆ pAL1DoubleMuZMass_
hltPlot HLTObjectMonitor::pAL1DoubleMuZMass_ |
|
private |
◆ pAL1DoubleMuZMass_pset
◆ pAL2DoubleMuZMass_
hltPlot HLTObjectMonitor::pAL2DoubleMuZMass_ |
|
private |
◆ pAL2DoubleMuZMass_pset
◆ pAL3DoubleMuZMass_
hltPlot HLTObjectMonitor::pAL3DoubleMuZMass_ |
|
private |
◆ pAL3DoubleMuZMass_pset
◆ pfHtPt_
◆ pfHtPt_pset
◆ pfMetPhi_
hltPlot HLTObjectMonitor::pfMetPhi_ |
|
private |
◆ pfMetPhi_pset
◆ pfMetPt_
◆ pfMetPt_pset
◆ photonEta_
hltPlot HLTObjectMonitor::photonEta_ |
|
private |
◆ photonEta_pset
◆ photonPhi_
hltPlot HLTObjectMonitor::photonPhi_ |
|
private |
◆ photonPhi_pset
◆ photonPt_
hltPlot HLTObjectMonitor::photonPt_ |
|
private |
◆ photonPt_pset
◆ plotList
vector<hltPlot*> HLTObjectMonitor::plotList |
|
private |
◆ plotMap
◆ processName_
string HLTObjectMonitor::processName_ |
|
private |
◆ rsq_
◆ rsq_pset
◆ tauPt_
◆ tauPt_pset
◆ topDirectoryName
string HLTObjectMonitor::topDirectoryName |
|
private |
◆ triggerResultsToken_
◆ wallTime_
hltPlot HLTObjectMonitor::wallTime_ |
|
private |
◆ wallTime_pset
edm::ParameterSet jetPt_pset
edm::ParameterSet diMuonLowMass_pset
edm::ParameterSet jetAK8Pt_pset
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > chargedCandToken_
hltPlot pAL1DoubleMuZMass_
double dxyFinder(double, double, edm::Handle< reco::RecoChargedCandidateCollection >, edm::Handle< reco::BeamSpot >)
edm::ParameterSet l2muonPhi_pset
trigger::size_type sizeFilters() const
edm::EDGetTokenT< reco::JetTagCollection > csvCaloTagsToken_
const Keys & filterKeys(trigger::size_type index) const
unordered_map< hltPlot *, edm::ParameterSet * > plotMap
edm::ParameterSet rsq_pset
edm::ParameterSet alphaT_pset
edm::ParameterSet mr_pset
edm::EDGetTokenT< reco::JetTagCollection > csvPfTagsToken_
edm::ParameterSet photonEta_pset
static const std::string triggerResults
HLTConfigProvider hltConfig_
edm::ParameterSet muonPt_pset
edm::ParameterSet pfHtPt_pset
edm::ParameterSet pfMetPt_pset
edm::ParameterSet caloMetPhi_pset
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
edm::ParameterSet electronPhi_pset
edm::ParameterSet l2NoBPTXmuonPhi_pset
double get_wall_time(void)
unordered_map< string, bool > acceptMap
edm::ParameterSet pAL3DoubleMuZMass_pset
bool saveTags(const std::string &module) const
Is module an L3 filter (ie, tracked saveTags=true)
const_iterator begin() const
vector< hltPlot * > plotList
edm::ParameterSet caloMetPt_pset
const_iterator end() const
edm::ParameterSet electronPt_pset
static const std::string removeVersion(const std::string &trigger)
edm::ParameterSet l2NoBPTXmuonPt_pset
edm::EDGetTokenT< vector< reco::CaloJet > > csvCaloJetsToken_
edm::ParameterSet bJetPhi_pset
edm::ParameterSet muonEta_pset
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
edm::ParameterSet bJetCSVCalo_pset
edm::ParameterSet caloHtPt_pset
trigger::size_type filterIndex(const edm::InputTag &filterTag) const
find index of filter in data-member vector from filter tag
std::vector< size_type > Keys
edm::ParameterSet jetAK8Mass_pset
edm::ParameterSet pAL2DoubleMuZMass_pset
edm::ParameterSet pfMetPhi_pset
static const std::string triggerPaths
edm::ParameterSet l2muonEta_pset
const TriggerObjectCollection & getObjects() const
edm::EDGetTokenT< LumiScalersCollection > lumiScalersToken_
edm::ParameterSet pAL1DoubleMuZMass_pset
unsigned int triggerIndex(const std::string &triggerName) const
slot position of trigger path in trigger table (0 to size-1)
edm::ParameterSet l2NoBPTXmuonEta_pset
static constexpr float mu_mass
double x0() const
x coordinate
edm::ParameterSet wallTime_pset
edm::ParameterSet bJetCSVPF_pset
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
edm::ParameterSet muonPhi_pset
edm::ParameterSet photonPhi_pset
edm::EDGetTokenT< vector< reco::PFJet > > csvPfJetsToken_
T getParameter(std::string const &) const
edm::ParameterSet photonPt_pset
edm::ParameterSet diMuonMass_pset
edm::ParameterSet muonDxy_pset
Abs< T >::type abs(const T &t)
edm::ParameterSet l2muonPt_pset
edm::ParameterSet bJetEta_pset
const std::vector< std::string > & triggerNames() const
names of trigger paths
edm::EDGetTokenT< trigger::TriggerEvent > aodTriggerToken_
edm::ParameterSet electronEta_pset
hltPlot pAL2DoubleMuZMass_
double y0() const
y coordinate
edm::ParameterSet tauPt_pset
edm::ParameterSet diElecMass_pset
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
hltPlot pAL3DoubleMuZMass_