#include <DiLeptonVertexHelpers.h>
Definition at line 54 of file DiLeptonVertexHelpers.h.
◆ PlotsVsDiLeptonRegion()
DiLeptonHelp::PlotsVsDiLeptonRegion::PlotsVsDiLeptonRegion |
( |
const float |
etaBoundary | ) |
|
|
inline |
◆ ~PlotsVsDiLeptonRegion()
DiLeptonHelp::PlotsVsDiLeptonRegion::~PlotsVsDiLeptonRegion |
( |
| ) |
|
|
default |
◆ bookSet()
void DiLeptonHelp::PlotsVsDiLeptonRegion::bookSet |
( |
const TFileDirectory & |
fs, |
|
|
const TH1 * |
histo |
|
) |
| |
|
inline |
Definition at line 60 of file DiLeptonVertexHelpers.h.
References DiLeptonHelp::END, compareTotals::fs, timingPdfMaker::histo, m_etaRegionNames, m_etaRegions, m_h1_map, m_h2_map, m_isBooked, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.
Referenced by DiMuonVertexValidation::beginJob(), and DiMuonValidation::beginJob().
66 if (((TObject*)
histo)->InheritsFrom(
"TH2")) {
67 zTitle =
histo->GetZaxis()->GetTitle();
74 if (((TObject*)
histo)->InheritsFrom(
"TH2")) {
79 histo->GetXaxis()->GetXmin(),
80 histo->GetXaxis()->GetXmax(),
82 histo->GetYaxis()->GetXmin(),
83 histo->GetYaxis()->GetXmax());
89 histo->GetXaxis()->GetXmin(),
90 histo->GetXaxis()->GetXmax());
std::map< etaRegion, TH2F * > m_h2_map
const std::vector< std::string > m_etaRegionNames
const std::vector< etaRegion > m_etaRegions
std::map< etaRegion, TH1F * > m_h1_map
◆ fillTH1Plots()
void DiLeptonHelp::PlotsVsDiLeptonRegion::fillTH1Plots |
( |
const float |
val, |
|
|
const std::pair< TLorentzVector, TLorentzVector > & |
momenta |
|
) |
| |
|
inline |
Definition at line 123 of file DiLeptonVertexHelpers.h.
References DiLeptonHelp::END, getEtaRegion(), m_h1_map, m_isBooked, nano_mu_digi_cff::region, and heppy_batch::val.
Referenced by DiMuonVertexValidation::analyze(), and DiMuonValidation::analyze().
126 <<
"In" << __FUNCTION__ <<
"," << __LINE__ <<
"trying to fill a plot not booked!" << std::endl;
132 edm::LogError(
"PlotsVsDiLeptonRegion") <<
"undefined di-muon kinematics" << std::endl;
Log< level::Error, false > LogError
std::map< etaRegion, TH1F * > m_h1_map
etaRegion getEtaRegion(const double eta1, const double eta2)
◆ fillTH2Plots()
void DiLeptonHelp::PlotsVsDiLeptonRegion::fillTH2Plots |
( |
const float |
valX, |
|
|
const float |
valY, |
|
|
const std::pair< TLorentzVector, TLorentzVector > & |
momenta |
|
) |
| |
|
inline |
◆ getEtaRegion()
etaRegion DiLeptonHelp::PlotsVsDiLeptonRegion::getEtaRegion |
( |
const double |
eta1, |
|
|
const double |
eta2 |
|
) |
| |
|
inline |
Definition at line 100 of file DiLeptonVertexHelpers.h.
References funct::abs(), DiLeptonHelp::BARBAR, DiLeptonHelp::BARBWD, DiLeptonHelp::BARFWD, DiLeptonHelp::BWDBWD, DiLeptonHelp::END, HLT_2024v12_cff::eta1, HLT_2024v12_cff::eta2, DiLeptonHelp::FWDBWD, DiLeptonHelp::FWDFWD, and m_etaBoundary.
Referenced by fillTH1Plots(), and fillTH2Plots().
104 if (isEta1Barrel && isEta2Barrel) {
const float m_etaBoundary
Abs< T >::type abs(const T &t)
◆ m_etaBoundary
const float DiLeptonHelp::PlotsVsDiLeptonRegion::m_etaBoundary |
|
private |
◆ m_etaRegionNames
const std::vector<std::string> DiLeptonHelp::PlotsVsDiLeptonRegion::m_etaRegionNames |
|
private |
Initial value:= {"barrel-barrel",
"barrel-forward",
"barrel-backward",
"forward-forward",
"backward-backward",
"forward-backward"}
Definition at line 162 of file DiLeptonVertexHelpers.h.
Referenced by bookSet().
◆ m_etaRegions
const std::vector<etaRegion> DiLeptonHelp::PlotsVsDiLeptonRegion::m_etaRegions |
|
private |
◆ m_h1_map
std::map<etaRegion, TH1F*> DiLeptonHelp::PlotsVsDiLeptonRegion::m_h1_map |
|
private |
◆ m_h2_map
std::map<etaRegion, TH2F*> DiLeptonHelp::PlotsVsDiLeptonRegion::m_h2_map |
|
private |
◆ m_isBooked
bool DiLeptonHelp::PlotsVsDiLeptonRegion::m_isBooked |
|
private |