#include "DQM/Physics/src/EwkTauDQM.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include "DataFormats/Common/interface/Handle.h"
#include "DataFormats/Common/interface/View.h"
#include "DataFormats/Common/interface/TriggerResults.h"
#include "FWCore/Common/interface/TriggerNames.h"
#include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
#include "DataFormats/EgammaCandidates/interface/GsfElectronFwd.h"
#include "DataFormats/TauReco/interface/PFTau.h"
#include "DataFormats/TauReco/interface/PFTauFwd.h"
#include "DataFormats/TauReco/interface/PFTauDiscriminator.h"
#include "DataFormats/METReco/interface/CaloMET.h"
#include "DataFormats/METReco/interface/CaloMETFwd.h"
#include "DataFormats/METReco/interface/PFMET.h"
#include "DataFormats/METReco/interface/PFMETFwd.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/VertexReco/interface/Vertex.h"
#include "DataFormats/VertexReco/interface/VertexFwd.h"
#include "DataFormats/BeamSpot/interface/BeamSpot.h"
#include "TMath.h"
#include <iostream>
#include <iomanip>
#include "DataFormats/MuonReco/interface/Muon.h"
#include "DataFormats/MuonReco/interface/MuonFwd.h"
Go to the source code of this file.
Functions | |
double | calcDeltaPhi (double phi1, double phi2) |
double | calcMt (double px1, double py1, double px2, double py2) |
double | calcPzeta (const reco::Candidate::LorentzVector &p1, const reco::Candidate::LorentzVector &p2, double pxMEt, double pyMEt) |
std::string | dqmDirectoryName (const std::string &dqmRootDirectory, const std::string &dqmSubDirectory) |
int | getIsoMode (const std::string &isoMode_string, int &error) |
const reco::GsfElectron * | getTheElectron (const reco::GsfElectronCollection &electrons, double electronEtaCut, double electronPtCut) |
const reco::Muon * | getTheMuon (const reco::MuonCollection &muons, double muonEtaCut, double muonPtCut) |
const reco::PFTau * | getTheTauJet (const reco::PFTauCollection &tauJets, double tauJetEtaCut, double tauJetPtCut, int &theTauJetIndex) |
double | getVertexD0 (const reco::Vertex &vertex, const reco::BeamSpot &beamSpot) |
bool | passesElectronId (const reco::GsfElectron &electron) |
bool | passesElectronPreId (const reco::GsfElectron &electron) |
Variables | |
const std::string | dqmSeparator = "/" |
double calcDeltaPhi | ( | double | phi1, |
double | phi2 | ||
) |
Definition at line 1002 of file EwkTauDQM.cc.
References SiPixelRawToDigiRegional_cfi::deltaPhi, and Pi.
Referenced by EwkDQM::analyze(), EwkElecTauHistManager::fillHistograms(), and EwkMuTauHistManager::fillHistograms().
double calcMt | ( | double | px1, |
double | py1, | ||
double | px2, | ||
double | py2 | ||
) |
Definition at line 1014 of file EwkTauDQM.cc.
References HLT_2023v12_cff::pt1, and HLT_2023v12_cff::pt2.
Referenced by EwkElecTauHistManager::fillHistograms(), and EwkMuTauHistManager::fillHistograms().
double calcPzeta | ( | const reco::Candidate::LorentzVector & | p1, |
const reco::Candidate::LorentzVector & | p2, | ||
double | pxMEt, | ||
double | pyMEt | ||
) |
Definition at line 1024 of file EwkTauDQM.cc.
References funct::cos(), LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, and funct::sin().
std::string dqmDirectoryName | ( | const std::string & | dqmRootDirectory, |
const std::string & | dqmSubDirectory | ||
) |
Definition at line 10 of file EwkTauDQM.cc.
References TrackerOfflineValidation_Dqm_cff::dirName, dqmRootDirectory, dqmSeparator, ewkTauDQM_cfi::dqmSubDirectory, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TauDQMFileLoader::endRun(), TauDQMHistPlotter::endRun(), EwkTauDQM::EwkTauDQM(), and mapSubDirectoryStructure().
int getIsoMode | ( | const std::string & | isoMode_string, |
int & | error | ||
) |
Definition at line 988 of file EwkTauDQM.cc.
References relativeConstraints::error, kAbsoluteIso, kRelativeIso, and kUndefinedIso.
Referenced by EwkElecTauHistManager::EwkElecTauHistManager(), and EwkMuTauHistManager::EwkMuTauHistManager().
const reco::GsfElectron* getTheElectron | ( | const reco::GsfElectronCollection & | electrons, |
double | electronEtaCut, | ||
double | electronPtCut | ||
) |
Definition at line 1078 of file EwkTauDQM.cc.
References HPSPFTauProducerPuppi_cfi::electron, ewkTauDQM_cfi::electronEtaCut, ewkTauDQM_cfi::electronPtCut, pwdgSkimBPark_cfi::electrons, passesElectronPreId(), and reco::LeafCandidate::pt().
Referenced by EwkElecTauHistManager::fillHistograms().
const reco::Muon* getTheMuon | ( | const reco::MuonCollection & | muons, |
double | muonEtaCut, | ||
double | muonPtCut | ||
) |
Definition at line 1095 of file EwkTauDQM.cc.
References HLT_2023v12_cff::muon, ewkTauDQM_cfi::muonEtaCut, L1TObjectsTiming_cfi::muonPtCut, PDWG_BPHSkim_cff::muons, and reco::LeafCandidate::pt().
Referenced by EwkMuTauHistManager::fillHistograms().
const reco::PFTau* getTheTauJet | ( | const reco::PFTauCollection & | tauJets, |
double | tauJetEtaCut, | ||
double | tauJetPtCut, | ||
int & | theTauJetIndex | ||
) |
Definition at line 1108 of file EwkTauDQM.cc.
References reco::LeafCandidate::eta(), reco::LeafCandidate::pt(), reco::Candidate::size, ewkTauDQM_cfi::tauJetEtaCut, and ewkTauDQM_cfi::tauJetPtCut.
Referenced by EwkElecTauHistManager::fillHistograms(), and EwkMuTauHistManager::fillHistograms().
double getVertexD0 | ( | const reco::Vertex & | vertex, |
const reco::BeamSpot & | beamSpot | ||
) |
Definition at line 1130 of file EwkTauDQM.cc.
References pwdgSkimBPark_cfi::beamSpot, and bphysicsOniaDQM_cfi::vertex.
bool passesElectronId | ( | const reco::GsfElectron & | electron | ) |
Definition at line 1061 of file EwkTauDQM.cc.
References HPSPFTauProducerPuppi_cfi::electron, and passesElectronPreId().
Referenced by EwkElecTauHistManager::fillHistograms().
bool passesElectronPreId | ( | const reco::GsfElectron & | electron | ) |
Definition at line 1051 of file EwkTauDQM.cc.
References HPSPFTauProducerPuppi_cfi::electron.
Referenced by getTheElectron(), and passesElectronId().
const std::string dqmSeparator = "/" |
Definition at line 8 of file EwkTauDQM.cc.
Referenced by dqmDirectoryName(), TauDQMHistEffProducer::dqmEndJob(), dqmSubDirectoryName_merged(), and separateHistogramFromDirectoryName().